[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.103 and 1.106

version 1.103, 2010/09/04 19:01:52 version 1.106, 2010/09/25 16:41:33
Line 1183  mdoc_bl_pre(MDOC_ARGS)
Line 1183  mdoc_bl_pre(MDOC_ARGS)
         ord = malloc(sizeof(struct ord));          ord = malloc(sizeof(struct ord));
         if (NULL == ord) {          if (NULL == ord) {
                 perror(NULL);                  perror(NULL);
                 exit(MANDOCLEVEL_SYSERR);                  exit((int)MANDOCLEVEL_SYSERR);
         }          }
         ord->cookie = n;          ord->cookie = n;
         ord->pos = 1;          ord->pos = 1;
Line 2108  static int
Line 2108  static int
 mdoc_rs_pre(MDOC_ARGS)  mdoc_rs_pre(MDOC_ARGS)
 {  {
         struct htmlpair  tag;          struct htmlpair  tag;
         struct roffsu    su;  
   
         if (MDOC_BLOCK != n->type)          if (MDOC_BLOCK != n->type)
                 return(1);                  return(1);
   
         if (n->prev && SEC_SEE_ALSO == n->sec) {          if (n->prev && SEC_SEE_ALSO == n->sec) {
                 SCALE_VS_INIT(&su, 1);                  print_otag(h, TAG_BR, 0, NULL);
                 bufcat_su(h, "margin-top", &su);                  print_otag(h, TAG_BR, 0, NULL);
                 PAIR_STYLE_INIT(&tag, h);          }
                 print_otag(h, TAG_DIV, 1, &tag);  
         }  
   
         PAIR_CLASS_INIT(&tag, "ref");          PAIR_CLASS_INIT(&tag, "ref");
         print_otag(h, TAG_SPAN, 1, &tag);          print_otag(h, TAG_SPAN, 1, &tag);
Line 2266  mdoc__x_post(MDOC_ARGS)
Line 2263  mdoc__x_post(MDOC_ARGS)
   
         /* TODO: %U */          /* TODO: %U */
   
         h->flags |= HTML_NOSPACE;          if (NULL == n->parent || MDOC_Rs != n->parent->tok)
                   return;
   
         print_text(h, n->next ? "," : ".");          print_text(h, n->next ? "," : ".");
 }  }
   

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.106

CVSweb