aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Remove the terminal frontend flag TERMP_NOLPAD.Ingo Schwarze2011-09-194-73/+58
| | | | | | | | | | | | | | | | | In columnated contexts (.Bl -column, .Bl -tag, .IP, .TP, .HP etc.), do not pad after writing a column. Instead, always pad before writing content. In itself, this change avoids: - writing trailing whitespace in some situations - with .fi/.nf in .HP, breaking lines that were already padded It allows several bugfixes included in this patch: - Do not count backspace as a character with positive width. - Set up proper indentation when encountering .fi/.nf in .HP. - Adjust the .HP indentation width to what groff does. - Never unlimit the right margin unless in the final column. ok kristaps@
* Breaking the line at a hyphen is only allowed if the hyphenIngo Schwarze2011-09-191-10/+3
| | | | | is both preceded and followed by an alphabetic character. ok kristaps@
* Fix another regression introduced in 1.11.7:Ingo Schwarze2011-09-181-3/+14
| | | | | | | | | | | | | | | | | If a string is defined in terms of itself, the REPARSE_LIMIT in read.c used to break the cycle. This no longer works since all the work is now done in the function roff_res(), looping indefinitely. Make this loop finite by arbitrarily limiting the number of times one string may be expanded; when that limit is reached, leave the remaining string references unexpanded. This changes behaviour compared to 1.11.5, where the whole line would have been dropped. The new behaviour is better because it loses less information. We don't want to imitate groff-1.20.1 behaviour anyway because groff aborts parsing of the whole file. ok kristaps@
* fix a regression introduced in 1.11.7:Ingo Schwarze2011-09-181-2/+5
| | | | | even a breakable hyphen may be bold or underlined ok kristaps@
* Support nesting of indented blocks.Ingo Schwarze2011-09-181-35/+29
| | | | | | | | This patch was originally written in July 2011 by kristaps@, i promptly committed it to OpenBSD, and then it was forgotten. Now i rediscovered it when merging 1.11.7 to OpenBSD. ok kristaps@ (on his own patch :)
* two issues were reported againIngo Schwarze2011-09-181-1/+6
|
* forgotten Copyright bumps; no code changeIngo Schwarze2011-09-1820-41/+41
| | | | found while syncing to OpenBSD
* Add a MACRO OVERVIEW, listing all macros ordered by purpose,Ingo Schwarze2011-09-181-2/+126
| | | | | | | each with a one-line discription. Use this when wondering which macro fits best for your particular use case, and whether there are alternatives. feedback ond ok jmc@, ok kristaps@
* Initial, incomplete support for -TmanIngo Schwarze2011-09-175-4/+460
| | | | | | | | to convert mdoc(7) documents to the man(7) language. This is work in progress and will be developed in tree. It does already handle the cat(1) manual, but will hardly handle all your fancy manuals yet. go ahead kristaps@ jmc@ millert@ deraadt@
* fix an obvious typo: sz was used uninitializedIngo Schwarze2011-09-171-2/+2
| | | | found while merging to OpenBSD
* support ".St -iso8601"; committing on behalf of jmc@Ingo Schwarze2011-09-162-3/+6
|
* It's unknown whether `SH' and `SS' closing out `nf' literalism isKristaps Dzonsons2011-09-061-2/+10
| | | | portable, so document it in COMPATIBILITY.
* Revert removal of tab warning, suggested by schwarze@.Kristaps Dzonsons2011-09-061-3/+18
|
* Remove check for tab. man(7) says tab is Ok.Kristaps Dzonsons2011-09-041-18/+3
|
* Teach -man that a literal context should be closed by SS/SH in theKristaps Dzonsons2011-09-041-10/+20
| | | | | backend (the front-end already accomodated for this). Found indirectly from a question by Brad Smith.
* Fix handling of font modifiers in tables. Noted by Brad Smith.Kristaps Dzonsons2011-09-032-6/+25
|
* Make -man check for tabs correctly print the column.VERSION_1_11_7Kristaps Dzonsons2011-09-021-2/+2
|
* Fix typos and spelling errors found by demandoc -w | spell -b.Kristaps Dzonsons2011-09-024-16/+16
|
* Fix hypermail link.Kristaps Dzonsons2011-09-021-4/+4
|
* Adding version notes.Kristaps Dzonsons2011-09-023-11/+11
|
* Finishing touches on demandoc. It now backs over ending punctuation asKristaps Dzonsons2011-09-012-7/+29
| | | | | | well as leading punctuation. Again, this isn't the same as deroff (which uses, I think, some punctuation as delimiters), but it's easier to explain and simpler to audit.
* Make `-w' mode work much better. This is INCREDIBLY poorly specified inKristaps Dzonsons2011-09-012-7/+64
| | | | | | any other deroff manual, and as I don't think anybody actually uses deroff, I don't feel compelled to research its behaviour too much and can just do what's logical.
* Have demandoc throw away deroff's flags.Kristaps Dzonsons2011-09-012-33/+70
|
* Lint checks over demandoc.Kristaps Dzonsons2011-09-011-4/+3
|
* Allow compilation on OpenBSD.Kristaps Dzonsons2011-09-011-1/+2
|
* Add demandoc utility, a replacement for deroff.Kristaps Dzonsons2011-09-014-23/+306
|
* Order -column lists to have the arguments follow `-column'. From aKristaps Dzonsons2011-08-303-25/+25
| | | | patch by Jason McIntyre.
* Remove unnecessary `Pp'/`-compat' combination for column lists.Kristaps Dzonsons2011-08-303-24/+15
| | | | Directly from a patch by Jason McIntyre.
* Make sure that `Ql' literalises its arguments in -T[x]html. Found whenKristaps Dzonsons2011-08-263-6/+10
| | | | doing manpages.bsd.lv stuff.
* Avoid incorrect casting by using an implicit cast. Reported by ThomasKristaps Dzonsons2011-08-191-3/+3
| | | | Klausner.
* Bring man.7's LANGUAGE SYNTAX in line with mdoc.7. While here, changeKristaps Dzonsons2011-08-192-64/+80
| | | | out the \*q escapes. Also fix some spelling typos in both manuals.
* Make LANGUAGE SYNTAX examples a bit more explanatory.Kristaps Dzonsons2011-08-191-14/+20
|
* First, use \(dq instead of \*q for double-quote. Second, use `Li' toKristaps Dzonsons2011-08-191-74/+67
| | | | | | | note literal text in "Examples:" parts. Finally, move parts of Quotation related to keeping whitespace into Whitespace and clean up the text to be a bit clearer. Examples can be added back in at will, but now it follows the general layout of explanation followed by examples.
* Align `-offset indent' and `D1' by forcing BLOCKQUOTE to have a 5exKristaps Dzonsons2011-08-184-12/+8
| | | | | | | | | margin. This is dubious: the HTML4 spec specifically says that BLOCKQUOTE shouldn't be abused for indentation, which is exactly what we do. However, `D1' needs indentation and it's the only way to force text browsers to do so. Alternatives? Also remove the unused HALFINDENT defines while here.
* Slightly tweak www section/subsections.Kristaps Dzonsons2011-08-182-9/+14
|
* Have `Li' be correctly monospaced in -T[x]html. Also make sure thatKristaps Dzonsons2011-08-183-7/+7
| | | | | `Li' prints as a CODE tag and the style-sheet has the `lit' class apply to multiple tag types.
* Replace the old `An'/`Aq' AUTHORS note with `An'/`Mt'.Kristaps Dzonsons2011-08-1810-33/+44
|
* Add example of comments in man.7 and mdoc.7.Kristaps Dzonsons2011-08-172-4/+20
|
* Sync man.7's LANGUAGE SYNTAX (was INPUT ENCODING) with mdoc.7.Kristaps Dzonsons2011-08-171-49/+121
| | | | | While here, fix the scaling widths example that incorrectly used `br' (it now correctly uses `sp').
* Clean up and normalise the LANGUAGE SYNTAX section in mdoc.7:Kristaps Dzonsons2011-08-171-61/+93
| | | | | | | | - make examples trail each section - make explanations more concise - remove references to troff ok Jason McIntyre.
* Toyed with www site a bit. For the next release.Kristaps Dzonsons2011-08-171-93/+29
|
* Replace the .Fl examples by others exhibiting the same features,VERSION_1_11_6Ingo Schwarze2011-08-161-6/+6
| | | | | | but avoiding use of .Nm, because letting .Nm call other macros is unusual style, and we don't want unusual style in examples. Issue brought up by kristaps@.
* More information about lots of macros, many new examples, and various fixes.Ingo Schwarze2011-08-161-53/+167
| | | | ok kristaps@
* Added generation of Universal binary. Fixed up index.sgml to be shorterKristaps Dzonsons2011-08-162-60/+77
| | | | and more expressive.
* Version: 1.11.6.Kristaps Dzonsons2011-08-161-2/+2
|
* Lint check.Kristaps Dzonsons2011-08-161-8/+1
|
* Fixed mingw compatibility where the "z" printf() modifier isn'tKristaps Dzonsons2011-08-162-8/+9
| | | | | recognised. It's easier to make these u_int than to jump through hoops for a special formatter.
* Updating mingw32 install hooks for new mingw version.Kristaps Dzonsons2011-08-161-2/+13
|
* Initial version bits in place. Also added forgotten tests to installed files.Kristaps Dzonsons2011-08-162-40/+24
|
* Allow `Sx' and `Ss' to have child nodes. Fixes manuals in NetBSD.Kristaps Dzonsons2011-08-104-57/+80
| | | | | | Originally pointed out by joerg@ then again by Thomas Klausner by way of Nicolas Joy. Note: don't use these constructions as you can't link to the sections with `Sx'.