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

Diff for /mandoc/html.c between version 1.197 and 1.201

version 1.197, 2017/01/19 01:00:14 version 1.201, 2017/01/25 02:14:43
Line 75  static const struct htmldata htmltags[TAG_MAX] = {
Line 75  static const struct htmldata htmltags[TAG_MAX] = {
         {"dl",          HTML_NLALL | HTML_INDENT},          {"dl",          HTML_NLALL | HTML_INDENT},
         {"dt",          HTML_NLAROUND},          {"dt",          HTML_NLAROUND},
         {"dd",          HTML_NLAROUND | HTML_INDENT},          {"dd",          HTML_NLAROUND | HTML_INDENT},
         {"blockquote",  HTML_NLALL | HTML_INDENT},  
         {"pre",         HTML_NLALL | HTML_NOINDENT},          {"pre",         HTML_NLALL | HTML_NOINDENT},
         {"b",           0},          {"b",           0},
         {"i",           0},          {"i",           0},
Line 178  print_gen_head(struct html *h)
Line 177  print_gen_head(struct html *h)
         print_endline(h);          print_endline(h);
         print_text(h, "td.head-vol { text-align: center; }");          print_text(h, "td.head-vol { text-align: center; }");
         print_endline(h);          print_endline(h);
         print_text(h, "table.foot td { width: 50%; }");          print_text(h, "div.Pp { margin: 1ex 0ex; }");
         print_endline(h);  
         print_text(h, "table.head td { width: 33%; }");  
         print_endline(h);  
         print_text(h, "div.spacer { margin: 1em 0; }");  
         print_tagq(h, t);          print_tagq(h, t);
   
         if (h->style)          if (h->style)
Line 571  print_otag(struct html *h, enum htmltag tag, const cha
Line 566  print_otag(struct html *h, enum htmltag tag, const cha
                         SCALE_VS_INIT(su, i);                          SCALE_VS_INIT(su, i);
                         break;                          break;
                 case 'w':                  case 'w':
                   case 'W':
                         s = va_arg(ap, char *);                          s = va_arg(ap, char *);
                         a2width(s, su);                          a2width(s, su);
                           if (fmt[-1] == 'W')
                                   su->scale *= -1.0;
                         break;                          break;
                 default:                  default:
                         abort();                          abort();
Line 769  print_paragraph(struct html *h)
Line 767  print_paragraph(struct html *h)
 {  {
         struct tag      *t;          struct tag      *t;
   
         t = print_otag(h, TAG_DIV, "c", "spacer");          t = print_otag(h, TAG_DIV, "c", "Pp");
         print_tagq(h, t);          print_tagq(h, t);
 }  }
   

Legend:
Removed from v.1.197  
changed lines
  Added in v.1.201

CVSweb