summaryrefslogtreecommitdiffstats
path: root/term.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Make the output width an option for ascii_alloc and use that to computeJoerg Sonnenberger2010-05-151-0/+1
| | | | the default margin. Hard-code 80 chars/line for now.
* Tiny EOS patch. Back-end cues front-end through flag. Front-end cues ↵Kristaps Dzonsons2010-05-121-0/+1
| | | | output engine with flag.
* -man also now has unbound margins for literal context.Kristaps Dzonsons2010-05-101-0/+2
|
* Fixed two very subtle bugs in retaining overstep and maxrmargin widths ↵Kristaps Dzonsons2010-03-231-0/+1
| | | | between parse sequences.
* Basically re-wrote -Tascii font handling: instead of incrementers forKristaps Dzonsons2009-11-121-6/+17
| | | | | | | | | 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.
* Correct support for `\fX' font modes in -Tascii.Kristaps Dzonsons2009-11-051-0/+4
|
* Made sure devices and formats recognise that -man and -mdoc have different ↵Kristaps Dzonsons2009-10-181-2/+2
| | | | 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-0/+3
| | | | Terminal scaling backend pushed into term.c.
* ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding).Kristaps Dzonsons2009-09-171-5/+0
| | | | More html work.
* Made tree/term/out() functions return void.Kristaps Dzonsons2009-09-161-3/+1
| | | | 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-3/+2
| | | | | | increments. Cleaned up confusing behaviour of p->flags.
* Moved indentation size into *term.c files.Kristaps Dzonsons2009-08-101-5/+0
| | | | Improved handling of libman `IP' macro (still needs work).
* Correct handling of \*(xx, \*[xxx], \*x versus \x, \(xx, \([xxx]: predefined ↵Kristaps Dzonsons2009-07-271-0/+1
| | | | strings and escape characters, respectively.
* Full support for `An -split/-nosplit'. Compat documented.Kristaps Dzonsons2009-07-241-0/+3
|
* Fixed transcription error of define values (bah).Kristaps Dzonsons2009-07-211-1/+1
|
* Bringing spacing more in line with groff, patches from schwarze@openbsd.org. ↵Kristaps Dzonsons2009-07-211-0/+1
| | | | Pre-testing.
* Removed unused TERMP_LITERAL.Kristaps Dzonsons2009-07-191-5/+4
|
* Renamed TERMP_NONOSPACE -> TERMP_DANGLE.Kristaps Dzonsons2009-07-141-10/+11
| | | | | Added TERMP_HANG. Reordered TERMP flags to be a little easier on my old eyes.
* Fixed license email address.Kristaps Dzonsons2009-06-101-1/+1
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* Manual .Dt fields CAPITALISED.Kristaps Dzonsons2009-04-121-1/+2
| | | | | | | | Indent set to 5 chars (nroff compat). Half-indent set to 3 chars (nroff compat). Default behaviour is loose-y (ignore macro/char/escape). Added -fstrict. Added unknown-character ignoring.
* Initial front-end formatting for -man pages.Kristaps Dzonsons2009-03-261-37/+0
|
* *** empty log message ***Kristaps Dzonsons2009-03-251-2/+2
|
* -man printing linked to -Ttree.Kristaps Dzonsons2009-03-231-0/+1
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-1/+1
| | | | Abstraction of mdoc.
* Lint fixes.Kristaps Dzonsons2009-03-211-1/+1
|
* Support for `Bd' of all types (see mdoc.7 for newline/tab rules).VERSION.1.6.2Kristaps Dzonsons2009-03-201-10/+10
| | | | | Renamed term.c and terminal.c functions to be term_. Some bugfixes to lists.
* Split mdocterm.c -> main.c terminal.c.Kristaps Dzonsons2009-03-191-0/+7
| | | | | | Abstracted output with -T selector (default ascii). Name change: mdocterm -> mandoc. Re-imported tree with -Ttree.
* Many more ASCII escapes added.Kristaps Dzonsons2009-03-191-11/+9
| | | | | | Stripped nroff punt from mdocterm.c. Fixed multiple-file handling for mdocterm.c. Cleared up mdoc.h API.
* Clean up ASCII table's memory.Kristaps Dzonsons2009-03-171-0/+1
|
* Fixed mdoc_phrase escape handling.Kristaps Dzonsons2009-03-161-68/+20
| | | | | | | | | | | Added MDOC_IGNDELIM (Pf, soon Li, etc.). macro_constant_delimited ignargs -> argv.c parsing. Renamed macro functions to correspond to ontologies. `Fo' and `St' made callable (compat documented). strings.sh deprecated (directly using CPP). Abstracted ASCII translation into ascii.{c,in}. ASCII table uses a self-reordering chained hashtable. Removed old regressions.
* Backed out all ANSI code.VERSION.1.5.1Kristaps Dzonsons2009-03-151-13/+1
|
* mdoclint accepts multiple filesKristaps Dzonsons2009-03-151-1/+2
| | | | mdocterm punts to nroff if it fails parsing
* Added colour styles (not being used) to struct termp.Kristaps Dzonsons2009-03-141-16/+21
| | | | | | Added nroff style-escape encoding. Removed ANSI schema string tables (there's only ANSI and nroff/backspace). Pushed styling directly into pword (simpler).
* Bumped version.Kristaps Dzonsons2009-03-141-1/+2
| | | | | Added \| (non-breaking space, like \&). Fixed termsym (TERMSYM_ALL).
* Expanded perfect htab to use 27 * 26 * 3 space.Kristaps Dzonsons2009-03-111-1/+3
| | | | | | Added Brq, Bro and Brc macros. Added lbrace and rbrace to special characters. Fixed spacing in braces.
* -tag, if followed by empty body, doesn't newline.Kristaps Dzonsons2009-03-041-0/+1
| | | | Versioning up.
* Fixed some character-escapes.Kristaps Dzonsons2009-03-041-1/+3
|
* Considerably cleaned up list handling.Kristaps Dzonsons2009-03-041-2/+0
|
* -inset and -diag lists now supported.Kristaps Dzonsons2009-03-031-0/+2
|
* Character-escape addition simplified (see README.addescape, also added).Kristaps Dzonsons2009-03-031-0/+9
|
* Added new old escape sequence \*[nn].Kristaps Dzonsons2009-03-021-1/+47
| | | | | Initial correct .Bd support (still only text in literal displays). Symbols put into tables (character-encoding).
* Support for maxrmargin-breaking with TERMP_NOBREAK.Kristaps Dzonsons2009-03-021-0/+2
| | | | Tabs auto-converted to spaces.
* Fixed TERMP_NOBREAK and line overruns.Kristaps Dzonsons2009-03-011-2/+2
| | | | Fixed TERMP_SETFLAGS and current-flag omission.
* More list work.Kristaps Dzonsons2009-02-251-0/+1
|
* *** empty log message ***Kristaps Dzonsons2009-02-251-0/+1
|
* Added [almost] all list types.Kristaps Dzonsons2009-02-251-0/+2
|
* Support for nested lists added.Kristaps Dzonsons2009-02-251-0/+1
|
* Some offsets built into termpair.Kristaps Dzonsons2009-02-251-5/+5
|
* Added "termpair" for symmetric flag-setting.Kristaps Dzonsons2009-02-251-0/+16
|