aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_term.c
Commit message (Collapse)AuthorAgeFilesLines
* Enable the unified error/warning enumeration in mandoc.h that'sKristaps Dzonsons2010-05-171-1/+2
| | | | | | | | | | | stringified in main.c. Allow `An' to handle an argument and child (with a warning). Allow `Rv' and `Ex' to work without a prior `Nm' as groff does (with a warning). Allow inconsistent column syntax to only raise a warning.
* Add support for .AT. Properly implement .UC. Add regress tests.Joerg Sonnenberger2010-05-171-1/+2
|
* groff uses three vspaces before the footer too.Joerg Sonnenberger2010-05-171-1/+3
|
* Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the ↵Kristaps Dzonsons2010-05-151-6/+1
| | | | roff preprocessor.
* Pull `ig' out of -man and leave it the roff preparser.Kristaps Dzonsons2010-05-151-2/+1
|
* For .IP groff requires a single space only after the head, adopt.Joerg Sonnenberger2010-05-151-3/+1
|
* Make the output width an option for ascii_alloc and use that to computeJoerg Sonnenberger2010-05-151-3/+7
| | | | the default margin. Hard-code 80 chars/line for now.
* Removed restriction on integer manual sections in -man.Kristaps Dzonsons2010-05-151-2/+2
|
* End-of-sentence spacing for -man -Tascii.Kristaps Dzonsons2010-05-121-1/+4
|
* Back out OpenBSD special case (ok Ingo Schwarze).Kristaps Dzonsons2010-05-101-12/+12
|
* Proper leading spaces for new- and old-groff in -man -Tascii mode.Kristaps Dzonsons2010-05-101-2/+20
|
* -man also now has unbound margins for literal context.Kristaps Dzonsons2010-05-101-5/+3
|
* Using man_node_delete() instead of man_node_free()/man_node_freelist() and ↵Kristaps Dzonsons2010-03-241-1/+9
| | | | | | | friends (much simpler). Split blk_imp() into blk_exp() (explicit macros), blk_dotted() (roff macros), and the original. Added de, dei, am, ami, and ig roff macros (for now, these are discarded within the parse).
* Fixed two very subtle bugs in retaining overstep and maxrmargin widths ↵Kristaps Dzonsons2010-03-231-2/+5
| | | | between parse sequences.
* Support for pod2man standard header macros (Vb, Ve, Sp). Based largely on a ↵Kristaps Dzonsons2010-03-231-10/+24
| | | | set of patches by Ingo Schwarze.
* Accomodate (libman) for next-line macros followed by non-text macros `na', ↵Kristaps Dzonsons2010-03-221-37/+44
| | | | | | `sp', and `br'. Based on a patch by Ingo Schwarze.
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-6/+5
| | | | architectures. Thanks to Joerg Sonnenberger.
* Fixed \c support for all input and output modes (documented in mandoc_char.7).Kristaps Dzonsons2009-11-121-12/+3
|
* Deprecated ".i <notext>" support (nobody uses it -- it can be re-added, but ↵Kristaps Dzonsons2009-11-121-14/+2
| | | | adds a bit of complexity that I'd rather avoid).
* Basically re-wrote -Tascii font handling: instead of incrementers forKristaps Dzonsons2009-11-121-80/+36
| | | | | | | | | bold and underline, we use a stack (no cascading, no double-font-mode). Font modes with \f only affect the current stack point, as documented in mdoc.7 and man.7. While -mdoc stacks fonts with embedded macros, -man replaces them (the stack is always size 1). This works for all invocations in supported systems' manual corpora to date. It doesn't support groff's insanity with line-scoped \f as documented in mdoc.7.
* Noted that -man text decoration is re-set when exiting a macro invocation.Kristaps Dzonsons2009-11-101-2/+6
|
* Disable metafonts when printing document footer.Kristaps Dzonsons2009-11-101-1/+3
|
* Consolidated `RI' and `IR' handlers (-man -Tascii).Kristaps Dzonsons2009-11-051-25/+10
|
* Fixed `RI' (was reversed).Kristaps Dzonsons2009-11-051-3/+3
|
* More lint fixes.Kristaps Dzonsons2009-10-301-2/+1
| | | | Removed err.h from inclusions (less main.c--still in progress).
* Removed dynamic allocations of header/footer data.Kristaps Dzonsons2009-10-271-18/+7
|
* Full `%U' support.Kristaps Dzonsons2009-10-261-30/+30
| | | | | | | `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).
* Added `PD' to -man (doesn't do anything, yet).Kristaps Dzonsons2009-10-241-1/+4
|
* Fixed maddening mismatch between groff and strftime mismatch of day ("%e"). ↵Kristaps Dzonsons2009-10-221-7/+3
| | | | Noted by Ulrich Sporlein.
* Fixed strftime stray %d -> %e (pointed out by Ulrich Sporlein).Kristaps Dzonsons2009-10-211-2/+2
|
* Lint fixes.Kristaps Dzonsons2009-10-181-4/+4
|
* Made sure devices and formats recognise that -man and -mdoc have different ↵Kristaps Dzonsons2009-10-181-7/+11
| | | | syntax for scaling widths: -mdoc assumes no unit means that the value is a string literal while -man instead uses the default vertical/horizontal scale.
* Arbitrary horizontal and vertical scaling widths now handled by -mdoc -Tascii.Kristaps Dzonsons2009-10-181-117/+51
| | | | Terminal scaling backend pushed into term.c.
* Fitted -man -Tascii with scaling units (.5i, etc.).Kristaps Dzonsons2009-10-181-2/+45
|
* Added horizontal scaling units to -Tman -Tascii.Kristaps Dzonsons2009-10-181-27/+46
|
* Moved output definitions into main.h.Kristaps Dzonsons2009-10-131-8/+28
| | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c.
* Consolidated some -man -Tascii functions.Kristaps Dzonsons2009-10-081-58/+29
| | | | Added many -man -Thtml functions (almost complete).
* Header buffers in -man -Tascii are static.Kristaps Dzonsons2009-10-071-8/+3
|
* Structural components of -man -Thtml in place (note that HP is the same as ↵Kristaps Dzonsons2009-10-041-2/+1
| | | | IP, as HTML doesn't "do" this construction without fixed page widths).
* Added initial -man framework for -Thtml.Kristaps Dzonsons2009-10-031-2/+3
|
* Made tree/term/out() functions return void.Kristaps Dzonsons2009-09-161-20/+13
| | | | Put err() functions back into front-ends (no use making it needlessly complex).
* Removed TERMP_BOLD, TERMP_UNDER, TERMP_STYLE in favour of recursive-friendly ↵Kristaps Dzonsons2009-09-151-35/+49
| | | | | | increments. Cleaned up confusing behaviour of p->flags.
* Added `UC' libman macro (has no effect).Kristaps Dzonsons2009-08-221-2/+13
| | | | | Corrected `UC' and `DT' not to print their arguments. Noted that `UC' and `DT' shouldn't be used.
* FreeBSD fix (uqs@spoerlein.net).Kristaps Dzonsons2009-08-211-1/+3
|
* Added `DT' macro (pointed out by joerg@netbsd.org).Kristaps Dzonsons2009-08-201-2/+3
|
* `RS' blocks correctly formatting in output device.Kristaps Dzonsons2009-08-191-20/+89
|
* Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).Kristaps Dzonsons2009-08-191-1/+3
|
* Small updates to man.7 (next-line break-exclusions, numerical width example).Kristaps Dzonsons2009-08-181-35/+82
| | | | Fully tested and correct scope-rewinding of block macros.
* `IP' and `TP' correctly handle width arguments.Kristaps Dzonsons2009-08-171-15/+51
| | | | Documented numeric widths.
* Finished correct `IP' handling.Kristaps Dzonsons2009-08-131-43/+69
|