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

Diff for /mandoc/mdoc_html.c between version 1.72 and 1.73

version 1.72, 2010/06/03 13:44:36 version 1.73, 2010/06/04 21:05:39
Line 84  static void    mdoc_dq_post(MDOC_ARGS);
Line 84  static void    mdoc_dq_post(MDOC_ARGS);
 static  int               mdoc_dq_pre(MDOC_ARGS);  static  int               mdoc_dq_pre(MDOC_ARGS);
 static  int               mdoc_dv_pre(MDOC_ARGS);  static  int               mdoc_dv_pre(MDOC_ARGS);
 static  int               mdoc_fa_pre(MDOC_ARGS);  static  int               mdoc_fa_pre(MDOC_ARGS);
   static  void              mdoc_fd_post(MDOC_ARGS);
 static  int               mdoc_fd_pre(MDOC_ARGS);  static  int               mdoc_fd_pre(MDOC_ARGS);
 static  int               mdoc_fl_pre(MDOC_ARGS);  static  int               mdoc_fl_pre(MDOC_ARGS);
 static  int               mdoc_fn_pre(MDOC_ARGS);  static  int               mdoc_fn_pre(MDOC_ARGS);
Line 158  static const struct htmlmdoc mdocs[MDOC_MAX] = {
Line 159  static const struct htmlmdoc mdocs[MDOC_MAX] = {
         {mdoc_ev_pre, NULL}, /* Ev */          {mdoc_ev_pre, NULL}, /* Ev */
         {mdoc_ex_pre, NULL}, /* Ex */          {mdoc_ex_pre, NULL}, /* Ex */
         {mdoc_fa_pre, NULL}, /* Fa */          {mdoc_fa_pre, NULL}, /* Fa */
         {mdoc_fd_pre, NULL}, /* Fd */          {mdoc_fd_pre, mdoc_fd_post}, /* Fd */
         {mdoc_fl_pre, NULL}, /* Fl */          {mdoc_fl_pre, NULL}, /* Fl */
         {mdoc_fn_pre, NULL}, /* Fn */          {mdoc_fn_pre, NULL}, /* Fn */
         {mdoc_ft_pre, NULL}, /* Ft */          {mdoc_ft_pre, NULL}, /* Ft */
Line 1510  mdoc_fa_pre(MDOC_ARGS)
Line 1511  mdoc_fa_pre(MDOC_ARGS)
   
   
 /* ARGSUSED */  /* ARGSUSED */
   static void
   mdoc_fd_post(MDOC_ARGS)
   {
   
           print_otag(h, TAG_BR, 0, NULL);
   }
   
   
   /* ARGSUSED */
 static int  static int
 mdoc_fd_pre(MDOC_ARGS)  mdoc_fd_pre(MDOC_ARGS)
 {  {
         struct htmlpair  tag;          struct htmlpair  tag;
         struct roffsu    su;  
   
         if (SEC_SYNOPSIS == n->sec && MDOC_LINE & n->flags) {  
                 if (n->next && MDOC_Fd != n->next->tok) {  
                         SCALE_VS_INIT(&su, 1);  
                         bufcat_su(h, "margin-bottom", &su);  
                         PAIR_STYLE_INIT(&tag, h);  
                         print_otag(h, TAG_DIV, 1, &tag);  
                 } else  
                         print_otag(h, TAG_DIV, 0, NULL);  
         }  
   
         PAIR_CLASS_INIT(&tag, "macro");          PAIR_CLASS_INIT(&tag, "macro");
         print_otag(h, TAG_SPAN, 1, &tag);          print_otag(h, TAG_SPAN, 1, &tag);

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

CVSweb