[BACK]Return to mdoc_html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mdoc_html.c between version 1.61 and 1.62

version 1.61, 2010/04/08 08:17:55 version 1.62, 2010/05/13 06:22:11
Line 729  mdoc_nm_pre(MDOC_ARGS)
Line 729  mdoc_nm_pre(MDOC_ARGS)
 {  {
         struct htmlpair tag;          struct htmlpair tag;
   
         if (SEC_SYNOPSIS == n->sec && n->prev) {          if (SEC_SYNOPSIS == n->sec &&
                           n->prev && MDOC_LINE & n->flags) {
                 bufcat_style(h, "clear", "both");                  bufcat_style(h, "clear", "both");
                 PAIR_STYLE_INIT(&tag, h);                  PAIR_STYLE_INIT(&tag, h);
                 print_otag(h, TAG_BR, 1, &tag);                  print_otag(h, TAG_BR, 1, &tag);
Line 1557  mdoc_fd_pre(MDOC_ARGS)
Line 1558  mdoc_fd_pre(MDOC_ARGS)
         struct htmlpair  tag;          struct htmlpair  tag;
         struct roffsu    su;          struct roffsu    su;
   
         if (SEC_SYNOPSIS == n->sec) {          if (SEC_SYNOPSIS == n->sec && MDOC_LINE & n->flags) {
                 if (n->next && MDOC_Fd != n->next->tok) {                  if (n->next && MDOC_Fd != n->next->tok) {
                         SCALE_VS_INIT(&su, 1);                          SCALE_VS_INIT(&su, 1);
                         bufcat_su(h, "margin-bottom", &su);                          bufcat_su(h, "margin-bottom", &su);
Line 1605  mdoc_ft_pre(MDOC_ARGS)
Line 1606  mdoc_ft_pre(MDOC_ARGS)
 {  {
         struct htmlpair  tag;          struct htmlpair  tag;
   
         if (SEC_SYNOPSIS == n->sec)          if (SEC_SYNOPSIS == n->sec && MDOC_LINE & n->flags)
                 print_otag(h, TAG_DIV, 0, NULL);                  print_otag(h, TAG_DIV, 0, NULL);
   
         PAIR_CLASS_INIT(&tag, "ftype");          PAIR_CLASS_INIT(&tag, "ftype");
Line 1626  mdoc_fn_pre(MDOC_ARGS)
Line 1627  mdoc_fn_pre(MDOC_ARGS)
         int                      sz, i;          int                      sz, i;
         struct roffsu            su;          struct roffsu            su;
   
         if (SEC_SYNOPSIS == n->sec) {          if (SEC_SYNOPSIS == n->sec && MDOC_LINE & n->flags) {
                 SCALE_HS_INIT(&su, INDENT);                  SCALE_HS_INIT(&su, INDENT);
                 bufcat_su(h, "margin-left", &su);                  bufcat_su(h, "margin-left", &su);
                 su.scale = -su.scale;                  su.scale = -su.scale;
Line 1867  mdoc_in_pre(MDOC_ARGS)
Line 1868  mdoc_in_pre(MDOC_ARGS)
         int                      i;          int                      i;
         struct roffsu            su;          struct roffsu            su;
   
         if (SEC_SYNOPSIS == n->sec) {          if (SEC_SYNOPSIS == n->sec && MDOC_LINE & n->flags) {
                 if (n->next && MDOC_In != n->next->tok) {                  if (n->next && MDOC_In != n->next->tok) {
                         SCALE_VS_INIT(&su, 1);                          SCALE_VS_INIT(&su, 1);
                         bufcat_su(h, "margin-bottom", &su);                          bufcat_su(h, "margin-bottom", &su);
Line 2172  mdoc_lb_pre(MDOC_ARGS)
Line 2173  mdoc_lb_pre(MDOC_ARGS)
 {  {
         struct htmlpair tag;          struct htmlpair tag;
   
         if (SEC_SYNOPSIS == n->sec)          if (SEC_LIBRARY == n->sec && MDOC_LINE & n->flags)
                 print_otag(h, TAG_DIV, 0, NULL);                  print_otag(h, TAG_DIV, 0, NULL);
         PAIR_CLASS_INIT(&tag, "lib");          PAIR_CLASS_INIT(&tag, "lib");
         print_otag(h, TAG_SPAN, 1, &tag);          print_otag(h, TAG_SPAN, 1, &tag);

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

CVSweb