version 1.8, 2015/02/23 11:56:39 |
version 1.9, 2015/02/23 14:36:03 |
Line 193 texiputchars(struct texi *p, const char *s) |
|
Line 193 texiputchars(struct texi *p, const char *s) |
|
} |
} |
|
|
/* |
/* |
|
* This puts all characters onto the output stream but makes sure to |
|
* escape mdoc(7) slashes. |
|
*/ |
|
void |
|
texiputbuf(struct texi *p, const char *buf, size_t start, size_t end) |
|
{ |
|
|
|
for ( ; start < end; start++) { |
|
texiputchar(p, buf[start]); |
|
if ('\\' == buf[start]) |
|
texiputchar(p, 'e'); |
|
} |
|
} |
|
|
|
/* |
* Close an mdoc(7) macro opened with teximacroopen(). |
* Close an mdoc(7) macro opened with teximacroopen(). |
* If there are no more macros on the line, prints a newline. |
* If there are no more macros on the line, prints a newline. |
*/ |
*/ |