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

Diff for /mandoc/mandoc_html.3 between version 1.6 and 1.7

version 1.6, 2017/03/13 19:01:38 version 1.7, 2017/03/15 11:29:53
Line 48 
Line 48 
 .Fa "struct html *h"  .Fa "struct html *h"
 .Fa "const char *word"  .Fa "const char *word"
 .Fc  .Fc
   .Ft char *
   .Fo html_make_id
   .Fa "const struct roff_node *n"
   .Fc
   .Ft int
   .Fo html_strlen
   .Fa "const char *cp"
   .Fc
 .Sh DESCRIPTION  .Sh DESCRIPTION
 The mandoc HTML formatter is not a formal library.  The mandoc HTML formatter is not a formal library.
 However, as it is compiled into more than one program, in particular  However, as it is compiled into more than one program, in particular
Line 306  and
Line 314  and
 .Fn print_tagq  .Fn print_tagq
 functions.  functions.
 .Pp  .Pp
   The function
   .Fn html_make_id
   takes a node containing one or more text children
   and returns a newly allocated string containing the concatenation
   of the child strings, with blanks replaced by underscores.
   If the node
   .Fa n
   contains any non-text child node,
   .Fn html_make_id
   returns
   .Dv NULL
   instead.
   The caller is responsible for freeing the returned string.
   .Pp
   The function
   .Fn html_strlen
   counts the number of characters in
   .Fa cp .
   It is used as a crude estimate of the width needed to display a string.
   .Pp
 The functions  The functions
 .Fn html_strlen ,  
 .Fn print_eqn ,  .Fn print_eqn ,
 .Fn print_tbl ,  .Fn print_tbl ,
 and  and

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

CVSweb