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

Diff for /mandoc/mdoc_term.c between version 1.206 and 1.210

version 1.206, 2011/01/01 12:18:37 version 1.210, 2011/01/25 10:37:49
Line 315  print_mdoc_node(DECL_ARGS)
Line 315  print_mdoc_node(DECL_ARGS)
   
         switch (n->type) {          switch (n->type) {
         case (MDOC_TEXT):          case (MDOC_TEXT):
                   if (' ' == *n->string && MDOC_LINE & n->flags)
                           term_newln(p);
                 term_word(p, n->string);                  term_word(p, n->string);
                 break;                  break;
         case (MDOC_TBL):          case (MDOC_TBL):
                   term_tbl(p, n->span);
                 break;                  break;
         default:          default:
                 if (termacts[n->tok].pre && ENDBODY_NOT == n->end)                  if (termacts[n->tok].pre && ENDBODY_NOT == n->end)
Line 1598  termp_bd_pre(DECL_ARGS)
Line 1601  termp_bd_pre(DECL_ARGS)
                 return(1);                  return(1);
   
         tabwidth = p->tabwidth;          tabwidth = p->tabwidth;
         p->tabwidth = term_len(p, 8);          if (DISP_literal == n->norm->Bd.type)
                   p->tabwidth = term_len(p, 8);
   
         rm = p->rmargin;          rm = p->rmargin;
         rmax = p->maxrmargin;          rmax = p->maxrmargin;
         p->rmargin = p->maxrmargin = TERM_MAXMARGIN;          p->rmargin = p->maxrmargin = TERM_MAXMARGIN;
Line 2164  termp__t_post(DECL_ARGS)
Line 2169  termp__t_post(DECL_ARGS)
          * us instead of underlining us (for disambiguation).           * us instead of underlining us (for disambiguation).
          */           */
         if (n->parent && MDOC_Rs == n->parent->tok &&          if (n->parent && MDOC_Rs == n->parent->tok &&
                         n->parent->norm->Rs.child_J)                          n->parent->norm->Rs.quote_T)
                 termp_quote_post(p, pair, m, n);                  termp_quote_post(p, pair, m, n);
   
         termp____post(p, pair, m, n);          termp____post(p, pair, m, n);
Line 2180  termp__t_pre(DECL_ARGS)
Line 2185  termp__t_pre(DECL_ARGS)
          * us instead of underlining us (for disambiguation).           * us instead of underlining us (for disambiguation).
          */           */
         if (n->parent && MDOC_Rs == n->parent->tok &&          if (n->parent && MDOC_Rs == n->parent->tok &&
                         n->parent->norm->Rs.child_J)                          n->parent->norm->Rs.quote_T)
                 return(termp_quote_pre(p, pair, m, n));                  return(termp_quote_pre(p, pair, m, n));
   
         term_fontpush(p, TERMFONT_UNDER);          term_fontpush(p, TERMFONT_UNDER);

Legend:
Removed from v.1.206  
changed lines
  Added in v.1.210

CVSweb