[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.96 and 1.99

version 1.96, 2014/08/01 19:25:52 version 1.99, 2014/09/27 09:05:57
Line 15 
Line 15 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
 #ifdef HAVE_CONFIG_H  
 #include "config.h"  #include "config.h"
 #endif  
   
 #include <sys/types.h>  #include <sys/types.h>
   
Line 301  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 309  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 345  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.96  
changed lines
  Added in v.1.99

CVSweb