summaryrefslogtreecommitdiffstatshomepage
path: root/roff.7
Commit message (Collapse)AuthorAgeFilesLines
* Fix `ds' handling. This was stripping characters from "val", when theKristaps Dzonsons2010-07-271-2/+11
| | | | | | syntax of `ds' is such that ALL text following the first non-space/non-double-quote is part of the value. This also fixes the warning of *(string++) = NULL report by kristaps@ and joerg@.
* Re-constitution of `ds' symbol processing. First, push theKristaps Dzonsons2010-07-071-7/+16
| | | | | | | | | roff_getstr() family of functions into roff.c with the "first_string" directly in struct roff. Second, pre-process each line for reserved words in libroff, splicing and re-running a line if it has one (this allows defined symbols to be macros). Remove term.c's invocation of the roff_getstrn() function. Removed function documentation in roff.3 and added roff.7 `ds' documentation.
* Assert my copyright, making it explicit that i'm granting the same licenseIngo Schwarze2010-07-041-2/+3
| | | | | on those parts of the code and text that i have written as Kristaps is. "fine with me" kristaps@
* Allow registers to be unset. Implement and document the `.nr nS val'.Kristaps Dzonsons2010-06-271-4/+7
|
* First step of adding register support. This is inspired by a significantKristaps Dzonsons2010-06-261-2/+36
| | | | | | patch by schwarze@. This commit adds support to libroff parsing `nr' into register set defined in regs.h. This will propogate into libmdoc and libman in later commits.
* Fix adding some minimal intelligence to conditional parser. See roff.7Kristaps Dzonsons2010-06-101-4/+15
| | | | | | | | | | for what's supported. This simplified the roff_cond() function quite nicely. From a bug report by uqs@. Added regression test based on bug-report example by uqs@. Also added ROFF_DEBUG to see what the hell the parser is actually doing. Obviously turned off by default.
* Noted that \} collapses into a zero-width space on the front-end.Kristaps Dzonsons2010-06-011-3/+5
|
* recognize ".if n" as true;Ingo Schwarze2010-05-241-3/+11
| | | | | | nothing fancy yet, no negation, no grammer, just that one letter; from OpenBSD; "looks fine" kristaps@
* provide stubs to ignore .ds, .rm and .tr,Ingo Schwarze2010-05-241-2/+20
| | | | | | which occur in the standard pod2man preamble; from OpenBSD; "sounds good" joerg@, "can be checked in" kristaps@
* Documented ie/el.Kristaps Dzonsons2010-05-171-1/+25
| | | | | Installing roff.7 and added it to index.sgml. Small fix for `D1' and `Bd' in -Thtml.
* Full support for ie/el. This completes the initial roff support.Kristaps Dzonsons2010-05-171-1/+6
| | | | | Added test files for ie/el. Using `if 0' as a baseline for "false" roff instructions instead of `if t'.
* libroff now intelligently throws away `am', `ami', `am1', `de', `dei',Kristaps Dzonsons2010-05-171-5/+53
| | | | and `de1'. This is also documented in roff.7.
* `ig' support in all its glory. TryKristaps Dzonsons2010-05-161-6/+66
| | | | | | | | | | | | | | | | | | .ig ig asdf .ig fdsa .. or .ig if asdf .if n \ foo for a laugh. It all works. Lots of regression tests supporting this and documentation for the same.
* Regression tests in place for `.if' in libroff.Kristaps Dzonsons2010-05-161-0/+128
Check against some strange `.if' constructs I missed. Added initial roff.7 manual.