| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Thanks to Ralph Corderoy for the suggestion.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Correct numerous typos and solecisms throughout the source tree.
* ChangeLog:
* ChangeLog.115:
* ChangeLog.116:
* ChangeLog.117:
* ChangeLog.118:
* ChangeLog.119:
* ChangeLog.121:
* ChangeLog.122:
* Makefile.am:
* NEWS:
* PROBLEMS:
* README:
* contrib/chem/chem.am:
* contrib/chem/chem.pl:
* contrib/glilypond/README.txt:
* contrib/glilypond/glilypond.pl:
* contrib/hdtbl/groff_hdtbl.7.man:
* contrib/mm/ChangeLog:
* contrib/mm/m.tmac:
* contrib/pdfmark/pdfmark.ms:
* doc/automake.mom:
* doc/groff.texi:
* doc/me-revisions:
* doc/webpage.ms:
* m4/lib-link.m4:
* man/groff.7.man:
* man/groff_diff.7.man:
* man/roff.7.man:
* src/devices/grohtml/post-html.cpp:
* src/devices/grolbp/lbp.h:
* src/devices/gropdf/TODO:
* src/devices/gropdf/gropdf.1.man:
* src/devices/gropdf/gropdf.pl:
* src/devices/xditview/ChangeLog:
* src/devices/xditview/xditview.c:
* src/libs/libdriver/input.cpp:
* src/libs/libgroff/glyphuni.cpp:
* src/preproc/eqn/eqn.1.man:
* src/preproc/grn/gprint.h:
* src/preproc/grn/main.cpp:
* src/preproc/html/pre-html.cpp:
* src/preproc/preconv/preconv.cpp:
* src/preproc/tbl/table.cpp:
* src/roff/groff/pipeline.c:
* src/roff/groff/tests/substring_works.sh:
* src/roff/groff/tests/use_point_size_escape_with_single_digit_arg.sh:
* src/roff/troff/div.cpp:
* src/roff/troff/input.cpp:
* src/roff/troff/troff.1.man:
* src/utils/grog/grog.pl:
* src/utils/indxbib/indxbib.cpp:
* src/utils/tfmtodit/tfmtodit.1.man:
* tmac/doc-old.tmac:
* tmac/doc.tmac:
* tmac/groff_man.7.man.in:
* tmac/hyphen.fr: Do it.
Fixes <https://savannah.gnu.org/bugs/?63589>. Thanks to Bjarni Ingi
Gislason for the report.
* ANNOUNCE: Update bug counts.
I also killed some pointless white space, refilled affected lines at 72
columns where convenient and non-disruptive to existing text flow, and
corrected a misspelling of Ralph Corderoy's surname.
|
|
|
|
|
| |
Try again to clarify the me(7) line length default change after more
feedback from Dave Kemper and Ralph Corderoy.
|
|
|
|
|
|
|
|
| |
* Clarify multi-roff support horizons for `\s[NNN]` syntax.
* Consistently set file names in double quotes.
* Coalesce `IX` macro removal into one item for mm and ms.
* Reform terminology: say "typesetting devices", not "typesetters".
* Bump year.
|
|
|
|
|
|
| |
It was undocumented, groff mm has its own indexing system (INITI, et
al.), and makeindex(1) guides the user through definition and use of an
`IX` macro if the user desires that approach.
|
|
|
|
|
|
|
| |
* contrib/mm/m.tmac (Sm): Implement string for service mark, for DWB mm
compatibility.
* contrib/mm/groff_mm.7.man:
* NEWS: Document it.
|
|
|
|
| |
Thanks to Dave Kemper and Ralph Corderoy for the suggestions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc.tmac (initialization): Add logic supporting `HF` string just
as our man(7) implementation does. If the font name ends with `B` (as
the default does), set `doc-remap-I-style-in-headings` register and
extract font family, which can be empty (as is the default).
* tmac/mdoc/doc-common (Sh, Ss): If `doc-remap-I-style-in-headings`
register set, perform (and unwind) font remapping of italic to
bold-italic face.
* tmac/mdoc/doc-ditroff:
* tmac/mdoc/doc-nroff: Define `doc-Sh-font` in terms of `HF`.
* tmac/tests/doc_heading-font-remapping-works.sh: Test it.
* tmac/tmac.am (tmac_TESTS): Run test.
* tmac/groff_mdoc.7.man (Options): Document it.
* NEWS: Update item.
Fixes last part of <https://savannah.gnu.org/bugs/?63046>.
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc.tmac (initialization): Add logic supporting `FT` register
just as our man(7) implementation does.
* tmac/mdoc/doc-common (doc-set-up-titles): Plant footer trap in
validated user-requested location.
* tmac/groff_mdoc.7.man (Options): Document it.
* NEWS: Update item.
Fixes part of <https://savannah.gnu.org/bugs/?63046>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/s.tmac (par@load-init): Do it.
* doc/groff.texi (ms Document Control Settings):
* doc/ms.ms (Document control settings):
* tmac/groff_ms.7.man (Document control settings): Document it.
* tmac/tests/s_honor-MINGW-when-two-columns.sh:
* tmac/tests/s_mark-column-start-correctly.sh: Update test expectations.
* NEWS: Add item.
Also tweak ms.ms document:
* Widen required line length in nroff mode; unfortunately the new
parenthesized terminal defaults and footnote markings fattened the
document settings table by two ens.
* Reduce type size of Courier-using columns by one point in same table.
* Annotate same table with pseudo-footnotes.
* Bump document date.
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc.tmac (initialization): Add logic supporting `X` register just
as our man(7) implementation does.
* tmac/groff_mdoc.7.man (Options): Document it.
* NEWS: Update item.
Fixes part of <https://savannah.gnu.org/bugs/?63046>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc.tmac (initialization): Add logic supporting `P` register just
as our man(7) implementation does.
* tmac/groff_mdoc.7.man (Formatting with groff, troff, and nroff):
Document it.
* NEWS: Update item.
Fixes part of <https://savannah.gnu.org/bugs/?63046>.
One test fails at this commit.
FAIL: tmac/tests/andoc_P-register-works.sh
|
|
|
|
|
|
| |
Contours of how to get output line numbering back, but make it work
_right_, are starting to form in my head, but no idea if I'll have time
to test my theories before 1.23.0 final.
|
|
|
|
|
|
|
|
|
|
| |
* tmac/an.tmac (R): Drop macro definition, which implements a hack for
people who try to use "R" as a font style macro. This doesn't seem to
happen much in actual practice (though perhaps the diagnostic this
hack produces is responsible for suppression of the mistake).
Retaining it interferes with the "nop"-ification of this macro file.
* NEWS: Add item.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
$ cat ~/tmp/line-numbered-table.roff
.nm 1
Here is a line of output.
Sic transit adispicing meatballs.
Let's pad it out with more content to ensure the line breaks.
.TS
L.
This is my table.
There are many like it but this one is mine.
T{
My table is my best exhibit;
I will guard it as I guard my life.
Even as it requires multiple output lines for an entry.
T}
.TE
What is the line number now?
I defy anyone to defend this:
Unix Version 7 on a SIMH PDP-11/45 (and Heirloom Doctools troff today):
1 Here is a line of output. Sic transit adispicing meatballs.
2 Let's pad it out with more content to ensure the line breaks.
6 This is my table.
7 There are many like it but this one is mine.
8
9 3 My table is my best exhibit; I will guard it
10 4 as I guard my life. Even as it requires
11 5 multiple output lines for an entry.
12 What is the line number now?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
...to report the remaining count of lines to have their numbering
suppressed.
* src/roff/troff/env.h (class environment): Declare new member function
`get_no_number_count()`.
* src/roff/troff/env.cpp (get_no_number_count): Define new member
function, returning value of member variable `no_number_count`.
(init_env_requests): Define new ".nn" register and attach it to
`get_no_number_count()`.
* doc/groff.texi (Miscellaneous): Document it. Include example of use
to determine whether current output line will be numbered. Also
clarify meaning of register; `.nn` is not decremented except when
output line numbering is enabled.
* man/groff.7.man (Read-only registers): Document it.
* src/roff/groff/tests/dot-nn_register_works.sh: Test it.
* src/roff/groff/groff.am (groff_TESTS): Run test.
* NEWS: Add item.
See <https://lists.gnu.org/archive/html/groff/2022-11/msg00153.html>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/papersize.tmac: Improve integration with mm(7) macro package. If
a paper format has been selected, set `W` register to new line length
(if not already set on command line). Similarly, set `O` register to
1 inch for the symmetric horizontal margins otherwise assumed by this
macro file. This means that "groff -mm" and "groff -dpaper=letter
-mm" are _not_ synonymous (when groff is configured to use U.S. letter
as the default paper format), because groff mm(7) uses a page offset
of 0.963 inches on typesetters for compatibility with DWB mm.
* NEWS: Add item.
See discussion in <https://lists.gnu.org/archive/html/groff/2022-11/\
msg00081.html> and (some) follow-ups.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/e.tmac: Integrate better with papersize.tmac by no longer forcing
line (and title) length to 6 inches for typesetters on initialization.
Gather default line length from output device description, possibly
modified later (by other macro file or input). No change to terminal
("nroff mode") output.
* NEWS: Add item.
Tested as follows.
$ cat lorem.me
.de M
. nr N \\$1-1
. if \\$1 .M \\nN
. pp
Sed ut perspiciatis, unde omnis iste natus error sit voluptatem
accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab
illo inventore veritatis et quasi architecto beatae vitae dicta sunt,
explicabo. Nemo enim ipsam voluptatem, quia voluptas sit, aspernatur
aut odit aut fugit, sed quia consequuntur magni dolores eos, qui ratione
voluptatem sequi nesciunt, neque porro quisquam est, qui dolorem ipsum,
quia dolor sit amet consectetur adipiscivelit, sed quia non-numquam eius
modi tempora incidunt, ut labore et dolore magnam aliquam quaerat
voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam
corporis suscipitlaboriosam, nisi ut aliquid ex ea commodi consequatur?
Quis autem vel eum iure reprehenderit, qui inea voluptate velit esse,
quam nihil molestiae consequatur, vel illum, qui dolorem eum fugiat, quo
voluptas nulla pariatur? At vero eos et accusamus et iusto odio
dignissimos ducimus, qui blanditiis praesentium voluptatum deleniti
atque corrupti, quos dolores et quas molestias excepturi sint, obcaecati
cupiditate non-provident, similique sunt in culpa, qui officia deserunt
mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum
facilis est et expedita distinctio. Nam libero tempore, cum soluta
nobis est eligendi optio, cumque nihil impedit, quo minus id, quod
maxime placeat, facere possimus, omnis voluptas assumenda est, omnis
dolor repellendus. Temporibus autem quibusdam et aut officiis debitis
aut rerum necessitatibus saepe eveniet, ut et voluptates repudiandae
sint et molestiae non-recusandae. Itaque earum rerum hic tenetur a
sapiente delectus, ut aut reiciendis voluptatibus maiores alias
consequatur aut perferendis doloribus asperiores repellat.
..
.M 4
$ ./test-groff -me lorem.me >| lorem-me-port.ps
$ ./test-groff -dpaper=letterl -me -P-l lorem.me >| lorem-me-land.ps
|
|
|
|
|
|
|
|
| |
* Refer to man page "topics", not "titles", to avoid conceptual
collisions with manual section titles (e.g., "General Commands
Manual"), section or subsection headings (sometimes called titles),
and *roff page headers and footers (called "titles" since CSTR #54).
* Also refer to special character "identifiers", not "glyph names".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/utils/afmtodit/afmtodit.pl: Add new command-line option to specify
the generated font description's "spacewidth" parameter; in commit
bf7f6862c3, 2021-09-24, I made libgroff complain if this directive is
missing (since any font, even a "special" one, can be selected as
current and the formatter's behavior when encountering an input space
should be well-defined under that circumstance). Adding this option
enables a well-formed font description to be produced.
* src/utils/afmtodit/afmtodit.pl (usage):
* src/utils/afmtodit/afmtodit.1.man (Synopsis, Options): Document it.
* NEWS: Add item.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/utils/afmtodit/afmtodit.pl: Use our own fatal exit function
instead of Perl's "die".
(croak): New subroutine emits argument as part of diagnostic message
and exits with status 1.
(usage): Exit with status 2, not 1, on usage errors.
* NEWS: Document new exit behavior.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[mdoc]: Make `Sx` macro perform quotation, not italicization. It's
thorougly inconsistent with English composition practices to refer to
(sub)section titles within a document as if they were major works.
* tmac/doc.tmac (Sx): Implement.
* tmac/mdoc/doc-ditroff (doc-Sx-font):
* tmac/mdoc/doc-nroff (doc-Sx-font): Delete.
* tmac/groff_mdoc.7.man (Section Cross References): Rename...
((Sub)section cross references): ...to this. Recognize existence of
`Ss` macro, curiously overlooked before.
* NEWS: Add item.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc.tmac: Recognize `SN` register if set on command line and use
groff man(7)-compatible default if it is not.
* tmac/mdoc/doc-common (Ss): Use this register instead of a literal.
* tmac/groff_mdoc.7.man (Formatting with groff, troff, and nroff):
Document it.
* NEWS: Update item.
Fixes part of <https://savannah.gnu.org/bugs/?62926>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc.tmac: Recognize `IN` register if set on command line and use
groff man(7)-compatible defaults if it is not.
* tmac/mdoc/doc-common (Sh): Use this register instead of
`doc-paragraph-indentation`.
* tmac/mdoc/doc-ditroff:
* tmac/mdoc/doc-nroff: Stop setting pargraph indentation defaults here.
* tmac/groff_mdoc.7.man (Formatting with groff, troff, and nroff):
Document it.
* NEWS: Update item.
* tmac/tests/doc_Mt-works.sh:
* tmac/tests/doc_indents-correctly.sh: Update test expectations.
Fixes part of <https://savannah.gnu.org/bugs/?62926>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/utils/pfbtops/pfbtops.c (error): Exit with `EXIT_FAILURE` status
(from standard C library) instead of status 2.
(main): Exit with `EXIT_SUCCESS` status when writing version or help
information. Exit with status 2 when dying due to usage error. Use
`fprintf()` and `strerror()` to construct error message when dying due
to inability to open input file instead of using `perror()`, which
anonymizes its caller and thus should never be used in serious work.
Avoid it like `gets()`.
* NEWS: Add item for exit status changes.
Continues the long process of fixing Savannah #52463.
Also update editor aid comments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Migrate terminology from "paper size" to "paper format" or "paper
dimensions" as appropriate in documentation and diagnostic messages.
"Format" implies an orientation (which can be overridden in many cases)
whereas size does not. When only the magnitudes of measurements are at
issue (mainly for internal purposes), use the term "dimensions".
* NEWS:
* PROBLEMS:
* doc/groff.texi:
* m4/groff.m4 (GROFF_PAGE):
* man/groff_font.5.man:
* man/groff_tmac.5.man:
* src/devices/grodvi/dvi.cpp (main):
* src/devices/grolbp/grolbp.1.man:
* src/devices/grolbp/lbp.cpp (main):
* src/devices/grolj4/grolj4.1.man:
* src/devices/grolj4/lj4.cpp (lj4_printer::lj4_printer, main):
* src/devices/grolj4/lj4_font.5.man:
* src/devices/gropdf/gropdf.1.man:
* src/devices/grops/grops.1.man:
* src/devices/grops/ps.cpp (main):
* src/roff/groff/groff.1.man:
* tmac/papersize.tmac: Do it.
|
|
|
|
| |
Use past perfect tense to discuss contents of now-absent file.
|
|
|
|
|
|
| |
Solicit requests for assistance from developers of man(7)-generating
tools for _both_ changes to man(7) that are "expected to expose glyph
usage errors in man pages". (The other item already has this text.)
|
| |
|
|
|
|
| |
Use "that", not "which", with restrictive clause.
|
|
|
|
|
|
|
|
| |
* NEWS: Advise users of changes to "name" directive handling in font
description files.
Fixes <https://savannah.gnu.org/bugs/?61423>. Thanks to Dave Kemper for
the report.
|
|
|
|
|
|
|
| |
Also point out one of the benefits, though I'm dubious how much good
that will do for man page writers who stroke their long Unix beards
affectedly while never using anything but LibreOffice Writer for
typesetting...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/mdoc/doc-common (Sh): Set adjustment mode to user-specified
default, not troff's default (and not only in troff mode).
* tmac/mdoc/doc-ditroff:
* tmac/mdoc/doc-nroff: Process `AD` string setting from command line as
man(7) does.
* tmac/groff_mdoc.7.man (Formatting with groff, troff, and nroff):
Document it.
* NEWS: Add and update items.
Fixes part of <https://savannah.gnu.org/bugs/?63046>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/mdoc/doc-common (Dd): Reset page number to 1 upon new document
only if not consecutively numbering.
* tmac/mdoc/doc-ditroff:
* tmac/mdoc/doc-nroff: Process `C` register setting from command line as
man(7) does.
* tmac/groff_mdoc.7.man (Formatting with groff, troff, and nroff):
Document it.
* NEWS: Expand existing item.
Fixes part of <https://savannah.gnu.org/bugs/?63046>.
|
|
|
|
|
|
|
|
|
|
|
| |
It says nothing accurate that is not covered elsewhere.
* contrib/groff_filenames: Delete.
* doc/doc.am (GROFF_MAN_PAGES): Drop.
* src/roff/groff/groff.1.man: Drop cross reference to it.
* NEWS: Add item.
Fixes <https://savannah.gnu.org/bugs/index.php?61818>.
|
|
|
|
|
|
| |
Thanks to John Gardner for the report.
We won't talk about why _this_ typo, of all possible ones, was made.
|
|
|
|
| |
Item added per suggestion from Ingo Schwarze; see Savannah #62841.
|
|
|
|
|
|
|
|
|
| |
It has been undocumented, and issued a warning of its obsolescence upon
use, for 30 years, since groff 1.06 (September 1992). That's plenty
long enough for a deprecation cycle.
* src/preproc/eqn/main.cpp (main): Do it.
* NEWS: Add item.
|
|
|
|
|
| |
* Use plan9port's proper name.
* Improve modifier placement.
|