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

Diff for /mandoc/html.c between version 1.199 and 1.202

version 1.199, 2017/01/19 16:59:30 version 1.202, 2017/01/26 18:28:18
Line 114  static const char *const roffscales[SCALE_MAX] = {
Line 114  static const char *const roffscales[SCALE_MAX] = {
   
 static  void     a2width(const char *, struct roffsu *);  static  void     a2width(const char *, struct roffsu *);
 static  void     print_byte(struct html *, char);  static  void     print_byte(struct html *, char);
 static  void     print_endline(struct html *);  
 static  void     print_endword(struct html *);  static  void     print_endword(struct html *);
 static  void     print_indent(struct html *);  static  void     print_indent(struct html *);
 static  void     print_word(struct html *, const char *);  static  void     print_word(struct html *, const char *);
Line 177  print_gen_head(struct html *h)
Line 176  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_endline(h);  
         print_text(h, "table.head td { width: 33%; }");  
         print_endline(h);  
         print_text(h, "div.Pp { margin: 1ex 0ex; }");          print_text(h, "div.Pp { margin: 1ex 0ex; }");
         print_tagq(h, t);          print_tagq(h, t);
   
Line 570  print_otag(struct html *h, enum htmltag tag, const cha
Line 565  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 813  print_byte(struct html *h, char c)
Line 811  print_byte(struct html *h, char c)
  * If something was printed on the current output line, end it.   * If something was printed on the current output line, end it.
  * Not to be called right after print_indent().   * Not to be called right after print_indent().
  */   */
 static void  void
 print_endline(struct html *h)  print_endline(struct html *h)
 {  {
         if (h->col == 0)          if (h->col == 0)

Legend:
Removed from v.1.199  
changed lines
  Added in v.1.202

CVSweb