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

Diff for /mandoc/man_html.c between version 1.97 and 1.99

version 1.97, 2014/08/10 23:54:41 version 1.99, 2014/09/27 09:05:57
Line 299  a2width(const struct man_node *n, struct roffsu *su)
Line 299  a2width(const struct man_node *n, struct roffsu *su)
 static void  static void
 man_root_pre(MAN_ARGS)  man_root_pre(MAN_ARGS)
 {  {
         struct htmlpair  tag[3];          struct htmlpair  tag[2];
         struct tag      *t, *tt;          struct tag      *t, *tt;
         char            *title;          char            *title;
   
Line 307  man_root_pre(MAN_ARGS)
Line 307  man_root_pre(MAN_ARGS)
         assert(man->msec);          assert(man->msec);
         mandoc_asprintf(&title, "%s(%s)", man->title, man->msec);          mandoc_asprintf(&title, "%s(%s)", man->title, man->msec);
   
         PAIR_SUMMARY_INIT(&tag[0], "Document Header");          PAIR_CLASS_INIT(&tag[0], "head");
         PAIR_CLASS_INIT(&tag[1], "head");          t = print_otag(h, TAG_TABLE, 1, tag);
         PAIR_INIT(&tag[2], ATTR_WIDTH, "100%");  
         t = print_otag(h, TAG_TABLE, 3, tag);  
         PAIR_INIT(&tag[0], ATTR_WIDTH, "30%");          PAIR_INIT(&tag[0], ATTR_WIDTH, "30%");
         print_otag(h, TAG_COL, 1, tag);          print_otag(h, TAG_COL, 1, tag);
         print_otag(h, TAG_COL, 1, tag);          print_otag(h, TAG_COL, 1, tag);
Line 343  man_root_pre(MAN_ARGS)
Line 341  man_root_pre(MAN_ARGS)
 static void  static void
 man_root_post(MAN_ARGS)  man_root_post(MAN_ARGS)
 {  {
         struct htmlpair  tag[3];          struct htmlpair  tag[2];
         struct tag      *t, *tt;          struct tag      *t, *tt;
   
         PAIR_SUMMARY_INIT(&tag[0], "Document Footer");          PAIR_CLASS_INIT(&tag[0], "foot");
         PAIR_CLASS_INIT(&tag[1], "foot");          t = print_otag(h, TAG_TABLE, 1, tag);
         PAIR_INIT(&tag[2], ATTR_WIDTH, "100%");  
         t = print_otag(h, TAG_TABLE, 3, tag);  
         PAIR_INIT(&tag[0], ATTR_WIDTH, "50%");          PAIR_INIT(&tag[0], ATTR_WIDTH, "50%");
         print_otag(h, TAG_COL, 1, tag);          print_otag(h, TAG_COL, 1, tag);
         print_otag(h, TAG_COL, 1, tag);          print_otag(h, TAG_COL, 1, tag);

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.99

CVSweb