Opened 3 years ago

Closed 3 years ago

#4396 closed task (fixed)

groff -1.22.4

Reported by: Anton Maisak Owned by: Douglas R. Reno
Priority: normal Milestone: 8.4
Component: Book Version: SVN
Severity: normal Keywords: groff


new point version 08fb04335e2f5e73f23ea4c3adbf0c5f

2018-12-18 Bertrand Garrigues <bertrand.garrigues@…>

Fix 'dvi' and 'pdf' texinfo doc generation.

GNU make has a built-in variable 'TEXI2DVI' but it is not the case of all 'make' implementations, which causes 'make doc' to fail with an unclear message although 'texi2dvi' is available. Also, 'texi2dvi' is invoked inconditionnally.

  • m4/groff.m4 (GROFF_TEXI2DVI): new macro to detect properly the presence of 'texi2dvi'.
  • use 'GROFF_TEXI2DVI' and define automake conditional 'HAVE_TEXI2DVI'.
  • doc/
  • Define TEXI2DVI to 'texi2dvi'.
  • Print an error message if 'texi2dvi' is not availabl

Change History (3)

comment:1 by Douglas R. Reno, 3 years ago

Owner: changed from lfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 3 years ago

VERSION 1.22.4


o The `hy' request has been extended.  Value 16 enables hyphenation before
  the last character, and value 32 enables hyphenation after the first


o PDFPIC has been corrected so the behaviour is the same whether you use the
  PostScript or PDF drivers.  However, this means that any documents which
  were written using the old behaviour will not be rendered correctly if
  using the PDF driver with the new version.

  The change would mean that documents which relied on the previous
  behaviour are likely to have a gap underneath the image which was not
  there before.  If you see this effect there are three ways you can restore
  the previous behaviour:

  Add the line ".nr PDFPIC_NOSPACE 1" to the document before the first call
  to .PDFPIC.

  If it is just a single document which exhibits this behaviour you can run
  groff adding "-rPDFPIC_NOSPACE=1" to the command line.

  If you have many documents which rely on the previous behaviour you can
  set an environment variable "export GROFF_PDFPIC_NOSPACE=1" which will
  restore the previous behaviour for all runs.

  Note that this change has no effect if you were using .PDFPIC with the
  PostScript driver--only if you used it with the PDF driver.


o Type 1 font loading is fixed to handle newer Ghostscript versions.

o Handling of glyphs above position 255 is improved to allow many more
  glyphs to be used.

o New macros .pdftransition and .pdfpause are introduced to allow creation
  of presentation slides.  Partially backward-compatible with present.tmac,
  specifically the PAUSE, BLOCKS and BLOCKE commands.  Supports all the
  transition types introduced in PDF v1.5 (see the gropdf man page).


o A new 'configure' option --with-compatibility-wrappers controls how groff
  compatibility wrappers for vendor-provided non-GNU macro sets are
  installed (see ./configure --help).

o eqn2graph, grap2graph, and pic2graph now attempt to adapt to very old
  installed versions of the ImageMagick and GraphicsMagick programs
  "convert".  They search the output of convert's "-help" option, and use
  "-trim" if that string is found; otherwise, the old "-crop 0x0" method
  (which produces incompatible results on versions that _do_ support
  "-trim") is used.  The programs emit a warning to standard error if the
  search fails and the old method is used.

o eqn2graph no longer supports the "-unsafe" option.  It did nothing.

o groffer now supports the output of XHTML.  Use the "--xhtml" or
  "--mode=xhtml" command-line options to generate it.

o Much work has been done, and is ongoing, to make groff's man pages better
  examples for man page writers to follow.  groff_man(7) itself has been
  expanded and largely rewritten to more precisely document the macro
  package's behavior and to be more helpful and accessible to man page
  writers who may never read any other groff documentation.

comment:3 by Douglas R. Reno, 3 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r11495

Note: See TracTickets for help on using tickets.