1 2007-04-11 Keith Marshall <keith.d.marshall@ntlworld.com>
3 Avoid stray newlines in folded pdfmark literal content.
5 * pdfmark.tmac (pdf*pdfmark.dispatch.wrapped): New string; define it
6 when accumulating long literal content; make it undefined otherwise.
7 (PDFMARK.FOLDWIDTH, PDFMARK.FOLDWIDTH.MAX): Reserve space for two
8 extra characters, to accommodate a space and an escaped newline,
9 while accumulating literal content, in case folding is required.
10 (pdf*pdfmark.dispatch) [pdf*pdfmark.dispatch.wrapped]: Add them.
12 2007-04-11 Keith Marshall <keith.d.marshall@ntlworld.com>
14 * pdfmark.tmac (pdfbookmark): Don't evaluate within diversions; defer
15 placement until diversion is copied out at top level.
17 2007-02-06 Eric S. Raymond <esr@snark.thyrsus.com>
19 * pdfroff.man: Update .UR/.UE and .MT/.ME to latest changes in
22 2007-01-30 Werner LEMBERG <wl@gnu.org>
24 * pdfroff.man: Updated.
26 2007-01-21 Werner LEMBERG <wl@gnu.org>
28 * pdfroff.man: Revised, based on a patch from Eric Raymond. It now
29 uses the new macros from an-ext.tmac. This is the first of a series
30 of man patches which Eric has contributed.
32 2006-07-30 Keith Marshall <keith.d.marshall@ntlworld.com>
34 * pdfroff.sh (PDFROFF_KILL_NULL_PAGES): Require `%%BeginPageSetup' on
35 PostScript output line immediately following `%%Page:'.
37 2006-07-29 Keith Marshall <keith.d.marshall@ntlworld.com>
39 * pdfroff.sh (PDFROFF_KILL_NULL_PAGES): Require `sed' to match a more
40 explicit regular expression, for detection of redundant pages.
42 2006-07-14 Keith Marshall <keith.d.marshall@ntlworld.com>
44 * pdfroff.sh (PDFWRITE): Local shell variable replaced...
45 (PDFROFF_POSTPROCESSOR_COMMAND): by this new environment variable...
46 (GROFF_GHOSTSCRIPT_INTERPRETER): with this bound to it.
47 (PDFROFF_COLLATE, PDFROFF_KILL_NULL_PAGES): New environment variables.
48 (--no-kill-null-pages): New command line option; implement it, and...
49 (--help): Add description for it.
51 * pdfroff.man (PDFROFF_POSTPROCESSOR_COMMAND): Document it.
52 (PDFROFF_COLLATE, PDFROFF_KILL_NULL_PAGES): Document them.
53 (--no-kill-null-pages): Document it.
55 2006-07-14 Zvezdan Petkovic <zpetkovic@acm.org>
57 * pdfroff.sh (--emit-ps): New command line option; implement it.
58 (--help): Add description for it.
60 * pdfroff.man (--emit-ps): Document it.
62 2006-06-11 Werner LEMBERG <wl@gnu.org>
64 * pdfroff.man: Add `.ig' block after NAME section to make mandb
67 2006-03-31 Keith Marshall <keith.d.marshall@ntlworld.com>
69 Split `pdfmark' output as required, to avoid excessively long
70 `ps:exec' intermediate output records.
72 * pdfmark.tmac (pdfmark): Macro extended to deploy ...
73 (pdf*pdfmark.limit): New macro; use it to define ...
74 (PDFMARK.FOLDWIDTH, PDFMARK.FOLDWIDTH.MAX): New registers.
75 (pdf*compose.first, pdf*compose.next, pdf*compose.literal): New
76 macros; each will be aliased as required to ...
77 (pdf*compose): ... this, to dynamically construct ...
78 (pdf:composed.line, pdf:composed.literal): ... these new strings.
79 (pdf:compose.test): New dynamically constructed string; use it to
80 detect parenthesised literals in pdfmark content, so folding can be
81 avoided within them, subject to honouring of `PDFMARK.FOLDWIDTH'.
82 (pdf*length.increment): New macro; it triggers output folding when ...
83 (pdf:length): ... this new register exceeds `PDFMARK.FOLDWIDTH.MAX'.
84 (pdf*pdfmark.post.first, pdf*pdfmark.post.next): New macros; each will
85 be aliased as required to ...
86 (pdf*pdfmark.post): ... this, and invoked by ...
87 (pdf*pdfmark.dispatch): ... this new macro; use it to define ...
88 (pdf:composed): ... this dynamically constructed macro; use ...
89 (pdf*end): ... this new macro to terminate it.
91 2006-03-09 Keith Marshall <keith.d.marshall@ntlworld.com>
93 Incorporate portability recommendations by Ralf Wildenhues
94 <ralf.wildenhues@gmx.de>
96 * pdfroff.sh: Avoid unsafe quoting in variable substitutions of
97 the form "${VAR+"set"}"; remove outer quotes everywhere; prefix
98 with `x' on each side of comparisons.
99 ($NULLCMD): Define when `$ZSH_VERSION' is set, i.e. when host
100 has `/bin/sh -> zsh'; also...
101 (emulate sh): Invoke, for this case.
103 Enhancement/bug fix requested by Werner LEMBERG <wl@gnu.org>
105 * pdfroff.sh (--help): Direct output to `stdout', not `stderr'.
106 (--keep-temporary-files): New option; implement it.
108 * pdfroff.man (OPTIONS): Document `--keep-temporary-files' option.
109 (FILES): Note names and purpose of files it affects.
111 * Makefile.sub (PDFROFF): Add `--keep-temporary-files' option;
112 retain them in `GROFF_TMPDIR=.'.
113 (CLEANADD): Include temporary files matching `pdf[0-9]*'.
115 2006-03-08 Werner LEMBERG <wl@gnu.org>
117 * pdfmark.ms: Update URL for Adobe Reference Manual.
119 2006-02-26 Claudio Fontana <claudio@gnu.org>
121 * Makefile.sub: Add DESTDIR to install and uninstall targets
122 to support staged installations.
124 2006-02-25 Werner LEMBERG <wl@gnu.org>
126 * pdfmark.ms: Correct typo; reported by Thomas Klausner.
128 2006-02-24 Werner LEMBERG <wl@gnu.org>
130 * pdfmark.ms, pdfroff.sh: Replace legal/illegal with valid/invalid.
132 2005-06-22 Keith Marshall <keith.d.marshall@ntlworld.com>
134 pdfroff.sh portability enhancement.
136 * pdfroff.sh (ARGLIST): Variable removed.
137 (GROFF_STYLE): Use it for all groff invocations.
138 (INPUT_FILES): Pass to all groff invocations, instead of ARGLIST.
139 (CS_MACRO, CE_MACRO): Initialize independently.
140 (CS_FILTER): Simplify quoting; it used to confuse some shells.
141 (Source): CVS keyword removed; replaced by...
142 (RCSfile, Revision): these.
144 2005-06-17 Keith Marshall <keith.d.marshall@ntlworld.com>
146 * pdfroff.sh (MATCH): Correct quoting.
147 (Source): Add terminating `$' on CVS keyword.
149 2005-06-17 Zvezdan Petkovic <zpetkovic@acm.org>
151 * Makefile.sub: (RM): Define as `rm -f', for `make' programs
152 which don't predefine it.
154 2005-06-16 Bernd Warken
156 * pdfroff.sh (NULLDEV): Correct misspelled instance of NULDEV.
158 2005-05-28 Werner LEMBERG <wl@gnu.org>
160 * Makefile.sub (.ms.pdf): Use `--stylesheet', not `--style'.
162 2005-05-26 Werner LEMBERG <wl@gnu.org>
164 * Makefile.sub, pdfmark.tmac, pdfroff.sh, spdf.tmac: Update postal
165 address for Free Software Foundation.
167 2005-05-17 Keith Marshall <keith.d.marshall@ntlworld.com>
169 Improve portability of `pdfroff' shell script.
171 * pdfroff.sh: Add space in shebang, conforming to portability
172 guidelines in `autoconf' docs.
173 (searchpath): New shell function; use it instead of `type' command
174 to locate prerequisite helper programs.
176 * pdfroff.man: Document influence of `OSTYPE' and `PATH_SEPARATOR'
177 environment variables.
179 * Makefile.sub (pdfroff): Make it depend on SH_DEPS_SED_SCRIPT,
180 from arch/misc/shdeps.sh; use it to customize PATH_SEPARATOR
181 initialization code for `searchpath' function in pdfroff.sh.
183 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
185 Interim documentation update.
187 * pdfmark.ms (GROFF-WEBSITE): New string; use it in references and
189 (Section 2.5): Add definitions of D and Z operators, for use with
191 (Section 2.5.4): Complete description of pdfhref macro usage for
192 `Linking to Internet Resources'; provide examples.
194 2005-05-14 Nick Stoughton <nick@usenix.org>
196 * pdfmark.tmac (LB): Renamed to ...
197 (PDFLB): This to avoid conflicts with mm's LB macro.
199 2005-05-02 Keith Marshall <keith.d.marshall@ntlworld.com>
201 Handle parsing anomalies in Cygwin's `ash', and similar, shells.
203 * pdfroff.sh ($CAT, $GREP, $SED, $GROFF, $DIFF): Avoid interpreting
204 misdirected error messages, which `type' sends to `stdout' in some
205 shells, as a successful program file match.
207 ($AWK, $GS): Likewise; also ensure that multiple choice match
208 prototypes are eval'ed as such, in case token splitting occurs
209 before variable expansion.
211 2005-04-24 Keith Marshall <keith.d.marshall@ntlworld.com>
213 Add support for folded outlines in PDF documents.
215 * pdfmark.tmac (PDFOUTLINE.FOLDLEVEL): New register.
216 (pdf:bm.emit): Use it.
218 * pdfmark.ms: Document it.
220 2005-03-25 Werner LEMBERG <wl@gnu.org>
222 * Makefile.in: Removed.
224 2005-03-24 Werner LEMBERG <wl@gnu.org>
226 * Makefile: Renamed to...
229 2005-03-22 Keith Marshall <keith.d.marshall@ntlworld.com>
231 * pdfroff.sh: Eliminate invalid program reference to $AWK, when
232 invoked with `--no-reference-dictionary' option.
234 2005-03-02 Keith Marshall <keith.d.marshall@ntlworld.com>
236 * contrib/pdfmark/Makefile.sub (install_data): Use $(INSTALL_SCRIPT)
237 to install `pdfroff'.
238 * contrib/pdfmark/pdfroff.man (opte): New macro.
239 Use it to remove spurious equal signs from SYNOPSIS.
241 2005-02-28 Keith Marshall <keith.d.marshall@ntlworld.com>
243 Provide `pdfroff' shell script, and manpage to document it;
244 runs multiple groff passes, to format PDF documents.
246 * pdfroff.sh: New shell script template;
247 * pdfroff.man: New man page to document it.
249 Integrate `pdfmark' into normal groff build system;
250 install macro `pdfmark' packages, build and install `pdfroff',
251 and PDF format documentation.
253 * Makefile.sub: Rewritten.
254 * pdfmark.tmac: Modified.
255 (pdfhref): New macro operators, `D' and `Z'.
256 (pdf*href-D, pdf*href-Z): New macros: implement them.
257 (pdf*href.mark.resolve, pdf*href.mark.emit, pdf*href.mark.flush):
258 Modified macro algorithm, to eliminate inconsistencies between
259 `grohtml' representations of `opminy' from differing groff versions.
260 (pdf*href.mark, pdf*href.mark.release, pdf*href.mark.close):
261 deleted (redundant macros).
262 (PDFHREF.LEADING): Default value changed (was 2.5p; now -1.0p).
263 Global comment updates.
267 2004-12-10 Werner LEMBERG <wl@gnu.org>
271 2004-12-08 Keith Marshall <keith.d.marshall@ntlworld.com>
273 First import of pdfmark files.
275 Copyright 2004, 2005, 2006, 2007
276 Free Software Foundation, Inc.
278 Copying and distribution of this file, with or without modification,
279 are permitted in any medium without royalty provided the copyright
280 notice and this notice are preserved.
283 version-control: never