| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
See
http://lists.gnu.org/archive/html/bug-groff/2012-08/msg00009.html
for the full report.
|
|
|
|
| |
Also, change SX to Em when it doesn't point at a real section name.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* tmac/doc.tmac (doc-flag-recursion): Do it.
|
| |
|
|
|
|
|
|
| |
* tmac/fallbacks.tmac: New file.
* tmac/troffrc: Include it.
* tmac/Makefile.sub (NORMALFILES): Include it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Document new gropdf options -u and -s.
* src/devices/gropdf/gropdf.man: Remove references to Type 42 fonts,
they do not work in PDFs.
Document new option -s which adds `statistics' line to end of PDF
file showing number of pages in document. This has always been the
default behaviour (to add this line), all other software seems to
ignore it as intended, but `gs' sometimes complains, so the default
is now to omit the statistics.
Document new option -u[cmapfilename] to allow a user ToUnicode CMap
instead of gropdf's default. If no `cmapfilename' given then do not
include any ToUnicode CMap.
* src/devices/gropdf/gropdf.pl <top>: Allow `bundled' flags on
command line (i.e. -de = -d -e).
Use $RT_SEP as multi path separator, not hard coded `:'. Update all
users.
New flags -u and -s.
Once a custom papersize has been set as \X'papersize x,y' make it
sticky so all following pages use custom size.
When importing pdf with \X'pdf: pdfpic ...' do not compress objects
which are already compressed! This caused problems with PDFs
created with ImageMagick, now fixed.
(IsText, PutLine, do_t): The troff `u' command can contain a kerning
adjustment number, this was not being handled, now fixed.
(do_c): The troff `c' command was not being handled correctly, now
fixed.
(FindChar, RemapChr, do_N): Handle fonts with more than 255 glyphs.
($ucmap): Define CMap ToUnicode to convert ligatures
(fl,fi,ff,ffl,ffi) back to individual characters, useful for
cut'n'paste and text searching.
(LoadFont): Handle it.
(ToPoints, GetPoints): Handle `z' unit.
(do_x, FixPDFColour, PutHotSpot): Allow Annotation colour to be
groff colour, i.e. 0-65535 *3, or #rrggbb, or #rrrrbbbbgggg.
(do_p):The papersize width/length in switch -p were reversed,
corrected.
* src/devices/gropdf/Makefile.sub (gropdf): Use $RT_SEP.
Use $fontpath rather than $fontdir (this ensures site-font is
included in searches).
* tmac/pdf.tmac (PDFBOOKMARK.VIEW, PDFHREF.VIEW, PDFPAGE.Y): Fix
strings.
(pdfbookmark): Correct handling of bookmark levels.
Convert \[em] to hyphen in bookmarks
Rather use -N than -T for "named" bookmarks (-T already used for "tag"
in pdfmark.tmac)
(.pdfclean): New macro which attempts to asciify bookmark text.
(.pdfpagename): New wrapper macro for \X'pdf: pagename'.
(.pdfswitchtopage): New wrapper macro for \X'pdf: switchtopage'.
|
|
|
|
| |
Problem reported by Bjarni Ingi Gislason <bjarniig@rhi.hi.is>.
|
|
|
|
| |
* tmac/an-old.tmac (an-init): Insert missing braces.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/devices/gropdf/gropdf.pl (<top>, do_u): Add facility to handle
track kerning (.tkf).
(do_x, do_p, do_t): If pages are reordered using `pagename' and
`switchtopage' keep track of outline bookmarks.
(PutHotSpot): Allow user to control size of hotspot bounding box on
clickable links by setting PDFHREF.LEADING
* tmac/pdf.tmac (PDFHREF.LEADING): Adjust value.
(pdf*href): Pass value of PDFHREF.LEADING to gropdf.
|
|
|
|
|
| |
* tmac/pdf.tmac (PDFHREF.VIEW.LEADING): Fix value.
(pdf:href.opt-X): Add check for -X option for .pdfhref.
|
| |
|
|
|
|
|
|
|
| |
See threads starting with
http://lists.gnu.org/archive/html/groff/2011-12/msg00055.html
http://lists.gnu.org/archive/html/groff/2012-01/msg00000.html
|
|
|
|
|
| |
* tmac/doc-syms (doc-str-St--isoC-2011): Add it.
* tmac/groff_mdoc.man: Document it.
|
|
|
|
|
|
|
|
| |
Problem and possible fix reported in thread starting at
http://lists.gnu.org/archive/html/groff/2011-11/msg00002.html
* tmac/e.tmac (`(c'): Always start with a new line.
|
|
|
|
|
| |
* tmac/an-old.tmac (an-init): Add default volume name if fifth
argument to `.TH' is missing.
|
|
|
|
| |
Suggested by Jeff Conrad <jeff_conrad@msn.com>.
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common: Add many architecture names used in NetBSD and
OpenBSD (and "arm" from FreeBSD) and remove the duplicate OS version
entry for Darwin-10.6.0.
* tmac/doc-syms: Add many library names used in NetBSD and FreeBSD.
* tmac/groff_mdoc.man: Document all supported architecture names, OS
versions, and library names.
|
|
|
|
| |
Found by Kevin Lyda <kevin@ie.suberic.net>.
|
|
|
|
|
| |
* tmac/doc-syms: Add `libdwarf' and `libelf'.
* tmac/groff_mdoc.man: Document them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devpdf/*: New device files for gropdf.
* src/devices/gropdf/*: New device.
* Makefile.comm (install_dev, uninstall_dev): Handle more
subdirectories.
* Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Add directories
related to gropdf.
* MANIFEST: Updated.
* test-groff.in (GROFF_BIN_PATH): Updated.
* tmac/Makefile.sub (NORMALFILES): Updated.
* tmac/pdf.tmac: New file.
* tmac/troffrc: Updated.
* doc/groff.texinfo: Document it.
* doc/Makefile.in, doc/Makefile.sub (groff_bin_dirs): Udpated.
* doc/pic.ms: Updated.
* man/groff_out.man, src/devices/grops/grops.man,
src/preproc/pic/pic.man, src/roff/groff/groff.man,
src/utils/afmtodit/afmtodit.man, src/utils/pfbtops/pfbtops.man:
Updated.
* contrib/pdfmark/pdfmark.ms: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/e.tmac (n1, n2, TH, PS): Implement it.
(@h, @n, @o, @t, @k, )b, (c, (q, )q, (l, )l, (f, @q, PE): Updated.
* doc/meref.me: Document changes.
* src/preproc/tbl/table.cpp (ROW_START_LINE_REG, ROW_SAVE_LINE_REG,
ROW_MAX_LINE_REG, REPEATED_NM_SET_MACRO, REPEATED_NM_SUS_MACRO): New
macros.
(table::init_output): Define REPEATED_NM_SET_MACRO and
REPEATED_NM_SUS_MACRO.
(table::print_single_hline, table::print_double_hline,
table::define_bottom_macro, table::do_row, table::do_top,
table::do_bottom): Updated.
* doc/webpage.ms: Updated.
|
|
|
|
|
| |
* tmac/doc-common: Add versions strings for NetBSD, OpenBSD,
FreeBSD, and DragonFly.
|
|
|
|
|
| |
* tmac/doc-common: Add strings for FreeBSD 8.2 and Darwin 9.7-11.0.
* tmac/doc-syms: Add strings -lbsm and -lSystem.
|
|
|
|
| |
* tmac/doc-syms: Add POSIX 1003.1b.
|
|
|
|
|
|
|
| |
Problem reported by Ulrich Spörlein <uqs@spoerlein.net>
* tmac/doc.tmac (Aq, Ao, Ac): Implement it to follow RFC 822 and RFC
2822.
|
|
|
|
|
| |
* tmac/Makefile.sub (NORMALFILES): Add `refer*.tmac'.
* tmac/refer-mm.tmac: Moved to contrib/mm.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/refer.tmac, tmac/refer-me.tmac, tmac/refer-ms.tmac,
tmac/refer-mm.tmac: New files. The code in refer.tmac is
based on the old code from `s.tmac'.
* tmac/s.tmac: Remove direct refer support and include
`refer-ms.tmac' instead.
* tmac/e.tmac: Remove direct refer support and include
`refer-me.tmac' instead.
* NEWS: Updated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces three new values to `.cflags':
don't break before character: 128
don't break after character: 256
allow inter-character break: 512
They are handled differently if compared to other cflags values:
(1) hcode values are completely ignored
(2) similar to kern values, and contrary to the other cflags
values, troff looks at pairs of characters to decide whether a
break gets inserted
A yet-to-be-written patch should add inter-character spacing if
those flags are active; currently, only zero-width breakpoints are
inserted.
* src/roff/troff/charinfo.h (charinfo): Change type of `flags' to
`int'. Update callers accordingly.
New enum values `DONT_BREAK_BEFORE', `DONT_BREAK_AFTER', and
`INTER_CHAR_SPACE'.
New member functions `prohibit_break_before',
`prohibit_break_after', and `inter_char_space'.
* src/roff/troff/input.cpp: Updated.
* src/roff/troff/node.cpp (inter_char_space_node): New class similar
to kern_pair_node, collecting charinfo entities with the
abovementioned cflags values.
(break_char_type): Add new enum values.
(glyph_node::merge_glyph_node): Handle abovementioned cflags values
and emit an `inter_char_space_node' if necessary.
* tmac/ja.tmac: Use new cflags values.
* doc/groff.texinfo, NEWS, man/groff_diff.man: Document new values.
|
|
|
|
|
|
|
| |
Remove trailing spaces.
* tmac/ja.tmac: New file.
* tmac/Makefile.sub (NORMALFILES): Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (doc-operating-system-NetBSD): Add versions 5.0,
5.0.1, and 5.0.2.
(doc-operating-system-OpenBSD-*): New strings.
(doc-operating-system-FreeBSD-*): Add version 8.1.
(doc-operating-system-DragonFly-*): Add versions 2.2, 2.4, 2.6, and
2.8.
(Os): Handle DragonFly and OpenBSD.
* tmac/groff_mdoc.man: Document OpenBSD releases.
Add DragonFly release 2.8.
|
|
|
|
|
|
| |
* tmac/groff_tmac.man: Fix prologue macro order.
Update NetBSD, FreeBSD, and DragonflyBSD version numbers.
Other minor layout improvements.
|
|
|
|
| |
From Krzysztof Zelechowski <giecrilj@stegny.2a.pl>
|
|
|
|
| |
Suggested by Krzysztof Zelechowski <giecrilj@stegny.2a.pl>.
|
|
|
|
| |
Problem reported by Ted.
|
|
|
|
|
|
| |
* tmac/doc-common: Add FreeBSD versions 7.2, 7.3, and 8.0
* tmac/doc-syms: Add Posix 2008
* tmac/groff_mdoc.man: Document it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/s.tmac (@MC): Define `pg*col-top' after the paragraph has
been initialized. Otherwise, using this example,
.nh
.nf
.kern 0
.pl 6c
.ll 70n
.MC 30n
Text for multiple columns.
Text for multiple columns.
Text for multiple columns.
Text for multiple columns.
Text for multiple columns.
the columns start at different vertical positions.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (%U): New register.
(Rd): Handle `doc-url-count' and `doc-url-name'.
* tmac/doc.tmac (doc-url-count, doc-url-name): New registers.
(doc-save-global-vars, doc-restore-global-vars, doc-reset-reference,
doc-print-reference): Handle `doc-url-count' and `doc-url-name'.
(%U): New macro.
* NEWS, tmac/groff_mdoc.man: Document `%U' macro.
|
| |
|
|
|
|
| |
Reported by Seb <sbb@tuxfamily.org>.
|
|
|
|
| |
From Colin.
|
| |
|
|
|
|
|
| |
to...
(MOSTLYCLEANADD, MOSTLYCLEANNOTSRCDIRADD, MOSTLYCLEANDIRADD): This.
|