Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Note that we use CSS1, not CSS2. | Kristaps Dzonsons | 2010-12-16 | 1 | -6/+5 |
| | | | | Remove superfluous language in output-mode short description. | ||||
* | Remove stray note on `i', which we no longer support. | Kristaps Dzonsons | 2010-12-16 | 1 | -6/+0 |
| | |||||
* | Remove stupid outer DIV tag in favour of regular BODY and HTML that can | Kristaps Dzonsons | 2010-12-15 | 1 | -9/+0 |
| | | | | | | | | 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 Schwarze | 2010-09-26 | 1 | -2/+2 |
| | | | | | new sentence, new line; from jmc@ | ||||
* | Implement a simple, consistent user interface for error handling. | Ingo Schwarze | 2010-08-20 | 1 | -58/+142 |
| | | | | | | | | | | | | | | | | | 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 is | Kristaps Dzonsons | 2010-08-18 | 1 | -5/+2 |
| | | | | installed on the host system. | ||||
* | Remove references to \s in mandoc.1: we no longer document these and just | Kristaps Dzonsons | 2010-08-18 | 1 | -11/+0 |
| | | | | flat-out ignore them. | ||||
* | Remove mandoc.1 compatibility notes that are no longer relevant. | Kristaps Dzonsons | 2010-08-07 | 1 | -10/+0 |
| | |||||
* | Initial PDF shim over PS. This produces working PDF output with -Tpdf. | Kristaps Dzonsons | 2010-07-25 | 1 | -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 Schwarze | 2010-07-13 | 1 | -1/+1 |
| | | | | ok kristaps@ | ||||
* | Set line-height to be 1.4em. Removed check for minimum margins that are no | Kristaps Dzonsons | 2010-07-04 | 1 | -0/+1 |
| | | | | longer important. | ||||
* | Backed out margin calculations in favour of much simpler rule of thumb: | Kristaps Dzonsons | 2010-07-04 | 1 | -4/+2 |
| | | | | margins are 1/9 the length/width. | ||||
* | Auto-margins. Documented in mandoc.1. Also bumped line-height and made | Kristaps Dzonsons | 2010-07-04 | 1 | -1/+4 |
| | | | | sure header and footer accomodate for said line-height. | ||||
* | First, I'm defaulting to 11-point font, which renders much nicer (the | Kristaps Dzonsons | 2010-07-01 | 1 | -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 OSX | Kristaps Dzonsons | 2010-06-30 | 1 | -2/+2 |
| | | | | by M. Deksters. | ||||
* | Remove some incorrect data from mandoc.1 (that of non-macro lines and | Kristaps Dzonsons | 2010-06-29 | 1 | -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.0 | Kristaps Dzonsons | 2010-06-29 | 1 | -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 Dzonsons | 2010-06-25 | 1 | -6/+10 |
| | | | | lines. | ||||
* | Note that we use PostScript level 2, not 1 (the /Courier invocation). | Kristaps Dzonsons | 2010-06-11 | 1 | -1/+1 |
| | |||||
* | First check-in of PostScript output. This does not change any logic | Kristaps Dzonsons | 2010-06-07 | 1 | -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 Dzonsons | 2010-06-07 | 1 | -2/+12 |
| | |||||
* | Remove -fno-ign-chars as well-argued by Ingo Schwarze. Patch by Ingo ↵ | Kristaps Dzonsons | 2010-05-09 | 1 | -5/+2 |
| | | | | Schwarze, too. | ||||
* | As per Jason McIntyre's heartful urgings, do away with '.' separators ↵ | Kristaps Dzonsons | 2010-04-13 | 1 | -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 Dzonsons | 2010-04-12 | 1 | -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 Dzonsons | 2010-04-08 | 1 | -35/+64 |
| | | | | Schwarze' "gt" patch. | ||||
* | Final (?) fix to issue pointed out by Sascha Wildner: roff instructions ↵ | Kristaps Dzonsons | 2010-03-29 | 1 | -1/+2 |
| | | | | clobbering prior scope rules and line modes. | ||||
* | Fix mandoc.1 ending (noted by Sascha Wildner).VERSION.1.9.19 | Kristaps Dzonsons | 2010-03-27 | 1 | -1/+2 |
| | |||||
* | Documentation of apostrophe control character. | Kristaps Dzonsons | 2010-03-27 | 1 | -0/+8 |
| | |||||
* | Fixed up some documentation in man.7: only documenting man.7 macros, not ↵ | Kristaps Dzonsons | 2010-03-25 | 1 | -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 Dzonsons | 2010-03-22 | 1 | -2/+8 |
| | | | | Schwarze. | ||||
* | Clarify -man -T[x]html handling of `br' within `B'. | Kristaps Dzonsons | 2010-03-22 | 1 | -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.h | Kristaps Dzonsons | 2010-01-29 | 1 | -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 Dzonsons | 2010-01-07 | 1 | -10/+10 |
| | | | | Fixed bogus `\\' escapes in some manuals. | ||||
* | More clarification in manuals. Added per-OUTPUT section in mandoc.1. | Kristaps Dzonsons | 2009-11-16 | 1 | -54/+120 |
| | |||||
* | Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1). | Kristaps Dzonsons | 2009-11-16 | 1 | -4/+12 |
| | |||||
* | Documented that `\s' and `\f' don't work in HTML mode (and why). | Kristaps Dzonsons | 2009-11-05 | 1 | -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 Dzonsons | 2009-10-26 | 1 | -0/+5 |
| | |||||
* | Changed `-o' to `-O' for clarity. THIS BREAKS UTILITIES DEPENDING ON -o! | Kristaps Dzonsons | 2009-10-26 | 1 | -6/+6 |
| | |||||
* | Fix in mandoc.1 and mandoc_char.7 syntax (submitted Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-15 | 1 | -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 Dzonsons | 2009-10-10 | 1 | -0/+20 |
| | | | | Noted similarity of HP/TP and -hang/-tag in mandoc.1. | ||||
* | Fixed mandoc.1 examples (new -Thtml options). | Kristaps Dzonsons | 2009-10-03 | 1 | -5/+5 |
| | | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c. | ||||
* | Added the -oincludes=FMT option. | Kristaps Dzonsons | 2009-10-03 | 1 | -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 Dzonsons | 2009-10-03 | 1 | -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 Dzonsons | 2009-09-21 | 1 | -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 Dzonsons | 2009-09-21 | 1 | -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 Dzonsons | 2009-09-15 | 1 | -1/+1 |
| | | | | | | increments. Cleaned up confusing behaviour of p->flags. | ||||
* | Typo fix (jmc@openbsd.org). | Kristaps Dzonsons | 2009-09-05 | 1 | -1/+1 |
| | |||||
* | Added `UC' libman macro (has no effect). | Kristaps Dzonsons | 2009-08-22 | 1 | -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 Dzonsons | 2009-08-20 | 1 | -5/+3 |
| | |||||
* | Documented omission of `na' and `Dt'. | Kristaps Dzonsons | 2009-08-20 | 1 | -45/+85 |
| | | | | Clarified COMPATIBILITY section (which modes/inputs). |