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

Diff for /mandoc/term.c between version 1.39 and 1.41

version 1.39, 2009/03/04 13:57:35 version 1.41, 2009/03/04 14:41:40
Line 536  termp_it_pre(DECL_ARGS)
Line 536  termp_it_pre(DECL_ARGS)
                         p->flags |= TERMP_NOBREAK;                          p->flags |= TERMP_NOBREAK;
                 else                  else
                         p->flags |= TERMP_NOLPAD;                          p->flags |= TERMP_NOLPAD;
                   if (MDOC_HEAD == node->type && MDOC_Tag == type)
                           if (NULL == node->next ||
                                           NULL == node->next->child)
                                   p->flags |= TERMP_NONOBREAK;
                 break;                  break;
         case (MDOC_Diag):          case (MDOC_Diag):
                 if (MDOC_HEAD == node->type)                  if (MDOC_HEAD == node->type)
Line 1009  termp_aq_pre(DECL_ARGS)
Line 1013  termp_aq_pre(DECL_ARGS)
   
         if (MDOC_BODY != node->type)          if (MDOC_BODY != node->type)
                 return(1);                  return(1);
         word(p, "<");          word(p, "\\(la");
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_NOSPACE;
         return(1);          return(1);
 }  }
Line 1023  termp_aq_post(DECL_ARGS)
Line 1027  termp_aq_post(DECL_ARGS)
         if (MDOC_BODY != node->type)          if (MDOC_BODY != node->type)
                 return;                  return;
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_NOSPACE;
         word(p, ">");          word(p, "\\(ra");
 }  }
   
   
Line 1662  static int
Line 1666  static int
 termp__t_pre(DECL_ARGS)  termp__t_pre(DECL_ARGS)
 {  {
   
           /* FIXME: titles are underlined. */
         word(p, "\"");          word(p, "\"");
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_NOSPACE;
         return(1);          return(1);
Line 1674  termp__t_post(DECL_ARGS)
Line 1679  termp__t_post(DECL_ARGS)
 {  {
   
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_NOSPACE;
           /* FIXME: titles are underlined. */
         word(p, "\"");          word(p, "\"");
         word(p, node->next ? "," : ".");          word(p, node->next ? "," : ".");
 }  }

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.41

CVSweb