aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
Commit message (Collapse)AuthorAgeFilesLines
* Add stub for eqn.7 manual and flip it on. Also note COMPATIBILITY issueKristaps Dzonsons2011-02-091-2/+3
| | | | of how we considered .TS (etc.) macros and how the preprocessors do.
* Moved table stuff from roff.7 into the new tbl.7 (suggested by Jason McIntyre).Kristaps Dzonsons2011-01-041-3/+5
| | | | Added cross-links to tbl.7 from other manuals.
* Clarify style inclusions and update release information.Kristaps Dzonsons2010-12-201-10/+8
|
* Correctly mark the examples as `Dl', not `D1'.Kristaps Dzonsons2010-12-171-6/+6
|
* Note that we use CSS1, not CSS2.Kristaps Dzonsons2010-12-161-7/+6
| | | | Remove superfluous language in output-mode short description.
* Remove stray note on `i', which we no longer support.Kristaps Dzonsons2010-12-161-8/+2
|
* Remove stupid outer DIV tag in favour of regular BODY and HTML that canKristaps Dzonsons2010-12-151-11/+2
| | | | | | | | be handled in CSS. Clarified "lit" tag (will be the subject of future clarification). Removed CSS2 note in mandoc.1, which is no longer the case.
* sync to OpenBSD:Ingo Schwarze2010-09-261-4/+4
| | | | | new sentence, new line; from jmc@
* Implement a simple, consistent user interface for error handling.Ingo Schwarze2010-08-201-60/+144
| | | | | | | | | | | | | | | | | 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.
* Migrate `Xr groff 1' -> GNU troff. I no longer assume that groff isKristaps Dzonsons2010-08-181-6/+3
| | | | installed on the host system.
* Remove references to \s in mandoc.1: we no longer document these and justKristaps Dzonsons2010-08-181-13/+2
| | | | flat-out ignore them.
* Remove mandoc.1 compatibility notes that are no longer relevant.Kristaps Dzonsons2010-08-071-12/+2
|
* Initial PDF shim over PS. This produces working PDF output with -Tpdf.Kristaps Dzonsons2010-07-251-2/+14
| | | | | | | | | | It's currently missing the xref table, so you'll get a warning in most PDF viewers). It also produces lots of redundant output, which will go away once I get a better handle on the PDF spec. The code doesn't really touch any existing functionality; it's a bunch of conditionals atop the -Tps (term_ps.c) implementation. I'm checking it in now to have it exist and be auditable. It needs clean-up, polish, and general care (and xref!).
* correct lots of copyright notices;Ingo Schwarze2010-07-131-3/+3
| | | | ok kristaps@
* Set line-height to be 1.4em. Removed check for minimum margins that are noKristaps Dzonsons2010-07-041-1/+2
| | | | longer important.
* Backed out margin calculations in favour of much simpler rule of thumb:Kristaps Dzonsons2010-07-041-5/+3
| | | | margins are 1/9 the length/width.
* Auto-margins. Documented in mandoc.1. Also bumped line-height and madeKristaps Dzonsons2010-07-041-3/+6
| | | | sure header and footer accomodate for said line-height.
* First, I'm defaulting to 11-point font, which renders much nicer (theKristaps Dzonsons2010-07-011-4/+13
| | | | | | | | | | | "Internet" vaguely suggests using 11- or 9-Point for serifed fonts). This verified on GNU/Linux, Mac OSX, Windows, and OpenBSD. Noted in mandoc.1. Then added a3, a4, a5, letter, legal, and custom page dimensions. These seem to be the main players. Noted in mandoc.1. Lintified the casting.
* Now using Times AFM provided by Dillo. Verified on OpenBSD by me and Mac OSXKristaps Dzonsons2010-06-301-4/+4
| | | | by M. Deksters.
* Remove some incorrect data from mandoc.1 (that of non-macro lines andKristaps Dzonsons2010-06-291-141/+107
| | | | | | spacing, which is for mdoc.7/man.7 anyway). Also document -Opage=xxx and push the per-output options into the output subsections. Makes the manual shorter and more readable.
* Give -Tps better PostScript hinting. Note that we're using Adobe-3.0Kristaps Dzonsons2010-06-291-3/+5
| | | | | constructs. Push the stupid CPP defines for page boundaries and margins into proper variables. Give enum termfont a proper TERMFONT__MAX.
* Allow OpenBSD's nroff to process mandoc.1 without puking on long `It'Kristaps Dzonsons2010-06-251-8/+12
| | | | lines.
* Note that we use PostScript level 2, not 1 (the /Courier invocation).Kristaps Dzonsons2010-06-111-3/+3
|
* First check-in of PostScript output. This does not change any logicKristaps Dzonsons2010-06-071-1/+10
| | | | | | within term.c, but does add a small shim over putchar() that switches on the output engine. Prints, for this initial version, only monospace and without font decorations. It's a start.
* Forgot to check in manual along with -Owidth=width patch.Kristaps Dzonsons2010-06-071-4/+14
|
* Remove -fno-ign-chars as well-argued by Ingo Schwarze. Patch by Ingo ↵Kristaps Dzonsons2010-05-091-7/+4
| | | | Schwarze, too.
* As per Jason McIntyre's heartful urgings, do away with '.' separators ↵Kristaps Dzonsons2010-04-131-80/+4
| | | | | | between logical sections. Change email address to BSD.lv one (this is not an academic project...)
* Merge patch by Jason McIntyre cleaning on mandoc.1: `Ar' -> `Cm' and other ↵Kristaps Dzonsons2010-04-121-95/+94
| | | | | | readability fixes. Merge modified patch by Joerg Sonnenberger that rewinds to whitespace when encountering trailing line-comments.
* Merged Jason McIntyre's "new-sentence, new-line" patch along with Ingo ↵Kristaps Dzonsons2010-04-081-37/+66
| | | | Schwarze' "gt" patch.
* Final (?) fix to issue pointed out by Sascha Wildner: roff instructions ↵Kristaps Dzonsons2010-03-291-3/+4
| | | | clobbering prior scope rules and line modes.
* Fix mandoc.1 ending (noted by Sascha Wildner).VERSION_1_9_19Kristaps Dzonsons2010-03-271-2/+3
|
* Documentation of apostrophe control character.Kristaps Dzonsons2010-03-271-2/+10
|
* Fixed up some documentation in man.7: only documenting man.7 macros, not ↵Kristaps Dzonsons2010-03-251-2/+9
| | | | related ones (de, Vb, etc.), which aren't technically man. It's an open question as to where these /should/ be documented, however.
* Have -Tlint imply -Wall and -fstrict. Based on a patch submitted by Ingo ↵Kristaps Dzonsons2010-03-221-3/+9
| | | | Schwarze.
* Clarify -man -T[x]html handling of `br' within `B'.Kristaps Dzonsons2010-03-221-4/+16
| | | | | Consolidated node unlinking in -man. Conclude nested next-line scope issues noted by Ingo Schwarze.
* Fixed Makefile for `make lint' dep. on config.hKristaps Dzonsons2010-01-291-6/+27
| | | | Added -Txhtml for XHTML output (minimal increase to programme logic). Because groff has it and it bothers me that we don't.
* Fix white-space issues found by mandoc's better white-space finder.Kristaps Dzonsons2010-01-071-12/+12
| | | | Fixed bogus `\\' escapes in some manuals.
* More clarification in manuals. Added per-OUTPUT section in mandoc.1.Kristaps Dzonsons2009-11-161-55/+121
|
* Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1).Kristaps Dzonsons2009-11-161-6/+14
|
* Documented that `\s' and `\f' don't work in HTML mode (and why).Kristaps Dzonsons2009-11-051-2/+13
| | | | Added support for recognising the many forms of `\s' (doesn't yet render).
* Merged patch to allow -fign-escape (thanks Joerg Sonnenberger).Kristaps Dzonsons2009-10-261-1/+6
|
* Changed `-o' to `-O' for clarity. THIS BREAKS UTILITIES DEPENDING ON -o!Kristaps Dzonsons2009-10-261-8/+8
|
* Fix in mandoc.1 and mandoc_char.7 syntax (submitted Joerg Sonnenberger).Kristaps Dzonsons2009-10-151-4/+4
| | | | Added note on character format per output type.
* Fix hang lists in -Tascii -Tmdoc, which seem to have been broken since ~1.8.x.Kristaps Dzonsons2009-10-101-2/+22
| | | | Noted similarity of HP/TP and -hang/-tag in mandoc.1.
* Fixed mandoc.1 examples (new -Thtml options).Kristaps Dzonsons2009-10-031-6/+6
| | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c.
* Added the -oincludes=FMT option.Kristaps Dzonsons2009-10-031-3/+19
| | | | | The `In' handler now decorates with a hyperlink. If no -oman= or -oincludes= is stipulated, no link is printed (but the text is still style-decorated).
* Element tag buffer is now part of struct html.Kristaps Dzonsons2009-10-031-9/+20
| | | | | | | buffmt() can be called in sequence. Noted BUFSIZ-sized buffer in CAVEATS (attribute length for link formats). Added -oman=FMT -Thtml option for `Xr' manual links. Removed -obase=URI -Thtml option (obsolete).
* Fixed body/divbody structure of html pages.Kristaps Dzonsons2009-09-211-1/+7
| | | | | | Added example style.css (example.style.css). Enabled using -Thtml to generate manuals in Makefile. Stopped making text manuals for webpage.
* Removed new-born out.{h,c} (not a good idea).Kristaps Dzonsons2009-09-211-17/+34
| | | | | Removed if 0 for HTML-mode output (why not). Added option -oxxxx for passing options to output devices.
* Removed TERMP_BOLD, TERMP_UNDER, TERMP_STYLE in favour of recursive-friendly ↵Kristaps Dzonsons2009-09-151-3/+3
| | | | | | increments. Cleaned up confusing behaviour of p->flags.