summaryrefslogtreecommitdiffstats
path: root/mandoc.1
Commit message (Collapse)AuthorAgeFilesLines
* Remove mandoc.1 compatibility notes that are no longer relevant.Kristaps Dzonsons2010-08-071-10/+0
|
* Initial PDF shim over PS. This produces working PDF output with -Tpdf.Kristaps Dzonsons2010-07-251-0/+12
| | | | | | | | | | 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-1/+1
| | | | ok kristaps@
* Set line-height to be 1.4em. Removed check for minimum margins that are noKristaps Dzonsons2010-07-041-0/+1
| | | | longer important.
* Backed out margin calculations in favour of much simpler rule of thumb:Kristaps Dzonsons2010-07-041-4/+2
| | | | margins are 1/9 the length/width.
* Auto-margins. Documented in mandoc.1. Also bumped line-height and madeKristaps Dzonsons2010-07-041-1/+4
| | | | 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-2/+11
| | | | | | | | | | | "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-2/+2
| | | | by M. Deksters.
* Remove some incorrect data from mandoc.1 (that of non-macro lines andKristaps Dzonsons2010-06-291-140/+106
| | | | | | 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-1/+3
| | | | | 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-6/+10
| | | | lines.
* Note that we use PostScript level 2, not 1 (the /Courier invocation).Kristaps Dzonsons2010-06-111-1/+1
|
* First check-in of PostScript output. This does not change any logicKristaps Dzonsons2010-06-071-0/+9
| | | | | | 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-2/+12
|
* Remove -fno-ign-chars as well-argued by Ingo Schwarze. Patch by Ingo ↵Kristaps Dzonsons2010-05-091-5/+2
| | | | Schwarze, too.
* As per Jason McIntyre's heartful urgings, do away with '.' separators ↵Kristaps Dzonsons2010-04-131-78/+2
| | | | | | 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-93/+92
| | | | | | 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-35/+64
| | | | Schwarze' "gt" patch.
* Final (?) fix to issue pointed out by Sascha Wildner: roff instructions ↵Kristaps Dzonsons2010-03-291-1/+2
| | | | clobbering prior scope rules and line modes.
* Fix mandoc.1 ending (noted by Sascha Wildner).VERSION.1.9.19Kristaps Dzonsons2010-03-271-1/+2
|
* Documentation of apostrophe control character.Kristaps Dzonsons2010-03-271-0/+8
|
* Fixed up some documentation in man.7: only documenting man.7 macros, not ↵Kristaps Dzonsons2010-03-251-0/+7
| | | | 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-2/+8
| | | | Schwarze.
* Clarify -man -T[x]html handling of `br' within `B'.Kristaps Dzonsons2010-03-221-2/+14
| | | | | 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-4/+25
| | | | 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-10/+10
| | | | Fixed bogus `\\' escapes in some manuals.
* More clarification in manuals. Added per-OUTPUT section in mandoc.1.Kristaps Dzonsons2009-11-161-54/+120
|
* Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1).Kristaps Dzonsons2009-11-161-4/+12
|
* Documented that `\s' and `\f' don't work in HTML mode (and why).Kristaps Dzonsons2009-11-051-0/+11
| | | | 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-0/+5
|
* Changed `-o' to `-O' for clarity. THIS BREAKS UTILITIES DEPENDING ON -o!Kristaps Dzonsons2009-10-261-6/+6
|
* Fix in mandoc.1 and mandoc_char.7 syntax (submitted Joerg Sonnenberger).Kristaps Dzonsons2009-10-151-2/+2
| | | | 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-0/+20
| | | | Noted similarity of HP/TP and -hang/-tag in mandoc.1.
* Fixed mandoc.1 examples (new -Thtml options).Kristaps Dzonsons2009-10-031-5/+5
| | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c.
* Added the -oincludes=FMT option.Kristaps Dzonsons2009-10-031-2/+18
| | | | | 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-7/+18
| | | | | | | 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-0/+6
| | | | | | 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-15/+32
| | | | | 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-1/+1
| | | | | | increments. Cleaned up confusing behaviour of p->flags.
* Typo fix (jmc@openbsd.org).Kristaps Dzonsons2009-09-051-1/+1
|
* Added `UC' libman macro (has no effect).Kristaps Dzonsons2009-08-221-4/+2
| | | | | Corrected `UC' and `DT' not to print their arguments. Noted that `UC' and `DT' shouldn't be used.
* Small cleanup in mandoc.1.Kristaps Dzonsons2009-08-201-5/+3
|
* Documented omission of `na' and `Dt'.Kristaps Dzonsons2009-08-201-45/+85
| | | | Clarified COMPATIBILITY section (which modes/inputs).
* Added `DT' macro (pointed out by joerg@netbsd.org).Kristaps Dzonsons2009-08-201-0/+1
|
* Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).Kristaps Dzonsons2009-08-191-2/+2
|
* Removed POSIX.1 COMPATIBILITY note in mdoc.7.Kristaps Dzonsons2009-07-261-2/+10
| | | | Noted that \~ doesn't work in mandoc.1 (thanks uqs@sporlein.net).
* Added -fign-errors for VERY fast checking of many manuals without stopping ↵Kristaps Dzonsons2009-07-241-0/+10
| | | | at errors.
* Noted COMPATIBILITY where, in groff, `Pa' under `It' doesn't render its style.Kristaps Dzonsons2009-07-211-6/+15
|
* Removed trailing whitespace in manuals.Kristaps Dzonsons2009-07-201-36/+36
|
* Ceremonial removal of "-hang lists not supported". Candlelight, romantic ↵Kristaps Dzonsons2009-07-141-8/+0
| | | | music, etc.