aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.3
Commit message (Collapse)AuthorAgeFilesLines
* Step 3: consolidate manuals. The parse functions in mdoc.h, roff.h, andKristaps Dzonsons2011-03-221-283/+0
| | | | | | | | man.h are now part of libmandoc.h, so remove these from their respective manuals (they're no longer public-facing and we don't need a libmandoc.3 (yet?)). Before that, move the juicy data (parse tree syntax) into new-born mandoc.3. Peck around in Makefile and index.sgml to reflect reality.
* Allow -man to process EQN as well. Also fix a segfault in missing caseKristaps Dzonsons2011-02-091-2/+13
| | | | statements in the post-handler for EQN in -mdoc and -man.
* Same treatment for MAN_HALT as for MDOC_HALT.Kristaps Dzonsons2011-01-031-19/+14
|
* Add -man support for tables. Like -mdoc, this consists of anKristaps Dzonsons2011-01-011-2/+10
| | | | | | | external-facing function man_addspan() (this required shuffling around the descope routine) and hooks elsewhere. Also fixed mdoc.c's post-validation of tables.
* Correctly labelled command-line as `Dl'.Kristaps Dzonsons2010-12-171-3/+3
|
* Remove `Sp', `Vb', and `Ve' (as per schwarze@'s changes in OpenBSD),Kristaps Dzonsons2010-12-051-20/+4
| | | | which are now accomodated for the new libroff modifications.
* Cleaned up library manuals: removed old escapes, added EXAMPLES, strippedKristaps Dzonsons2010-10-101-53/+9
| | | | out some superfluous stuff.
* Implement a simple, consistent user interface for error handling.Ingo Schwarze2010-08-201-8/+3
| | | | | | | | | | | | | | | | | We now have sufficient practical experience to know what we want, so this is intended to be final: - provide -Wlevel (warning, error or fatal) to select what you care about - provide -Wstop to stop after parsing a file with warnings you care about - provide consistent exit status codes for those warnings you care about - fully document what warnings, errors and fatal errors mean - remove all other cruft from the user interface, less is more: - remove all -f knobs along with the whole -f option - remove the old -Werror because calling warnings "fatal" is silly - always finish parsing each file, unless fatal errors prevent that This commit also includes a couple of related simplifications behind the scenes regarding error handling. Feedback and OK kristaps@; Joerg Sonnenberger (NetBSD) and Sascha Wildner (DragonFly BSD) agree with the general direction.
* Remove \*(C+ from the pre-predefined strings. It is always `ds'-definedKristaps Dzonsons2010-08-161-3/+2
| | | | | | when being used in manuals. Since we now support `ds', it's no longer necessary to account for it. From a bug report originally by Thomas Jeunet.
* Re-constitution of `ds' symbol processing. First, push theKristaps Dzonsons2010-07-071-3/+2
| | | | | | | | | 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.
* Following clue-stick applied by schwarze@, back out const-ness of regsetKristaps Dzonsons2010-06-271-3/+5
| | | | | | | | | passed in to libmdoc and libman. Fix mdoc.3 and man.3 EXAMPLE sections to include regset. Add MDOC_SYNPRETTY flag cueing front-end to nicely format certain values as if SEC_SYNOPSIS were the current section.
* Downstream maintainers: this removes UGLY! I don't want divergingKristaps Dzonsons2010-06-271-4/+8
| | | | | | | | | functionality and UGLY works quite well thanks to schwarze@'s careful attention. This also backs out function-prototype changes for struct regset, instead stuffing a pointer to the regset directly into struct mdoc/man/roff.
* Churn-ish check-in getting mdoc_parseln() and man_parseln() to accept aKristaps Dzonsons2010-06-261-3/+9
| | | | const struct regset pointer. No functionality.
* Added roff.3, which documents the roff parser interface.Kristaps Dzonsons2010-05-251-4/+3
| | | | | | | | | | | Small fix in mdoc.3 and man.3 pointing to old mdoc_cb and man_cb. Fix in Makefile adding mandoc.h to HEADS. Collapsed all HTML files into HTMLS variable (too confusing otherwise). Removed "htmls" command from Makefile (only I used it and it's just taking up space).
* Clean-up: added `Nm mdoc' to mdoc.3.Kristaps Dzonsons2010-05-251-55/+55
| | | | | | Clean-up: new-sentence, new-line for man.3. Clean-up: alpha-ordered man.3 `Nm' sections and prototypes.
* As per Jason McIntyre's heartful urgings, do away with '.' separators ↵Kristaps Dzonsons2010-04-131-46/+2
| | | | | | between logical sections. Change email address to BSD.lv one (this is not an academic project...)
* Whitespace fix.VERSION_1_9_21Kristaps Dzonsons2010-03-311-3/+3
|
* Escape TH -> Th (noticed by Joerg Sonnenberger).Kristaps Dzonsons2010-03-301-2/+26
| | | | Moved pod2man escapes into man.3 (they're not part of -man or -mdoc, technically).
* Fixed re-adjustment of scope in exiting roff instructions (libman).Kristaps Dzonsons2010-03-271-30/+90
| | | | | | Added title-case check for (libman). Fixed premature closure of roff instruction scope (libman). Added documentation of ignored roff macros to man(3).
* Removed offsets from most parts (no reason for indentation).Kristaps Dzonsons2010-02-171-20/+22
| | | | | Using POSIX2008 idioms for examples (thanks Joerg Sonnenberger). Removed references to fgetln().
* Fix white-space issues found by mandoc's better white-space finder.Kristaps Dzonsons2010-01-071-3/+3
| | | | Fixed bogus `\\' escapes in some manuals.
* Fixed mandoc.1 examples (new -Thtml options).Kristaps Dzonsons2009-10-031-3/+3
| | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c.
* Made tree/term/out() functions return void.Kristaps Dzonsons2009-09-161-3/+3
| | | | Put err() functions back into front-ends (no use making it needlessly complex).
* Updated libman AST documentation.Kristaps Dzonsons2009-08-171-3/+9
| | | | Version (not yet finalised, but tagging in Makefile): 1.9.0.
* Removed trailing whitespace in manuals.Kristaps Dzonsons2009-07-201-26/+26
|
* Fixed man.3 mdoc.3 const-nesses.Kristaps Dzonsons2009-07-051-4/+4
|
* Fixed email address in manual AUTHOR reference.Kristaps Dzonsons2009-06-111-3/+3
| | | | | | Set max right margin to 80 columns (schwarze@openbsd.org). Fixed centre-field heading position (schwarze@openbsd.org). Also fixed -Tman centre-field.
* Fixed license email address.Kristaps Dzonsons2009-06-101-3/+3
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-13/+11
|
* Manual .Dt fields CAPITALISED.Kristaps Dzonsons2009-04-121-3/+3
| | | | | | | | 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.
* Added some new manuals (mdoc.3 mandoc_char.7).Kristaps Dzonsons2009-03-271-0/+279
Support for .br in libman.