1 2018-12-18 Bertrand Garrigues <bertrand.garrigues@laposte.net>
3 Fix 'dvi' and 'pdf' texinfo doc generation.
5 GNU make has a built-in variable 'TEXI2DVI' but it is not the case
6 of all 'make' implementations, which causes 'make doc' to fail
7 with an unclear message although 'texi2dvi' is available. Also,
8 'texi2dvi' is invoked inconditionnally.
10 * m4/groff.m4 (GROFF_TEXI2DVI): new macro to detect properly the
11 presence of 'texi2dvi'.
13 * configure.ac: use 'GROFF_TEXI2DVI' and define automake conditional
17 - Define TEXI2DVI to 'texi2dvi'.
18 - Print an error message if 'texi2dvi' is not available.
20 2018-12-08 Bertrand Garrigues <bertrand.garrigues@laposte.net>
22 Install texinfo doc on 'make install-pdf' and 'make install-html'
25 - Use automake 'install-pdf-local' and 'install-html-local' rules
26 to install groff.pdf and groff.html
27 - New rules 'uninstall_pdf' and 'uninstall_html'.
28 - Use $(RM) instead of 'rm'.
29 - Don't try to build doc if 'BUILD_INFODOC' is not set.
30 * INSTALL.REPO: document texinfo build and installation.
32 2018-12-10 Ingo Schwarze <schwarze@openbsd.org>
34 * Makefile.am: Remove the unused variables PREFIXMAN5 and PREFIXMAN7.
36 They caused installation failures on Solaris 9.
38 2018-12-08 Bertrand Garrigues <bertrand.garrigues@laposte.net>
40 Remove gnulib's hypot module.
42 The removal of 'GROFF_NEED_DECLARATION([hypot])' in 'configure.ac'
43 was correct as the test was buggy, but there is no need to use
44 gnulib's hypot module as previously we did not need to provide a
47 * bootstrap.conf: do it.
49 2018-12-08 Deri James <deri@chuzzlewit.myzen.co.uk>
51 Problem running gropdf on big endian (Sparc)
53 * src/devices/gropdf/gropdf.pl: Prior to perl v5.9 the 'L<'
54 template for 'unpack' was unavailable. Solaris 10 uses v5.8.4
55 so safer to use the template 'V' rather than 'L<'.
57 2018-12-08 Bertrand Garrigues <bertrand.garrigues@laposte.net>
59 Use gnulib's 'hypot' module.
61 In 'configure.ac', the macro call
62 'GROFF_NEED_DECLARATION([hypot])' checks whether the function
63 'hypot' is correctly declared in 'math.h', but the test is buggy
64 and may yields false results.
66 * bootsrap.conf: add 'hypot' module.
68 * configure.ac: Remove GROFF_NEED_DECLARATION([hypot]).
70 * src/libs/libgroff/hypot.cpp: remove declaration of hypot.
72 2018-12-07 Deri James <deri@chuzzlewit.myzen.co.uk>
74 Problem running gropdf on big endian (Sparc)
76 * src/devices/gropdf/gropdf.pl: When loading a binary (.pfb)
77 font for embedding always use little endian to unpack chunk
80 2018-12-05 Bertrand Garrigues <bertrand.garrigues@laposte.net>
82 Skip mom tests if needed config is missing.
84 * contrib/mom/examples/test-mom.sh.in: exit 77 if URW fonts are
87 * contrib/mom/mom.am: distribute inconditionnally test-mom.in.
89 * m4/groff.m4 (GROFF_URW_FONTS): check if 'awk' and 'gs' are
90 available, and replace non-portable 'grep' command by awk script.
92 2018-12-01 Colin Watson <cjwatson@debian.org>
94 Fix error handling in tests of mom examples
96 * contrib/mom/examples/test-mom.sh.in (check_number_pages): Correct
98 (check_has_images): Correct shell syntax error.
100 2018-11-26 Bertrand Garrigues <bertrand.garrigues@laposte.net>
102 Document .sp behaviour in -me doc -- French translation
104 * doc/meintro_fr.me: translation of commit
105 7a83f7f5003e24f020306f09f4d497e04e82cb14.
107 Fixes bug https://savannah.gnu.org/bugs/?54958.
109 2018-11-24 Bertrand Garrigues <bertrand.garrigues@laposte.net>
111 Fix tarball generation: script 'makevarescape.sed' was missing.
113 * Makefile.am (EXTRA_DIST): add it.
115 2018-11-24 Bertrand Garrigues <bertrand.garrigues@laposte.net>
117 Add automatic tests on mom examples
119 * m4/groff.m4 (GROFF_PDFTOOLS): check presence of some pdf tools.
120 * configure.ac: use 'GROFF_PDFTOOLS', add new AM conditional.
121 * contrib/mom/examples/test-mom.sh.in: new file that use 'pdfinfo'
122 and 'pdfimages' to make some basic checks on mom examples.
124 2018-11-21 G. Branden Robinson <g.branden.robinson@gmail.com>
126 tmac/sv.tmac: Set Swedish hyphenation flags to 32.
128 This permits hyphenation after the first character but continues
129 prohibiting it before the last character of a word, in
130 congruence with the TeX-based hyphenation patterns we use.
132 Fixes <https://savannah.gnu.org/bugs/index.php?55066>.
134 2018-11-19 Bertrand Garrigues <bertrand.garrigues@laposte.net>
136 Fix build on environment where /etc/papersize contains comments
138 Issue introduced on commit efea81c75f831ddc6717c2ef25556e0f49d1f679.
140 * m4/groff.m4 (GROFF_PAGE): remove comments and get the 1st string
143 2018-11-12 G. Branden Robinson <g.branden.robinson@gmail.com>
145 * m4/groff.m4 (GROFF_PAGE): Try /etc/papersize first.
147 Fixes <https://savannah.gnu.org/bugs/index.php?53271>.
149 2018-11-12 G. Branden Robinson <g.branden.robinson@gmail.com>
151 * bootstrap.conf: Bump Autoconf dependency to 2.68. We need it
152 to support our bug-reporting URL, which contains a "?".
153 Strictly, Autoconf 2.65 is fine, but 2.66 and 2.67 broke this.
154 Even 2.69 is over 6 years old now.
156 See <https://savannah.gnu.org/support/?107450>.
158 2018-11-12 G. Branden Robinson <g.branden.robinson@gmail.com>
160 * m4/groff.m4 (GROFF_PAGE): Quote shell variables that are under
161 external control and may contain embedded whitespace. A test
162 shows that our configure script is now robust in this way, but
163 our Automake files are not, starting with
164 src/utils/afmtodit/afmtodit.am.
166 2018-11-12 G. Branden Robinson <g.branden.robinson@gmail.com>
169 - Escape plain spaces and double-quotes (ASCII 32 and 34) so
170 that bad things don't happen if they are embedded in a Make
171 variable expanded in a man page @THUS@ _and_ given as an
172 argument to a macro that distinguishes its parameters, such
174 - Add discretionary breaks after groups of slashes not
175 preceded by a space; e.g., transform "/usr/bin/groff" into
176 "/usr/\:bin/\:groff". Will also work on URLs
177 {"https://\:example.com/\:page.html"} in case we need that.
179 2018-11-11 G. Branden Robinson <g.branden.robinson@gmail.com>
181 Undocument Werner and Ted as groff maintainers.
185 * src/roff/grog/grog.pl:
186 * src/roff/nroff/nroff.sh: Werner (and Ted) retired from the
187 role some time ago and Bertrand Garrigues has stepped up; see
188 https://lists.gnu.org/archive/html/groff/2017-09/msg00048.html.
189 I'll let him document his maintainer status as and where he
192 2018-11-11 G. Branden Robinson <g.branden.robinson@gmail.com>
194 Stop spelling "Unix" as "UNIX".
196 Per AT&T Bell Labs veterans Doug McIlroy and Meg McRoberts,
197 spelling "Unix" in full caps was a contrivance insisted upon by
198 AT&T lawyers, and not a practice used in the Unix manuals
199 themselves or the Bell Labs Technical Journal. See
200 https://lists.gnu.org/archive/html/groff/2015-01/msg00026.html
202 https://lists.gnu.org/archive/html/groff/2015-01/msg00029.html
205 There are instances I did _not_ change; they may require further
209 One reference relevant to mdoc; see below.
211 These documents also give the small caps
212 treatment to groff, troff, and nroff, suggesting
213 a separate changeset.
214 src/preproc/pic/pic.ypp
215 Contains a comment referring to "Compaq Tru64
216 UNIX"; not worth the candle IMO.
218 {ms macro package} Leaving UX macro definition
219 alone until/unless it can be established that
220 this doesn't change the rendering of historical
221 documents in an objectionable way.
225 tmac/groff_mdoc.7.man:
226 {mdoc macro package} Similar; mdoc defines many
227 strings that spit out "UNIX" (albeit not with a
233 * contrib/groffer/README:
234 * contrib/pdfmark/pdfmark.ms:
235 * contrib/pdfmark/pdfroff.1.man:
239 * man/groff_diff.7.man:
240 * man/groff_tmac.5.man:
242 * src/preproc/html/pre-html.cpp:
243 * src/roff/troff/troff.1.man: Change "UNIX" to "Unix",
244 discarding markup as necessary.
246 2018-11-10 G. Branden Robinson <g.branden.robinson@gmail.com>
248 man pages: Escape interpolated Make variables.
250 * makevarescape.sed: Transform - to \-, ~ to \(ti, and so forth,
251 {with an extra layer of backslashes--see below} so that Makefile
252 variables containing ASCII characters that do not represent
253 themselves literally in *roff (see groff_char(7)) are correctly
254 interpolated into man page text.
256 * Makefile.am (.man): Transform Makefile variables with the
257 above script when interpolating them into man page text.
259 Note that while the script, combined with this target, will
260 transform ` to \(ga, including grave accents in Makefile
261 variables is likely to fail when the shell lexes the argument to
262 echo within the old-style command substitution ``. Testing
263 shows that grave accents should work[1] if POSIX-style command
264 substitution $() is done instead. However, $() is less
265 portable. (Triple-escaping grave accents \\\` inside the
266 interpolated Makefile variable will work, but is not attempted
269 Note also that the amount of backslash-escaping in the sed
270 script is excessive (and incorrect) for normal purposes, but
271 required here because a command substitution is being nested
272 inside yet another invocation of sed.
274 {1} For this target; no assurances about the good behavior of
275 unusual characters in Makefile variables in other aspects of the
276 groff build are offered.
278 Fixes <https://savannah.gnu.org/bugs/index.php?55004>.
280 2018-11-06 G. Branden Robinson <g.branden.robinson@gmail.com>
282 * src/utils/lookbib/lookbib.cpp: Doesn't make much sense to mark
283 Version_string as a C extern if you're just going to hide it in
284 a throwaway scope again. Remove braces, exposing it.
286 "lookbib -v" now reports a version number, instead of "(null)".
288 Fixes <https://savannah.gnu.org/bugs/index.php?54972>.
290 2018-11-06 G. Branden Robinson <g.branden.robinson@gmail.com>
292 * src/libs/libgroff/error.cpp (do_error_with_file_and_line):
294 a program name is known;
296 no file is being processed or the line number is negative,
297 then there was no space between the program name (with colon),
298 and the succeeding diagnostic message.
300 Example: lookbib:fatal error: no databases
302 Fixes <https://savannah.gnu.org/bugs/index.php?54971>.
304 2018-11-05 G. Branden Robinson <g.branden.robinson@gmail.com>
306 Make strip.sed operate only if given permission.
308 * tmac/strip.sed: Do nothing whatsoever to any input file that
309 lacks a line matching "%beginstrip%". This implements a
310 contract between the macro file writer and the stripper script
311 {roff input is not parseable with crude weaponry like regular
312 expressions}. In practice, most of the changes performed by the
313 script were already in a block enforcing this. My changes:
314 - Stop unconditionally inserting a roff comment noting the
315 reader of stripping at line 2. Instead, replace the line
316 matching "%beginstrip%" with this comment if and only if it
318 - Stop deleting lines containing only the empty request if
319 they occur before "%beginstrip%".
320 - Tweak the wording of the roff comment.
321 - Remove comment within the sed script; see
322 https://lists.gnu.org/archive/html/groff/2017-11/msg00057.html
323 and the sed section of "Limitations of Usual Tools" in the
326 Invalidates <https://savannah.gnu.org/bugs/index.php?53784>.
328 2018-11-04 G. Branden Robinson <g.branden.robinson@gmail.com>
330 * tmac/an-old.tmac: When emitting diagnostics, report the name
331 of the macro file complaining, and the name and line number of
332 the input file at the time of trouble. Thanks to Bjarni Ingi
333 Gislason for part of the patch.
335 Fixes <https://savannah.gnu.org/bugs/?54175> and continues the
336 long process of fixing <https://savannah.gnu.org/bugs/?52463>.
338 2018-11-04 G. Branden Robinson <g.branden.robinson@gmail.com>
340 * doc/meintro_fr.me: Add encoding hint to top of file so preconv
341 works correctly even if the build environment's encoding is not
342 UTF-8. Adapted from Bjarni Ingi Gislason's patch. Also add
343 long-form Emacs coding declaration at end of file. Vim's
344 auto-detection seems to be fine, so did not update its modeline.
346 Fixes <https://savannah.gnu.org/bugs/index.php?54530>.
348 2018-11-04 G. Branden Robinson <g.branden.robinson@gmail.com>
350 * tmac/groff_man.7.man: Reorganize and largely rewrite to more
351 precisely document the macro package's behavior and to be more
352 helpful and accessible to man page writers who may never read
353 any other groff documentation.
355 2018-10-25 G. Branden Robinson <g.branden.robinson@gmail.com>
357 Clarify meaning of \p escape. Also make more explicit that line
358 adjustment for the .brp request and \p escape depends on the
359 current adjustment mode.
361 * doc/groff.texi: Clarify that \p has effect at the next word
362 boundary. Thanks to Dave <barx> for pointing out the issue and
363 providing elucidating language.
365 * man/groff.7.man: Similar, but terser.
367 Fixes https://savannah.gnu.org/bugs/index.php?54894.
369 2018-10-04 Deri James <deri@chuzzlewit.myzen.co.uk>
373 * font/devpdf/util/BuildFoundries.pl: If a font is not found
374 report list of paths searched.
376 Fix https://savannah.gnu.org/bugs/?54812
378 2018-10-10 Bertrand Garrigues <bertrand.garrigues@laposte.net>
380 Update 'gnulib' submodule.
382 * gnulib: now points on dce8759f0f0236a860a3e68b63c5e99cc6f168f9
383 from 'gnulib' repository. This fixes build error with glibc 2.28
384 (see https://bugzilla.redhat.com/show_bug.cgi?id=1595702).
386 2018-10-04 Deri James <deri@chuzzlewit.myzen.co.uk>
390 * font/devpdf/Foundry.in: Recent ghostscript changed name
391 used for embedding groff font HNBI
393 Fix https://savannah.gnu.org/bugs/?54779
395 2018-08-27 Ingo Schwarze <schwarze@openbsd.org>
397 * tmac/groff_www.7.man: Do not use .URL, .MTO, .FTP.
399 2018-08-21 Ingo Schwarze <schwarze@openbsd.org>
401 Improve terminal rendering for a few special characters:
403 * tmac/tty.tmac: add \[.j] (dotless j)
404 * tmac/tty-char.tmac: for \[a.], fall back to "."
405 * tmac/tty-char.tmac: add playing card suits
407 2018-08-16 Ingo Schwarze <schwarze@openbsd.org>
409 * src/preproc/preconv/preconv.1.man: add -D to the SYNOPSIS
411 2018-08-09 Ingo Schwarze <schwarze@openbsd.org>
413 * Makefile.am: correctly calculate MAJOR_VERSION etc.
415 2018-06-19 Deri James <deri@chuzzlewit.myzen.co.uk>
419 * src/devices/gropdf/gropdf.pl: Make default line width 0.4pt
420 to match grops. Use 'S' operator (stroke) rather than 's' (close
421 and stroke) when Dl command received. Improve switching between
422 text and graphic modes.
424 2018-07-01 Bertrand Garrigues <bertrand.garrigues@laposte.net>
426 [me] paragraph with umlaut incorrectly rendered
428 * tmac/e.tmac-u: workaround done by Werner LEMBERG <wl@gnu.org>.
430 Fix https://savannah.gnu.org/bugs/?42191
432 2018-06-19 Deri James <deri@chuzzlewit.myzen.co.uk>
434 Add gropdf new features to NEWS file.
436 * NEWS: new features.
438 2018-05-29 Werner LEMBERG <wl@gnu.org>
440 [dvi] Fix glyph map for `cmitt10'.
442 Problem reported by Pali Rohár <pali.rohar@gmail.com>.
444 http://lists.gnu.org/archive/html/groff/2018-05/msg00088.html
446 * font/devdvi/texitt.map: New file. This is identical to
447 `textt.map' except the dollar glyph, which gets replaced by the
450 * font/devdvi/generate/Makefile (CWI): Use `texitt.map'.
452 * font/devdvi/CWI: Regenerated.
454 2018-05-07 G. Branden Robinson <g.branden.robinson@gmail.com>
456 Improve diagnostics on bad hyphenation requests.
458 * src/roff/troff/env.cpp: Add new HYPHEN_* symbols to anonymous
461 * src/roff/troff/env.cpp (hyphenate_request):
462 - Warn about hyphenation request values that are completely
464 - Report bad hyphenation request value in diagnostic messages.
466 2018-04-28 G. Branden Robinson <g.branden.robinson@gmail.com>
468 grap2graph: Parallelize changes with pic2graph.
470 * contrib/grap2graph/grap2graph.sh:
471 - Refactor temp directory handling.
472 - Handle embedded whitespace in temp dir.
473 - Adapt to old convert(1) programs.
475 * contrib/grap2graph/grap2graph.1.man: Make editorial/style
476 changes and minor corrections.
478 2018-04-26 G. Branden Robinson <g.branden.robinson@gmail.com>
480 eqn2graph: Remove -unsafe option.
482 * contrib/eqn2graph/eqn2graph.sh: Unrecognize "-unsafe" option
483 and eliminate $groff_opts variable. As far as I can tell, this
484 option had no effect because (1) pic is not run on the input
485 stream (no -p argument to groff); (2) eqn doesn't support
486 "shelling out" as pic does; and (3) there is no way to embed
487 *roff requests inside a sequence of eqn commands. If I'm wrong,
490 * contrib/eqn2graph/eqn2graph.1.man: Undocument "-unsafe"
493 2018-04-26 G. Branden Robinson <g.branden.robinson@gmail.com>
495 eqn2graph: Parallelize changes with pic2graph.
497 * contrib/eqn2graph/eqn2graph.sh:
498 - Refactor temp directory handling.
499 - Handle embedded whitespace in temp dir.
500 - Adapt to old convert(1) programs.
502 * contrib/eqn2graph/eqn2graph.1.man: Make editorial/style
503 changes and minor corrections.
505 2018-04-25 G. Branden Robinson <g.branden.robinson@gmail.com>
507 pic2graph: Refactor temp directory handling.
509 * contrib/pic2graph/pic2graph.sh: Issue a diagnostic and give up
510 if the user's desired temporary directory does not exist. Also
511 document the Bashism $RANDOM and work around its absence.
513 2018-04-25 G. Branden Robinson <g.branden.robinson@gmail.com>
515 pic2graph: Handle embedded whitespace in temp dir.
517 * contrib/pic2graph/pic2graph.sh: Quote shell variables having
518 to do with the temporary directory's location; without
519 quotation, temporary directory names with embedded whitespace
522 2018-04-24 G. Branden Robinson <g.branden.robinson@gmail.com>
524 * doc/groff.texi: Bump end of copyright range to 2018. Werner
525 added substantial text this year about hyphenation.
527 2018-04-24 G. Branden Robinson <g.branden.robinson@gmail.com>
529 Set version to 1.22.4 in the few places that hard-code it.
531 * arch/mingw/grap2graph.cmd:
532 * contrib/groffer/version.sh:
534 * doc/webpage.ms: Bump from 1.22.3 to 1.22.4.
536 2018-04-24 Deri James <deri@chuzzlewit.myzen.co.uk>
538 Restrict scaling factors to 3dp and better handle CR/LF in import.
540 * src/devices/gropdf/gropdf.pl: Restrict scaling factors to 3dp
541 rounded. If pdf imported with pdfpic uses CR/LF line termination
542 ibclude XObject Image, length of stream out by 1.
544 2018-04-23 G. Branden Robinson <g.branden.robinson@gmail.com>
546 man pages: Shorten version footer.
548 * **/*.man: Replace "Groff Version" with "groff" in the fourth
549 argument to .TH in all man pages. This suffices to keep that
550 part of the footer from overrunning the date, even in dirty
551 trees on 80-column terminals.
553 Fixes https://savannah.gnu.org/bugs/index.php?53721.
555 2018-04-23 G. Branden Robinson <g.branden.robinson@gmail.com>
557 pic2graph(1): Make editorial/style changes and minor
560 2018-04-23 G. Branden Robinson <g.branden.robinson@gmail.com>
562 pic2graph: Adapt to old convert(1) programs.
564 * contrib/pic2graph/pic2graph.sh: Grep convert's -help output
565 for the string "-trim". If it is not found, the old method for
566 image trimming documented in pic2graph's man page, "-crop 0x0",
567 is used. I am motivated by the fact that the warning about this
568 in our man page is very old (10 years or more), and I wanted to
571 pic2graph emits a warning when performing this fallback, in the
572 event the ImageMagick and/or GraphicsMagick teams surprise the
575 * contrib/pic2graph/pic2graph.1.man: Remove BUGS section, the
576 entire contents of which was dedicated to convert's change in
579 2018-04-22 G. Branden Robinson <g.branden.robinson@gmail.com>
581 groff_man(7): Expand command synopsis section.
583 This section now explains in detail how to write (and read) a
586 2018-04-12 Deri James <deri@chuzzlewit.myzen.co.uk>
588 Make PDFPIC behave the same whether -Tps or -Tpdf used.
590 Previously the -Tpdf version did not cause a break nor position
591 to the line beneath the imported picture, whilst the -Tps
594 * tmac/pdfpic.tmac: Corrected behavior.
596 * NEWS: Explain the change of behaviour and how to reinstate
597 the previous behaviour using register PDFPIC_NOSPACE or the
598 environment variable GROFF_PDFPIC_NOSPACE.
600 2018-03-27 Bertrand Garrigues <bertrand.garrigues@laposte.net>
602 Define a short version for data installation dir name.
604 This is the full version stripped of any characters after the
605 third digit. Used for installation of font, macro and various
606 data (by default in /usr/local/share/groff). The various programs
607 and scripts still use the full version from gnulib script
610 * configure.ac (SHORT_VERSION): short version definition.
612 * Makefile.am: use 'SHORT_VERSION' for 'docdir' and 'datasubdir'
615 2018-03-11 Bertrand Garrigues <bertrand.garrigues@laposte.net>
617 Remove doc/automake_migration_tests.txt
619 Automake migration was completed long time ago and this file is no
622 2018-03-11 Colin Watson <cjwatson@debian.org>
624 Switch to Gnulib implementation of snprintf
626 This is more actively maintained, straightforward to integrate now
627 that we have Gnulib integration, and simplifies groff's overall
630 * bootstrap.conf (gnulib_modules): Add `snprintf' and `vsnprintf'.
631 * configure.ac: Remove local checks for `snprintf' and `vsnprintf'.
632 * Makefile.am: Remove various comments related to local checks for
633 `snprintf' and `vsnprintf'.
634 * src/include/lib.h: Remove declarations of `snprintf' and
636 * src/libs/libgroff/libgroff.am (EXTRA_DIST): Remove
637 `src/libs/snprintf/snprintf.c'.
638 * src/libs/snprintf/snprintf.c: Remove.
640 * LICENSES: Remove section about `src/libs/snprintf/snprintf.c'.
641 * MANIFEST: Remove entry for `src/libs/libxutil'.
643 2018-03-09 Deri James <deri@chuzzlewit.myzen.co.uk>
645 PDF must not open in presentation mode.
647 * src/devices/gropdf/gropdf.pl: When GROPDF_NOSLIDE=1
648 passed do not set pdf to presentation mode.
650 2018-03-09 Deri James <deri@chuzzlewit.myzen.co.uk>
652 Allow a "." to signify a missing parameter in .pdftransition
654 * src/devices/gropdf/gropdf.1.man: Explain the .pdftransition
655 macro (and underlying '\X' command) accepts a "." to specify
656 a parameter retains its current value.
658 2018-03-09 Colin Watson <cjwatson@debian.org>
660 man pages: fix incorrect cross-referenced section
662 * man/roff.7.man (FILE NAME EXTENSIONS): Correct reference to
665 2018-03-09 Colin Watson <cjwatson@debian.org>
667 mdate.sh: rewrite in Perl
669 groff already requires perl to build. This version is much shorter
670 and easier to understand than the shell/awk version: we don't have
671 to worry about convincing ls to produce output that we can parse,
672 and we don't have to play games with the way that the same field may
673 contain either the year or the time depending on how old the file
676 While I'm at it, this version also adds `SOURCE_DATE_EPOCH' support
677 for reproducible builds: when `SOURCE_DATE_EPOCH' is set, files are
678 considered to have been last modified at that time.
680 * mdate.sh: Rewrite in Perl, moving to ...
681 * mdate.pl: ... this new file.
682 * Makefile.am (EXTRA_DIST, .man): Update references.
684 2018-03-09 Colin Watson <cjwatson@debian.org>
686 Remove #! lines from non-executable files
688 These are always invoked by the build system (either in-tree or via
689 the installed Makefiles) using the necessary program, so the #!
690 lines were unnecessary. They were harmless except that they caused
691 Debian's `lintian` tool to complain about installed non-executable
694 * font/devlj4/generate/special.awk: Remove #! line.
695 * font/devps/generate/symbol.sed: Likewise.
697 2018-03-09 Colin Watson <cjwatson@debian.org>
699 doc: stop generating W3C validation icons
701 Debian's `lintian' tool says:
703 These badges may be displayed to tell readers that care has been
704 taken to make a page compliant with W3C standards. Unfortunately,
705 downloading the image from www.w3.org might expose the reader's IP
706 address to potential tracking.
708 I think the risk is a small one, but I also don't think the badges
709 are especially valuable, so it doesn't seem like much to ask to just
710 drop them at least for groff's own documentation.
712 * doc/doc.am (.ms.html, doc/pic.html): Remove `-P-V' option.
714 2018-03-01 Deri James <deri@chuzzlewit.myzen.co.uk>
716 Place pdf in presentation mode if new commands used.
718 * src/devices/gropdf/gropdf: The new commands which
719 control page transitions should result in the pdf being
720 opened in presentation mode.
722 2018-03-02 Werner LEMBERG <wl@gnu.org>
724 Hyphenation exceptions in pattern files now obey `.hy' (#53196).
726 * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Mark
727 `\hyphenation' entries with a trailing space.
728 (hyphen_trie::insert_hyphenation): Updated.
729 (hyphenate): Make `\hyphenation' entries obey `.hy' restrictions.
731 * doc/groff.texi (.hy): Updated.
733 2018-03-01 Werner LEMBERG <wl@gnu.org>
737 In most cases hyphenation constraints were too strict. The now
738 selected values reflect the parameters used for the generation of
739 the (TeX) hyphenation patterns.
741 * tmac/an-old.tmac, tmac/cs.tmac, tmac/de.tmac, tmac/doc-common-u,
742 tmac/e.tmac-u, tmac/fr.tmac, tmac/s.tmac, tmac/sv.tmac: Fix `.hy',
743 `\n[HY]', and `\n[doc-hyphen-flags]' values.
745 * doc/groff.texi, tmac/groff_man.7.man, tmac/groff_ms.7.man, NEWS:
748 2018-03-01 Werner LEMBERG <wl@gnu.org>
750 Fix some problems related to hyphenation.
752 Introduce values 16 (allow hyphenation before last character) and 32
753 (allow hyphenation after first character) to the `hy' request
756 Really fix problem reported in issue #48904.
758 Fix #53243, which is a regression introduced in 2016-09-09.
760 * src/roff/troff/env.cpp (HYPHEN_LAST_CHAR, HYPHEN_FIRST_CHAR): New
762 (hyphenate_request): Check for contradicting values.
763 (environment::hyphenate_line): Fix minimum word length considered
765 (environment::print_env): Updated.
766 (hyphenate): Fix and extend logic. The original patch to handle
769 * doc/groff.texi, man/groff_diff.7.man, NEWS: Updated.
771 2018-03-01 Deri James <deri@chuzzlewit.myzen.co.uk>
773 Add page transitions to pdfs created with gropdf.
775 * src/devices/gropdf.pl: Handle new '\X' commands to support page
776 transitions in presentation mode pdfs. These commands are a subset
777 of the commands used in present.tmac allowing slideshows to be
778 directly produced from -Tpdf without using postscript -> gpresent.pl
781 * tmac/pdf.tmac: New macros '.pdfpause' and '.pdftransition' to
782 support page transitions.
784 * src/devices/gropdf.1.man: Document the '\X' commands supported.
786 2018-03-01 Werner LEMBERG <wl@gnu.org>
788 Use $(AM_V_GEN) and $(AM_V_P) to silence even more file generation.
790 * font/devpdf/devpdf.am (BuildFoundries, DESC, Foundry,
791 build_font_files): Do it.
793 2018-02-28 Werner LEMBERG <wl@gnu.org>
795 Use $(GROFF_V) to silence documentation creation.
797 * Makefile.am (GROFF_V): Define.
799 * doc/doc.am (.me.txt, .me.ps, .ms.html, .ms.txt, .ms.ps, pic.html,
800 webpage.html): Use $(GROFF_V).
802 2018-02-28 Werner LEMBERG <wl@gnu.org>
804 Use $(AM_V_GEN) to silence file generation.
806 * Makefile.am (.man), contrib/eqn2graph/eqn2graph.am (eqn2graph),
807 contrib/grap2graph/grap2graph.am (grap2graph), contrib/pic2graph.am
808 (pic2graph), src/devices/gropdf/gropdf.am (gropdf, pdfmom),
809 src/preproc/eqn/eqn.am (neqn), src/roff/grog/grog.am (grog),
810 src/roff/nroff/nroff.am (nroff), src/utils/afmtodit/afmtodit.am
811 (afmtodit), font/devascii/devascii.am (DEVASCIIFONTSFILES, DESC),
812 font/devcp1047/devcp1047.am (DEVCP1047FONTSFILES, DESC),
813 font/devhtml/devhtml.am (DEVHTMLFONTSFILES, DESC),
814 font/devlatin1/devlatin1.am (DEVLATIN1FONTSFILES, DESC),
815 font/devutf8/devutf8.am (DEVUTF8FONTSFILES, DESC),
816 font/devps/devps.am (DESC, prologue, zapfdr.pfa, symbolsl.pfa),
817 font/devdvi/devdvi.am (DESC), font/devlbp/devlbp.am (DESC),
818 font/devlj4/devlj4.am (DESC): Do it.
820 2018-02-28 Werner LEMBERG <wl@gnu.org>
822 * configure.ac: Activate silent Makefile rules.
824 2018-02-28 Werner LEMBERG <wl@gnu.org>
826 Minor compilation warnings.
828 * src/devices/xditview/draw.c: Don't declare `MaxFontPosition'.
830 * src/roff/troff/input.cpp (psbb_locator::context_args): Avoid
833 2018-02-28 Werner LEMBERG <wl@gnu.org>
835 * src/roff/troff/env.cpp: s/HYPHEN_/HYPHEN_NOT/ for clarification.
837 2018-02-26 Bertrand Garrigues <bertrand.garrigues@laposte.net>
839 Update installation doc.
841 * INSTALL.REPO: mention that 'pkg-config' is a dependency.
843 * INSTALL.extra: add dependency 'makeinfo' and optional
844 dependencies 'pkg-config' and 'uchardet'.
846 * TESTS: move to doc/automake_migration_tests.txt
848 * INSTALL.gen: remove, this file is redundant with the 'INSTALL'
851 2018-02-02 Bertrand Garrigues <bertrand.garrigues@laposte.net>
853 Update 'gnulib' submodule.
855 * gnulib: now points on cf56f8f618c48cfadd2499ced58574633d12f129
856 from 'gnulib' repository.
858 2018-02-02 Bertrand Garrigues <bertrand.garrigues@laposte.net>
860 Use gnulib script 'git-version-gen' to define groff's version
862 * bootstrap.conf: add 'git-version-gen' script.
864 * configure.ac: suppress 'GROFF_VERSION_STRING' and replace it by
865 the script. If the current commit corresponds to a tag, then the
866 version is simply the tag name. Otherwise the version has the
867 format: <tag>-<nb_commits_from_latest_tag>-<commit sha1>. The
868 version is now stored in '.version'.
874 * Makefile.am: define 'MAJOR_VERSION', 'MINOR_VERSION' and
877 * src/libs/libgroff/libgroff.am: use 'MAJOR_VERSION',
878 'MINOR_VERSION' and 'REVISION', add dependency on '.version'.
880 * src/roff/troff/troff.am: ditto.
882 * contrib/mom/om.tmac-u (short_revision): new string that extracts
883 the first digit of the revision, to be used when checking groff
886 2018-01-18 Deri James <deri@chuzzlewit.myzen.co.uk>
888 On reflection using an array for Filter is not optimal.
890 * src/devices/gropdf.pl: revert single line from commit
891 18fd1fd0bf05eb9a5ba0d2be1a655a044662a8bf.
893 2018-01-17 Deri James <deri@chuzzlewit.myzen.co.uk>
895 All values should be 3 decimals
897 * src/devices/gropdf.pl: for values approaching zero values
898 in the for 0.nnnnnnE-nn could be written, not valid syntax for
899 PDF. Make all values rounded to 3 decimals, becomes 0.000.
901 Also changed stream Filter dictionary entry to an array.
903 2018-01-14 Bertrand Garrigues <bertrand.garrigues@laposte.net>
905 Fix tarball generation ('make distcheck' failed)
907 * src/devices/xditview/xditview.am: add .h created by commit
908 382ab4af269a1dea422c8f9bb5c67a065d026deb to EXTRA_DIST
910 * contrib/mm/mm.am: restore distribution of files removed by
911 commit 445bf58765b759546e238a235651eb0bf5b34325.
913 2018-01-13 Ingo Schwarze <schwarze@openbsd.org>
915 Makefile.am: Re-add -F and -M flags needed to build out of src.
917 2018-01-13 Ingo Schwarze <schwarze@openbsd.org>
919 [mdoc]: rewrite the implementation of the .Lk macro
921 * tmac/doc.tmac-u (Lk): Rewrite.
923 The old implementation was written before the big mdoc
924 rewrite for groff-1.17. In contrast to most other macros,
925 it was never updated to use the new techniques.
926 This new implementation makes .Lk callable, makes trailing
927 punctuation work in the normal way, and makes the style of
928 the implementation consistent with other macros.
930 It also removes the feature of automatically switching
931 between in-line and displayed rendering depending on the
932 length of the link because that was inconsistent across
933 output modes and counter-intuitive, resulting in ugly
934 output for many existing real-world manual pages.
935 It now always renders in-line. Use .D1 Lk where desired.
937 Merging http://savannah.gnu.org/bugs/?52849
938 OK wl@gnu, jmc@openbsd, bentley@openbsd
940 2017-12-14 G. Branden Robinson <g.branden.robinson@gmail.com>
942 man pages: Comment compatibility-mode switching.
944 The '.do' and '.cp' requests (both groffisms) are some of the
945 more obscure features of groff's own man page corpus.
946 Consequently, they get cargo-culted around, within and outside
947 groff. Thanks to Werner Lemberg for the discussion, which
948 revealed (to me) that groff ships with compatibility mode on by
949 default on Solaris 10 and 11.
951 Fix bug https://savannah.gnu.org/bugs/?52444.
953 2017-11-30 G. Branden Robinson <g.branden.robinson@gmail.com>
955 * src/roff/troff/input.cpp:
956 Make writers to stderr identify themselves.
958 * font/devpdf/util/BuildFoundries.pl:
959 Same; also refactor all diagnostics into Notice(), Warn(), and
960 Die() functions, which delegate their common message-printing to
963 Fix part of bug https://savannah.gnu.org/bugs/?52463.
965 2017-11-21 G. Branden Robinson <g.branden.robinson@gmail.com>
967 man pages: Fix compatibility-mode problems.
969 * contrib/gperl/gperl.1.man: Use idiomatic .BI macro instead of
970 leading an input line with a font escape followed by a dot,
971 the interpretation of which differs based on compatibility
974 * src/preproc/soelim/soelim.1.man: Make .mso request only after
975 compatibility mode is turned off.
977 2017-11-19 G. Branden Robinson <g.branden.robinson@gmail.com>
979 * Makefile.am: Protect arguments to "tr" from globbing.
981 Prevents errors from tr during man page generation and possible
982 incorrect program prefixing in those pages if, for example, some
983 doofus has directories called "A", "B", ... hanging around in
986 2017-11-18 G. Branden Robinson <g.branden.robinson@gmail.com>
988 * tmac/groff_mdoc.7.man: Use unstripped symbol names.
990 Fix bug https://savannah.gnu.org/bugs/?52442.
992 2017-11-18 G. Branden Robinson <g.branden.robinson@gmail.com>
994 * src/include/.gitignore: Ignore config.hin~ files.
996 2017-11-18 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
998 test-groff.in: Enable backtraces and all warnings by default.
1000 Fix bug https://savannah.gnu.org/bugs/?51482.
1002 2017-11-18 G. Branden Robinson <g.branden.robinson@gmail.com>
1004 * tmac/**: Migrate macro package diagnostics away from `quotes'.
1006 2017-11-15 G. Branden Robinson <g.branden.robinson@gmail.com>
1008 * src/libs/libgroff/new.cpp: Quieten compiler warning.
1010 Define sized version of overloaded delete operator. Duplicate
1011 code from unsized delete operator because simply calling through
1012 to it provokes another warning, -Wdelete-incomplete.
1014 Fix rest of https://savannah.gnu.org/bugs/?52335.
1016 2017-11-12 Deri James <deri@chuzzlewit.myzen.co.uk>
1018 Better handle glyphs in font positions > 255
1020 * src/devices/gropdf/gropdf.pl: Improve handling
1021 when glyphs above 255 are used.
1023 2017-11-12 Deri James <deri@chuzzlewit.myzen.co.uk>
1025 gropdf should load ALL 'download' files
1027 * src/devices/gropdf/gropdf.pl: only the first 'download' file
1028 found was loaded, it should load all found.
1030 2017-11-12 G. Branden Robinson <g.branden.robinson@gmail.com>
1032 * src/libs/libxutil/DviChar.c: Initialize "buckets" field of
1035 Resolves missing-field-initializers warnings.
1037 2017-11-12 G. Branden Robinson <g.branden.robinson@gmail.com>
1039 * tmac/strip.sed: Stop rewriting symbol names. A substitution
1040 originally intended to strip the "doc-" prefix off of mdoc macro
1041 and string names unintentionally caught some mom stuff.
1042 Harmlessly in this instance, but with potentially surprising
1043 future effects. Remove (only) this substitution per discussion
1045 https://lists.gnu.org/archive/html/groff/2017-11/msg00055.html
1048 2017-11-11 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1050 * src/devices/grolbp/lbp.cpp (lbp_printer::setfillmode): Address
1051 misleading indentation warning.
1053 * src/roff/troff/mtsm.cpp (mtsm::push_state, mtsm::pop_state):
1054 Same. Only flush standard error if we just wrote to it,
1055 instead of unconditionally.
1057 Fix bug https://savannah.gnu.org/bugs/?51483.
1059 2017-11-11 G. Branden Robinson <g.branden.robinson@gmail.com>
1061 * src/utils/xtotroff/xtotroff.c: Mark private function static.
1063 2017-11-11 G. Branden Robinson <g.branden.robinson@gmail.com>
1065 * src/libs/libxutil/xmalloc.c: Quieten gcc warning. Mollify
1066 -Wmissing-prototypes for xmalloc() in single-function file.
1068 2017-11-11 G. Branden Robinson <g.branden.robinson@gmail.com>
1070 gxditview: Migrate extern declarations to headers.
1072 Also mark some private functions as static.
1074 2017-11-11 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1076 src: Declare function protypes where necessary.
1078 Fix bug https://savannah.gnu.org/bugs/?51513.
1080 2017-11-10 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1082 mom: Abort early with diagnostic in compatibility mode.
1084 Fix bug https://savannah.gnu.org/bugs/?52333.
1086 2017-11-10 G. Branden Robinson <g.branden.robinson@gmail.com>
1088 * contrib/**: Migrate diagnostics away from `quotes'.
1090 2017-11-09 G. Branden Robinson <g.branden.robinson@gmail.com>
1092 * src/**: Migrate diagnostics away from `these quotes'.
1094 Fix bug https://savannah.gnu.org/bugs/?52374.
1096 2017-11-07 G. Branden Robinson <g.branden.robinson@gmail.com>
1098 * tmac/strip.sed: Remove nilpotent capture from address.
1100 2017-11-05 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1102 `preconv': fix usage of lib `uchardet'.
1104 * src/preproc/preconv/preconv.cpp (detect_file_encoding): Fix
1105 usage of uchardet 0.0.1, which may fail but return an empty string
1106 instead of a null pointer, and fix some incorrect error
1107 managements that might cause memory leaks.
1109 2017-11-05 G. Branden Robinson <g.branden.robinson@gmail.com>
1111 * font/devpdf/devpdf.am: Silence warning from grep during clean.
1113 2017-11-04 G. Branden Robinson <g.branden.robinson@gmail.com>
1115 * Makefile.am: Drop unnecessary -F and -M flags from pdfmom
1118 2017-11-02 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1120 man/groff_diff.7.man: Correct the explanation of the request
1121 ".itc"--it was backwards.
1123 Fix bug https://savannah.gnu.org/bugs/?51502.
1125 2017-11-02 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1127 test-groff.in: Recognize additional contrib tmacs.
1129 Fix bug https://savannah.gnu.org/bugs/?51598.
1131 2017-11-02 G. Branden Robinson <g.branden.robinson@gmail.com>
1133 * Makefile.am: Force build to generate test-groff script.
1135 2017-11-02 G. Branden Robinson <g.branden.robinson@gmail.com>
1137 * font/devpdf/devpdf.am: Silence warning from grep during build.
1139 2017-11-02 G. Branden Robinson <g.branden.robinson@gmail.com>
1141 * doc/doc.am: Fix build of pic.html from clean tree.
1143 2017-11-02 G. Branden Robinson <g.branden.robinson@gmail.com>
1145 * m4/groff.m4: Kill whitespace in macro diagnostic.
1147 2017-11-01 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1149 src/roff/grog/subs.pl: Fix typo in usage message.
1151 Fix bug https://savannah.gnu.org/bugs/?51540.
1153 2017-10-28 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1155 m.tmac: Fix some formatting and textual issues.
1156 * Protect full stops in strings \*[Letns!{1,2,10,11}].
1157 * Remove extraneous whitespace from string \*[Pg_type!1].
1159 Fix bug https://savannah.gnu.org/bugs/?51610.
1161 2017-10-22 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1163 refer-mm.tmac: Protect full stop in abbreviation of "ed.".
1165 Fix bug https://savannah.gnu.org/bugs/?51611.
1167 2017-10-22 G. Branden Robinson <g.branden.robinson@gmail.com>
1169 * src/preproc/html/pre-html.cpp: Fix grammar in usage message.
1170 When used attributively, e.g. as an adjectival phrase,
1171 "command-line" should be hyphenated.
1173 2017-10-22 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1175 pdfpic: Suppress warning if in compatibility mode.
1177 Fix bug https://savannah.gnu.org/bugs/?51945.
1179 2017-10-22 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1181 www.tmac: Rename font 'C' to 'CR'; define 'CR'.
1183 The font name 'C' ('CW') is not a part of groff's fonts.
1185 Fix bug https://savannah.gnu.org/bugs/?51417.
1186 Also see https://savannah.gnu.org/bugs/?51426.
1188 2017-10-04 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1190 Fix build on MacOS X
1192 See https://savannah.gnu.org/bugs/?49651
1194 2017-09-11 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1196 Build from git: Make `configure' fail if `yacc' is not found.
1198 * m4/groff.m4 (GROFF_PROG_YACC): look for (in this order) `byacc',
1199 `bison -y', `yacc'. Set `YACC' to `missing' is nothing is found
1200 and generate an error. Don't generate an error if build is not
1201 done from git as tarball already distribute files generated by
1204 2017-09-02 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1206 Update `gnulib' submodule with latest version.
1208 * gnulib: now points on 07a187be7f66d3ced66587405f18205971c762e9
1209 from `gnulib' repository.
1211 2017-09-02 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1213 Fix .gitignore files for in-source build.
1215 Fix bug https://savannah.gnu.org/bugs/?51415.
1217 2017-09-01 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1219 Fix build on MacOS X
1221 * Makefile.am: define `SED' command with LANG and LC_ALL set to C.
1222 * contrib/mm/mm.am: use it.
1223 * doc/doc.am: Ditto.
1225 Fix bug https://savannah.gnu.org/bugs/?49649
1227 2017-08-30 Colin Watson <cjwatson@debian.org>
1229 `BuildFoundries' should not be installed.
1231 * font/devpdf/devpdf.am: remove installation of generated script
1234 2017-08-30 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1236 pic2graph.1.man: Fix wrong macro for e-mail addresses.
1238 Fix bug https://savannah.gnu.org/bugs/?51110.
1240 2017-08-30 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1242 groff_diff(7): Remove a repeated word.
1244 Fix bug https://savannah.gnu.org/bugs/?51077.
1246 2017-08-30 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1248 groff_tmac(5): Fix double dot before request.
1250 Fix bug https://savannah.gnu.org/bugs/?51070.
1252 2017-08-28 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1254 groff.texi: remove repeated words.
1256 Fix bug https://savannah.gnu.org/bugs/?51046.
1258 2017-08-28 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1260 groff_man(7) manual page: Fix explanation of the ".itc" request.
1262 See bug at https://savannah.gnu.org/bugs/?51043.
1264 2017-08-28 Ingo Schwarze <schwarze@usta.de>
1266 groff_man(7) manual page: recommendations for escape sequences.
1268 See bug at https://savannah.gnu.org/bugs/?51021.
1270 2017-08-28 Ingo Schwarze <schwarze@usta.de>
1272 groff_char(7) manual: fix table "7-bit Character Codes"
1274 See bug at https://savannah.gnu.org/bugs/?51020.
1276 2017-08-28 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1278 Fix troff.1 misleading definition of -w all.
1280 See bug at https://savannah.gnu.org/bugs/?47784. Suggested by Kaz
1281 Kylheku <kaz@kylheku.com>.
1283 2017-08-25 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1285 `preconv --version' crashes.
1287 See bug at: https://savannah.gnu.org/bugs/?51587.
1289 * src/preproc/preconv/preconv.cpp: Add a missing comma in the
1290 argument list of "printf".
1292 2017-08-25 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1294 Fix bug: `.itc' request breaks subsequent `.it' requests.
1296 See bug at: https://savannah.gnu.org/bugs/?51376. Using `.itc'
1297 lets all later uses of `.it' behave like `.itc', that is,
1298 interrupted text line ending with \c is not counted as a separate
1301 * env.cpp: Restore input_trap state to normal when '.it' is
1304 2017-08-25 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1306 Fix a part of a virtual (pseudo) structure in "tty.tmac".
1308 * tmac/tty.tmac: Fix warning: ".../git/groff/tmac/tty.tmac:19:
1309 warning: unbalanced .el request"
1311 2017-08-25 Ingo Schwarze <schwarze@usta.de>
1313 `tty-char.tmac': focus on meaning rather than graphical shape
1315 * tmac/tty-char.tmac: add ASCII renderings for six missing
1316 mathematical symbols
1318 2017-08-22 Ingo Schwarze <schwarze@usta.de>
1320 `tty-char.tmac': focus on meaning rather than graphical shape
1322 * tmac/tty-char.tmac: Switch the policy from trying to imitate the
1323 characters' graphical shapes, which resulted in unintelligible
1324 renderings in many cases, to transliterations conveying the
1325 characters' meanings. One benefit is making these characters
1326 usable for portable manual pages.
1328 2017-08-21 Deri James <deri@chuzzlewit.myzen.co.uk>
1330 'gropdf' does not correctly load new ghostscript fonts
1332 See bug at: https://savannah.gnu.org/bugs/?50989. Since ghostscript
1333 9.21 the fonts supplied have changed from .pfb to .pfa type (with a
1334 raw binary section). These failed to be properly loaded.
1336 * src/devices/gropdf/gropdf: Changes to handle raw binary section in
1339 2017-08-18 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1341 `pdfmom' man page incorrectly displayed.
1343 * src/devices/gropdf/pdfmom.1.man: Remove `]' character mistakenly
1344 added at the beginning of the file.
1346 2017-08-18 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1348 Incorrect font name for CBI in Foundry.in.
1350 2017-08-15 Ingo Schwarze <schwarze@usta.de>
1352 Fix build if `configure' check for `fprintf-posix' fails.
1354 See bug at: https://savannah.gnu.org/bugs/?51554. If tests for
1355 posix compliance of fprintf from `gnulib_m4/fprintf-posix.m4'
1356 fail, a replacement function of `fprintf' is used. Consequently,
1357 all executables that use this function must link against the
1358 gnulib (`libgnu.a'). The bug was introduced by commit
1359 fa41eeba06987a12bc0434f8b51896d4618a3997.
1361 * src/devices/xditview/xditview.am
1362 * src/preproc/eqn/eqn.am
1363 * src/preproc/pic/pic.am
1364 * src/preproc/preconv/preconv.am
1365 * src/preproc/refer/refer.am
1366 * src/preproc/soelim/soelim.am
1367 * src/preproc/tbl/tbl.am
1368 * src/utils/addftinfo/addftinfo.am
1369 * src/utils/hpftodit/hpftodit.am
1370 * src/utils/indxbib/indxbib.am
1371 * src/utils/lkbib/lkbib.am
1372 * src/utils/lookbib/lookbib.am
1373 * src/utils/pfbtops/pfbtops.am
1374 * src/utils/tfmtodit/tfmtodit.am
1375 * src/utils/xtotroff/xtotroff.am: link against libgnu.a
1377 * INSTALL.REPO: recommend the autoconf and automake versions used
1378 during automake migration rather than the minimum versions.
1380 2017-08-04 Deri James <deri@chuzzlewit.myzen.co.uk>
1382 See bug at: https://savannah.gnu.org/bugs/?51568
1384 * src/devices/gropdf/gropdf: Further 'fix' to handle those octal
1385 characters. See comment #5 - thank you Bjarni.
1387 2017-07-31 Deri James <deri@chuzzlewit.myzen.co.uk>
1389 See bug at: https://savannah.gnu.org/bugs/?51568
1391 * src/devices/gropdf/gropdf: previous 'fix' was too narrow, all
1392 '\' characters should be escaped. Also there was an unwanted
1393 interaction with code in routine 'do_t'. Sometimes, do_C, when
1394 the named glyph is mapped to a chr < 32, this is encoded as octal
1395 \nnn, so in this case the '\' must not be escaped.
1397 2017-07-25 Deri James <deri@chuzzlewit.myzen.co.uk>
1399 If input text contained string which could be interpreted as
1400 escaped octal (\ddd) a pdf viewer would interpret as an octal
1401 character. See bug at: https://savannah.gnu.org/bugs/?51568
1403 * src/devices/gropdf/gropdf: protect text which resembles \ddd
1404 by escaping with extra '\'.
1406 2017-07-12 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1408 Use uchardet library in `preconv' to detect input file encoding
1410 * m4/groff.m4 (GROFF_UCHARDET): new macro that use pkg-config to
1411 check if uchardet library is available and define new option
1413 - If `yes' is passed and uchardet is not found, configure fails.
1414 - If `no' is passed we don't use uchardet and don't display any
1416 - If `auto' (or any other option) is passed of if --with-uchardet
1417 is not passed, we use uchardet if available, otherwise the build
1418 goes on but a warning is displayed at the end of the configuration
1421 * configure.ac: use pkg-config and `GROFF_UCHARDET' to detect the
1422 presence of uchardet library.
1424 * src/preproc/preconv/preconv.am: link against uchardet library if
1427 * src/preproc/preconv/preconv.cpp (detect_file_encoding): new
1428 function that uses uchardet library to detect input file encoding.
1429 (do_file): `detect_file_encoding'.
1431 * src/preproc/preconv/preconv.1.man: update `preconv'
1434 See https://savannah.gnu.org/bugs/?51330
1436 2017-07-12 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1438 Add gnulib module fprintf-posix
1440 * bootstrap.conf: do it.
1442 * Fix compilation in some files that needed inclusion of
1445 See https://savannah.gnu.org/bugs/?51330
1447 2017-05-09 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1449 Package `ghostscript' 9.21 renamed some fonts installed in
1450 `/usr/share/ghostscript/9.21/Resource/Font', e.g. URWGothicL-Demi
1451 renamed to URWGothic-Demi, and droped the installation of URW
1452 fonts in `/usr/share/fonts/type1/gsfonts/', breaking font
1453 generation in `font/devpdf/util/BuildFoundries.pl'.
1455 * m4/groff.m4 (GROFF_URW_FONTS_PATH): New option
1456 `--with-urw-fonts-dir' to pass a custom path to URW fonts.
1457 (GROFF_URW_FONTS): search the presence of URW fonts by checking if
1458 file `a010013l.pfb' exists in the paths given by `gs -h', in the
1459 default paths used in `Foundry.in' and in the path given with
1460 option `--with-urw-fonts-dir'.
1461 (GROFF_URW_FONTS_CHECK): print a warning at the end of the
1462 configuration phase if no URW fonts were found.
1464 * configure.ac: call new macros `GROFF_URW_FONTS_PATH',
1465 `GROFF_URW_FONTS' and `GROFF_URW_FONTS_CHECK'.
1467 * font/devpdf/Foundry.in: add new basic fonts names and pass
1468 custom URW fonts path `urwfontsdir'.
1470 * font/devpdf/devpdf.am: subsitute `urwfontsdir' in `Foundry'
1473 Fixes https://savannah.gnu.org/bugs/?50786
1475 2017-05-04 Deri James <deri@chuzzlewit.myzen.co.uk>
1479 * src/devices/gropdf/gropdf.pl: Escape '(' and ')' if
1480 used in a bookmark, and ignore relative move 'h' if
1481 followed by absolute move 'H' in groff intermediate output.
1483 2017-04-29 Ingo Schwarze <schwarze@usta.de>
1485 groff_char(7): improve description of ASCII characters
1487 * man/groff_char.7.man: improve description of ASCII
1488 characters that do not render as themselves
1490 See https://savannah.gnu.org/bugs/?50898
1492 2017-04-28 Osamu Sayama
1494 lkbib with empty file dumps core
1496 * src/libs/libbib/index.cpp: Test if argument to malloc(3)
1499 See https://savannah.gnu.org/bugs/?48433
1501 2017-04-28 David Gilman
1505 * doc/groff.texi: Dp instead of DP used
1507 https://savannah.gnu.org/bugs/index.php?42251
1509 2017-04-28 Rich Burridge
1511 "grops -c a" dumps core
1513 * src/devices/grops/ps.cpp: conversion specifier %s changed
1514 to %1 (errprint() uses special syntax different from
1517 https://savannah.gnu.org/bugs/?42190
1519 2017-04-28 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1521 Macro "itc" is needed to make escape "\c" useful
1523 * tmac/an-old.tmac: .it changed to .itc
1525 https://savannah.gnu.org/bugs/?42907
1527 2017-04-28 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1529 First italic correction (\,) is absent in macros IR and IB
1531 * tmac/an-old.tmac: Italic correction added
1533 https://savannah.gnu.org/bugs/?42906
1535 2017-04-13 Ingo Schwarze <schwarze@usta.de>
1537 * tmac/doc.tmac-u: Make .Lk with more than two arguments
1540 Use the second and following arguments as the link text.
1542 Do not mark up the following colon with \fI.
1544 Handle any number of trailing delimiters.
1546 Problem reported by Anthony Bentley <bentley@openbsd.org>,
1547 fixed by Ingo Schwarze <schwarze@usta.de>.
1549 https://savannah.gnu.org/bugs/?50789
1551 2017-04-12 Werner LEMBERG <wl@gnu.org>
1553 Update German hyphenation patterns.
1555 * tmac/de.tmac: Add more hcode values.
1556 No longer use `hyphenex.det'.
1557 * tmac/hyphen.den, tmac/hyphen.det: Updated to `dehyph-exptl-0.41'.
1558 * tmac/hyphenex.det: Removed, no longer needed.
1559 * tmac/tmac.am (TMACNORMALFILES): Updated.
1561 2017-04-10 Ingo Schwarze <schwarze@usta.de>
1563 * tmac/doc.tmac-u: Punctuation handling of .Lk fixed
1565 The implementation of the groff_mdoc(7) .Lk (hyperlink) macro
1566 contains code to make sure that the second argument is not
1567 punctuation before treating it as a link text, but the test
1568 can never lead to the result "punctuation" because the
1569 initialization of the global variable doc-width was missing
1570 before the call to doc-get-arg-type. Consequently, even "."
1571 was not recognized as punctuation.
1573 Problem reported by Anthony Bentley <bentley@openbsd.org>,
1574 fixed by Ingo Schwarze <schwarze@usta.de>.
1576 https://savannah.gnu.org/bugs/?50771
1578 2017-04-07 Werner LEMBERG <wl@gnu.org>
1580 * tmac/hyphenex.us: Updated to current release from TeXLive.
1582 2017-02-23 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1584 * bootstrap: update with latest version from gnulib.
1585 * gnulib: update the git submodule with latest version (commit
1586 4084b3a1094372b960ce4a97634e08f4538c8bdd from gnulib).
1588 2017-02-18 Colin Watson <cjwatson@debian.org>
1590 * src/preproc/eqn/main.cpp: Define EQ and EN if they are not already
1591 defined, to appease "groff -wmac".
1592 * src/preproc/pic/main.cpp: Likewise for PS and PE.
1594 Fixes: http://bugs.debian.org/495713
1596 2017-02-16 Ingo Schwarze <schwarze@usta.de>
1598 mdoc %T: use typographic quotes
1600 * tmac/doc.tmac-u: Changed \*[q] to \*[Lq] and \*[Rq]
1602 Citing Anthony J. Bentley:
1604 The below patch causes -mdoc to generate typographic quotes
1605 around a %T (reference title) instead of straight quotes.
1607 I also submitted similar diffs to mandoc and heirloom troff
1608 (which haven't been committed yet). It would be nice for
1609 the major implementations not to differ here, and the change
1612 It's worth noting that groff's refer(1) already uses typographic
1613 quotes around %T with my -ms documents.
1615 https://savannah.gnu.org/bugs/?43553
1616 http://comments.gmane.org/gmane.comp.tools.mdocml.devel/723
1617 https://github.com/n-t-roff/heirloom-doctools/pull/6
1619 2017-02-16 Ingo Schwarze <schwarze@usta.de>
1621 mdoc \*[Lq], \*[Rq]: map to \[lq], \[rq] for all terminal
1624 * tmac/doc-nroff-u: .ds Lq \[lq], .ds Rq \[rq]
1626 If you use \[lq] and \[rq] directly in your document, the
1627 quotes already render nicely for all terminal devices:
1628 as U+201C and U+201D for devutf8 and as ASCII 0x22 (") for
1629 devascii and devlatin1.
1630 So it is not quite clear why doc-nroff should avoid
1631 \[lq] and \[rq] when resolving \[Lq] and \[Rq] for devascii
1632 and devlatin1. Quite to the contrary, many people seem to
1633 consider "``" and "''" ugly renderings because they look
1638 https://savannah.gnu.org/bugs/?43554
1640 2017-02-16 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1642 Use the traditional (portable) method of using a backslash
1645 * contrib/mm/m.tmac, tmac/e.tmac-u,
1646 tmac/s.tmac: Add '\' after "\{"
1650 https://savannah.gnu.org/bugs/?49917
1652 2017-02-16 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1654 Use explicit \s±n after a variable string instead of \s0
1656 * tmac/e.tmac-u: Change \s0 to \s+3
1660 https://savannah.gnu.org/bugs/?49915
1662 2016-12-29 Deri James <deri@chuzzlewit.myzen.co.uk>
1664 Remove duplicate '-e' from gropdf manual.
1666 * src/devices/gropdf/gropdf.1.man: Remove first '-e'.
1668 2016-11-25 Deri James <deri@chuzzlewit.myzen.co.uk>
1670 Remove incorrect info from gropdf manual.
1672 * src/devices/gropdf/gropdf.1.man: Remove references
1675 2016-11-22 George HELFFRICH <ghfbsd@gmail.com>
1677 [me]: Fix alignment of `(c' macro (#43306).
1679 * tmac/e.tmac-u ((c): Properly initialize environment.
1681 2016-11-20 George HELFFRICH <ghfbsd@gmail.com>
1683 [me] Fix vertical spacing of `(b' macro (#42217).
1685 * tmac/e.tmac-u (@k): Apply pre-spacing conditionally.
1688 2016-11-19 George HELFFRICH <ghfbsd@gmail.com>
1690 [me] Fix remaining bugs with line numbering (#49650).
1692 * tmac/e.tmac-u (nm): Redefine.
1693 (.n1, .n2): Update so all environments affected.
1694 (.ip): Fix double numbering.
1695 (.)c, .)l): Restore numbering after diversion included.
1697 2016-11-01 Deri James <deri@chuzzlewit.myzen.co.uk>
1699 gropdf remaps characters to position 13 (#48986).
1701 * src/devices/gropdf/gropdf: Do not remap anything to chr(13).
1703 2016-11-01 Deri James <deri@chuzzlewit.myzen.co.uk>
1705 pdfmom was not including $preconv in the initial groff run.
1707 * src/devices/gropdf/pdfmom.pl: Include $preconv in first
1708 groff run which resolves forward pdf references.
1710 2016-10-05 Ingo Schwarze <schwarze@usta.de>
1712 * tmac/doc.tmac-u: Simplify behaviour of .Bl -tag
1713 * tmac/groff_mdoc.7.man: Update documentation to the new
1714 behaviour of .Bl -tag
1716 If an mdoc(7) .Bl -tag macro lacks the -width argument, the
1717 body indentation is calculated separately for each child .It
1718 macro. Neither the Heirloom nor the mandoc(1) implementation
1719 of the mdoc(7) language show such behaviour; both use a
1720 constant default width for the whole list in that case.
1722 Apart from doubts whether lists with variable indentation are
1723 typographically sound in the first place, support for variable
1724 widths in groff is so restricted that it's practically
1725 useless. For each .It, the width will be the default width of
1726 whatever happens to be the leading macro after the .It, or of
1727 .No if .It is not followed by a macro.
1731 https://savannah.gnu.org/bugs/index.php?49272
1735 http://lists.gnu.org/archive/html/groff/2016-10/msg00006.html
1738 2016-09-09 Werner LEMBERG <wl@gnu.org>
1740 * tmac/sv.tmac: Fix `.hy' settings (#48904).
1742 The Swedish patterns allow hyphenation after the first character and
1743 before the last two characters, not vice versa.
1745 2016-09-09 Werner LEMBERG <wl@gnu.org>
1747 troff: Fix hyphenation (#48904).
1749 This commit fixes two bugs present from the very beginning: troff
1750 (a) didn't allow to hyphenate words shorter than 4 characters
1751 (ignoring `.hy' settings), and (b) never tried to hyphenate after
1752 the first character due to wrong handling of the `.hy' settings.
1754 * src/roff/troff/env.cpp (environment::hyphenate_line): Use
1755 hyphenation flags to determine the minimum word length considered
1757 (hyphenate): Fix handling of `HYPHEN_FIRST_CHARS'.
1759 2016-07-29 Colin Watson <cjwatson@debian.org>
1761 Implement `SOURCE_DATE_EPOCH' for reproducible builds.
1763 * src/include/curtime.h: New file.
1764 * src/libs/libgroff/curtime.cpp: New file.
1765 * src/libs/libgroff/libgroff.am (libgroff_a_SOURCES): Add
1766 src/libs/libgroff/curtime.cpp.
1768 * src/roff/troff/input.cpp (init_registers): Use `current_time'
1769 instead of `time(0)'.
1770 * src/devices/grohtml/post-html.cpp
1771 (html_printer::do_file_components): Likewise.
1772 (html_printer::~html_printer): Likewise.
1773 * src/devices/grops/ps.cpp (ps_printer::~ps_printer): Likewise.
1774 * src/devices/gropdf/gropdf.pl: Use `$ENV{SOURCE_DATE_EPOCH}` if
1775 available in preference to `time`.
1777 * doc/groff.texi (Environment): Document `SOURCE_DATE_EPOCH'.
1778 * src/devices/grohtml/grohtml.1.man (ENVIRONMENT): Likewise.
1779 * src/devices/gropdf/gropdf.1.man (ENVIRONMENT): Likewise.
1780 * src/devices/grops/grops.1.man (ENVIRONMENT): Likewise.
1782 2016-04-19 Carsten Kunze <carsten.kunze@arcor.de>
1784 eqn: Fix problem with explicite spacing before unary operator
1786 * src/preproc/eqn/list.cpp (list_box::compute_metrics): Change
1787 item spacing type from BINARY to ORDINARY also when previous
1788 type is SUPPRESS_TYPE.
1792 http://lists.gnu.org/archive/html/groff/2016-04/msg00024.html
1794 by Douglas McIlroy <doug@cs.dartmouth.edu>
1796 an implicite space is added between an unary operator and it's
1797 operand when an explicite space is put before the unary
1798 operator. Unary operators are initially set up as binary.
1799 Depending on the preceding element their type can be changed
1800 to unary. This did not happen when an explicite space ('~' or
1801 '^') had been before that operator.
1803 2016-02-16 Bálint Réczey <balint@balintreczey.hu>
1805 Fix many malloc/new vs. free/delete/delete[] mismatches (#47164)
1807 * src/devices/grops/ps.cpp (ps_font::~ps_font,
1808 ps_printer::define_encoding): Use `free'.
1809 * src/devices/grops/psrm.cpp (resource::~resource,
1810 resource_manager::output_prolog, resource_manager::supply_resource,
1811 resource_manager::read_download_file): Ditto.
1813 * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Ditto.
1815 * src/libs/libgroff/searchpath.cpp
1816 (search_path::open_file_cautious): Ditto.
1818 * src/libs/libgroff/string.cpp: Include `stdlib.h'.
1819 (string::extract): Use `malloc'.
1821 * src/preproc/eqn/box.cpp (quoted_text_box::~quoted_text_box): Use
1824 * src/preproc/eqn/lex.cpp (definition::~definition,
1825 macro_input::~macro_input, top_input::~top_input, do_definition):
1828 * src/preproc/eqn/main.cpp (main): Ditto.
1830 * src/preproc/eqn/other.cpp: Include `stdlib.h'.
1831 (size_box::~size_box, font_box::~font_box): Use `free'.
1833 * src/preproc/eqn/text.cpp: Include `stdlib.h'.
1834 (box::set_spacing_type, special_char_box::~special_char_box,
1835 split_text): Use `free'.
1837 * src/preproc/grn/main.cpp (conv): Use `free'.
1839 * src/preproc/html/pre-html.cpp (get_resolution): Ditto.
1841 * src/preproc/pic/lex.cpp (macro_input::~macro_input,
1842 argument_macro_input::~argument_macro_input, for_input::~for_input):
1845 * src/preproc/pic/main.cpp (do_picture): Ditto.
1847 * src/preproc/pic/object.cpp: Include `stdlib.h'.
1848 (text_piece::~text_piece, string_list::~string_list): Use `free'.
1850 * src/preproc/pic/pic.ypp (placeless_element, element, text, label,
1851 expr_not_lower_than): Ditto.
1853 * src/preproc/pic/troff.cpp (troff_output::reset_color): Ditto.
1855 * src/preproc/preconv/preconv.cpp (check_coding_tag): Ditto.
1857 * src/preproc/soelim/soelim.cpp (do_file): Ditto.
1859 * src/preproc/tbl/table.cpp (text_entry::~text_entry): Ditto.
1861 * src/roff/groff/groff.cpp (possible_command::~possible_command,
1862 possible_command::set_name): Ditto.
1864 * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Ditto.
1866 * src/roff/troff/node.cpp (suppress_node::tprint): Ditto.
1868 2016-02-16 Bálint Réczey <balint@balintreczey.hu>
1870 Use `malloc' in `strsave'; use `free' for returned pointers (#47164).
1872 * src/libs/libgroff/font.cpp (text_file::~text_file): Use `free'.
1874 * src/libs/libgroff/searchpath.cpp (search_path::open_file): Use
1877 * src/libs/libgroff/strsave.cpp: Include `stdlib.h'.
1878 (strsave): Use `malloc'.
1880 2016-02-16 Bálint Réczey <balint@balintreczey.hu>
1882 Simplify memory allocation (#47162).
1884 Many invalid memory accesses were caught by UBSAN (e.g., invalid
1885 memory access in `small_temp_iterator::operator new') while
1886 bootstrapping hardened1-linux-amd64 Debian port in the `free_list'
1887 handling because it doesn't properly handle the padding between
1890 Some places were already #if 0-d out anyway.
1892 * src/roff/troff/input.cpp (small_temp_iterator): Remove class.
1893 (make_temp_iterator): Use `temp_iterator' only.
1895 * src/devices/grotty/tty.cpp (tty_glyph): Remove `free_list', `new',
1898 * src/include/color.h, src/include/color.cpp (color): Ditto.
1900 * src/roff/troff/env.cpp (tab): Ditto.
1902 * src/roff/troff/node.cpp (glyph_node): Ditto.
1904 2016-02-15 Bálint Réczey <balint@balintreczey.hu>
1906 [pre-grohtml] Fix out-of-bounds array access (#47161).
1908 * src/preproc/html/pre-html.cpp (char_buffer::write_upto_newline):
1911 2016-02-15 Bálint Réczey <balint@balintreczey.hu>
1913 Don't use `memcpy' with NULL input or output argument (#47160).
1915 * src/libs/libgroff/string.cpp (string::string, string::operator=):
1918 * src/roff/troff/input.cpp (temp_iterator::temp_iterator): Implement
1921 2016-02-04 Carsten Kunze <carsten.kunze@arcor.de>
1923 * tmac/s.tmac: Bugfix of previous commit simplified (and
1924 introduced redundancy removed) by use of .par*start for .QS and
1925 .QE. This is consistent since any other paragraph macro is
1928 2016-02-02 Carsten Kunze <carsten.kunze@arcor.de>
1930 * tmac/s.tmac: Macros .QS and .QE changed to insert vertical
1931 inter-paragraph space. A paragraph bracketed with .QS/.QE
1932 should appear identical to a .QP paragraph followed by .LP.
1934 * tmac/groff_ms.7.man, doc/groff.texi: Documentation of macros
1935 .QS and .QE added and .QP information improved (effect of
1936 registers QI and PD).
1938 See also discussion at groff@gnu.org, thread starting at
1940 http://lists.gnu.org/archive/html/groff/2016-01/msg00033.html
1942 Issue reported by Douglas McIlroy <doug@cs.dartmouth.edu>
1944 2015-12-26 Carsten Kunze <carsten.kunze@arcor.de>
1946 * contrib/mm/m.tmac: Disable macro misc@tag in case output
1949 This macro did cause unwanted space in case a MM macros .H
1950 had been followed immediately by .DS.
1952 (See also discussion at groff@gnu.org, thread starting at
1953 http://lists.gnu.org/archive/html/groff/2015-12/msg00033.html)
1955 Bug reported by Damian McGuckin <damianm@esi.com.au>.
1957 2015-12-14 Werner LEMBERG <wl@gnu.org>
1959 * src/preproc/eqn/text.cpp (entity_table): s/lamda/lambda/.
1961 Bug reported by Brian McGuinness <mcguinne@fdu.edu>.
1963 2015-10-27 Deri James <deri@chuzzlewit.myzen.co.uk>
1965 gropdf was choking on -I flag passed by groff, now uses
1966 these directories to search for included pdfs.
1968 * src/devices/gropdf/gropdf.pl: Handle -I flag, avoid
1971 * src/roff/groff/groff.1.man: Include 'X pdf: pdfpic'
1973 * src/devices/gropdf/gropdf.1.man: Document -I flag
1975 2015-09-10 Bernd Warken <groff-bernd.warken-72@web.de>
1977 * src/roff/grog/subs.pl: fix comments
1979 2015-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
1981 * tmac/troffrc: Add .mso for file `pdfpic.tmac'.
1983 2015-08-28 Bertrand Garrigues <bertrand.garrigues@laposte.net>
1986 - Use only the naming `.section.man' for all man.pages.
1987 - Replace `.man.n' by `.man' only, such that no `.n' is
1989 - For example, the source `groff.7.man' is transformed into
1990 `groff.7' in the same directory and then is by installing just
1991 copied into one of the suitable installed man directory.
1993 2015-08-27 Bernd Warken <groff-bernd.warken-72@web.de>
1995 * tmac/pfdpic.tmac: Add tmac file for macro `PDFPIC'.
1997 * tmac/tmac.am: Add new `pdfpic.tmac' file.
1999 * man/groff_tmac.5.man: Add definition for the new tmac.
2001 2015-08-22 Bernd Warken <groff-bernd.warken-72@web.de>
2003 * all man-pages *.man: Rename man-pages such that the man section
2004 number before the final `.man'.
2006 * all *.am: Include renaming.
2008 * Makefile.am: Reset `.man.n' by `.[157].man.n' with SUFFIXES
2011 2015-08-20 Bernd Warken <groff-bernd.warken-72@web.de>
2013 * Makefile.am: Fix definition of man[157]_MANS.
2015 2015-08-13 Bernd Warken <groff-bernd.warken-72@web.de>
2017 * all *.am: Correct Emacs mode `End:' instead of `End.'.
2019 2015-08-09 Werner LEMBERG <wl@gnu.org>
2021 Revert previous commit, since it doesn't work correctly yet.
2023 2015-08-07 Bernd Warken <groff-bernd.warken-72@web.de>
2025 Add section name to all man-page names.
2027 * Makefile.am: In `install-prefix-man' and `uninstall-prefix-man'
2028 change `sed' commands. Correct saving in man[157]_MANS.
2030 * all *.man in source tree: Rename `manpage.man' to
2031 `manpage.[157].man'.
2033 * all makefile.am in source tree: Add new man-page file name.
2035 2015-08-05 Bernd Warken <groff-bernd.warken-72@web.de>
2037 * Makefile.am, arch/mingw/mingw.am, arch/misc/misc.am,
2038 * contrib/eqn2graph/eqn2graph.am, contrib/grap2graph/grap2graph,
2039 * contrib/pic2graph/pic2graph.am, doc/doc.am,
2040 * font/devX100/devX100.am, font/devX100-12/devX100-12.am,
2041 * font/devX75/devX75.am, font/devX75-12/devX75-12.am,
2042 * font/devascii/devascii.am, font/devcp1047/devcp1047.am,
2043 * font/devdvi/devdvi.am, font/devhtml/devhtml.am,
2044 * font/devlatin1/devlatin1.am, font/devlbp/devlbp.am,
2045 * font/devlj4/devlj4.am, font/devpdf/devpdf.am,
2046 * font/devps/devps.am, font/devutf8/devutf8.am,
2047 * font/scripts/scripts.am, man/man.am,
2048 * src/devices/grodvi/grodvi.am, src/devices/grohtml/grohtml.am,
2049 * src/devices/grolbp/grolbp.am, src/devices/grolj4/grolj4.am,
2050 * src/devices/gropdf/gropdf.am, src/devices/grops/grops.am,
2051 * src/devices/grotty/grotty.am,
2052 * src/include/include.am, src/libs/libbib/libbib.am,
2053 * src/libs/libdriver/libdriver.am, src/libs/libgroff/libgroff.am,
2054 * src/libs/libxutil/libxutil.am, src/preproc/grn/grn.am,
2055 * src/preproc/html/html.am, src/preproc/pic/pic.am,
2056 * src/preproc/preconv/preconv.am, src/preproc/tbl/tbl.am
2057 * src/preproc/refer/refer.am, src/preproc/soelim/soelim.am,
2058 * src/roff/groff/groff.am, src/roff/grog/grog.am,
2059 * src/roff/nroff/nroff.am, src/roff/troff/troff.am,
2060 * src/utils/addftinfo/addftinfo.am,
2061 * src/utils/afmtodit/afmtodit.am, src/utils/hpftodit/hpftodit.am,
2062 * src/utils/indxbib/indxbib.am, src/utils/lkbib/lkbib.am,
2063 * src/utils/lookbib/lookbib.am, src/utils/pfbtops/pfbtops.am,
2064 * src/utils/tfmtodit/tfmtodit.am, src/utils/xtotroff/xtotroff.am,
2066 Add `Last update'. Setup Emacs mode.
2068 2015-07-29 Bernd Warken <groff-bernd.warken-72@web.de>
2070 * src/roff/grog/subs.pl: Add -T for all `grog' output, also using
2071 -Tps when no option -T is given in the arguments.
2073 * src/roff/grog/grog.man: Add information about -T output.
2075 2015-07-23 Bernd Warken <groff-bernd.warken-72@web.de>
2077 * man/groff.man: Add last update. Add link on Wikipedia on groff.
2078 Add link of groff tutorial by Laha.
2080 2015-07-19 Bernd Warken <groff-bernd.warken-72@web.de>
2082 * src/roff/grog/*.pl: Add last update.
2084 * src/roff/grog/subs.pl: Remove call to Perl INC::System::Simple,
2085 use backticks instead.
2087 Reorder some extensions.
2088 Distinguish between .TH at first command for man and later on for
2091 2015-07-01 Peter Bray <pdb_ml@yahoo.com.au>
2093 Fix Savannah bug #44784.
2095 Compatibility Mode rendering of groff manual pages
2097 * m4/groff.m4 (GROFF_WITH_COMPATIBILITY_WRAPPERS): New macro to
2098 implement 'configure' option
2099 '--with-compatibility-wrappers=<value>'. With this option the
2100 user can control how groff compatibility wrappers for
2101 vendor-provided non-GNU macro sets are installed.
2103 * configure.ac: Use new macro GROFF_WITH_COMPATIBILITY_WRAPPERS.
2105 * Makefile.am: Define tmac_*_prefix if 'compatibility_wrappers' is
2108 * tmac/tmac.am: Use 'compatibility_wrappers' to control the
2111 - If set to `no', the groff-provided macro set are installed in
2112 <prefix>/share/groff/<version>/tmac/ with the original macro set
2115 - If set to `yes', the groff-provided macro set are installed in
2116 <prefix>/share/groff/<version>/tmac/ with a prefix of
2117 $(tmac_prefix) (which is usually `g') and the generated
2118 compatibility wrappers are installed in
2119 <prefix>/lib/groff/site-tmac, with the original macro set name.
2121 - If set to `manual', the groff-provided macro set are installed
2122 in <prefix>/share/groff/<version>/tmac/ with the original macro
2123 set name and the generated compatibility wrappers are installed in
2124 <prefix>/lib/groff/site-tmac, with a name of
2125 <macro><wrapper_suffix> (which is usually `-os').
2127 2015-06-17 Werner LEMBERG <wl@gnu.org>
2129 * tmac/tty.tmac: Fix mapping of \[bu] character for -Tutf8.
2131 Problem reported by carsten.kunze@arcor.de.
2133 2015-06-15 Deri James <deri@chuzzlewit.myzen.co.uk>
2135 pdfmom should use $RT_SEP as path separator.
2137 * src/devices/gropdf/gropdf.am: Use @RT_SEP@ as path separator.
2139 * src/devices/gropdf/pdfmom.pl: As above but also fix typo in regex
2142 2015-05-08 Eli Zaretskii <eliz@gnu.org>
2144 [groff] Make relocation really work.
2148 https://lists.gnu.org/archive/html/groff/2015-05/msg00000.html
2150 * src/roff/groff/groff.cpp: Include `relocate.h'.
2151 (main): Use `relocatep'.
2153 2015-05-03 Bertrand Garrigues <bertrand.garrigues@laposte.net>
2155 Fix Savannah bug #44768 (Solaris 10 compatibility issues).
2157 * m4/groff.m4 (GROFF_DIFF_D): new macro to check if `diff' has
2158 option -D, and search for `gdiff' if not (new variable DIFF_PROG
2159 will contain the `diff' program to be used).
2161 * m4/groff.m4 (GROFF_HAVE_TEST_EF_OPTION): new macro to check if
2162 `test' supports the option -ef (created new variable
2163 HAVE_TEST_EF_OPTION).
2165 * m4/groff.m4 (GROFF_BASH): new macro to search for `bash' (new
2166 variable BASH_PROG will contain the full path to `bash' or
2167 `/bin/sh' if `bash' was not found).
2169 * configure.ac: use the 3 new macros defined in m4/groff.m4.
2171 * contrib/gdiffmk/gdiffmk.am: set HAVE_TEST_EF_OPTION, BASH_PROG,
2172 DIFF_PROG in the generated script `gdiffmk'.
2174 * contrib/gdiffmk/gdiffmk.sh:
2175 - Fix incorrect space after '!' in sed script regex.
2176 - `test -ef' is not portable: If `bash' is not available and the
2177 shell does not support `test -ef', the option to pass a third
2178 argument as the output file is disabled.
2179 - Report an error if `diff' does not support -D option.
2180 - GNU diff and Solaris diff support -D, but #ifndef / #endif are
2181 treated differently (GNU adds a '!' in the #endif): modify the
2182 regexs in the sed script accordingly.
2184 2015-05-01 Werner LEMBERG <wl@gnu.org>
2186 * tmac/tmac.am (TMACNORMALFILES): Add `zh.tmac'.
2188 2015-04-30 Darcy SHEN <sadhen1992@gmail.com>
2190 Fix Savannah bug #44941.
2192 * tmac/zh.tmac: New file to support basic Chinese (both simplified
2195 2015-04-22 Deri James <deri@chuzzlewit.myzen.co.uk>
2197 Fix Savannah bug #44891.
2199 * src/devices/gropdf/gropdf.pl: If module Compress::Zlib is not
2200 available fall back to producing uncompressed PDF and output a
2203 2015-04-22 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
2205 Fix Savannah bug #44894.
2207 * tmac/strip.sed: Add a `generated file' warning.
2209 2015-04-21 Deri James <deri@chuzzlewit.myzen.co.uk>
2211 Fix Savannah bug #44890.
2212 Patch by Peter Bray.
2214 * font/devpdf/devpdf.am: Don't use 'find -maxdepth'.
2216 2015-03-07 Ingo Schwarze <schwarze@openbsd.org>
2218 [mdoc] Fix Savannah bug #44733.
2220 Prevent mdoc(7) Bl with trailing -width or -offset from picking up
2223 * tmac/doc.tmac-u (doc-do-Bl-args): When checking whether there is
2224 another argument to a Bl macro, do not inspect the argument list
2225 because it is never cleaned and may contain arguments from previous
2226 macro invocations. Instead, inspect the argument count which is
2229 2015-04-10 Daiki Ueno <ueno@gnu.org>
2231 Fix link error on NetBSD 6.
2233 Reported by carsten.kunze@arcor.de in:
2234 <https://lists.gnu.org/archive/html/groff/2015-04/msg00000.html>.
2235 The problem can also be reproduced if gl_cv_func_wcwidth_works=no
2236 is passed to configure.
2238 * src/preproc/grn/grn.am (grn_LDADD): Change the link order of
2239 libgroff.a and lib/libgnu.a according to dependency.
2240 * src/roff/troff/troff.am (troff_LDADD): Likewise.
2242 2015-04-08 Werner LEMBERG <wl@gnu.org>
2244 Fix Savannah bug #44767.
2245 Patch by Peter Bray.
2247 * src/roff/grog/grog.am (grog): Correctly substitute `grog_dir'.
2249 2015-04-03 Werner LEMBERG <wl@gnu.org>
2251 Fix Savannah bug #44708 (2/2).
2253 Make man pages work in compatibility mode.
2254 Also fix some minor typos.
2256 * contrib/pic2graph/pic2graph.man, man/ditroff.man, man/groff.man,
2257 man/groff_diff.man, man/groff_out.man, man/groff_tmac.man,
2258 man/roff.man, src/devices/grodvi/grodvi.man,
2259 src/devices/grohtml/grohtml.man, src/devices/grolbp/grolbp.man,
2260 src/devices/grolj4/grolj4.man, src/devices/grolj4/lj4_font.man,
2261 src/devices/gropdf/gropdf.man, src/devices/gropdf/pdfmom.man,
2262 src/devices/grops/grops.man, src/devices/grotty/grotty.man,
2263 src/devices/xditview/xditview.man, src/preproc/eqn/eqn.man,
2264 src/preproc/eqn/neqn.man, src/preproc/grn/grn.man,
2265 src/preproc/pic/pic.man, src/preproc/preconv/preconv.man,
2266 src/preproc/refer/refer.man, src/preproc/soelim/soelim.man,
2267 src/preproc/tbl/tbl.man, src/roff/groff/groff.man,
2268 src/roff/grog/grog.man, src/roff/nroff/nroff.man,
2269 src/roff/troff/troff.man, src/utils/addftinto/addftinfo.man,
2270 src/utils/afmtodit/afmtodit.man, src/utils/hpftodit/hpftodit.man,
2271 src/utils/indxbib/indxbib.man, src/utils/lkbib/lkbib.man,
2272 src/utils/lookbib/lookbib.man, src/utils/pfbtops/pfbtops.man,
2273 src/utils/tfmtodit/tfmtodit.man, src/utils/xtotroff/xtotroff.man,
2274 tmac/groff_man.man, tmac/groff_trace.man: Do it.
2276 2015-04-03 Werner LEMBERG <wl@gnu.org>
2278 Fix Savannah bug #44708 (1/2).
2280 * tmac/andoc.tmac (reload_doc, reload_man): Don't use `de1',
2281 otherwise we can't manipulate the compatibility flag within the
2284 * tmac/doc-common-u (Dt): Remove invalid leading whitespace.
2286 2015-03-11 Deri James <deri@chuzzlewit.myzen.co.uk>
2288 * src/devices/gropdf/gropdf.pl: Was not handling the final glyph
2289 correctly in the "standard" fonts which are not embedded. They
2290 actually have 257 glyphs (0-256) not 256 as I'd assumed, so the
2291 remappiing code needs to be applied for them as well as the
2292 embedded downloadable fonts.
2294 2015-03-11 Deri James <deri@chuzzlewit.myzen.co.uk>
2296 * src/devices/gropdf/gropdf.pl: Fix problem remappiing
2297 ellipsis (affects all glyphs > 255).
2299 2015-03-07 Werner LEMBERG <wl@gnu.org>
2301 * tmac/tmac.am (TMACSPECIALFILES): Removed. No longer used.
2303 2015-03-07 Ingo Schwarze <schwarze@openbsd.org>
2305 * tmac/doc-common-u (Dd): Avoid warning `unbalanced .el request'.
2307 2015-02-12 Werner LEMBERG <wl@gnu.org>
2309 Minor fixes due to renaming `groff.texinfo' to `groff.texi'.
2311 * doc/doc.am (SUFFIXES): Update.
2312 * m4/groff.m4 (GROFF_MAKEINFO): Update.
2314 2015-01-30 Bertrand Garrigues <bertrand.garrigues@laposte.net>
2316 Automake migration and Gnulib integration.
2319 - Added gnulib as a git submodule.
2320 - Integrated bootstrap scripts from gnulib.
2321 - Gnulib m4 directory is now in `gnulib_m4', while Gnulib's .c
2322 files are located in `lib'. `gnulib_m4' and `lib' are generated
2326 - Removed Makefiles from the old build system.
2327 - Converted Makefile.in into Makefile.am.
2328 - Converted Makefile.sub files in all directories to a .am file.
2329 - Removed configure, src/include/config.hin (now generated).
2330 - Removed various helper scripts (config.guess, config.rpath...),
2331 now installed by bootstrap in `build-aux'.
2332 - Moved aclocal.m4 to acinclude.m4 (aclocal.m4 is now generated).
2333 - Makefile in non-recursive style.
2334 - Updated INSTALL.REPO (INSTALL is now a symlink to
2335 gnulib/doc/INSTALL, original INSTALL file moved to INSTALL.extra)
2336 - Added (empty) THANKS, AUTHORS files.
2337 - Added a document on the usage of automake in groff in
2340 Additional features:
2341 - Out-of-source build is supported.
2342 - Parallel build is possible (make -j).
2343 - Automatic targets from Automake: `make dist', `make distcheck'.
2344 - 'make check' is available for automatic testing, gdiffmk's test
2345 was plugged to this target.
2346 - Auto-detect if make has builtin variable `RM'.
2348 2015-01-14 Ingo Schwarze <schwarze@openbsd.org>
2350 Fix Savannah bug #43905.
2352 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
2353 * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
2354 double entries for `rk', `lk', `lt', `rt', `rb', and `lb'.
2356 2014-12-16 Werner LEMBERG <wl@gnu.org>
2358 Update Unicode-to-Unicode mapping to version 7.0.0.
2360 * src/libs/libgroff/make-uniuni: Update emitted copyright.
2362 * src/libs/libgroff/uniuni.cpp: Regenerated.
2364 2014-11-29 Werner LEMBERG <wl@gnu.org>
2366 Fix previous commit.
2368 We forgot to test whether the patch works if compiling from
2371 Problem reported by Bertrand Garrigues
2372 <bertrand.garrigues@laposte.net>.
2374 * src/include/lib.h (interpret_lf_args, normalize_for_lf): Move
2376 * src/include/lf.h: This new file.
2378 * src/libs/libgroff/lf.cpp, src/preproc/pic/pic.h,
2379 src/preproc/preconv/preconv.cpp, src/preproc/refer/refer.h,
2380 src/preproc/soelim/soelim.cpp, src/preproc/tbl/table.h: Include
2382 Make `lib.h' the first included header file.
2384 * src/preproc/eqn/eqn.h: Don't include `stringclass.h'.
2385 * src/preproc/eqn/main.cpp: Include `stringclass.h' and `lf.h'.
2387 * src/roff/groff/groff.cpp: Make `lib.h' the first included header
2390 2014-11-10 Eli Zaretskii <eliz@gnu.org>
2392 Improve native Windows port.
2394 This patch fixes two issues.
2396 . Handle backslashes in `.lf' arguments for MSDOS and Windows.
2397 . Fix file name quoting for the groff pipeline.
2399 * src/preproc/soelim/soelim.cpp (do_file):
2400 * src/preproc/refer/refer.cpp (do_file):
2401 * src/preproc/preconv/preconv.cpp (do_file):
2402 * src/preproc/pic/main.cpp (do_file):
2403 * src/preproc/eqn/main.cpp (do_file): Call `normalize_for_lf' to
2404 convert backslashes in the file name being processed to forward
2407 * src/include/lib.h (normalize_for_lf): Add prototype.
2409 * src/preproc/eqn/eqn.h:
2410 * src/preproc/pic/pic.h:
2411 * src/preproc/refer/refer.h:
2412 * src/preproc/tbl/table.h: Include stringclass.h before lib.h.
2414 * src/libs/libgroff/lf.cpp (normalize_for_lf): New function.
2416 * src/roff/groff/groff.cpp: Include stringclass.h before lib.h.
2417 (append_arg_to_string) [_WIN32 && !__CYGWIN__]: Use only "..." for
2418 quoting in native Windows builds.
2420 2014-11-18 Deri James <deri@chuzzlewit.myzen.co.uk>
2422 My commit '3fe78135c9fe666dadffde2a822b0535d8db6feb' introduced
2423 problem in subroutine `TextWid'. Octal char `\nnn' returns width of
2424 4 char string rather than width of single character.
2426 * src/devices/gropdf/gropdf.pl: Change `TextWid' to recognise octal
2427 escaped characters (\nnn).
2429 2014-11-07 Deri James <deri@chuzzlewit.myzen.co.uk>
2433 * src/devices/gropdf/gropdf.pl: Correct Date Format.
2435 2014-11-04 Werner LEMBERG <wl@gnu.org>
2437 * src/libs/gnulib/*: Regenerate autotool files.
2439 2014-11-04 Werner LEMBERG <wl@gnu.org>
2441 Version 1.22.3 released
2442 =======================
2444 * NEWS, README, doc/webpage.ms: Updated.
2446 * doc/texinfo.tex: Updated from `texinfo' repository.
2448 2014-10-29 Bertrand Garrigues <bertrand.garrigues@laposte.net>
2450 * Makefile.in (OTHERDIRS): Mention `afmtodit' first.
2452 Otherwise, some fonts in `devpdf' (`U-*') are not built.
2454 2014-10-26 Eli Zaretskii <eliz@gnu.org>
2455 Werner LEMBERG <wl@gnu.org>
2457 Add Windows `.cmd' wrapper files.
2459 * arch/mingw/*: New files, provided by Eli.
2461 * Makefile.in (make_winscripts, make_install_winscripts,
2462 make_uninstall_winscripts): New target variables.
2463 (MDEFINES): Add them.
2464 (OTHERDIRS): Add `arch/mingw'.
2466 * m4/groff.m4 (GROFF_CMD_FILES): New macro
2467 * configure.ac: Call it.
2468 * configure: Regenerated.
2470 2014-10-23 Bertrand Garrigues <bertrand.garrigues@laposte.net>
2472 Fix `install' and `uninstall' issues.
2474 * contrib/chem/Makefile.sub (install_data): Fix build with option
2475 --with-doc=no passed to configure (target `install_examples'
2476 should not be executed).
2478 * contrib/chem/Makefile.sub (uninstall_sub): `uninstall' failed
2479 if directories to be removed were not present.
2481 * contrib/gpinyin/Makefile.sub (uninstall_sub): Ditto.
2483 * contrib/hdtbl/Makefile.sub (GENFILES): generated files should
2484 depend on the creation of the `examples' directory.
2486 2014-10-23 Daiki Ueno <ueno@gnu.org>
2488 * m4/iconv.m4: Really avoid false detection of non-working iconv.
2490 2014-10-21 Daiki Ueno <ueno@gnu.org>
2492 iconv: avoid false detection of non-working iconv
2494 The INBUF/OUTBUF arguments of iconv can be either 'const char **'
2495 or 'char **'. If CC is g++, the difference causes a compile error
2496 and thus leads to a false detection of non-working iconv.
2497 Reported by Eli Zaretskii and Werner LEMBERG in:
2498 <https://lists.gnu.org/archive/html/bug-gnulib/2014-10/msg00023.html>.
2500 * m4/iconv.m4 (AM_ICONV_LINK): Try all possible argument types of
2501 iconv. Bump serial number.
2503 2014-10-20 Werner LEMBERG <wl@gnu.org>
2505 * src/libs/gnulib/lib/wctype.in.h: Include `config.h'.
2507 Problem reported by Eli Zaretskii <eliz@gnu.org>.
2509 This is a temporary hack to make groff compile with MinGW. After
2510 the switch to an automake infrastructure, together with proper use
2511 of `gnulib', we can safely replace the patched file with a standard
2514 2014-10-19 Doug McIlroy <doug@cs.dartmouth.edu>
2516 Fix Savannah bug #42151.
2518 * src/preproc/eqn/lex.cpp (file_input::read_line): Handle CR/LF.
2519 * src/preproc/pic/pic.cpp (file_input::read_line): Ditto.
2521 2014-10-18 Werner LEMBERG <wl@gnu.org>
2523 [mdoc] Add Darwin version string for OS X 10.10.
2525 * tmac/doc-common (doc-operating-system-Darwin-14.0.0): New string.
2527 * tmac/groff_mdoc.man: Updated.
2529 2014-10-15 Werner LEMBERG <wl@gnu.org>
2531 * doc/webpage.ms: Remove obsolete references to tarballs and diffs.
2533 Reported by Dave Kemper <saint.snit@gmail.com>.
2535 2014-10-15 Colin Watson <cjwatson@debian.org>
2537 Always distribute the parts of groff that require X11.
2539 * Makefile.in (ALLLIBDIRS): Clone from `LIBDIRS', but include
2540 src/devices/libxutil unconditionally.
2541 (ALLPROGDIRS): Clone from `PROGDIRS', but include
2542 src/devices/xditview and src/utils/xtotroff unconditionally.
2543 (DISTDIRS): Use `ALLLIBDIRS' and `ALLPROGDIRS' rather than `LIBDIRS'
2546 2014-10-14 Keith Marshall <keith.d.marshall@ntlworld.com>
2548 Minor update to NEWS for pdfroff.
2550 * NEWS (pdfroff): Note use of PHASE register, and not pdf:href.map,
2551 to choose when to emit toc_relocation control record.
2553 2014-10-13 Keith Marshall <keith.d.marshall@ntlworld.com>
2555 For pdfroff, deduce "--no-toc-relocation" from input stream.
2557 * NEWS: Add notification; document the effect of changes, as recorded
2558 in contrib/pdfmark/ChangeLog.
2560 2014-10-12 Ingo Schwarze <schwarze@openbsd.org>
2562 [mdoc] Support `Mdocdate' CVS keyword substitution.
2563 This fixes Savannah bug #42968.
2565 This feature is used for OpenBSD manuals.
2567 * tmac/doc-common (Dd): Handle `$Mdocdate:' argument.
2569 * tmac/groff_mdoc.man: Document it.
2571 2014-10-12 Ingo Schwarze <schwarze@openbsd.org>
2573 [mdoc] Add `.At III' and `.St -iso8601'.
2574 This fixes Savannah bug #42971.
2576 * tmac/doc-syms: Add corresponding version strings.
2578 * tmac/groff_mdoc.man: Synchronize.
2580 2014-10-12 Ingo Schwarze <schwarze@openbsd.org>
2582 [mdoc] Update operating system release numbers.
2583 This fixes Savannah bug #42969.
2585 * tmac/doc-common: Update NetBSD, OpenBSD, FreeBSD, and DragonFly
2588 * tmac/groff_mdoc.man: Synchronize.
2590 2014-10-12 Werner LEMBERG <wl@gnu.org>
2592 * doc/Makefile.in: Use `LC_ALL' in addition to `LANG'.
2593 Suggested by Steffen.
2595 2014-10-12 Werner LEMBERG <wl@gnu.org>
2597 * doc/groff.texinfo: Make PDF version compilable with makeinfo 5.x.
2599 makeinfo 5.x handles macro expansion better, which changes the way
2600 how an \LE macro (for a less-than sign) has to be defined. However,
2601 since we can't be sure that the latest version of `texinfo.tex' gets
2602 used with makeinfo 5.x only, we would have to support both 4.x and
2603 5.x. No idea whether this is possible at all... For this reason,
2604 we now simply use @value directly instead of wrapping it into a
2605 macro, avoiding any issues.
2607 2014-10-12 Werner LEMBERG <wl@gnu.org>
2609 [doc] Protect against picky `sed' programs.
2610 Problem reported by Axel Kielhorn <tex@axelkielhorn.de>.
2612 * doc/Makefile.in (GROFF_BIN_PATH, GROFF): Add `LANG=' to avoid
2613 interpretation of non-ASCII characters by sed.
2615 2014-10-12 Michail Vidiassov <master@iaas.msu.ru>
2617 * tmac/doc-common: Add new Darwin versions.
2619 2014-10-12 Werner LEMBERG <wl@gnu.org>
2621 * doc/groff.texinfo: s/which/that/ where apropriate.
2623 2014-10-12 Werner LEMBERG <wl@gnu.org>
2625 * doc/groff.texinfo: Various minor fixes.
2627 Most of those glitches have been found by comparing the info output
2628 from makeinfo 4.13 and the current SVN development version (of
2631 2014-10-12 Werner LEMBERG <wl@gnu.org>
2633 * doc/groff.texinfo: Improve indexing.
2635 Change @DefXXXItem and @DefXXXListEnd macros to not insert an index
2636 entry. New macro variants with a trailing `x' (like `@DefreqItemx')
2639 Update macro calls where necessary.
2641 2014-10-12 Werner LEMBERG <wl@gnu.org>
2643 [doc] Improve call to generation of `groff.pdf'.
2644 Problem reported by Axel Kielhorn <tex@axelkielhorn.de>.
2646 Since `groff.texinfo' contains latin-1 characters, some sed
2647 implementations (like the one used on Mac OS 10.8) fail if called
2648 with the wrong locale. Basically, this is a `texi2dvi' bug, but we
2649 can set `LANG' by ourselves to improve the situation.
2651 * doc/Makefile.in (.texinfo.dvi, .texinfo.pdf): Set `LANG'
2652 environment variable to empty string.
2654 2014-10-12 Werner LEMBERG <wl@gnu.org>
2656 [doc] Correctly handle `MAKEINFO' environment variable.
2657 Bug introduced in commit from 2014-03-29.
2659 * m4/groff.m4 (GROFF_MAKEINFO): Don't set MAKEINFO to empty string
2660 before actually testing it.
2662 * configure: Regenerated.
2664 2014-10-11 Bertrand Garrigues <bertrand.garrigues@laposte.net>
2666 Fix an issue on `make dist'.
2668 In order to make the tarball, `make dist' copies src/libs/gnulib
2669 directories into the `tmp' directory without the `.deps'
2670 directories, causing the failure of `make distclean' in
2671 tmp/src/libs/gnulib. Forcing a call to `config.status' recreates
2672 the `.deps' directories.
2674 * Makefile.in (dist): For gnulib, call `config.status' before `make
2677 2014-10-11 Bernd Warken <groff-bernd.warken-72@web.de>
2679 * src/roff/grog/*.pl: Remove call from `IPC', use normal system
2682 2014-10-11 Guillem Jover <guillem@hadrons.org>
2684 Add support for various BSD versions.
2686 * tmac/doc-common: Add new FreeBSD and DragonFly versions.
2688 2014-10-11 Keith Marshall <keith.d.marshall@ntlworld.com>
2690 Refactor .psbb request handling code.
2692 * src/roff/troff/input.cpp (do_ps_file): Reimplement it, using...
2693 (psbb_locator): ...this new locally declared and implemented class;
2694 its constructor replaces all `do_ps_file()' capability, delegating
2695 to other class methods, as appropriate.
2696 (assign_registers): Encapsulate it, as a `psbb_locator' method.
2697 (ps_get_line): Likewise, also renaming it to become...
2698 (get_line): ...this class method; its internally defined `lastc'
2699 static variable also becomes a non-static class member variable.
2700 (PSBB_RANGE_IS_BAD, PSBB_RANGE_IS_SET, PSBB_RANGE_AT_END): New
2701 manifest constants; define them. They are now used by...
2702 (parse_bounding_box): ...this function, now also encapsulated as
2703 a `psbb_locator' class method, to convey parsing status.
2704 (bounding_box): Struct obsoleted by `psbb_locator'; delete it.
2705 (ps_bbox_request): Delegate to `psbb_locator'.
2707 2014-10-11 Werner LEMBERG <wl@gnu.org>
2711 * NEWS: More updates.
2713 * REVISION: Set to 3.
2715 * doc/groff.texinfo: Update version and year.
2717 * configure: Regenerated.
2719 * src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
2721 2014-10-11 Werner LEMBERG <wl@gnu.org>
2723 Update generic GNU files to recent versions.
2725 * INSTALL.gen, config.guess, config.rpath, config.sub,
2726 contrib/groff_filenames/Makefile.sub, doc/fdl.texi, doc/texinfo.tex,
2727 doc/txi-en.tex, install-sh, m4/ax_prog_perl_version.m4,
2728 m4/codeset.m4, m4/fcntl-o.m4, m4/glibc21.m4, m4/iconv.m4,
2729 m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4, m4/localcharset.m4,
2730 src/include/localcharset.h, src/libs/gnulib/Makefile.in,
2731 src/libs/gnulib/aclocal.m4, src/libs/gnulib/build-aux/compile,
2732 src/libs/gnulib/build-aux/config.guess,
2733 src/libs/gnulib/build-aux/config.sub,
2734 src/libs/gnulib/build-aux/depcomp,
2735 src/libs/gnulib/build-aux/install-sh,
2736 src/libs/gnulib/build-aux/snippet/arg-nonnull.h,
2737 src/libs/gnulib/build-aux/snippet/c++defs.h,
2738 src/libs/gnulib/build-aux/snippet/warn-on-use.h,
2739 src/libs/gnulib/configure, src/libs/gnulib/lib/Makefile.in,
2740 src/libs/gnulib/lib/config.charset, src/libs/gnulib/lib/intprops.h,
2741 src/libs/gnulib/lib/localcharset.c,
2742 src/libs/gnulib/lib/localcharset.h, src/libs/gnulib/lib/ref-add.sin,
2743 src/libs/gnulib/lib/ref-del.sin, src/libs/gnulib/lib/stdbool.in.h,
2744 src/libs/gnulib/lib/stddef.in.h, src/libs/gnulib/lib/streq.h,
2745 src/libs/gnulib/lib/unitypes.in.h,
2746 src/libs/gnulib/lib/uniwidth.in.h,
2747 src/libs/gnulib/lib/uniwidth/cjk.h,
2748 src/libs/gnulib/lib/uniwidth/width.c, src/libs/gnulib/lib/verify.h,
2749 src/libs/gnulib/lib/wchar.in.h, src/libs/gnulib/lib/wctype-h.c,
2750 src/libs/gnulib/lib/wctype.in.h, src/libs/gnulib/lib/wcwidth.c,
2751 src/libs/gnulib/m4/00gnulib.m4, src/libs/gnulib/m4/Makefile.in,
2752 src/libs/gnulib/m4/codeset.m4, src/libs/gnulib/m4/configmake.m4,
2753 src/libs/gnulib/m4/extensions.m4, src/libs/gnulib/m4/fcntl-o.m4,
2754 src/libs/gnulib/m4/glibc21.m4, src/libs/gnulib/m4/gnulib-tool.m4,
2755 src/libs/gnulib/m4/inttypes-pri.m4,
2756 src/libs/gnulib/m4/localcharset.m4, src/libs/gnulib/m4/longlong.m4,
2757 src/libs/gnulib/m4/onceonly.m4, src/libs/gnulib/m4/wchar_t.m4,
2758 src/libs/gnulib/m4/wint_t.m4, src/libs/libgroff/config.charset,
2759 src/libs/libgroff/localcharset.c, src/libs/libgroff/ref-add.sin,
2760 src/libs/libgroff/ref-del.sin, src/preproc/refer/refer.man: Do it.
2762 2014-10-11 Werner LEMBERG <wl@gnu.org>
2764 * NEWS, MANIFEST: Updated.
2766 2014-10-11 Werner LEMBERG <wl@gnu.org>
2768 * Makefile.in (OTHERDIRS, NOMAKEDIRS): Remove `ideal' references.
2770 2014-10-10 Bernd Warken <groff-bernd.warken-72@web.de>
2772 * contrib/gideal: Temporarily remove this directory, because the
2773 documentation and the preprocessor are not yet finished for
2776 2014-10-10 Werner LEMBERG <wl@gnu.org>
2778 * Makefile.in (dist): Clean up `src/libs/gnulib'.
2780 2014-10-10 Werner LEMBERG <wl@gnu.org>
2782 * doc/webpage.ms: Updates.
2784 The README and NEWS sections are not yet synchronized, though.
2786 2014-10-09 Ingo Schwarze <schwarze@openbsd.org>
2788 * Makefile.in: Let `clean' and `distclean' descend into gnulib.
2790 This fixes Savannah bug #42970.
2792 2014-10-02 Bertrand Garrigues <bertrand.garrigues@laposte.net>
2794 Set default X11 resources dir to `$prefix/lib/X11/app-defaults'.
2796 Previously, X11 resources for gxditview were installed in
2797 `/usr/X11/lib/X11/app-defaults', no matter which prefix was set.
2799 Now, gxditview resources are installed in
2800 `appresdir=$prefix/lib/X11/app-defaults'. If `appresdir' is not a
2801 standard X11 resource directory, the environment variable
2802 `XFILESEARCHPATH' should be set to this path.
2804 The behaviour of `--with-appresdir' is unchanged: This option can
2805 still be used to set `appresdir', and its value will not be modified
2808 * m4/groff.m4 (GROFF_APPRESDIR_DEFAULT): Implement new behaviour.
2809 Fix detection app-defaults location on the system.
2810 (GROFF_APPRESDIR_CHECK): Updated.
2812 * configure.ac: Improve output of configuration.
2813 * configure: Regenerated.
2817 2014-09-27 Werner LEMBERG <wl@gnu.org>
2819 Set `transparent' flag for `\[cq].
2820 Problem reported by Dave Kemper <saint.snit@gmail.com>.
2822 * src/roff/troff/input.cpp (init_charset_table): Do it.
2824 * doc/groff.texinfo (Sentences, Using Symbols), man/groff_diff.man:
2827 2014-09-25 Bernd Warken <groff-bernd.warken-72@web.de>
2829 * src/roff/grog/*.pl: Program more reasonable subs (functions).
2830 Repair details in many places.
2832 2014-09-24 Keith Marshall <keith.d.marshall@ntlworld.com>
2834 Refactor psbb line input function; avoid a buffer overrun.
2836 * src/roff/troff/input.cpp (ps_get_line): Declare it as `static'.
2837 Refactor, to avoid the overhead of character look-ahead and push-back
2838 on CR stream input. Add new `dscopt' parameter, in place of internal
2839 `err' variable; update all call references, passing value of...
2840 (DSC_LINE_MAX_ENFORCE): ...this new manifest constant; define it.
2841 (DSC_LINE_MAX_IGNORED): Likewise; currently unused, but intended for
2842 future use as an alternative to `DSC_LINE_MAX_ENFORCE'.
2843 (DSC_LINE_MAX_CHECKED): New manifest constant; used internally only.
2844 (PS_LINE_MAX): Manifest constant, renamed for notional consistency...
2845 (DSC_LINE_MAX): ...to this; defined value remains as 255.
2846 (do_ps_file): Increase stack allocation for `buf' char array; former
2847 allocation of PS_LINE_MAX (now DSC_LINE_MAX) bytes exposed a potential
2848 buffer overrun, after reading DSC_LINE_MAX bytes; two additional bytes
2849 are required, to accommodate a terminating LF and NUL. Add `dscopt'
2850 parameter, with value `DSC_LINE_MAX_ENFORCE', in each of three calls
2853 2014-09-20 Bernd Warken <groff-bernd.warken-72@web.de>
2855 * src/roff/groff/Makefile.sub: Remove too much deleting while
2858 2014-09-20 Bernd Warken <groff-bernd.warken-72@web.de>
2860 * `Makefile.sub' in the whole groff source tree: Add $(RM) and
2861 change all `rm -f'. Add directory test before `rmdir'.
2863 2014-09-20 Bernd Warken <groff-bernd.warken-72@web.de>
2865 * Man-pages (*.man) in the whole groff source tree: Improve
2866 documents by adding \[co], \[cq], \[aq] instead of ` or ' and use
2867 also \[co] as long as it makes sense. Remove \[en] in the years
2868 date in order to allow the automatic license year increasing.
2870 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2872 * <groff-source-top>/*: Improve the license information and Emacs
2875 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2877 * tmac/*: Improve the license information and Emacs setup.
2879 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2881 * src/utils/xtotroff/*: Improve the license information and Emacs
2884 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2886 * src/utils/tfmtodit/*: Improve the license information and Emacs
2889 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2891 * src/utils/pfbtops/*: Improve the license information and Emacs
2894 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2896 * src/utils/lookbib/*: Improve the license information and Emacs
2899 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2901 * src/utils/lkbib/*: Improve the license information and Emacs
2904 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2906 * src/utils/indxbib/*: Improve the license information and Emacs
2909 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2911 * src/utils/hpftodit/*: Improve the license information and Emacs
2914 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2916 * src/utils/afmtodit/*: Improve the license information and Emacs
2919 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2921 * src/utils/addftinfo/*: Improve the license information and Emacs
2924 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2926 * src/roff/troff/*: Improve the license information and Emacs
2929 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2931 * src/roff/nroff/*: Improve the license information and Emacs
2934 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2936 * src/roff/grog/*: Improve the license information and Emacs
2939 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2941 * src/roff/groff/*: Improve the license information and Emacs
2944 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2946 * src/preproc/tbl/*: Improve the license information and Emacs
2949 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2951 * src/preproc/soelim/*: Improve the license information and Emacs
2954 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2956 * src/preproc/refer/*: Improve the license information and Emacs
2959 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2961 * src/preproc/preconv/*: Improve the license information and Emacs
2964 2014-09-18 Bernd Warken <groff-bernd.warken-72@web.de>
2966 * src/preproc/pic/*: Improve the license information and Emacs
2969 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
2971 * src/preproc/html/*: Improve the license information and Emacs
2974 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
2976 * src/preproc/grn/*: Improve the license information and Emacs
2979 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
2981 * src/preproc/eqn/*: Improve the license information and Emacs
2984 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
2986 * src/libs/libxutil/*: Improve the license information and Emacs
2989 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
2991 * src/libs/libgroff/*: Improve the license information and Emacs
2994 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
2996 * src/libs/libdriver/*: Improve the license information and Emacs
2999 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3001 * src/libs/libbib/*: Improve the license information and Emacs
3004 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3006 * src/libs/gnulib/*: Improve the license information and Emacs
3007 setup. The former run of that was not yet complete.
3009 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3011 * src/libs/gnulib/*: Improve the license information and Emacs
3014 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3016 * src/include/*: Improve the license information and Emacs setup.
3018 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3020 * src/devices/grotty/*: Improve the license information and Emacs
3023 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3025 * src/devices/grops/*: Improve the license information and Emacs
3028 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3030 * src/devices/gropdf/*: Improve the license information and Emacs
3033 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3035 * src/devices/grolj4/*: Improve the license information and Emacs
3038 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3040 * src/devices/grolbp/*: Improve the license information and Emacs
3043 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3045 * src/devices/grohtml/*: Improve the license information and Emacs
3048 2014-09-17 Bernd Warken <groff-bernd.warken-72@web.de>
3050 * src/devices/grodvi/*: Improve the license information and Emacs
3053 2014-09-15 Bernd Warken <groff-bernd.warken-72@web.de>
3055 * man/*.man: Improve the license information (definiton of .co and
3058 2014-09-15 Bernd Warken <groff-bernd.warken-72@web.de>
3060 * m4/*.m4: Improve the license information without changing the
3061 related information.
3063 2014-09-06 Werner LEMBERG <wl@gnu.org>
3067 * m4/groff.m4: Fix typo.
3068 s/refer_dir/referdir/ for consistency.
3070 * configure: Regenerated.
3072 * Makefile.in: s/refer_dir/referdir/ for consistency.
3074 * src/preproc/refer/Makefile.sub (install_data, uninstall_sub):
3075 Don't handle binaries or manpages; this is handled elsewhere
3076 already. Right now, only install and uninstall the `refer' data
3079 2014-09-04 Bernd Warken <groff-bernd.warken-72@web.de>
3081 * configure: When I change the `configure' file manually, the
3082 refer data dir is created. But when running aclocal/autoreconf,
3083 the dir is again not created.
3085 2014-09-04 Bernd Warken <groff-bernd.warken-72@web.de>
3087 * m4/groff.m4, configure.ac, Makefile.in,
3088 src/preproc/refer/Makefile.sub: Add information to create a refer
3089 data directory by installing. That dir is not yet generated
3092 2014-09-05 Werner LEMBERG <wl@gnu.org>
3094 Regenerate configure files with correct parameters.
3096 * configure.ac: Comment out m4 macros still missing.
3098 * aclocal.m4, config.hin, configure: Regenerated.
3100 2014-09-04 Bernd Warken <groff-bernd.warken-72@web.de>
3102 * some files in doc: Change the copying years to package form.
3103 But many files have strange or no copying information.
3105 2014-09-04 Bernd Warken <groff-bernd.warken-72@web.de>
3107 * contrib/pic2graph/Makefile.sub: Change the copying years to
3110 2014-09-04 Bernd Warken <groff-bernd.warken-72@web.de>
3112 * FDL: Replace the changed actual file by the original `fdl.txt'
3113 from <http://www.gnu.org/licenses/>.
3115 2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
3117 * contrib/grap2graph/Makefile.sub: Remove `Last updates' from all
3118 files. Add and repair copyright. Write Emacs setup.
3120 2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
3122 * src/preproc/refer/refer.man: Include more distances for better
3123 reading of the source file. Add `%' for documentation of
3124 bibliographic database lines.
3126 2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
3128 * tree contrib/eqn2graph: Remove `Last updates' from all files.
3129 Add and repair copyright. Write Emacs setup.
3131 2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
3133 * tree `arch': Remove `Last updates' from all files. Add
3134 and repair copyright. Write Emacs seetup.
3136 2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
3138 * <groff top source directory>: Remove `Last updates' from all
3139 files. Only `timestamp' values are left.
3141 2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
3143 * <groff top source directory>: Repair copyright years from
3144 starting year to actual year for almost all files.
3146 2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
3148 * autom4te.cache: Remove that tree after running
3149 `autoconf' or `autoreconf'.
3151 * .gitignore: Add all files within `autom4te.cache' to get rid of
3152 them automatically. Not sure so far, if this works.
3154 2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
3156 * BUG-REPORT, FDL, INSTALL*, MANIFEST, MORE.STUFF, NEWS, PROBLEMS,
3157 PROJECTS, README*: Remove Emacs settings for coding style. Change
3158 copyright years from 1989-2014 and 1993-2014 into 2014 only.
3160 2014-09-03 Bernd Warken <groff-bernd.warken-72@web.de>
3162 * configure.ac, Makefile.in: Try to use /usr/local/share directory
3163 for `refer'. Does not work so far.
3165 2014-09-02 Bernd Warken <groff-bernd.warken-72@web.de>
3167 * All Makefile*: Add Emacs settings and lacking licenses.
3169 2014-09-02 Bernd Warken <groff-bernd.warken-72@web.de>
3171 * BUG-REPORT, FDL, INSTALL*, MANIFEST, MORE.STUFF, NEWS, PROBLEMS,
3172 PROJECTS, README*: Add Emacs settings.
3174 2014-09-02 Bernd Warken <groff-bernd.warken-72@web.de>
3176 * PROJECTS: Add TODO for `refer'.
3178 2014-08-31 Bernd Warken <groff-bernd.warken-72@web.de>
3180 * man/roff.man (roff.7): Replace Heirloom links to more actual
3181 places. Create macro definitions for authors (.au) and copying
3184 2014-08-30 Bernd Warken <groff-bernd.warken-72@web.de>
3186 * man/groff_font.man (groff_font.7): Restructure
3187 file format, but keep content.
3189 2014-08-30 Bernd Warken <groff-bernd.warken-72@web.de>
3191 * src/utils/addftinfo/addftinfo.man (addftinfo.1): Restructure
3192 file format, but keep content.
3194 2014-08-30 Bernd Warken <groff-bernd.warken-72@web.de>
3196 * man/roff.man (roff.7): Repair documentation of heirloom.
3198 2014-08-28 Bernd Warken <groff-bernd.warken-72@web.de>
3200 * src/roff/grog/grog.pl, src/roff/grog/subs.pl: Add `gpinyin'.
3202 * src/roff/grog/grog.man: Restructure `SEE ALSO'.
3204 2014-08-28 Bernd Warken <groff-bernd.warken-72@web.de>
3206 * contrib/gpinyin: Make it runnable, version 1.0.0.
3208 2014-08-20 Bernd Warken <groff-bernd.warken-72@web.de>
3210 * groff.7 (man/groff.man): Add further preprocessor regions.
3211 Repair documentation for Unicode.
3213 2014-08-08 Bernd Warken <groff-bernd.warken-72@web.de>
3215 * configure.ac, configure, Makefile.in, m4/groff.m4: Install paths
3216 for implementing contrib/gpinyin's sub.pl.
3218 2014-08-06 Bernd Warken <groff-bernd.warken-72@web.de>
3220 * man/groff_char.man: Add description for displaying `uxxxx' as
3223 2014-08-05 Bernd Warken <groff-bernd.warken-72@web.de>
3225 * man/groff.man (groff.7): Replace \[rs] to \e as far as useful.
3227 2014-08-05 Bernd Warken <groff-bernd.warken-72@web.de>
3229 * man/groff.man (groff.7): Add documentation for the Unicode
3230 escapes \[u....] and \[u.....].
3232 2014-08-02 Bernd Warken <groff-bernd.warken-72@web.de>
3234 * src/roff/groff/groff.man: Improve documentation for `utf8'.
3236 2014-08-01 Bernd Warken <groff-bernd.warken-72@web.de>
3238 * contrib/gpinyin: New preprocessor for having the European-style
3239 writing `pinyin' for the Chinese language.
3241 2014-07-22 Bernd Warken <groff-bernd.warken-72@web.de>
3243 * groff.7 (man/groff.man): Add some useful special characters.
3245 2014-07-21 Bernd Warken <groff-bernd.warken-72@web.de>
3247 * tbl.1 (src/preproc/tbl/tbl.man): Add simple examples.
3249 2014-07-12 Bernd Warken <groff-bernd.warken-72@web.de>
3251 * groff.7 (man/groff.man): Add section about underlining.
3253 2014-07-07 Bernd Warken <groff-bernd.warken-72@web.de>
3255 * man/groff.man (groff.7): Add some basic special characters
3258 2014-07-06 Bernd Warken <groff-bernd.warken-72@web.de>
3260 * grog, groffer: Minor repairing.
3262 2014-07-06 Bernd Warken <groff-bernd.warken-72@web.de>
3264 * src/roff/grog/subs.pl: Repair ligatures handling.
3266 2014-07-06 Bernd Warken <groff-bernd.warken-72@web.de>
3268 * src/roff/grog/subs.pl: Correct handling of standard input.
3270 2014-07-06 Bernd Warken <groff-bernd.warken-72@web.de>
3272 * src/roff/groff/groff.man: Minor correction.
3274 2014-07-06 Bernd Warken <groff-bernd.warken-72@web.de>
3276 * src/roff/grog/*: Minor corrections.
3278 2014-07-05 Bernd Warken <groff-bernd.warken-72@web.de>
3280 * src/roff/groff/groff.cpp: In `usage()' and `help()' order
3283 2014-07-05 Bernd Warken <groff-bernd.warken-72@web.de>
3285 * grog.pl, subs.pl: Heavily improve argument handling and `groff'
3286 command line creation.
3288 2014-07-05 Bernd Warken <groff-bernd.warken-72@web.de>
3290 * grog.man: Make file runnable for `doclifter'.
3292 2014-07-05 Bernd Warken <groff-bernd.warken-72@web.de>
3294 * grog.man: Replace all .de by copying. Restrict all .char names
3297 2014-07-04 Bernd Warken <groff-bernd.warken-72@web.de>
3299 * grog.man: Minor optimization.
3301 2014-07-04 Bernd Warken <groff-bernd.warken-72@web.de>
3303 * grog.man: Transform in classical man-page style.
3305 2014-07-04 Bernd Warken <groff-bernd.warken-72@web.de>
3307 * grog.pl, subs.pl: Add option `--warnings'. Rename
3308 `--with_ligatures' to `--ligatures', but keep `--with_ligatures'
3311 2014-07-03 Bernd Warken <groff-bernd.warken-72@web.de>
3313 * Makefile.in: Remove directories `groffer/perl' and
3314 `groffer.shell', which don't exist any more.
3316 2014-07-03 Bernd Warken <groff-bernd.warken-72@web.de>
3318 * PROJECTS: Mention the start of the `ideal' project.
3320 2014-06-21 Ingo Schwarze <schwarze@openbsd.org>
3322 * Makefile.in: Unbreak make install:
3323 Add missing gideal dirs to the dist tarball.
3325 2014-06-19 Bernd Warken <groff-bernd.warken-72@web.de>
3327 * src/roff/groff/groff.man: Correct the collection of the
3328 installation directories.
3330 2014-06-19 Bernd Warken <groff-bernd.warken-72@web.de>
3332 * src/roff/groff/groff.man: Add the installation file and
3333 directory positions of the whole package with @...@.
3335 2014-06-19 Bernd Warken <groff-bernd.warken-72@web.de>
3337 * man/groff.man, src/roff/groff/groff.man: Add file position
3338 before and after installation and the latest update.
3340 2014-06-18 Bernd Warken <groff-bernd.warken-72@web.de>
3342 * src/roff/grog/grog.pl: Corrections about `require' and `our'
3345 * src/roff/grog/subs.pl: In the `groff' output command line, split
3346 the single character options collections into different
3347 1-character options, each with a leading minus `-'..
3348 2014-06-20 Bernd Warken <groff-bernd.warken-72@web.de>
3350 * src/roff/grog/subs.pl: Repair call of `push'.
3352 2014-06-18 Bernd Warken <groff-bernd.warken-72@web.de>
3354 * src/roff/grog/subs.pl: Minor correction at `do_first_line'.
3356 2014-06-18 Bernd Warken <groff-bernd.warken-72@web.de>
3358 * src/roff/grog/subs.pl: Adjust for first lines with non-preproc
3359 and not-tmac names to be ignored.
3361 2014-06-18 Bernd Warken <groff-bernd.warken-72@web.de>
3363 * src/roff/grog/grog.pl, src/roff/grog/subs.pl: Add new first line
3364 of roff files with the names of the needed preprocessors and the
3365 actual tmac, see 2014-06-17 Ulrich Lauther. Replace the
3366 word `ideal' by `gideal', when the preprocessor is meant.
3368 2014-06-18 Bernd Warken <groff-bernd.warken-72@web.de>
3370 * src/roff/grog/Makefile.sub: Add $(RM).
3372 * src/roff/grog/grog.pl: Remove call to perl_test.pl. `require
3373 5.6;' is enough as Perl test.
3375 * src/roff/grog/perl_test.pl: Remove this file.
3377 2014-06-18 Bernd Warken <groff-bernd.warken-72@web.de>
3379 * ChangeLog: Add Emacs-mode and a separator for the license.
3381 2014-06-17 Ulrich Lauther <ulrich.lauther@t-online.de>
3383 * grog: Invent new first comment line of roff files with long
3384 names of needed preprocessors and the tmac.
3386 2014-06-17 Bernd Warken <groff-bernd.warken-72@web.de>
3388 * src/roff/grog/subs.pl: Correct handling of option `-J' for
3391 2014-06-17 Bernd Warken <groff-bernd.warken-72@web.de>
3393 * src/roff/groff/groff.cpp, src/roff/groff/pipeline.h,
3394 * src/roff/grog/subs.pl: Add `groff' option `-J' for `gideal'.
3396 2014-06-16 Bernd Warken <groff-bernd.warken-72@web.de>
3398 * src/roff/grog/subs.pl: Remove too early listing of 3 `groff'
3399 preprocessors options: gideal, glilypond, gperl.
3401 2014-06-16 Bernd Warken <groff-bernd.warken-72@web.de>
3403 * contrib/gideal: New project for installing `ideal' for `groff'.
3405 * Makefile.in: Add `gideal' for `OTHERDIRS'.
3407 2014-06-15 Bernd Warken <groff-bernd.warken-72@web.de>
3409 * src/roff/grog/grog.pl, src/roff/grog/subs.pl: Repair argument
3410 handling for output `groff' line.
3412 2014-06-15 Bernd Warken <groff-bernd.warken-72@web.de>
3414 * src/roff/grog/grog.pl, src/roff/grog/grog.man: Correct and add
3415 the documentation for filespec options.
3417 2014-06-14 Bernd Warken <groff-bernd.warken-72@web.de>
3419 * src/roff/grog/subs.pl: Activate handling of `--run', such that
3420 now the generated `groff' command line can run.
3422 2014-06-14 Bernd Warken <groff-bernd.warken-72@web.de>
3424 * src/roff/grog/subs.pl: Repair handling of filespec arguments.
3426 2014-06-12 Bernd Warken <groff-bernd.warken-72@web.de>
3428 * src/roff/grog/grog.pl, src/roff/grog/subs.pl: Add testing
3429 methods of Ralph Corderoy's `grog.sh' of 2006. Add primary usage
3430 of file name extensions.
3432 2014-06-10 Bernd Warken <groff-bernd.warken-72@web.de>
3434 * src/roff/grog/grog.pl: Totally rewrite the `grog' version,
3435 starting at the last stable version. Write many parts as `sub'
3438 * src/roff/grog/subs.pl: New file by splitting the src file
3439 `grog.pl', such that all functions get into the new file
3442 * src/roff/grog/Makefile.sub: Add file `subs.pl', which goes into
3445 2014-06-03 James Cloos <cloos@jhcloos.com>
3447 * src/roff/grog/grog.pl: The errors with `ligatures' come also
3448 from `TeX GYRE' fonts. Print this information, when `grog' should
3449 work with the `pdf' device.
3451 2014-06-02 Bernd Warken <groff-bernd.warken-72@web.de>
3453 * src/roff/grog/grog.pl: The `grog' version of yesterday has many
3454 bugs. So reinstall an old version of `grog'.
3456 2014-06-01 Bernd Warken <groff-bernd.warken-72@web.de>
3458 * src/roff/grog/Makefile.sub: Remove changing of first line
3461 2014-06-01 Bernd Warken <groff-bernd.warken-72@web.de>
3463 * src/roff/grog/grog.pl: Remove `$Sp' mostly. Reorder script.
3464 Check and repair requests. Add final character `$' to many
3467 2014-06-01 Bernd Warken <groff-bernd.warken-72@web.de>
3469 * man/roff.man: Move .TH at the beginning.
3471 2014-05-29 Bernd Warken <groff-bernd.warken-72@web.de>
3473 * man/groff.man: In special characters, add the mentioning of the
3474 `groff' writing `\[xy]'.
3476 2014-05-27 Bernd Warken <groff-bernd.warken-72@web.de>
3478 * man/groff_char.man: Finish notes in all tables.
3480 2014-05-26 Bernd Warken <groff-bernd.warken-72@web.de>
3482 * man/groff_char.man: Add notes in some tables, more will come.
3484 2014-05-26 Bernd Warken <groff-bernd.warken-72@web.de>
3486 * src/roff/grog/grog.pl: Add further first line characters for
3487 single character `groff' options.
3489 * src/roff/grog/grog.man: make generated options more readable.
3491 2014-05-26 Bernd Warken <groff-bernd.warken-72@web.de>
3493 * src/roff/grog/grog.pl: Add detection of `.\" [eprt]' as first
3494 line to `grog'. Change usage of `$Sp' to reasonable efforts in
3497 * src/roff/grog/grog.man, man/groff_char.man: Add website for
3498 license text, not only the postal address.
3500 2014-04-03 Steffen Nurpmeso <sdaoden@yandex.com>
3502 * */Makefile.*: Path quoting fixes, whitespace, formatting.
3504 Remove many quotes (and introduce a few as additional guards)
3505 since groff's build system is generally not set up to properly
3506 handle paths that need quoting.
3508 2014-04-03 Steffen Nurpmeso <sdaoden@yandex.com>
3510 * Makefile.comm (extraclean): Don't delete `old'.
3512 The rule calling `rm -f' was originally thought to remove private,
3513 temporary files. However, we now have a subdirectory called `old'
3514 in `fonts/devps' that may not be removed, and trying so now causes
3515 an error because we no longer ignore the returned error code of
3518 2014-04-03 Steffen Nurpmeso <sdaoden@yandex.com>
3520 * Makefile.in (OTHERDIRS): Fix directory order.
3522 This has been accidentally broken in commit 51476bee from
3525 2014-04-03 Steffen Nurpmeso <sdaoden@yandex.com>
3527 * src/devices/gropdf/pdfmom.pl: Fix perl(1) warning.
3529 2014-03-30 Werner LEMBERG <wl@gnu.org>
3531 * configure: Regenerated.
3533 2014-03-30 Steffen Nurpmeso <sdaoden@yandex.com>
3535 * */Makefile.*: Put straight error-prevention prefixes for `rm'.
3537 2014-03-30 Steffen Nurpmeso <sdaoden@yandex.com>
3539 `uninstall' target: Avoid spurious and misleading error messages.
3541 * Makefile.comm (uninstall_dev): Improve.
3543 * font/devpdf/Makefile.sub (install_data): Remove superfluous `rm'.
3544 (uninstall_sub): Improve.
3546 * src/roff/groff/Makefile.sub (uninstall_sub): Fix.
3548 2014-03-30 Steffen Nurpmeso <sdaoden@yandex.com>
3550 Fixes for `uninstall' target.
3552 * Makefile.in (uninstall_dirs): Use `DESTDIR'.
3554 * src/libs/libgroff/Makefile.sub (uninstall_charset_data): Typo.
3556 * src/roff/groff/Makefile.sub (uninstall_sub): Typo.
3558 * src/roff/grog/Makefile.sub (uninstall_sub): Minor.
3560 2014-03-30 Steffen Nurpmeso <sdaoden@yandex.com>
3562 * src/roff/grog/Makefile.sub (install_data): Typo.
3564 2014-03-29 Steffen Nurpmeso <sdaoden@yandex.com>
3566 Add fine-tuning of doc generation to `configure'.
3568 * m4/groff.m4 (GROFF_DOC_CHECK): New macro, handling option
3569 `--with-doc' and its new arguments. It sets
3570 `docadd_{html,info,other,pdf,examples}' and exports
3571 `make{_,_install_,_uninstall_}{otherdoc,examples}'.
3572 (GROFF_MAKEINFO): Extended to export
3573 `make{_,_install_,_uninstall_}infodoc'.
3574 (GROFF_HTML_PROGRAMS): Extended to export
3575 `make{_,_install_,_uninstall_}{htmldoc,htmlexamples}'.
3576 (GROFF_PDFDOC_PROGRAMS): Extended to export
3577 `make{_,_install_,_uninstall_}{pdfdoc,pdfexamples}'.
3578 (GROFF_INSTALL_INFO): Guard test with `docadd_info'.
3580 * configure.ac: Use GROFF_DOC_CHECK.
3581 * Makefile.in: Updated.
3583 * doc/Makefile.sub: Handle examples separately, controlled by
3584 $(make{_,_install_,_uninstall_}examples).
3586 2014-03-27 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
3588 * tmac/www.tmac (TAG): Define register `PN'.
3590 2014-03-27 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
3592 * tmac/an-ext.tmac (EX, EE): Preserve font family.
3594 2014-03-17 Werner LEMBERG <wl@gnu.org>
3596 * src/preproc/eqn/box.cpp (set_script_size): Fix minimum test.
3598 Problem reported by Ted Harding <ted.harding@wlandres.net> in a
3599 thread starting with
3601 http://lists.gnu.org/archive/html/groff/2014-03/msg00181.html
3603 2014-03-16 Werner LEMBERG <wl@gnu.org>
3605 Fix previous commit.
3607 Problem reported (with a patch) by Ingo Schwarze
3608 <schwarze@openbsd.org>.
3610 * doc/Makefile.sub (groff_bin_dirs): Add `preconv'.
3612 * doc/Makefile.in (groff_bin_dirs): Add `preconv'.
3613 (.me.txt): Call preconv. Use UTF8 as output encoding.
3614 (.me.ps): Call preconv.
3616 2014-03-14 Werner LEMBERG <wl@gnu.org>
3618 [me] Add translation of `meintro.me' to French.
3620 Contributed by Grégoire Babey <gibux@gmx.ch>.
3622 * doc/meintro_fr.me: New file.
3623 * LICENSES, doc/Makefile.sub: Updated.
3625 2014-03-13 Ingo Schwarze <schwarze@openbsd.org> (tiny change)
3627 man: Correctly reset margins.
3631 http://lists.gnu.org/archive/html/groff/2013-11/msg00026.html
3635 * tmac/an-old.tmac (set-an-margin): Whenever (re)setting
3636 `\n[an-level]' to 1 (which happens when encountering `.TH', `.SH',
3637 and `.SS') make sure to also (re)set `\n[an-saved-margin1]' and
3638 `\n[an-saved-prevailing-indent1]' to a sane value such that an
3639 immediate `.RE' cannot wreak havoc.
3640 (TH, SH, SS): Updated.
3642 2014-03-11 Ingo Schwarze <schwarze@openbsd.org> (tiny change)
3644 * Makefile.in: Do not forget to install gropdf manuals.
3646 This got broken in 290eaaac6cfc33856cd683838accc72ccf3e5a84:
3647 src/devices/gropdf was split out of OTHERDIRS into SHPROGDIRS, and
3648 consequently, Makefile.man was no longer used there. Note that
3649 Makefile.dev is *not* needed, even though it's below /devices/.
3651 2014-03-11 Ingo Schwarze <schwarze@openbsd.org> (tiny change)
3653 * src/roff/groff/Makefile.sub: POSIX conformance.
3655 - POSIX says that the meaning of the make(1) `$<' macro shall be
3656 unspecified except in inference rules. Consequently, use `$?'
3659 That's safe because the rules have only one prerequisite and
3660 are not `.PHONY', so `$?' will always expand to one item.
3662 - While here, clean up two instances of superfluous use of cat(1).
3664 2014-03-11 Ingo Schwarze <schwarze@openbsd.org> (tiny change)
3666 * Makefile.in (dist): Improve.
3668 - Bugfix: Do not error out if one of the DISTDIRS
3669 contains a subdirectory.
3670 - Make debugging easier by splitting the huge "cd tmp; ...; ..."
3671 command sequence into several independent shell commands,
3672 such that one can see which command actually fails.
3674 2014-03-06 Deri James <deri@chuzzlewit.myzen.co.uk>
3676 Missing RE escape in grep.
3678 * src/devices/gropdf/pdfmom.pl: Escape '\' dot in grep RE.
3680 2014-02-26 Bernd Warken <groff-bernd.warken-72@web.de>
3682 * src/roff/grog/grog.pl: Add detection of `gperl' to `grog'.
3684 2014-02-25 Bernd Warken <groff-bernd.warken-72@web.de>
3686 * contrib/gperl: New preprocessor for Perl parts in groff files.
3688 2014-02-15 Ingo Schwarze <schwarze@openbsd.org>
3690 * tmac/groff_mdoc.man: Improve the manual page template.
3692 - Add the EXIT STATUS section. It is widely used in at least
3693 NetBSD, FreeBSD, OpenBSD, and DragonFly manuals.
3694 - Recommend the DIAGNOSTICS section for section 4 manuals. Such
3695 usage is very widespread, in particular for kernel printf
3696 messages emitted by device drivers.
3697 - Do not recommend the DIAGNOSTICS section for command return
3698 values to the shell any longer. While such usage historically
3699 existed, it does not seem common nowadays, and in any case, using
3700 the now well-established EXIT STATUS section seems preferable to
3702 - Mention the possibility to use ERRORS for section 4 manuals.
3703 While most section 4 manuals have a DIAGNOSTICS section, only
3704 some will need an ERRORS section, but these cases aren't exactly
3705 rare, either. Quite some device driver manuals explain how to
3706 use the device using system calls like ioctl(2), open(2), read(2)
3707 or write(2), in which case the ERRORS section is the natural
3708 place to explain which errno values the driver may set during
3710 - Mentioning signal handling as a content of the ERRORS section
3711 seems redundant, it is already covered by talking about the
3712 errno. The case of errno == EINTR should be handled just like
3713 all other errno cases. For an example showing that there is no
3714 need to single out error handling in any way, please look at a
3715 typical read(2) manual page.
3716 - Mention the CAVEATS section. It first appeared in the 4.2BSD
3717 execve(2) manual in 1983, was already used by several manuals by
3718 the time of 4.4BSD-Lite2 in 1995, and is in whidespread use
3719 today, not just in BSD base system manuals, but for example in
3720 Perl manuals as well.
3722 2014-02-14 Bernd Warken <groff-bernd.warken-72@web.de>
3724 * src/roff/grog/grog.pl: Add detection of glilypond-parts in groff
3725 files. For example `grog example.groff' from the glilypond source
3726 gets `glilypond example.groff | groff'.
3728 2014-02-12 Bernd Warken <groff-bernd.warken-72@web.de>
3730 * src/roff/grog/grog.pl: With the former bugfix of 2014-02-12,
3731 it's now possible to run `grog meref.me' etc., which wasn't
3732 possible before. That addition of the macro handling was
3733 necessary for the automatic for `groffer'.
3735 2014-02-12 Bernd Warken <groff-bernd.warken-72@web.de>
3737 * src/roff/grog/grog.pl: Add handling of macro definition and fix
3738 problems with @VERSION@.
3740 2014-02-12 Rich Burridge <rich.burridge@oracle.com>
3742 [grn] Prevent crash if more than 50 command line arguments.
3744 * src/preproc/grn/main.cpp (INIT_FILE_SIZE, FILE_SIZE_INCR): New
3746 (add_file): New function.
3747 (main): Use it to add file arguments.
3749 2014-01-29 Ulrich Spörlein <uqs@FreeBSD.org>
3751 * tmac/doc-common: Add even more DragonFlyBSD releases.
3753 2014-01-28 Ulrich Spörlein <uqs@FreeBSD.org>
3755 * tmac/doc-common: Add some new *BSD version strings.
3757 2014-01-06 Bernd Warken <groff-bernd.warken-72@web.de>
3759 * man/roff.man: Add information of new archives for RUNOFF and
3762 * Makefile.in: Replace `contrib/RUNOFF' by
3763 `contrib/groff_filenames'.
3765 2014-01-05 Bernd Warken <groff-bernd.warken-72@web.de>
3766 Werner LEMBERG <wl@gnu.org>
3768 * groff/tmac/groff_man.man: Minor typos, formatting, reordering.
3770 2014-01-05 Werner LEMBERG <wl@gnu.org>
3772 Revert recent changes to `an-ext.tmac' and `groff_man.man'.
3774 * groff/tmac/an-ext.tmac (.FONT): Remove. This doesn't belong into
3777 * groff/tmac/groff_man.man: Reset to state previous to 2014-01-04.
3778 Useful changes will be re-committed in smaller, logical chunks.
3780 2014-01-05 Bernd Warken <groff-bernd.warken-72@web.de>
3782 * groff/tmac/an-ext.tmac: in .FONT change variable name `result'
3783 to `an_ext_FONT_result'.
3785 2014-01-04 Bernd Warken <groff-bernd.warken-72@web.de>
3787 * groff/tmac/an-ext.tmac: add new request .FONT for using
3788 different font names on a single line.
3790 * groff/tmac/groff_man.man: put under GPL2, reordered and enhanced.
3792 2014-01-02 Deri James <deri@chuzzlewit.myzen.co.uk>
3794 * src/devices/gropdf/gropdf.pl: gropdf use to fail when handling
3795 output from preconv, now works.
3797 * src/devices/gropdf/pdfmom.pl: can now be used as a pipeline, and
3798 improvements made to its switch handling and use with preconv.
3800 * tmac/pdf.tmac: changes to support preconv.
3802 2014-01-02 Colin Watson <cjwatson@debian.org>
3804 * font/devascii/Makefile.sub ($(FONTS)): Convert extended regex
3805 syntax to basic for sed.
3806 * font/devcp1047/Makefile.sub ($(FONTS)): Likewise.
3807 * font/devhtml/Makefile.sub ($(FONTS)): Likewise.
3808 * font/devlatin1/Makefile.sub ($(FONTS)): Likewise.
3809 * font/devutf8/Makefile.sub ($(FONTS)): Likewise.
3811 2013-12-23 Bernd Warken <groff-bernd.warken-72@web.de>
3813 * groff/src/roff/groff/groff.cpp: add groff option `-G' to the
3814 documentation in `synopsis()'.
3816 2013-12-06 Mike Frysinger <vapier@gentoo.org>
3818 Fix parallel build with gropdf and mom examples.
3820 The `contrib/mom/examples/' directory uses the helper script from
3821 `src/devices/gropdf/'. Currently though, parallel builds might fail
3825 make[2]: Entering directory `.../groff-1.22.2/contrib/mom'
3826 <groff command> examples/letter.mom >examples/letter.pdf
3827 <groff command> examples/mom-pdf.mom >examples/mom-pdf.pdf
3828 /bin/sh: .../groff-1.22.2/src/devices/gropdf/pdfmom: No such file or directory
3829 make[2]: *** [examples/letter.pdf] Error 127
3830 /bin/sh: .../groff-1.22.2/src/devices/gropdf/pdfmom: No such file or directory
3831 make[2]: *** [examples/mom-pdf.pdf] Error 127
3832 make[2]: Leaving directory `.../groff-1.22.2/contrib/mom'
3833 make[1]: *** [contrib/mom] Error 2
3835 make[2]: Entering directory `.../groff-1.22.2/src/devices/gropdf'
3836 sed -f .../groff-1.22.2/arch/misc/shdeps.sed \
3837 -e "s|@VERSION@|1.22.2|" \
3838 -e "s|@PERLPATH@|/usr/bin/perl|" ./pdfmom.pl >pdfmom
3840 The top level makefile tries to account for this in general with
3841 OTHERDIRS, but looks like `src/devices/gropdf/' was added to this
3842 variable (which holds `contrib/mom/' too) because gropdf installs a
3843 shell script, and the other prog vars require it to be a dir of
3846 URL: http://crbug.com/324116
3847 URL: https://bugs.gentoo.org/487276
3849 * Makefile.in (SHPROGDIRS): Declare.
3850 (PROGDIRS): Add $(SHPROGDIRS).
3851 (OTHERDIRS): Delete src/devices/gropdf.
3852 ($(SHPROGDIRS):): Add to existing rule.
3853 ($(OTHERDIRS):): Depend on $(SHPROGDIRS).
3855 2013-12-08 Eric S. Raymond <esr@thyrsus.com>
3857 Repository fully converted to git.
3859 2013-11-21 Werner LEMBERG <wl@gnu.org>
3861 * config.guess, config.sub: Updated from `config' repository.
3863 2013-11-06 Werner LEMBERG <wl@gnu.org>
3865 * src/libs/libgroff/tmpname.cpp (gen_tempname): Use O_BINARY.
3867 Problem reported by Charlie Van Dien <charlie@vandien.com>; see
3869 http://lists.gnu.org/archive/html/groff/2013-10/msg00006.html
3871 2013-11-06 Werner LEMBERG <wl@gnu.org>
3873 * Makefile.comm (.man.n): Use C locale.
3875 Problem reported by Petr Man <petr@madnetwork.org>; fix suggested by
3876 Ralph Corderoy <ralph@inputplus.co.uk>.
3878 2013-07-24 Ingo Schwarze <schwarze@openbsd.org>
3880 [mdoc] Implement `.%C'.
3882 * tmac/doc.tmac, tmac/doc-common: Do it.
3883 * tmac/groff_mdoc.man: Updated.
3885 2013-07-31 Deri James <deri@chuzzlewit.myzen.co.uk>
3887 Fix overprinting issue with Acrobat reader.
3889 Problem reported by Heinz-Jürgen Oertel <hj.oertel@t-online.de>.
3891 * src/devices/gropdf/gropdf.pl (do_t, FindChar): Use ascii octal
3892 notation (i.e., \015) when outputting characters with value < 32.
3893 This fixes a bug which affected acroread when control-M (cr) was
3894 embedded in a text string.
3896 2013-07-16 Werner LEMBERG <wl@gnu.org>
3898 * tmac/fallbacks.tmac: Make it work in compatibility mode.
3900 Problem reported by Y T <doarhop@hotmail.com>.
3902 2013-07-16 Werner LEMBERG <wl@gnu.org>
3904 * src/roff/grog/Makefile.sub (install_data, uninstall_sub): Typos.
3906 2013-07-16 Werner LEMBERG <wl@gnu.org>
3908 * Makefile.in (GREP, MDEFINES): Define and use plain grep.
3910 Necessary for Bernd's code to extract groff options.
3912 2013-07-16 Ingo Schwarze <schwarze@openbsd.org>
3914 * tmac/an-old.tmac (TP): Do not clobber line length after double
3917 2013-07-02 Colin Watson <cjwatson@debian.org>
3919 * doc/groff.texinfo: Fix syntax error in documentation of `\z'.
3921 2013-07-02 Colin Watson <cjwatson@debian.org>
3923 * src/devices/grolbp/lbp.cpp (main): Don't write trailer if no
3924 printer was created.
3926 2013-06-19 Eric S. Raymond <esr@thyrsus.com>
3928 * src/utils/lkbib/lbib.man: Move running text out of synopsis.
3930 2013-05-06 Bernd Warken <groff-bernd.warken-72@web.de>
3932 * src/roff/groff/Makefile.sub: Replace `cpp' by `groff.cpp'.
3934 2013-05-06 Bernd Warken <groff-bernd.warken-72@web.de>
3936 * Makefile.in: Add new `contrib' directory `RUNOFF'.
3938 2013-05-01 Bernd Warken <groff-bernd.warken-72@web.de>
3940 * src/roff/groff/Makefile.sub: Remove all `.PHONY:' lines.
3942 2013-04-30 Bernd Warken <groff-bernd.warken-72@web.de>
3944 * src/roff/groff/Makefile.sub: Replace `egrep' by `$(GREP)'.
3945 commands. Don't use $(CCSRCS) any more.
3947 2013-04-30 Bernd Warken <groff-bernd.warken-72@web.de>
3949 * Makefile.in, m4/groff.m4: Add `@libprogramdir@' and
3950 `$libprogramdir' (usually `/usr/local/lib/groff'). Change
3951 `$libdir/groff' into $libprogramdir for several `groff' programs.
3952 Run `autoreconf -I m4'.
3954 * src/roff/groff/MAkefile.sub: Add $(DESTDIR) and $(srcdir) in
3955 order to support installation outside of source code.
3957 * contrib/glilypond/Makefile.sub, contrib/glilypond/glilypond.pl:
3958 Correct the install directories.
3960 2013-04-29 Bernd Warken <groff-bernd.warken-72@web.de>
3962 * src/roff/groff/Makefile.sub: Replace some variables by shell
3963 commands. Improve the output for the `make' runs.
3965 2013-04-28 Bernd Warken <groff-bernd.warken-72@web.de>
3967 * src/roff/groff/Makefile.sub: Make this Makefile compatible.
3969 2013-04-28 Bernd Warken <groff-bernd.warken-72@web.de>
3970 2013-04-28 Werner LEMBERG <wl@gnu.org>
3972 * src/roff/groff/Makefile.sub: Use `make' variables to get
3973 `groff' options from `getopt' in `groff.cpp'. Create 2 files
3974 `groff_opts_no_arg.txt' and `groff_opts_with_arg.txt'.
3976 2013-04-26 Bernd Warken <groff-bernd.warken-72@web.de>
3978 * src/roff/groff/read_groff_options.pl: Remove this file. It's
3981 * src/roff/groff/Makefile.sub: Get the `groff' options from the
3982 use of `getopt...' in `groff.cpp' using `$(EGREP)' and `sed'.
3983 Store this information in a new file `groff_options.txt', which
3984 is copied to `groff libdir' during the installation.
3986 2013-04-26 Werner LEMBERG <wl@gnu.org>
3988 Various minor fixes.
3990 * INSTALL.gen: Take the newest version from the `gnulib'
3993 * configure: Regenerated.
3995 2013-04-26 Bernd Warken <groff-bernd.warken-72@web.de>
3997 * INSTALL.gen: Restore an older version from `2006' in
4000 * FOR-RELEASE: New file which describes how to prepare `groff'
4003 2013-04-26 Bernd Warken <groff-bernd.warken-72@web.de>
4005 * src/roff/groff/read_groff_options.pl: Reads `groff' options
4006 from `groff.cpp' and writes them into the file `groff_options.info'.
4008 * src/roff/groff/Makefile.sub: Have the generated file
4009 `groff_options.info' be installed into the `groff libdir'.
4011 2013-04-16 Bernd Warken <groff-bernd.warken-72@web.de>
4013 * INSTALL.gen: Replace this file by the daily `git' version of
4014 `automake' `INSTALL' file.
4016 * INSTALL.autotools: Remove file.
4018 * INSTALL.CVS: New file, moved from `INSTALL.autotools'.
4020 * m4/ax_prog_perl_version.m4: New file, taken from package
4021 `autoconf-archive-2013.04.06'.
4023 * m4/groff.m4: Remove unnecessary blank line.
4025 * Makefile.in: Add `$(PERLVERSION)'.
4027 * aclocal.m4: Run `autoreconf -I m4' (this includes
4028 `aclocal -I m4'). This creates a suitable `aclocal.m4'. Remove
4029 generated subdirectory `autom4te.cache'.
4031 * src/roff/grog/Makefile.sub: Correct `sed' command. Use `tabs'
4032 that are needed by `GNU make'.
4034 2013-04-16 Bernd Warken <groff-bernd.warken-72@web.de>
4036 * Makefile.sub: Add `m4/ax_compare_version.m4'.
4038 * aclocal.m4: Run the latest `aclocal -I m4' which generates a
4039 suitable content in that file.
4041 * INSTALL.autotools: Information of the usage of `GNU autotools'
4044 * INSTALL.gen: Move `autotool' parts to file `INSTALL.autotools'.
4046 2013-04-15 Bernd Warken <groff-bernd.warken-72@web.de>
4048 * m4/groff.m4: Replace tabs by spaces. Use a double line between
4051 2013-04-15 Bernd Warken <groff-bernd.warken-72@web.de>
4053 In the whole `groff' system, rename autoconf variable `$PERLPATH'
4054 to `$PERL', which has the same content. But `$PERL' suits to
4055 `AX_PROG_PERL_VERSION' in m4 macro `GROFF_PERL' in `m4/groff.m4'.
4057 * src/utils/afmtodit/Makefile.sub,
4058 * src/devices/gropdf/gropdf.pl,
4059 * src/devices/gropdf/Makefile.sub,
4060 * src/devices/gropdf/pdfmom.pl,
4061 * arch/djgpp/config.site,
4062 * font/devpdf/Makefile.sub,
4063 * contrib/mm/Makefile.sub,
4065 * Makefile.in: Replace `$PERLPATH' by `$PERL'.
4067 * m4/ax_compare_version.m4: New file, copied from daily version of
4068 `GNU autoconf-archive'.
4070 `autoconf' was not yet run, a newer version is needed.
4072 2013-04-15 Bernd Warken <groff-bernd.warken-72@web.de>
4074 * README, INSTALL, INSTALL.gen, MANIFEST: Add documentation in the
4075 top directory about some parts of `autotools' and `glilypond'.
4077 2013-04-15 Bernd Warken <groff-bernd.warken-72@web.de>
4079 * configure.ac: Add information of the macro `GROFF_PERL'.
4081 * Makefile.in: Add definitions of the macro variables and their
4082 `@...@' counterparts.
4084 Run `autoreconf -I m4'.
4086 2013-04-15 Bernd Warken <groff-bernd.warken-72@web.de>
4087 2013-04-15 Werner LEMBERG <wl@gnu.org>
4088 2013-04-15 Ralph Carderoy <ralph@inputplus.co.uk>
4090 Add Perl test to configuration. During the run of `configure' the
4091 program is broken with error when there is no `Perl' or the `perl'
4094 * m4/groff.m4: Add macro `GROFF_PERL' that tests the availability
4095 of the `perl' program and tests wether this has a version of at
4096 most `v5.6.1'. Define variables $PERL and $PERLPATH for the full
4097 name of the `perl' program and $PERLVERSION as the lest version.
4099 2013-04-13 Keith Marshall <keithmarshall@users.sourceforge.net>
4101 Avoid consideration of autotool cache for CVS inclusion.
4103 * .cvsignore (autom4te.cache): Add reference.
4105 2013-04-13 Bernd Warken <groff-bernd.warken-72@web.de>
4107 * `autotools': During the run of `autoconf' and `autoreconf' a
4108 subdirectory `autom4te.cache' was created. I first added this to
4109 groff CVS and removed it again after an email-discussion.
4111 2013-04-12 Bernd Warken <groff-bernd.warken-72@web.de>
4113 * `grog': Remove the shell version of `grog'. Now there is only
4116 * src/roff/grog/perl.sh: Remove this file.
4118 * src/roff/grog/Makefile.sub: This file handles the removement of
4121 * src/roff/grog/perl_test.pl: New file for testing the available
4122 Perl version in the system to be installed into. This file will
4123 be installed into the grog lib-directory.
4125 2013-04-12 Bernd Warken <groff-bernd.warken-72@web.de>
4127 * `grog': In the following, the file `grog.pl' will be split. For
4128 the coming files, a lib-directory is needed for storage.
4130 * m4/groff.m4, configure.ac: Add libdir information for `grog'.
4132 * Makefile.in: Add @grog_dir@.
4136 `grog' has now a lib-directory at `$prefix/lib/groff/grog'.
4138 2013-04-11 Bernd Warken <groff-bernd.warken-72@web.de>
4140 * contrib/groffer/: There is a free `git' package containing all
4141 old `groffer' versions `v0.*' and `v1.*'. The new versions
4142 `groffer 2.*' will actually not be included. This package can be
4145 $ git clone git@github.com:RUNOFF/groffer.git
4147 2013-04-11 Bernd Warken <groff-bernd.warken-72@web.de>
4149 * contrib/glilypond/: There is a free `git' package containing all
4150 old versions of the former name `groff_lilypond v0.*'. They work
4151 with `lilypond' parts in `roff' files, but were not installed.
4152 This package can be got at:
4154 $ git clone git@github.com:RUNOFF/groff_lilypond.git
4156 The new versions `glilypond v1.*' are not included there.
4158 2013-04-11 Bernd Warken <groff-bernd.warken-72@web.de>
4160 * man/roff.man: For roff(7), add information about the free git
4161 package RUNOFF.git with documentation about historical RUNOFF and
4162 the available files written in the classical RUNOFF language..
4164 2013-03-29 Bernd Warken <groff-bernd.warken-72@web.de>
4166 Rename `groff_lilypond' to `glilypond'. So remove the former
4167 source directory `<groff_src_dir>/contrib/lilypond' and newly
4168 install `<groff_src_dir>/contrib/glilypond', which now has many
4169 files. The new version starts at `v1.0'.
4171 * m4/groff.m4, configure.ac: Add libdir information for
4174 * Makefile.in: Add `<groff_src_dir>/contrib/glilypond'.
4178 `glilypond' can now be installed to the system.
4180 2013-03-17 Ingo Schwarze <schwarze@openbsd.org>
4182 * font/devpdf/Makefile.sub: Build system fixes.
4184 (GROFF_FONT_FILES): Avoid installing Makefile.sub.orig when it's
4186 (install): Create $(DESTDIR)$(fontsubdir)/util when missing.
4188 2013-03-05 Werner LEMBERG <wl@gnu.org>
4190 * doc/groff.texinfo: Improve documentation of `\s'.
4192 Reported by Jim Avera <james_avera@yahoo.com>.
4194 2013-02-16 Werner LEMBERG <wl@gnu.org>
4196 * doc/groff.texinfo: Improve documentation of `.substring'.
4198 Reported by Jim Avera <james_avera@yahoo.com>.
4200 2013-02-13 Werner LEMBERG <wl@gnu.org>
4202 * doc/groff.texinfo: Fix if-else example.
4204 Reported by Jim Avera <james_avera@yahoo.com>.
4206 2013-02-10 Werner LEMBERG <wl@gnu.org>
4208 [grops] Make binary `%%BeginData' work; support `fontset' resource.
4210 * src/devices/grops/psrm.cpp (resource_table): Add `fontset'.
4212 (resource_manager::read_resource_arg): Do a case insensitive
4213 comparison. The PostScript Reference Manual gives the following
4214 example for a CFF resource (example 5.7):
4216 %!PS-Adobe-3.0 Resource-FontSet
4217 %%DocumentNeedResources: ProcSet (FontSetInit)
4218 %%Title: (FontSet/CFFRoman27)
4221 %%IncludeResource: ProcSet (FontSetInit)
4222 %%BeginResource: FontSet (CFFRoman27)
4223 /FontSetInit /ProcSet findresource begin
4224 %%BeginData: 622532 Binary Bytes
4225 /CFFRoman27 622503 StartData
4226 ... 622,503 bytes of binary data ...
4231 Note the `ProcSet' and `FontSet' keywords. While the old DSC
4232 (Document Structure Convention) documentation doesn't cover
4233 `FontSet' at all (the DSC documentation predates the invention of
4234 CFF), it describes only `procset' (all letters downcase), and it
4235 also says that the DSC parser works in a case sensitive manner.
4237 In other words, `ProcSet' is not valid according to the DSC
4238 documentation, only `procset' is. So much about today's validity
4239 of DSC... This patch adapts grops's code to the PostScript
4242 (resource_manager::do_begin_data): Fix typo (present since the
4243 beginning) which prevented correct handling of binary data.
4245 * src/devices/grops/ps.h (resource_type): Add RESOURCE_FONTSET.
4247 2013-02-10 Bernd Warken <groff-bernd.warken-72@web.de>
4249 * contrib/lilypond: New files for adding lilypond parts into groff
4252 2013-02-07 Werner LEMBERG <wl@gnu.org>
4254 Version 1.22.2 released
4255 =======================
4257 * NEWS, REVISION, doc/groff.texinfo, doc/webpage.ms: Updated.
4259 * configure: Regenerated.
4261 * doc/texinfo.tex: Updated from `texinfo' repository.
4263 * src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
4265 2013-02-07 Werner LEMBERG <wl@gnu.org>
4267 * src/libs/gnulib/*: Update `gnulib' files.
4269 2013-02-02 Gilles Espinasse <g.esp@free.fr>
4271 [grohtml] Don't ignore return value of `dup'.
4273 * src/preproc/html/pushback.cpp (pushBackBuffer::pushBackBuffer,
4274 pushBackBuffer::~pushBackBuffer): Abort if `dup' fails.
4276 2013-01-30 Bernd Warken <groff-bernd.warken-72@web.de>
4278 * tmac/groff_man.man: Fix wrong connection for tbl(1).
4280 2013-01-29 Werner LEMBERG <wl@gnu.org>
4282 * doc/groff.texinfo: Fix documentation of .LP macro in ms.
4283 Problem reported by Omari Norman <omari@smileystation.com>.
4285 2013-01-29 Werner LEMBERG <wl@gnu.org>
4287 * doc/Makefile.sub (uninstall_sub): Handle `gnu.eps'.
4289 2013-01-29 Werner LEMBERG <wl@gnu.org>
4293 * Makefile.in: Use $(top_srcdir) where appropriate.
4294 * Makefile.sub (M4MACROS): Add `fcntl-o.m4' and `localcharset.m4'.
4296 * font/devpdf/Makefile.sub (UTILFILES): Removed, unused.
4297 (MOSTLYCLEANADD): Add `BuildFoundries'.
4298 * src/devices/gropdf/Makefile.sub (MOSTLYCLEANADD): Add `pdfmom'.
4300 2013-01-24 Bernd Warken <groff-bernd.warken-72@web.de>
4302 * Add a shell command to 'MANIFEST' that displays all man source
4303 files and their section.
4305 2013-01-22 Bernd Warken <groff-bernd.warken-72@web.de>
4307 * Add email address in all files having the name.
4309 2013-01-14 Deri James <deri@chuzzlewit.myzen.co.uk>
4311 * src/devices/gropdf/gropdf.pl (do_x, do_p, do_s, Set_LWidth): The
4312 grops driver defaults to round linecaps and linejoins, gropdf
4313 incorrectly used butt caps and miter joins.
4315 (Since the MOM package expects to use butt caps and miter joins
4316 (emitting the necessary postscript code to change the caps and
4317 joins), gropdf now parses the same postscript commands.)
4319 * src/devices/gropdf/gropdf.man: Document the handling of linecaps
4322 * tmac/pdf.tmac (pdfbookmark): Fix bug where the current
4323 PDFOUTLINE.FOLDLEVEL may not be honoured if warnings of the type
4325 macro warning: adjusted level n bookmark; should be <= n
4327 Added copyright and mention debt owed to Keith Marshall for
4328 original `pdfmark.tmac', upon which `pdf.tmac' is largely based.
4330 * font/devpdf/Foundry.in, font/devpdf/util/BuildFoundries.pl
4331 (LocateFile): The font for EURO had the wrong entry in the
4332 `download' file (it pointed to The font in the build directory,
4333 which is wrong). It has always been permissable to include a path
4334 along with the font name in the Foundry file, but until now the
4335 font had to exist to be valid. It is now permitted to start the
4336 path with an asterisk which tells BuildFoundry to use the
4337 path/filename in the download file without checking if the font
4338 exists. This allows the font to be found in `../devps' even
4339 though it is not there during the build (if source and build are
4340 different), but will be there after the install.
4342 2013-01-13 Werner LEMBERG <wl@gnu.org>
4344 [eqn] Fix display of matrices in nroff output.
4346 Problem reported by Andy Spencer <andy753421@gmail.com>.
4348 * src/preproc/eqn/pile.cpp (pile_box::compute_metrics,
4349 matrix_box::compute_metrics): Fix rounding.
4351 2013-01-07 Deri James <deri@chuzzlewit.myzen.co.uk>
4353 * tmac/europs.tmac: Protect against missing fonts.
4355 2013-01-07 Deri James <deri@chuzzlewit.myzen.co.uk>
4357 * font/devpdf/util/BuildFoundries.pl (LoadFoundry): Improve
4360 2013-01-07 Werner LEMBERG <wl@gnu.org>
4362 [tbl] Allow characters #, `, and ' as eqn delimiters.
4364 While problems ` and ' have been unintentionally introduced rather
4365 recently, the limitation regarding # was there from the beginning.
4367 At the same time, fix a small bug causing `.lf' requests not
4370 * src/preproc/tbl/table.cpp (table::init_output)
4371 (table::compute_expand_width, table::compute_separation_factor)
4372 (table::define_bottom_macro, table::do_bottom): Temporarily switch
4373 off eqn delimiters, wrapping the code into a `.ig' block. This
4374 uses the new functionality just added to eqn.
4376 * src/preproc/eqn/eqn.man, src/preproc/tbl/tbl.man: Updated.
4378 2013-01-06 Werner LEMBERG <wl@gnu.org>
4380 [eqn] Add `delim on'.
4382 * src/preproc/eqn/lex.cpp (start_delim_saved, end_delim_saved):
4383 New global variables.
4384 (do_delim): Handle `delim on' to restore previous start and end
4387 * src/preproc/eqn/eqn.man, NEWS: Document it.
4389 2013-01-02 Deri James <deri@chuzzlewit.myzen.co.uk>
4391 [gropdf] Various minor fixes.
4393 * src/devices/gropdf/gropdf (do_x) <'X'> <'pdfpic'>: Using
4397 with a zero width now works correctly.
4399 (LoadPDF): Scale width in proportion to given height.
4401 (do_s): In some circumstances a font size change is emitted before
4402 current font is established. Fix handles this situation.
4404 2012-12-30 Werner LEMBERG <wl@gnu.org>
4406 Version 1.22.1 released
4407 =======================
4409 Due to CVE-2012-3386, ftp.gnu.org rejected uploading of version
4410 1.22 -- in other words, 1.22 has never been released.
4412 * NEWS, REVISION, doc/groff.texinfo, doc/webpage.ms: Updated.
4414 * Makefile.in (NOMAKEDIRS): Updated.
4416 2012-12-30 Werner LEMBERG <wl@gnu.org>
4418 * src/libs/gnulib/*: Update `gnulib' files.
4420 Because we currently don't support `gnulib-tool' directly but add
4421 everything to the CVS repository, and many internal details of the
4422 gnulib setup has changed, it is necessary to do redo the import.
4424 . Temporarily rename `src/libs/gnulib' to `src/libs/gnulib.old'.
4428 gnulib-tool --create-testdir \
4429 --dir=src/libs/gnulib \
4432 . Manually move directories `src/libs/gnulib/gl{lib,m4}' to
4433 `src/libs/gnulib/{lib,m4}', and do `s/gllib/lib/' and `s/glm4/m4/'
4434 in all files to `convert' the gnulib testbed to a standard gnulib
4435 configuration as maintained by gnulib-tool. Additionally, remove
4436 the directory `src/libs/gnulib/gltests' and the references to
4437 `gltests' in all files.
4439 (All of this could be done with a script, but I hope that this is
4440 eventually replaced with migrating groff as a whole to gnulib and
4445 gnulib-tool --add-import \
4446 --dir=src/libs/gnulib \
4449 to update everything.
4451 . Merge the changed, new, and deleted files into `gnulib.old',
4452 delete `gnulib', rename `gnulib.old' to `gnulib', then commit.
4454 2012-12-28 Werner LEMBERG <wl@gnu.org>
4456 [doc] More documentation generation rules.
4458 * doc/Makefile.in (.texinfo.txt): New rule.
4459 (.texinfo.html): Use `LANG='.
4460 (split-html): New target.
4462 2012-12-28 Werner LEMBERG <wl@gnu.org>
4464 * doc/fixinfo.sh: Make it work with makinfo 4.13 also.
4466 2012-12-28 Werner LEMBERG <wl@gnu.org>
4470 * ChangeLog: Split off older entries into...
4471 * ChangeLog.121: this new file.
4473 2012-12-28 Werner LEMBERG <wl@gnu.org>
4475 Version 1.22 released
4476 =====================
4478 * NEWS, VERSION, doc/groff.texinfo, doc/webpage.ms: Updated.
4480 * config.guess, config.sub: Updated from `config' repository.
4482 * INSTALL.gen: Updated from `gnulib' repository (file `INSTALL').
4484 * aclocal.m4, configure: Regenerated.
4486 * doc/texinfo.tex: Updated from `texinfo' repository.
4488 * src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
4490 2012-12-27 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
4492 * man/groff_font.man: Typographical improvements and typos.
4494 2012-12-27 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
4496 * man/ditroff.man: Typographical improvements and typos.
4498 2012-12-18 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
4500 * man/groff_diff.man: Typographical improvements and typos.
4502 2012-12-16 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
4504 * man/groff.man: Typographical improvements (and one typo).
4505 * man/groff_char.man: Typographical improvements.
4507 2012-10-17 Deri James <deri@chuzzlewit.myzen.co.uk>
4509 * src/devices/gropdf/gropdf.pl (do_D): The command \D't N' moves
4510 horizontal position by 'N'. gropdf now obeys this rule.
4511 (do_t): Fixed kerning issue where width of non-kerned text could
4512 be wrongly calculated using previous kern factor.
4514 2012-09-21 Werner LEMBERG <wl@gnu.org>
4516 * doc/groff.texinfo: Improve documentation of `.ad'.
4518 2012-09-20 Werner LEMBERG <wl@gnu.org>
4520 * doc/Makefile.sub (uninstall_sub): Fix removal of info files.
4522 2012-09-20 Werner LEMBERG <wl@gnu.org>
4524 Simplify environment handling.
4526 Suggested by Ivan Shmakov <oneingray@gmail.com>.
4528 * doc/Makefile.in, doc/Makefile.sub (GROFF): Don't use export.
4530 2012-09-20 Deri James <deri@chuzzlewit.myzen.co.uk>
4532 [gropdf] Various minor fixes.
4534 * font/devpdf/Foundry.in: Add font path to debian `gsfonts'
4537 * font/devpdf/util/BuildFoundries.pl: Handle missing fonts in a
4538 more sane way, do NOT abort the complete make run!
4540 * src/devices/gropdf/gropdf: Accept papersize names (i.e. A4) as
4541 either upper or lower case. The -p (papersize) option should be
4542 length,width (currently reversed - width,length)
4544 * src/devices/gropdf/pdfmom.pl: Support use of GROFF_BIN_PATH.
4546 2012-09-11 Ralph Corderoy <ralph@inputplus.co.uk>
4547 Werner LEMBERG <wl@gnu.org>
4549 * src/preproc/tbl/tbl.man: Better document `d' column specifier.
4551 2012-08-31 Deri James <deri@chuzzlewit.myzen.co.uk>
4553 Add `pdfmom' to handle mom documents with gropdf.
4555 * Makefile.in (OTHERDIRS): Move contrib/mom to be run after
4558 * src/devices/gropdf/gropdf.pl: Various fixes:
4560 . Correct image scaling issue.
4561 . Handle relative horizontal movement 'h' followed by absolute
4562 vertical movement 'V'.
4563 . Correct handling of track kerning.
4565 * src/devices/gropdf/pdfmom.pl: New wrapper for mom (pdfmom)
4566 using gropdf or grops driver.
4567 * src/devices/gropdf/pdfmom.man: New man page.
4568 * src/devices/gropdf/Makefile.sub: Updated to handle new files.
4570 2012-08-31 Deri James <deri@chuzzlewit.myzen.co.uk>
4572 * Makefile.in (OTHERDIRS): Move contrib/mom to be run after
4575 * src/devices/gropdf/gropdf.pl: Various fixes:
4577 . Correct image scaling issue.
4578 . Handle relative horizontal movement 'h' followed by absolute
4579 vertical movement 'V'.
4580 . Correct handling of track kerning.
4582 * src/devices/gropdf/pdfmom.pl: New wrapper for mom (pdfmom)
4583 using gropdf or grops driver.
4584 * src/devices/gropdf/pdfmom.man: New man page.
4585 * src/devices/gropdf/Makefile.sub: Updated to handle new files.
4587 2012-08-31 Julien Moutinho <julm+groff@autogeree.net>
4589 * tmac/www.tmac (www-push-li): Fix indentation.
4593 http://lists.gnu.org/archive/html/bug-groff/2012-08/msg00009.html
4595 for the full report.
4597 2012-08-08 Eric S. Raymond <esr@thyrsus.com>
4599 TBLization, as discussed on the list. There's a rewrite of
4600 this file in planning, but this gets the content clean for now.
4602 * tmac/groff_mdoc.man: In this file.
4604 2012-08-09 Werner LEMBERG <wl@gnu.org>
4606 Provide proper Unicode mapping from and to dotless j.
4608 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
4609 src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Add it.
4611 2012-08-08 Eric S. Raymond <esr@thyrsus.com>
4613 Added Unicode code point for dotless j.
4615 * man/groff_char.man: In this file.
4617 2012-08-08 Werner LEMBERG <wl@gnu.org>
4619 * man/groff_char.man: Clean-ups.
4621 2012-08-08 Eric S. Raymond <esr@thyrsus.com>
4623 Elimination of nasty presentation-level macro tangles makes
4624 structural translation to XML possible.
4626 * man/groff_char.man: Clean up the mess, use real TBL tables.
4628 2012-07-23 Eric S. Raymond <esr@thyrsus.com>
4630 More elimination of low-level troff hackery in the documentation
4631 so it can be lifted to structural markup.
4633 * tmac/groff_me.man: Use TBL rather than wacky diversions and .ti
4636 2012-07-24 Werner LEMBERG <wl@gnu.org>
4638 Fix appearance of groff.texinfo's HTML output.
4640 Cartouches within an `example' environment don't work.
4642 * doc/groff.texinfo (CartoucheExample, endCartoucheExample): New
4643 macros. Use them where appropriate.
4645 2012-07-17 Ingo Schwarze <schwarze@usta.de>
4647 [mdoc] Make `Fl' correctly restore fonts.
4649 * tmac/doc.tmac (doc-flag-recursion): Do it.
4651 2012-07-07 Eric S. Raymond <esr@thyrsus.com>
4653 * src/preproc/eqn/eqn.man, src/preproc/grn/grnn.man,
4654 src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
4655 src/devices/grops/grops.man, src/utils/lkbib/lkbib.man,
4656 src/utils/indxbib/indxbib.man, src/utils/tfmtodit/tfmtodit.man,
4657 src/utils/xtotroff/xtotroff.man:
4658 Remove running text in the synopses of various manual pages,
4659 as it badly screws up attempts to mechanically parse them.
4661 * contrib/mom/groff_mom.man: Use .URL rather than .UR/.UE, as this
4662 is now preferred for manual pages.
4664 2012-07-03 Werner LEMBERG <wl@gnu.org>
4666 Fix Unicode mapping of Greek stroked and curly phi.
4668 Problem reported by Alkis Georgopoulos <alkisg@gmail.com>;
4671 https://bugs.launchpad.net/ubuntu/+source/groff/+bug/1008115
4673 * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Flip
4674 values of U+03C6 and U+03D5.
4676 2012-06-13 Deri James <deri@chuzzlewit.demon.co.uk>
4678 * src/devices/gropdf/gropdf.pl: When using variable page
4679 sizes (with \X'papersize ...') ensure final page is correct
4682 2012-05-24 Werner LEMBERG <wl@gnu.org>
4684 * src/roff/grog/grog.pl (process): Fix .so handling.
4686 This does the same as the previous commit.
4688 2012-05-24 Denis M. Wilson <dmw@oxytropis.plus.com>
4690 * src/roff/grog/grog.sh: Fix .so handling.
4694 http://lists.gnu.org/archive/html/bug-groff/2012-05/msg00000.html
4696 for the report and the bug fix.
4698 2012-05-24 Ivan Shmakov <oneingray@gmail.com>
4700 Add some generic fallback characters.
4702 * tmac/fallbacks.tmac: New file.
4703 * tmac/troffrc: Include it.
4704 * tmac/Makefile.sub (NORMALFILES): Include it.
4706 2012-05-20 Deri James <deri@chuzzlewit.demon.co.uk>
4708 * doc/groff.texinfo: Add extra info about `.asciify'.
4709 Document new gropdf options -u and -s.
4711 * src/devices/gropdf/gropdf.man: Remove references to Type 42
4712 fonts, they do not work in PDFs.
4714 Document new option -s which adds `statistics' line to end of PDF
4715 file showing number of pages in document. This has always been
4716 the default behaviour (to add this line), all other software seems
4717 to ignore it as intended, but `gs' sometimes complains, so the
4718 default is now to omit the statistics.
4720 Document new option -u[cmapfilename] to allow a user ToUnicode
4721 CMap instead of gropdf's default. If no `cmapfilename' given then
4722 do not include any ToUnicode CMap.
4724 * src/devices/gropdf/gropdf.pl <top>: Allow `bundled' flags on
4725 command line (i.e. -de = -d -e).
4727 Use $RT_SEP as multi path separator, not hard coded `:'. Update
4730 New flags -u and -s. Once a custom papersize has been set as
4731 \X'papersize x,y' make it sticky so all following pages use custom
4732 size. When importing pdf with \X'pdf: pdfpic ...' do not compress
4733 objects which are already compressed! This caused problems with
4734 PDFs created with ImageMagick, now fixed.
4736 (IsText, PutLine, do_t): The troff `u' command can contain a
4737 kerning adjustment number, this was not being handled, now fixed.
4739 (do_c): The troff `c' command was not being handled correctly, now
4741 (FindChar, RemapChr, do_N): Handle fonts with more than 255 glyphs.
4742 ($ucmap): Define CMap ToUnicode to convert ligatures
4743 (fl,fi,ff,ffl,ffi) back to individual characters, useful for
4744 cut'n'paste and text searching.
4745 (LoadFont): Handle it.
4746 (ToPoints, GetPoints): Handle `z' unit.
4747 (do_x, FixPDFColour, PutHotSpot): Allow Annotation colour to be
4748 groff colour, i.e. 0-65535 *3, or #rrggbb, or #rrrrbbbbgggg.
4749 (do_p):The papersize width/length in switch -p were reversed,
4752 * src/devices/gropdf/Makefile.sub (gropdf): Use $RT_SEP.
4753 Use $fontpath rather than $fontdir (this ensures site-font is
4754 included in searches).
4756 * tmac/pdf.tmac (PDFBOOKMARK.VIEW, PDFHREF.VIEW, PDFPAGE.Y): Fix
4758 (pdfbookmark): Correct handling of bookmark levels.
4759 Convert \[em] to hyphen in bookmarks
4761 Rather use -N than -T for "named" bookmarks (-T already used for
4762 "tag" in pdfmark.tmac)
4764 (.pdfclean): New macro which attempts to asciify bookmark text.
4765 (.pdfpagename): New wrapper macro for \X'pdf: pagename'.
4766 (.pdfswitchtopage): New wrapper macro for \X'pdf: switchtopage'.
4768 2012-03-10 Werner LEMBERG <wl@gnu.org>
4770 Fix compiler warnings.
4772 * src/preproc/html/pre-html.cpp (alterDeviceTo): Avoid ambiguous
4775 * src/preproc/grn/main.cpp (sccsid): Comment out.
4777 * src/roff/troff/number.cpp (parse_expr) <case '*'>: Add cast.
4779 * src/devices/xditview/Makefile.sub (EXTRA_CFLAGS): Add `-Dlint'
4780 so that unused static ID arrays don't cause a warning.
4782 (Some) problems reported by Bjarni Ingi Gislason
4783 <bjarniig@rhi.hi.is>.
4785 2012-03-05 Werner LEMBERG <wl@gnu.org>
4787 * tmac/an-ext.tmac (SY): Handle argument with spaces correctly.
4789 Problem reported by Bjarni Ingi Gislason <bjarniig@rhi.hi.is>.
4791 2012-03-01 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
4793 [an-old] Fix warnings.
4795 * tmac/an-old.tmac (an-init): Insert missing braces.
4797 2012-02-26 Werner LEMBERG <wl@gnu.org>
4799 Update configuration files from `gnulib' and `config' repositories.
4801 This also fixes a problem with `iconv' on Solaris 10, as reported
4804 http://lists.gnu.org/archive/html/bug-groff/2012-02/msg00007.html
4806 * configure.ac: Call `gl_LOCALCHARSET.
4807 Call `AM_ICONV' as C++.
4809 * config.guess, config.rpath, config.sub, install-sh, mkinstalldir:
4812 * m4/codeset.m4, m4/glib21.m4, m4/iconv.m4, m4/lib-ld.m4,
4813 m4/lib-link.m4, m4/lib-prefix.m4: Updated.
4814 * m4/fcntl-o.m4, m4/localcharset.m4: New files.
4816 * Makefile.in: Updated.
4818 * src/include/localcharset.h, src/libs/libgroff/config.charset,
4819 src/libs/libgroff/localcharset.c: Updated.
4821 * aclocal.m4, configure, src/include/config.hin: Regenerated.
4823 2012-02-20 Werner LEMBERG <wl@gnu.org>
4825 Update `gnulib' files.
4829 gnulib-tool --add-import \
4830 --dir=src/libs/gnulib \
4833 Additionally, src/libs/gnulib/configure.ac was adjusted from a
4834 `test' run as described in the change from 2010-12-13.
4836 * src/libs/gnulib/*: Updated.
4838 2012-02-15 Deri James <deri@chuzzlewit.demon.co.uk>
4840 [gropdf] Fixes and omissions.
4842 * src/devices/gropdf/gropdf.pl (<top>, do_u): Add facility to
4843 handle track kerning (.tkf).
4845 (do_x, do_p, do_t): If pages are reordered using `pagename' and
4846 `switchtopage' keep track of outline bookmarks.
4847 (do_x): Handle multiple files on gropdf command line, stitch
4848 multiple groff_out files together. In the main read loop any argc
4849 values not consumed by options are taken as input files and
4850 processed in order. What prevented it working properly before is
4851 the way an `x i' (initialize) record has been handled. It now
4852 processes the initialization code only in the first file.
4854 (PutHotSpot): Allow user to control size of hotspot bounding box
4855 on clickable links by setting PDFHREF.LEADING
4857 * tmac/pdf.tmac (PDFHREF.LEADING): Adjust value.
4858 (pdf*href): Pass value of PDFHREF.LEADING to gropdf.
4860 2012-02-10 Deri James <deri@chuzzlewit.demon.co.uk>
4862 [gropdf] Fix compatibility issues with pdfmark.
4864 * tmac/pdf.tmac (PDFHREF.VIEW.LEADING): Fix value.
4865 (pdf:href.opt-X): Add check for -X option for .pdfhref.
4867 2012-02-08 Werner LEMBERG <wl@gnu.org>
4869 * src/preproc/pic/main.cpp (do_file): Check for invalid characters.
4871 Problem reported by Doug McIlroy <doug@cs.dartmouth.edu>.
4873 2012-01-25 Ingo Schwarze <schwarze@usta.de>
4875 [mdoc] * tmac/doc-syms: Fix meaning of XBD acronym.
4877 2012-01-25 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
4879 * tmac/e.tmac (bl): Make it work inside blocks.
4881 See threads starting with
4883 http://lists.gnu.org/archive/html/groff/2011-12/msg00055.html
4884 http://lists.gnu.org/archive/html/groff/2012-01/msg00000.html
4886 2012-01-10 Bruno Haible <bruno@clisp.org>
4888 Fix handling of MAKEFLAGS variable.
4890 * Makefile.in (MAKE_K_FLAGS): Improved definition,
4891 as explained and discussed in
4893 http://lists.gnu.org/archive/html/groff/2012-01/msg00039.html
4895 2012-01-03 Ingo Schwarze <schwarze@usta.de>
4897 Improve parallel builds.
4899 Some hdtbl and mom examples want PostScript formatting which
4900 requires the `DESC' file to be ready; however, the top-level
4901 `Makefile.in' doesn't currently enforce the proper order of
4902 building of `font/dev' before `contrib/hdtbl', `contrib/mom', and
4905 Given that `font/dev' and the contrib examples are in different
4906 child processes of the recursive make system, it doesn't seem
4907 possible to solve this using clean Makefile dependencies. We now
4908 enforce the order by splitting the shell command invoking
4909 recursive make in the top level `Makefile.in'.
4911 * Makefile.in (ALLDIRS): Remove `OTHERDIRS'.
4913 (`$(TARGETS)'): Handle `OTHERDIRS' separately.
4915 2012-01-03 Kristaps Dzonsons <kristaps@bsd.lv>
4917 [mdoc] Add `-isoC-2011'.
4919 * tmac/doc-syms (doc-str-St--isoC-2011): Add it.
4920 * tmac/groff_mdoc.man: Document it.
4922 2011-12-26 Deri James <deri@chuzzlewit.demon.co.uk>
4924 * font/devpdf/Makefile.sub: Only build fonts on first `make'.
4926 2011-12-08 Werner LEMBERG <wl@gnu.org>
4928 * doc/groff.texinfo (.tl): Improve documentation.
4929 Wording suggested by Keith Marshall
4930 <keithmarshall@users.sourceforge.net>.
4932 2011-12-01 Werner LEMBERG <wl@gnu.org>
4934 [me] Fix behaviour of centered block.
4935 Problem and possible fix reported in thread starting at
4937 http://lists.gnu.org/archive/html/groff/2011-11/msg00002.html
4939 * tmac/e.tmac (`(c'): Always start with a new line.
4941 2011-12-01 Ingo Schwarze <schwarze@usta.de>
4943 [man] Print volume headers like mdoc.
4945 * tmac/an-old.tmac (an-init): Add default volume name if fifth
4946 argument to `.TH' is missing.
4948 2011-11-22 Werner LEMBERG <wl@gnu.org>
4950 * tmac/groff_man.man: Minor documentation improvements.
4951 Suggested by Jeff Conrad <jeff_conrad@msn.com>.
4953 2011-11-14 Werner LEMBERG <wl@gnu.org>
4955 * doc/groff.texinfo: Improve doc for calling undefined identifiers.
4957 2011-11-14 Werner LEMBERG <wl@gnu.org>
4959 * src/preproc/tbl/tbl.man: Improve documentation of `_' and
4962 2011-10-31 Werner LEMBERG <wl@gnu.org>
4964 Fix compiler warnings.
4966 * src/preproc/eqn/main.cpp (do_file), src/roff/troff/env.cpp
4967 (environment::print_env), src/roff/troff/mtsm.cpp
4968 (statem::display_state): Add syntactical sugar.
4970 * src/utils/tfmtodit/tfmtodit.cpp (char_info_word): Use `unsigned
4971 char' for all members.
4973 * src/devices/grohtml/html-text.cpp (html_text::remove_def):
4974 Remove unused variable `q'.
4976 * src/devices/grohtml/post-html.cpp
4977 (html_printer::lookahead_for_tables): Remove unused variable `left'
4980 2011-10-23 Ingo Schwarze <schwarze@openbsd.org>
4982 [mdoc] Synchronize string tables with the mandoc(1) utility.
4984 * tmac/doc-common: Add many architecture names used in NetBSD and
4985 OpenBSD (and "arm" from FreeBSD) and remove the duplicate OS
4986 version entry for Darwin-10.6.0.
4988 * tmac/doc-syms: Add many library names used in NetBSD and FreeBSD.
4990 * tmac/groff_mdoc.man: Document all supported architecture names)
4991 (OS versions, and library names.
4993 2011-09-11 Joseph Koshy <jkoshy@users.sourceforge.net>
4995 [mdoc] Add some library strings.
4997 * tmac/doc-syms: Add `libdwarf' and `libelf'.
4998 * tmac/groff_mdoc.man: Document them.
5000 2011-08-14 Deri James <deri@chuzzlewit.demon.co.uk>
5002 [gropdf] More minor fixes.
5004 * font/devpdf/Makefile.sub (MOSTLYCLEANADD): Don't attempt to
5005 install 'util/BuildFoundries', only used in 'make'.
5007 * src/devices/gropdf/gropdf.pl (<top>, GetType1): Make STDOUT and
5008 any font files read to be accessed in binary rather than text mode.
5009 Prevents errors when running on systems set up for UTF-8.
5011 2011-08-10 Deri James <deri@chuzzlewit.demon.co.uk>
5013 [gropdf] Minor updates and fixes.
5015 * src/devices/gropdf/gropdf.pl: Change command line option `-fy'
5016 to `-y' for consistency.
5018 Better support for Windows platform.
5019 (do_x): Handle keywords `pagename' and `switchtopage'.
5021 * doc/groff.texinfo, src/devices/gropdf/gropdf.man: Updated.
5023 * font/devpdf/Foundry: Renamed to...
5024 * font/devpdf/Foundry.in: This.
5025 Add default alias font names.
5027 * font/devpdf/util/BuildFoundries.pl: This is now an installation
5028 helper script and gets not longer installed.
5029 Support alternative font file names (separated with `!').
5031 * font/devpdf/Makefile.sub: Fixes to work with a separate build
5033 Font files are now build at `make' time; this makes `test-groff'
5036 * font/devpdf/util/Makefile.sub: Removed.
5038 * Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Handle devpdf
5041 2011-07-29 Daiki Ueno <ueno@unixuser.org>
5043 Fix cross building. Problem reported by Christophe Jarry
5044 <christophe.jarry@ouvaton.org>.
5046 * Makefile.in ($GNULIBDIRS): Pass original config arguments to
5047 src/libs/gnulib/configure.
5049 2011-06-25 Deri James <deri@chuzzlewit.demon.co.uk>
5051 Add new output device `gropdf'.
5053 * font/devpdf/*: New device files for gropdf.
5054 * src/devices/gropdf/*: New device.
5056 * Makefile.comm (install_dev, uninstall_dev): Handle more
5058 * Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Add directories
5060 * MANIFEST: Updated.
5061 * test-groff.in (GROFF_BIN_PATH): Updated.
5063 * tmac/Makefile.sub (NORMALFILES): Updated.
5064 * tmac/pdf.tmac: New file.
5065 * tmac/troffrc: Updated.
5067 * doc/groff.texinfo: Document it.
5068 * doc/Makefile.in, doc/Makefile.sub (groff_bin_dirs): Udpated.
5069 * doc/pic.ms: Updated.
5071 * man/groff_out.man, src/devices/grops/grops.man,
5072 src/preproc/pic/pic.man, src/roff/groff/groff.man,
5073 src/utils/afmtodit/afmtodit.man, src/utils/pfbtops/pfbtops.man:
5076 * contrib/pdfmark/pdfmark.ms: Updated.
5078 2011-07-20 George HELFFRICH <ghfbsd@gmail.com>
5080 Improve line numbering support in tbl and with me macros.
5082 * tmac/e.tmac (n1, n2, TH, PS): Implement it.
5083 (@h, @n, @o, @t, @k, )b, (c, (q, )q, (l, )l, (f, @q, PE): Updated.
5084 * doc/meref.me: Document changes.
5086 * src/preproc/tbl/table.cpp (ROW_START_LINE_REG)
5087 (ROW_SAVE_LINE_REG, ROW_MAX_LINE_REG, REPEATED_NM_SET_MACRO)
5088 (REPEATED_NM_SUS_MACRO): New macros.
5090 (table::init_output): Define REPEATED_NM_SET_MACRO and
5091 REPEATED_NM_SUS_MACRO.
5092 (table::print_single_hline, table::print_double_hline,
5093 table::define_bottom_macro, table::do_row, table::do_top,
5094 table::do_bottom): Updated.
5096 * doc/webpage.ms: Updated.
5098 2011-07-12 Ted Harding <ted.harding@wlandres.net>
5099 Werner LEMBERG <wl@gnu.org>
5101 * src/preproc/tbl/tbl.man: Mention trick to get abutting rules.
5103 2011-07-03 Ben Laurie <benl@FreeBSD.org>
5107 * src/libs/libdriver/input.cpp (odd): Use parentheses.
5109 * src/roff/troff/mtsm.cpp (state_set::is_in): Fix parentheses;
5110 previous code always tested for bit 0.
5112 2011-07-03 Guillem Jover <guillem@debian.org>
5114 mdoc: Update more OS versions strings.
5116 * tmac/doc-common: Add versions strings for NetBSD, OpenBSD,
5117 FreeBSD, and DragonFly.
5119 2011-04-08 Michail Vidiassov <master@iaas.msu.ru>
5121 mdoc: Update various strings related to Mac OS X and FreeBSD.
5123 * tmac/doc-common: Add strings for FreeBSD 8.2 and Darwin 9.7-11.0.
5124 * tmac/doc-syms: Add strings -lbsm and -lSystem.
5126 2011-03-29 Christian Weisgerber <naddy@mips.inka.de>
5128 Fix compilation issues with gcc 2.95.
5130 * src/roff/troff/input.cpp (my_input_iterator): Define as an alias
5131 for `input_iterator' which is predefined by an old libstdc++.
5133 2011-03-29 Ingo Schwarze <schwarze@usta.de>
5135 Add another POSIX standard.
5137 * tmac/doc-syms: Add POSIX 1003.1b.
5139 2011-03-29 Christian Weisgerber <naddy@mips.inka.de>
5141 Fix build with non-GNU make.
5143 * Makefile.in ($TARGETS): We must not pass `$MDEFINES' recursively
5144 down to the sub-makes started in src/libs/gnulib, because that
5145 directory has its own values for `$top_srcdir' etc., and
5146 overriding those from the command line will cause the build to
5147 fail. Currently, `$MAKEOVERRIDES' will prevent the recursive
5148 passing of those overrides with GNU make, but not with other
5149 make(1) implementations. It looks like all targets that require
5150 `$MDEFINES' set them explicitly anyway, so we shouldn't need to
5151 set `$MDEFINES' on the top level.
5153 2011-03-21 Jan Vcelak <jvcelak@redhat.com>
5154 Bernd Warken <groff-bernd.warken-72@web.de>
5156 [groffer] Remove hardcoded path to 'libdir/groff/groffer'
5159 * configure.ac: add GROFFERDIR variables.
5161 * Makefile.in: add and handle variable groffer_dir
5163 * m4/groff.m4: set up the --with-grofferdir command line option.
5165 2011-03-18 Werner LEMBERG <wl@gnu.org>
5167 [troff] Improve error message.
5169 * src/roff/troff/input.cc (token::delimiter): Improve error
5170 message. Suggested by Doug McIlroy <doug@cs.dartmouth.edu>.
5172 2011-03-04 Werner LEMBERG <wl@gnu.org>
5174 [mdoc] Within .An, .Aq, .Ao, and .Ac now use `<' and `>'.
5175 Problem reported by Ulrich Spörlein <uqs@spoerlein.net>
5177 * tmac/doc.tmac (Aq, Ao, Ac): Implement it to follow RFC 822 and
5180 2011-02-14 Werner LEMBERG <wl@gnu.org>
5182 * doc/groff.texinfo: Add another example for .em request
5183 Based on a patch from Anton Shepelev <anton.txt@gmail.com>.
5185 2011-01-31 Werner LEMBERG <wl@gnu.org>
5187 More fixes for Savannah bug #32301.
5189 * src/devices/grops/Makefile.sub (XLIBS),
5190 src/devices/grodvi/Makefile.sub, src/devices/grolj4/Makefile.sub,
5191 src/devices/grohtml/Makefile.sub, src/devices/grolbp/Makefile.sub:
5194 2011-01-31 Werner LEMBERG <wl@gnu.org>
5196 Fix Savannah bug #32301.
5198 * src/roff/groff/Makefile.sub (XLIBS),
5199 src/preproc/grn/Makefile.sub, src/preproc/html/Makefile.sub: Add
5202 2011-01-29 Krzysztof Żelechowski <giecrilj@stegny.2a.pl>
5204 * doc/groff.texinfo: Complete documentation on output devices.
5206 2011-01-28 Werner LEMBERG <wl@gnu.org>
5208 Handle `refer*.tmac'.
5210 * tmac/Makefile.sub (NORMALFILES): Add `refer*.tmac'.
5211 * tmac/refer-mm.tmac: Moved to contrib/mm.
5213 2011-01-28 Werner LEMBERG <wl@gnu.org>
5215 Improve `refer' support of -me.
5217 * tmac/refer.tmac, tmac/refer-me.tmac, tmac/refer-ms.tmac,
5218 tmac/refer-mm.tmac: New files. The code in refer.tmac is
5219 based on the old code from `s.tmac'.
5221 * tmac/s.tmac: Remove direct refer support and include
5222 `refer-ms.tmac' instead.
5223 * tmac/e.tmac: Remove direct refer support and include
5224 `refer-me.tmac' instead.
5228 2011-01-22 Werner LEMBERG <wl@gnu.org>
5230 [groff.texinfo]: Updates.
5232 * doc/groff.texinfo: Document groff's `-j' option.
5233 Add dummy section for `chem' preprocessor.
5235 2011-01-22 Werner LEMBERG <wl@gnu.org>
5239 * src/roff/grog/{groff.sh,groff.pl}: `groff' now calls `pic'
5240 automatically if `grap' or `chem' is used.
5241 `chem' has been folded into `groff'.
5242 * src/roff/grog/grog.man: Updated.
5244 2011-01-22 Werner LEMBERG <wl@gnu.org>
5246 Make `groff -G' imply `-p'.
5248 * src/roff/groff/groff.cpp (main): Implement it.
5249 * src/roff/groff/groff.man: Updated.
5251 2011-01-22 Werner LEMBERG <wl@gnu.org>
5253 Integrate `chem' into `groff' (new option -j).
5255 * src/roff/groff/groff.cpp (CHEM_INDEX): New constant.
5256 (main) ['j']: Add `chem'.
5257 (synopsis, help): Updated.
5258 * src/roff/troff/pipeline.h (MAX_COMMANDS): Increase to 14.
5260 * src/roff/groff/groff.man: Document new command line option.
5263 2011-01-22 Werner LEMBERG <wl@gnu.org>
5265 * doc/groff.texinfo: `chem' is now part of groff.
5267 2011-01-22 Werner LEMBERG <wl@gnu.org>
5269 * doc/groff.texinfo: Improve description of `.de'.
5271 Based on suggestions by Ted Harding and Deri James.
5273 2011-01-20 Colin Watson <cjwatson@debian.org>
5275 Fix handling of wide characters in no-SGR mode.
5277 * src/devices/grotty/tty.cpp (tty_printer::make_underline): Only
5278 emit a single backspace in no-SGR mode. less (at least)
5279 backspaces over a character at a time.
5280 (tty_printer::make_bold): Likewise.
5282 2011-01-19 Werner LEMBERG <wl@gnu.org>
5284 * src/preproc/pic/pic.man: Add pic manual to `SEE ALSO' section.
5286 2011-01-14 Werner LEMBERG <wl@gnu.org>
5290 * ChangeLog: Split off older entries into...
5291 * ChangeLog.119, ChangeLog.120: these new files.
5293 2011-01-15 Colin Watson <cjwatson@debian.org>
5295 * Makefile.comm (INCLUDES): Fix typo.
5297 2011-01-05 Werner LEMBERG <wl@gnu.org>
5299 * doc/webpage.ms: Fix rendering of title image.
5302 ________________________________________________________________________
5306 Copyright 2011-2018 Free Software Foundation, Inc.
5308 Copying and distribution of this file, with or without modification,
5309 are permitted in any medium without royalty provided the copyright
5310 notice and this notice are preserved.
5313 ##### Emacs settings
5316 version-control: never