summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* doc/groff.texi: Revise discussion of `ce` request.HEADmasterG. Branden Robinson2023-05-171-12/+9
| | | | Also adjust dead-tree pagination.
* doc/groff.texi: Clarify discussion of `ec` & `eo`.G. Branden Robinson2023-05-171-22/+22
| | | | Also shift some forward references into footnotes.
* groff_diff(7): Fix missing punctuation.G. Branden Robinson2023-05-171-1/+1
|
* groff_mm(7): Fix content, style, and markup nits.G. Branden Robinson2023-05-171-566/+754
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Content: * Document that AF can end a TL-initiated title as AU can. * Describe AF's behavior when specified multiple times. * Add cross references in AF, macro descriptions. * Clarify that AT interacts with letters. * Cross-reference LI and LE macros in all list-beginning macro descriptions. * Drop explicit documentation of how some macros handle empty arguments are handled when this information is presented in a table; these already list "none", and the introduction to the "Macros" section explains how to explicitly pass empty macro arguments. * When discussing "compatibility reasons", identify what we're trying to be compatible with (DWB mm). * Stop reporting values of string defaults in macro descriptions; these are properly documented in the "Strings" section. * Begin more macro descriptions with meaningful imperative statements. Stop bending into pretzel shapes trying to make these expansions of an abbreviation that the macro name encodes. * Stop associating `FC` with MT memoranda; they don't use it. (The internal macro `let@mt-closing` appears to be misleadingly named.) * Explain what the second argument to `FD` does. * Drop synopses of hook macros in favor of their descriptions in the in the macros that call them. (Except for EOP and TP, which demand further consideration before recasting because they are called by traps, which aren't otherwise described.) * Drop example from `IND` macro description; it communicated nothing that isn't said as well in prose. * Document `Rf` string. * Document `Ref` register and its use by the IND macro. Style: * Format macro names without leading dot. * Recast descriptions of macros 1C, AF, AL, AT, AU, AV, AVL, BL, BS, BVL, COVER, COVEND, DF, DL, DS, FC, FD, FE, FS, H, HY, HZ, IA, IE, IND, INDP, INITI, LB, LC, LE, LI, LO, LT, MULB, ND, nP, NS, PGFORM, PGNH, RL, RS, SM, TL, VL, WA, and WE; and Verbnm string. * Fix comma splice (BE). * Parallelize wording, particularly when macros or diversions are used to collect input. * Stop further indenting tables and code displays in macro descriptions. Aligning them with the paragraphs suffices. * Set "none" in italics when presenting tables of parameter meanings. * In tables, use sentences more and fragments less. * Use more idiomatic English. * Fix fractured wording (mine, I think) in EQ description. * More consistently capitalize table column headings when they aren't metasyntactic variables. * Fix subject/verb agreement in Le/Lf/Lt/Lx register description. Markup: * Use \~ instead of \space in macro synopses. * Use \c and font alternation macros instead of \f in macro synopses. * Use tbl(1) more idiomatically when presenting lists of strings available to EOP and TP macros. * Adjust dead-tree pagination with `br` and `ne` requests.
* groff_mm(7): Fix sorting errors.G. Branden Robinson2023-05-171-64/+65
|
* groff_mm(7): Flesh out introduction.G. Branden Robinson2023-05-141-0/+47
| | | | | Survey some major features to give the reader without a copy of the DWB mm manual handy a means of entry to this huge package.
* groff_mm(7): Improve localization guidance.G. Branden Robinson2023-05-141-6/+7
|
* groff_mm(7): Improve introduction to package.G. Branden Robinson2023-05-141-11/+12
| | | | | | | * Express requirement that an mm(7) macro be called to initialize the package. * Relocate advise regarding simple mm documents earlier, and further simplify.
* NEWS: Update item about ms's `DD` register.G. Branden Robinson2023-05-141-5/+9
|
* [ms]: Fix content nits in documentation.G. Branden Robinson2023-05-143-14/+31
| | | | | * Explicitly tell the reader how to end section heading text. * Describe the handling of display distance in more detail.
* doc/ms.ms: Work around Savannah #64005.G. Branden Robinson2023-05-131-0/+2
|
* doc/meref.me.in: Fix content nit.G. Branden Robinson2023-05-131-1/+1
| | | | | | It's the placement, not the spacing, of headers and footers that the `hm`, `fm`, `tm`, and `bm` registers control. A reader might interpret "spacing" as "vertical spacing".
* [docs]: Update discussion of `ss` request.G. Branden Robinson2023-05-133-19/+27
| | | | | | | | * doc/groff.texi (Manipulating Filling and Adjustment): Recast. Tighten wording. Document conventional space width. Fully discuss inter-sentence spacing behavior before documenting registers. * man/groff_diff.7 (Extended requests): Sync with the foregoing. * man/groff.7 (Read-only registers): Use less cramped English.
* groff(7): Fix missing comma.G. Branden Robinson2023-05-131-1/+3
|
* roff(7): Fix content, style, and markup nits.G. Branden Robinson2023-05-131-124/+114
| | | | | | | | | | | | | | | | | | | | | | | | | Content: * Present concepts of font families, styles, and what makes special fonts special. * Reform terminology: migrate to "page description language" from "device-independent output format" and "intermediate output". * Elaborate on preprocessors' frequent use of their own languages. * Drop redundant sentence about "tmac files". * Add cross reference to groff_tmac(5) page when discussing availability of macro packages. Style: * Put vertical space before list of (relatively) well-known preprocessors that groff doesn't provide. * Stop hyphenating adverbially enhanced attributive phrase. * Tighten wording. * Generally recast, particularly material I hadn't already edited. Markup: * Use `\|` more aggressively to improve kerning (avoid glyph crowding) when changing styles. * Ensure that the example won't break in a confusing place. * Bump copyright range.
* doc/ms.ms: Set example comments in (Times) italic.G. Branden Robinson2023-05-131-3/+5
| | | | This makes it clearer to the novice that they need not be typed.
* groff_out(5): Fix content, style, and markup nits.G. Branden Robinson2023-05-081-17/+23
| | | | | | | | | | | | | | | | Content: * Say "break" instead of "line break". * Say "GNU troff" instead of "groff" where we are specifically describing the formatter's behavior. * Clarify that "w" command applies only to "normal" inter-word spaces. Style: * Simplify internal cross references to other commands. * Clarify contextuality of positioning, writing, and drawing commands. Markup: * Drop unnecessary macro agument quotation. * Fix missing input line break after macro call.
* doc/groff.texi: Further revise .sp, \x, \n[.a].G. Branden Robinson2023-05-071-46/+52
| | | | | | | | | | | | | * Shift example of `sp` interaction with traps to follow initial presentation of request. * Revise examples for clarity. Add comments to explain requests not yet formally introduced. * Clarify separateness of extra pre- and post-vertical line spacing. * More explicitly motivate why we don't have a "most recent extra pre-vertical line spacing" register. * Add forward cross reference to "Drawing Requests" node, since the bracket-building escape sequence has not yet been introduced. * Tighten wording.
* [man pages]: Revise some syntax synopses.G. Branden Robinson2023-05-066-6/+6
| | | | | | | | | | | | | Use ellipsis more idiomatically, favoring it over plurals, and including it within instead of outside option brackets for clarity. The construction: foo bar [baz] ... is ambiguous. If I specify no "baz", can "bar"s be repeated? Also say "argument" when we mean an option OR an operand.
* doc/groff.texi: Fix markup nit.G. Branden Robinson2023-05-061-6/+0
| | | | | | Delete some Texinfo @codequote* commands, thus marking the "Tabs and Fields", "Leaders", and "Fields" nodes as reviewed for ` and ' glyph usage in examples.
* doc/groff.texi: Revise vertical spacing material.G. Branden Robinson2023-05-061-87/+84
| | | | | | | | | | | | | | | | | | | | * Document text baseline location as a property of the output line. * Recast description of `sp` request entirely, describing more aspects of its behavior. Add forward cross references to implicated topics. Drop some material about trap interaction spread amid examples since we now handle that both earlier, in the initial presentation, and later, via cross references to the presentation of vertical position traps. * Recast description of `ls` request and `.L` register. * Recast description of `\x` escape sequence and `.a` register. Preview the terminology that occurs again later when the `vs` and `pvs` requests are presented. Say more to motivate the existence of these features. * Recast description of `ns` and `rs` requests and `.ns` register. * Shift Texinfo @codequote* commands, marking the section/node "Manipulating Spacing" as reviewed for ` and ' glyph usage in examples. Thanks to Dave Kemper for compelling me to review this subject.
* [docs]: Update macro, font description dir stuff.G. Branden Robinson2023-05-062-50/+56
|
* gropdf(1): Add "Macros" subsection with `pdfinfo`.G. Branden Robinson2023-05-061-0/+32
|
* gropdf(1): Fix more content/style/markup nits.G. Branden Robinson2023-05-061-38/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Content: * More carefully distinguish escape sequences from device control commands; the former are more general. * The *roff `\X` escape sequence is a device control command, not a "special". *roff already freights the latter term with enough meaning without hauling in TeX's use for it. * The "ps:" or "pdf:" part of a device control command escape sequence parameter is the "tag", not the entire parameter. It is a name spacing convention. * Clarify operation of `xrev` device control command. Style: * Recast: all device control commands are "extensions"; there is no standard set. * Convert mentions of (g)pic(1) and grops(1) to man page cross references. * Set pic(1) command names in bold, not italics. * Set "mom" macro package name in italics, not bold. * Set "gropdf" in italics, not bold. * Capitalize "PDF" in prose. * Protect Perl's "localtime" function name from hyphenation. * Hyphenate adjectival phrases. * Hyphenate metasyntactic variable consistently with its introduction. * Otherwise recast for (attempted) clarity and concision. Markup: * Use two empty requests where vertical space is expected. * Annotate a mismatch in conventions between grotty(1) and gropdf(1).
* gropdf(1): Fix content, style, and markup nits.G. Branden Robinson2023-05-051-38/+65
| | | | | | | | | | | | | | | | | | | | | | | Content: * Introduce the concept of convenience macros earlier, then rely on it. * Align terminology regarding page location traps with the rest of groff's documentation. * Align header/footer terminology with the rest of groff's documentation. Style: * Tighten wording. * Set macro call literals in bold. * Use imperative voice more when describing device control commands. * Present convenience macros _after_ full discussion of device control command behavior, not in the midst of it. * Coalesce some single-sentence paragraphs into their predecessors. Markup: * Set file names in italics. * Protect macro call literals from hyphenation. * Use an empty request between sentences. * Use two empty requests where vertical space is expected.
* gropdf(1): Add gpresent link and description.G. Branden Robinson2023-05-051-0/+13
| | | | | The page references it several times; we should explain what it is and link to it.
* groff_out(5): Edit "Simple commands" subsection.G. Branden Robinson2023-05-051-112/+111
|
* gropdf(1): Fix pagination nit.G. Branden Robinson2023-05-051-2/+0
| | | | | Drop a paragraph break after a very short paragraph to buy a vee and fix an orphaned line on U.S. letter paper.
* gropdf(1), pdfmom(1): Update authorship credits.G. Branden Robinson2023-05-052-1/+13
|
* [man pages]: Adjust dead-tree pagination.G. Branden Robinson2023-05-056-2/+14
| | | | Also drop an unnecessary paragraph break in glilypond(1).
* groff(1): Tighten wording.G. Branden Robinson2023-05-052-3/+2
|
* doc/groff.texi: Resequence built-in register list.G. Branden Robinson2023-05-041-70/+73
| | | | ...to put it in (mostly) lexicographic order.
* doc/groff.texi: Clarify register removal/renaming.G. Branden Robinson2023-05-041-2/+17
| | | | | | | | | * Explicitly state that register renaming doesn't affect read-only state or other special properties. * Add cautionary note above removing built-in registers. * Document difference from AT&T troff, which ignored attempts to remove read-only (but not writable built-in) registers. * Consistently use Texinfo @: command after prose colons.
* [docs]: Tighten wording.G. Branden Robinson2023-05-042-10/+10
| | | | This recovers good page breaks in roff(7).
* doc/ms.ms: Fix markup nits.G. Branden Robinson2023-05-041-3/+3
|
* [ms]: Align documentation.G. Branden Robinson2023-05-043-16/+20
| | | | Also slightly recast in places for better style.
* [docs]: Fix content and style nits.G. Branden Robinson2023-05-042-113/+158
| | | | | | | | | | | | | | | | | | * Recast description of `bd`, `backtrace`, and `lf` requests. * Explicitly associate `bd` request with `.b` register. * Introduce metasyntactic variable `message` for use with `ab` and `tm`-family requests, since it is interpreted differenly from the `contents` argument of string assignment and appendment requests. Document that special character escape sequences in a `message` are not interpreted. * Clarify that groff_diff(7) details only GNU troff extensions. * Set default argument assumed by `af` request in bold. * Document behavior of `ce` and `rj` requests when used with negative agument. * Fully discuss `ce`, `cf`, and `trf`'s interfaces before presenting examples. * Use "file" instead of "filename" as metasyntactic variable name with requests.
* groff(7): Clarify behavior of `lf` request.G. Branden Robinson2023-05-041-3/+3
| | | | | | It applies to the _next_ input line not the current one. (This differs from AT&T troff and is documented as such in groff_diff(7) and our Texinfo manual.)
* groff(7): Drop unnecessary language.G. Branden Robinson2023-05-041-6/+1
| | | | | | | It tried to be helpful, but risked the reader inferring too much, i.e., can you _not_ test non-Boolean-valued registers with control flow requests? (You can.) The preceding sections "Numeric expressions" and "Conditional expressions" provide the necessary foundation.
* groff(7): Summarize ligature modes.G. Branden Robinson2023-05-041-1/+7
|
* groff(7): Fix error; ligature mode is not Boolean.G. Branden Robinson2023-05-041-3/+3
|
* groff(1), troff(1): Document operand handling.G. Branden Robinson2023-05-042-1/+23
|
* man/groff.7.man: Update request short reference.G. Branden Robinson2023-05-011-16/+24
| | | | | | | * Add more cross references to related requests as registers. * Recast descriptions of Boolean-valued registers for consistency. * Clarify behavior of `.z` register when in top-level diversion, a term that once was not defined in this man page but now is.
* [docs]: Revise discussion of debugging.G. Branden Robinson2023-05-012-30/+24
| | | | | | | | | * Describe backtracing less circularly. * Use active voice more. * Drop this section's introductory paragraph from groff(7), which doesn't require it, being more of a reference. * Wrap long input line. * Bump document date.
* NEWS: Fix thinko.G. Branden Robinson2023-04-301-1/+1
|
* NEWS: Clarify item.G. Branden Robinson2023-04-281-2/+3
|
* groff_tmac(5): Drop unnecessary macro call.G. Branden Robinson2023-04-261-1/+0
| | | | Thanks to Alex Colomar (and mandoc(1)) for pointing it out.
* doc/groff.texi: Update re: encodings, Euro glyph.G. Branden Robinson2023-04-251-17/+15
| | | | | | The Euro glyph is important beyond Europe. Tighten wording.
* src/roff/troff/TODO: Remove implemented item.G. Branden Robinson2023-04-251-2/+0
| | | | Implemented in commit 41d05cbfac, 4 July 2019.
* ANNOUNCE: Reflect Savannah #64091 fix.G. Branden Robinson2023-04-251-3/+3
|