summaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed condition of `\}' closing a conditional at the start of the line.Kristaps Dzonsons2010-06-011-1/+3
| | | | | | | | Fixed flushed-out condition of \} causing subsequent arguments to be truncated, when in fact the whole line should be passed through (if the conditional succeeds) to the front-end and the \} ignored there. Added regression test of this behaviour.
* Modified version of Ingo Schwarze's patch for hyphen-breaking.Kristaps Dzonsons2010-05-251-1/+29
| | | | | | | Breakable hyphens are cued in the back-ends (with ASCII_HYPH) and acted upon in term.c or ignored in html.c. Also cleaned up XML decl printing (no need for extra vars).
* Documented EOS buffered spaces and added `]'.Kristaps Dzonsons2010-05-151-1/+3
|
* More EOS: append_delims() fitted with EOS detection, so ANY macro with ↵Kristaps Dzonsons2010-05-151-13/+27
| | | | | | appended delimiters will properly EOS. Fixed mandoc_eos() to accept sentence punctuation followed by close-delim buffers.
* Block-implicit macros now up-propogate end-of-sentence spacing. NOTE: GROFF ↵Kristaps Dzonsons2010-05-141-2/+3
| | | | IS NOT SMART ENOUGH TO DO THIS.
* Put the eos-checker into libmandoc.h.Kristaps Dzonsons2010-05-121-1/+24
| | | | Added bits in mdoc.7 and man.7 about EOS spacing.
* Add support/ignoring of \f(xy, \f[X...], \F(xy, \FX, \F[X...] roff-style ↵Kristaps Dzonsons2010-04-071-5/+5
| | | | font escapes (noted by Frantisek Holop).
* Removed references to `\\' escape (noted by Jason McIntyre, Ingo Schwarze).Kristaps Dzonsons2010-01-051-3/+1
|
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-3/+3
| | | | architectures. Thanks to Joerg Sonnenberger.
* Documented that `\s' and `\f' don't work in HTML mode (and why).Kristaps Dzonsons2009-11-051-3/+80
| | | | Added support for recognising the many forms of `\s' (doesn't yet render).
* Added mandoc_a2time() for proper date conversion.Kristaps Dzonsons2009-11-021-1/+63
| | | | | Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc.
* Using perror() instead of fprintf for failure from library functions.Kristaps Dzonsons2009-10-311-5/+5
|
* libmdoc and libman now using non-recoverable allocations (simpler code).Kristaps Dzonsons2009-10-301-14/+1
|
* Slow movement of internal allocations to fail completely.Kristaps Dzonsons2009-10-281-1/+74
|
* Added `sp' support to libman.Kristaps Dzonsons2009-07-241-1/+3
| | | | Added `\c' to known escapes (only used in man, but still).
* Fix for u_char, FreeBSD 7.2 (uqs@spoerlein.net).Kristaps Dzonsons2009-07-121-1/+3
|
* Moved escape validation into libmandoc.h/mandoc.c (common between ↵Kristaps Dzonsons2009-07-041-0/+101
libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently.