aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_strings.c
Commit message (Collapse)AuthorAgeFilesLines
* Lint-fix for enum return (ok schwarze@).Kristaps Dzonsons2010-05-151-2/+2
|
* Distinguish OPEN, MIDDLE and CLOSE delimiters (using an enum).Ingo Schwarze2010-05-151-9/+9
| | | | | | | Only OPEN are drawn before the beginning of a macro; this is new, before this, MIDDLE ('|') were drawn in front, too. Only CLOSE are pushed after the end of a macro (as before). ok kristaps@
* mdoc_atosec -> mdoc_str2sec (consistent with str2 being different from a2).Kristaps Dzonsons2010-05-121-36/+28
| | | | | Changed ordering of sections (EXIT STATUS moved around), argued for by Ulrich Sporlein. Fixed mdoc_str2sec not to use weird structure.
* Explicitly account for \*(Ba when checking for delims. Noted by Jason ↵Kristaps Dzonsons2010-05-091-6/+12
| | | | McIntyre via Ingo Schwarze.
* Lint fixes (type-safety for enums via -cefuh).Kristaps Dzonsons2010-05-081-2/+2
|
* Removed erroneous `{' and `}' as punctuation (see mdoc.samples "General ↵Kristaps Dzonsons2010-04-031-6/+6
| | | | | | Syntax" for why this mistake was made). Noted by Ingo Schwarze. Lines of text now break at a hyphen, unless the hyphen is the first or second subsequent in a word. Inspired by a Ingo Schwarze's patch.
* Integrate Ingo Schwarze's patch for mdoc_iscdelim() (tri-state for opening ↵Kristaps Dzonsons2010-03-291-8/+8
| | | | | | | | | | | and closing macro punctuation). Modify blk_part_exp() to correctly handle leading punctuation before HEAD. Significantly clean up and document blk_part_exp(). Modify blk_part_imp() for to correctly handle leading punctuation before HEAD. Significantly clean up and document blk_part_imp(). Integrate Ingo Schwarze's patch for args() (using new mdoc_iscdelim() format). Documented bad `Ec' handling for later work in mdoc_term.c/mdoc_html.c.
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-1/+5
| | | | architectures. Thanks to Joerg Sonnenberger.
* Added mandoc_a2time() for proper date conversion.Kristaps Dzonsons2009-11-021-27/+1
| | | | | Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc.
* bzero() -> memset() (noted by Joerg Sonnenberger).Kristaps Dzonsons2009-10-271-2/+2
|
* Full `%U' support.Kristaps Dzonsons2009-10-261-1/+2
| | | | | | | `Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from).
* Synchronised man.7, mdoc.7, mdoc.template manual structure.Kristaps Dzonsons2009-08-201-2/+4
|
* Moved escape validation into libmandoc.h/mandoc.c (common between ↵Kristaps Dzonsons2009-07-041-78/+1
| | | | | | | libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently.
* Added -split and -nosplit "I-Don't-Like" note to mdoc.7 (there really must ↵Kristaps Dzonsons2009-06-221-2/+3
| | | | | | be another way to do this). Fixed .Er -width conversion.
* Section orders are more elegantly handled (MDOC_PBODY is a flag).Kristaps Dzonsons2009-06-171-33/+29
| | | | Cleaned up string->enum conversion for section lookup.
* Noted deprecation of \*( and \* special-character escapes.Kristaps Dzonsons2009-06-171-8/+3
| | | | Minor clean-ups.
* Mdocdate fix (literals being replaced) ({cnst,schwarze}@openbsd.org).Kristaps Dzonsons2009-06-151-3/+3
|
* Made per-macro "now callable" COMPATIBILITY claims into a single "most ↵Kristaps Dzonsons2009-06-121-3/+5
| | | | | | | macros callable". Added COMPATIBILITY note on escaped special-character sequences. Vertical bar now correctly delimits (like in new groff).
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* Added \^ and \~ escapes (Joerg).Kristaps Dzonsons2009-04-121-3/+7
|
* General clean-ups.Kristaps Dzonsons2009-03-311-0/+320