[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.85 and 1.86

version 1.85, 2011/12/04 00:44:12 version 1.86, 2012/01/03 15:16:24
Line 58  static void    print_man(MAN_ARGS);
Line 58  static void    print_man(MAN_ARGS);
 static  void              print_man_head(MAN_ARGS);  static  void              print_man_head(MAN_ARGS);
 static  void              print_man_nodelist(MAN_ARGS);  static  void              print_man_nodelist(MAN_ARGS);
 static  void              print_man_node(MAN_ARGS);  static  void              print_man_node(MAN_ARGS);
   
 static  int               a2width(const struct man_node *,  static  int               a2width(const struct man_node *,
                                 struct roffsu *);                                  struct roffsu *);
   
 static  int               man_alt_pre(MAN_ARGS);  
 static  int               man_br_pre(MAN_ARGS);  
 static  int               man_ign_pre(MAN_ARGS);  
 static  int               man_in_pre(MAN_ARGS);  
 static  int               man_literal_pre(MAN_ARGS);  
 static  void              man_root_post(MAN_ARGS);  
 static  void              man_root_pre(MAN_ARGS);  
 static  int               man_B_pre(MAN_ARGS);  static  int               man_B_pre(MAN_ARGS);
 static  int               man_HP_pre(MAN_ARGS);  static  int               man_HP_pre(MAN_ARGS);
 static  int               man_I_pre(MAN_ARGS);  
 static  int               man_IP_pre(MAN_ARGS);  static  int               man_IP_pre(MAN_ARGS);
   static  int               man_I_pre(MAN_ARGS);
   static  int               man_OP_pre(MAN_ARGS);
 static  int               man_PP_pre(MAN_ARGS);  static  int               man_PP_pre(MAN_ARGS);
 static  int               man_RS_pre(MAN_ARGS);  static  int               man_RS_pre(MAN_ARGS);
 static  int               man_SH_pre(MAN_ARGS);  static  int               man_SH_pre(MAN_ARGS);
 static  int               man_SM_pre(MAN_ARGS);  static  int               man_SM_pre(MAN_ARGS);
 static  int               man_SS_pre(MAN_ARGS);  static  int               man_SS_pre(MAN_ARGS);
   static  int               man_alt_pre(MAN_ARGS);
   static  int               man_br_pre(MAN_ARGS);
   static  int               man_ign_pre(MAN_ARGS);
   static  int               man_in_pre(MAN_ARGS);
   static  int               man_literal_pre(MAN_ARGS);
   static  void              man_root_post(MAN_ARGS);
   static  void              man_root_pre(MAN_ARGS);
   
 static  const struct htmlman mans[MAN_MAX] = {  static  const struct htmlman mans[MAN_MAX] = {
         { man_br_pre, NULL }, /* br */          { man_br_pre, NULL }, /* br */
Line 113  static const struct htmlman mans[MAN_MAX] = {
Line 112  static const struct htmlman mans[MAN_MAX] = {
         { man_ign_pre, NULL }, /* AT */          { man_ign_pre, NULL }, /* AT */
         { man_in_pre, NULL }, /* in */          { man_in_pre, NULL }, /* in */
         { man_ign_pre, NULL }, /* ft */          { man_ign_pre, NULL }, /* ft */
           { man_OP_pre, NULL }, /* OP */
 };  };
   
 /*  /*
Line 583  man_HP_pre(MAN_ARGS)
Line 583  man_HP_pre(MAN_ARGS)
         print_otag(h, TAG_P, 1, &tag);          print_otag(h, TAG_P, 1, &tag);
         return(1);          return(1);
 }  }
   
   /* ARGSUSED */
   static int
   man_OP_pre(MAN_ARGS)
   {
           struct tag      *tt;
           struct htmlpair  tag;
   
           print_text(h, "[");
           h->flags |= HTML_NOSPACE;
           PAIR_CLASS_INIT(&tag, "opt");
           tt = print_otag(h, TAG_SPAN, 1, &tag);
   
           if (NULL != (n = n->child)) {
                   print_otag(h, TAG_B, 0, NULL);
                   print_text(h, n->string);
           }
   
           print_stagq(h, tt);
   
           if (NULL != n && NULL != n->next) {
                   print_otag(h, TAG_I, 0, NULL);
                   print_text(h, n->next->string);
           }
   
           print_stagq(h, tt);
           h->flags |= HTML_NOSPACE;
           print_text(h, "]");
           return(0);
   }
   
   
 /* ARGSUSED */  /* ARGSUSED */
 static int  static int

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86

CVSweb