1 2023-02-18 G. Branden Robinson <g.branden.robinson@gmail.com>
3 * pdfmark.am (uninstall-pdfmark-hook): Simplify uninstallation.
4 Try to remove the configured `pdfdocdir` in the event it is
5 empty, but do not fail if it isn't. (It can be a directory
6 shared with other groff components; we don't know in what order
7 the uninstall targets will serialize, but the last one run
10 2022-09-20 G. Branden Robinson <g.branden.robinson@gmail.com>
12 * sanitize.tmac: Move comment to where escape sequences are
13 recognized. Problem arose in commit 058b63ce3d, 2021-09-04.
15 troff:.../contrib/pdfmark/sanitize.tmac:162: warning: macro '\"'
18 2022-05-20 G. Branden Robinson <g.branden.robinson@gmail.com>
20 * pdfmark.am: Rename `BUILD_PDFDOC` to `USE_GROPDF`.
22 2022-03-30 G. Branden Robinson <g.branden.robinson@gmail.com>
24 * pdfmark.am: Eliminate `PDFMARK_TFLAG` and `PDFMARK_PFLAG` Make
25 macros; they were expanded in only one place.
26 (PDFROFF): Track rename of Make macro `TFLAG` to `MFLAG`.
28 2022-03-30 G. Branden Robinson <g.branden.robinson@gmail.com>
30 * cover.ms: Die horribly if `PSPIC` call fails.
32 2022-03-26 G. Branden Robinson <g.branden.robinson@gmail.com>
34 * pdfmark.am (PDFDOCFILES): Replace hard-coded "gnu.eps"
35 file name with expansion of `DOC_GNU_EPS`.
36 (contrib/pdfmark/pdfmark.pdf): Pass `-I` option to pdfroff(1) to
37 enable location of "gnu.eps" file.
39 2021-10-24 Keith Marshall <keith.d.marshall@ntlworld.com>
41 Adapt to accommodate global XH and XN implementations.
43 cf. <https://savannah.gnu.org/bugs/?58946#comment13>
45 * spdf.tmac (XH-INIT, XN-INIT, XH-UPDATE-TOC): Delete definitions;
46 the defaults, provided by s.tmac, are now sufficient.
47 (XH-REPLACEMENT, XN-REPLACEMENT): Define these, rather than...
48 (XH, XN): ...these, respectively.
50 2021-10-02 Keith Marshall <keith.d.marshall@ntlworld.com>
52 Make a minor layout adjustment.
54 * pdfmark.ms (Section 2.4.3): Add a vertical space reservation, to
55 avoid a widow line at the end of the paragraph explaining use of...
56 (PDFHREF.Y): ...this computed register, in the definition of...
57 (PDFBOOKMARK.VIEW): ...this.
59 2021-10-02 Keith Marshall <keith.d.marshall@ntlworld.com>
61 Clarify references to use of the -Tpdf option.
63 * pdfmark.ms (Section 2, Section 3.1): Add footnotes, indicating that
64 only "-Tps" and "-Tpdf" output formats are supported, and that "-Tpdf"
65 may avoid a separate step, to convert from PostScript to PDF.
67 2021-10-02 Keith Marshall <keith.d.marshall@ntlworld.com>
69 Work around misplacement of link "hot-spots" in footnotes.
71 * pdfmark.ms (pdfhref-nobreak): New document-local macro; used instead
72 of "pdfhref", this forces paragraph adjustment before placement of any
73 unbreakable link text, for which line-wrap may be required. Currently
74 observed only within footnotes, without adjustment, the "hot-spot" for
75 the link may be placed 1v above its associated text.
77 2021-10-02 Keith Marshall <keith.d.marshall@ntlworld.com>
79 Link footnote reference marks to footnote text.
81 * pdfmark.ms (FP): Redefine locally; replace s.tmac default.
82 (FF): Do not redefine; our FP replacement macro does not use it.
83 [d FS-MARK] (FS-MARK): Redefine locally; map it to...
84 (pdf:fn.mark): ...this locally defined macro.
85 [!d FS-MARK] (@FS): Rename s.tmac implementation as...
86 (pdf:fn.record): ...this, then redefine @FS itself, to call...
87 (pdf:fn.mark, pdf:fn.record): ...these, in respective order.
88 (groff-1.19.1, GhostScript-8.14): Update footnote reference syntax.
89 (Ghostscript-8.14, MSYS): Emulate sentence space after footnote mark.
90 (*): Replace s.tmac string definition; make it equivalent to "\c",
91 after renaming its original implementation as...
92 (pdf:fn.index): ...this; synchronize references with changes to...
93 (pdf:fn.index.count): ...this new locally defined register; it is
94 auto-incremented by one, as each footnote is placed.
96 2021-10-01 Keith Marshall <keith.d.marshall@ntlworld.com>
98 Incorporate user-defined TOC leader style.
100 * pdfmark.ms: Make some comment tidy-up adjustments.
101 (TC-LEADER, TC-MARGIN): Define them, to take advantage of new
102 s.tmac features; cf. <https://savannah.gnu.org/bugs/?61157>.
104 2021-09-18 Keith Marshall <keith.d.marshall@ntlworld.com>
106 Factor a further unnecessary macro out of spdf.tmac
108 * spdf.tmac (XR): Remove it; relocate it to...
109 * pdfmark.ms (XR): ...here.
111 2021-09-13 Keith Marshall <keith.d.marshall@ntlworld.com>
113 Add comments to annotate locally-defined font change macros.
115 * pdfmark.ms (EM): Annotate this locally-defined emphasis macro...
116 (CWB, CWI, CWBI): ...these constant width font interpolation macros...
117 (=): ...and this locally-defined IP tag variant string.
119 2021-09-13 Keith Marshall <keith.d.marshall@ntlworld.com>
121 Update defunct internet URL references.
123 * pdfmark.ms (pdfmark-manual): Adobe moved the document (again);
124 update the document reference macro, to follow the URL relocation.
125 (www.mingw.org): The MinGW Project has relinquished this domain;
126 update the URL reference, to follow web-site relocation to...
127 (mingw.osdn.io): ...here.
129 2021-09-13 Keith Marshall <keith.d.marshall@ntlworld.com>
131 Factor document-specific bloat out of spdf.tmac
133 * spdf.tmac: Reorganize; add many comments.
134 (XN): Retained, but reimplemented, to serve as...
135 (XH, XN): ...both of these; add callback hooks for...
136 (XH-INIT, XN-INIT, XH-UPDATE-TOC): ...these; provide no-op stubs;
137 factor out TOC collection code, delegating to XH-UPDATE-TOC.
138 (opt*XN-N, opt*XN-S, opt*XN-X): Rename internal macros to...
139 (de spdf:XH-N, de spdf:XH-S, de spdf:XH-X): ...these, respectively.
140 (AN, @AN, IE, IS, LU, NN, PXREF, SAME-PAGE, XM): Delete; we do not
141 require these; if users do, they should define their own.
142 (pdf@toc): Delete internal macro; fold body into...
145 * pdfmark.ms (XH-UPDATE-TOC): Implement callback; it is based on...
146 (XN): ...original implementation of this, factored out of spdf.tmac,
147 but with significant simplification, to remove unnecessary code.
148 (XNVS1, XNVS2, XNVS3): Tighten vertical spacing.
150 2021-09-04 Keith Marshall <keith.d.marshall@ntlworld.com>
152 Reduce potential for user-space exposure of "ms" internals.
154 * spdf.tmac (@NH): Append to s.tmac macro; assign...
155 (spdf:nh*hl): ...this new internal register; alias it to...
156 (.NH): ...this new public name, hence making it track...
157 (nh*hl): ...this s.tmac internal numeric register.
158 (XN): Use \n[.NH] instead of \n[nh*hl].
160 2021-09-03 Keith Marshall <keith.d.marshall@ntlworld.com>
162 Sanitize text for use in PDF document outlines.
164 * sanitize.tmac: New file; it implements...
165 (sanitize): ...this new macro; interprets its first argument as a
166 string name, and copies its remaining arguments to the named string,
167 discarding specific embedded troff escape sequences; currently...
168 (\F): ...only this is identified as "specifically discardable".
170 * pdfmark.am (TMACFILES): Add sanitize.tmac
172 * spdf.tmac (mso): Include sanitize.tmac
173 (xn*ref, xn*argc): Rename all occurrences...
174 (spdf:refname, spdf:argc): ...to these, respectively.
175 (XN): Stop inserting $* directly into PDF outlines; instead, use...
176 (spdf:bm.text): ...this new string; this is locally defined by...
177 (spdf:bm.define): ...this new macro; passed the original $* from
178 XN, this itself, is locally defined as a redirectable alias for...
179 (spdf:bm.basic): ...this new local macro; it simply copies $*,
180 passed from XN, to the string named by its first argument, (which is
181 always spdf:bm.text), so reproducing previous behaviour.
182 (opt*XN-S): New macro; defined for internal use only, it adds a "-S"
183 option to XN, such that, when specified, it temporarily redirects...
184 (spdf:bm.define): ...this macro mapping alias to...
187 * pdfmark.ms (XN): Add "-S" option for all headings which include...
188 (\F[C]...\F[]): ...this escape sequence.
190 2021-08-21 Keith Marshall <keith.d.marshall@ntlworld.com>
192 Define, and use registered trade mark strings.
194 * pdfmark.ms (Adobe, Acrobat, Distiller, PostScript, Microsoft):
195 Define as strings. Each expands to its own name, followed by the
196 registered trademark symbol, as a superscript, and optional trailing
197 punctuation, below the superscript. Use each as required.
199 2021-08-21 Keith Marshall <keith.d.marshall@ntlworld.com>
201 Prefer "-ize" to "-ise" where etymology permits.
203 * pdfmark.ms: For all verbs, and their derivative nouns, for which
204 British English allows either "-ise" or "-ize" as ending, prefer the
205 "-ize" form of verb, and "-ization" form of noun, throughout.
207 2021-08-20 Keith Marshall <keith.d.marshall@ntlworld.com>
209 Correct a spelling error.
211 * pdfmark.ms (Section 2.5.3.1): Fix typo: s/exanple/example/.
213 2021-08-20 Keith Marshall <keith.d.marshall@ntlworld.com>
215 Space out section headings in pdfmark.ms source.
217 * pdfmark.ms (.NH): Precede each instance by one null request, to
220 2021-08-18 Keith Marshall <keith.d.marshall@ntlworld.com>
222 Refine pdfroff "missing ghostscript" diagnostic.
224 * pdfroff.sh [$GS = ":"]: Fix typo: s/connot/cannot/; refine text.
226 2020-12-25 G. Branden Robinson <g.branden.robinson@gmail.com>
228 * pdfmark.am (PDFROFF): Call pdfroff without
229 `--keep-temporary-files` option. Temporary directories are
230 created with mktemp(1) and files with an embedded process
231 identifier, which frustrates reproducible builds.
233 See <https://savannah.gnu.org/bugs/?57218>.
235 2018-02-28 Werner LEMBERG <wl@gnu.org>
237 * pdfmark.am (pdfmark.pdf): Use $(GROFF_V).
239 2018-02-28 Werner LEMBERG <wl@gnu.org>
241 * pdfmark.am (pdfroff): Use $(AM_V_GEN) to silence file generation.
243 2015-08-22 Bernd Warken <groff-bernd.warken-72@web.de>
245 * pdfroff.1.man: Rename `pdfroff.man'.
247 * pdfmark.am: Add `Last update'. Setup Emacs mode.
249 2015-08-05 Bernd Warken <groff-bernd.warken-72@web.de>
251 * pdfmark.am: Add `Last update'. Setup Emacs mode.
253 2015-04-03 Werner LEMBERG <wl@gnu.org>
255 * pdfroff.man: Make it work in compatibility mode.
257 2014-10-14 Keith Marshall <keith.d.marshall@ntlworld.com>
259 Deduce "--no-toc-relocation" from input stream (revisited).
261 * pdfroff.sh (WRKFILE): Correct malformed sed expression.
263 * spdf.tmac (TC): Prefer value of pdfroff's PHASE register to defined
264 state of pdf:href.map, when choosing to emit control record to...
265 (toc_relocation): ...enable this.
267 2014-10-13 Keith Marshall <keith.d.marshall@ntlworld.com>
269 Deduce "--no-toc-relocation" from input stream.
271 * pdfroff.sh (WRKFILE): Scan it for "pdfroff-option:set" records;
272 apply settings; check for equivalent of "--no-toc-relocation" option.
274 * spdf.tmac (TC): Emit "pdfroff-option:set toc-relocation=enabled".
276 2014-10-12 Keith Marshall <keith.d.marshall@ntlworld.com>
278 Avoid spurious user visible control messages on stderr.
280 * pdfroff.sh (REFCOPY): Ensure that at least one pdfhref mark of type
281 'Z' will remain in the reference map, after all references have been
282 resolved; this is required, to suppress writing of reference control
283 records to stderr during the final PDF output processing phase.
285 2014-09-04 Bernd Warken <groff-bernd.warken-72@web.de>
287 * all pdfmark source files: Copying (remove last updates and
288 replace years with package years) and Emacs setup.
290 2014-03-30 Steffen Nurpmeso <sdaoden@yandex.com>
292 * Makefile.sub: Put straight error-prevention prefixes for `rm'.
294 2014-03-29 Steffen Nurpmeso <sdaoden@yandex.com>
296 * Makefile.sub: Handle examples separately, controlled by
297 $(make{_,_install_,_uninstall_}examples).
299 2013-01-28 Deri James <deri@chuzzlewit.myzen.co.uk>
301 * pdfmark.tmac (pdfmark, pdf:composed): Use `\!' instead of `\X'.
303 With the old pdfmark there are gaps between two of the lines, but
304 with the new version they disappear. The use of `.br' and `.in 0'
305 is arbitrary any request which causes an implicit break could be
306 used. Two breaks together only produce one line break, but if there
307 is an intervening `\X' then the second break finds the line buffer
308 not empty and generates another line break.
310 Using `\!' does alter the position of the pdfmark lines in the
311 intermediate file sent to grops (the pdfmark lines are output
312 immediately rather than being serialised through the output line
313 processing), but this has no effect since the contents of the
314 pdfmark line stay the same. It is the contents which determine
315 where bookmarks jump to not the position of the record in the input
318 I initially used `.output', but hit a snag if a pdfbookmark occurs
319 before the document starts to output (message saying to insert an
320 explicit `.br'), this is quite likely for things like `.pdfinfo
321 /Author' which occur at the top of the document. So I'm using the
324 2012-09-20 Werner LEMBERG <wl@gnu.org>
326 Simplify enviroment handling.
328 Suggested by Ivan Shmakov <oneingray@gmail.com>.
330 * Makefile.sub (PDFROFF): Don't use export.
332 2011-12-26 Mike Frysinger <vapier@gentoo.org>
334 Fix parallel build race failure.
336 Sometimes building in parallel will fail in the pdfmark directory:
338 make[2]: Entering directory '.../contrib/pdfmark'
341 sed -f ... ./pdfroff.sh >pdfroff
342 ...; ./pdfroff ... pdfmark.ms >pdfmark.pdf
343 /bin/sh: ./pdfroff: Permission denied
345 make[2]: *** [pdfmark.pdf] Error 126
347 This is because the generated pdf files use the local generated
348 pdfroff helper script, but they don't depend directly upon it, so
349 make tries to create the two in parallel and randomly falls over.
351 * Makefile.sub: Have all the .pdf files explicitly depend on the
352 `pdfroff' helper script.
354 2010-12-23 Keith Marshall <keith.d.marshall@ntlworld.com>
356 Update copyright notices; pdfmark.tmac bug-fix.
358 * pdfmark.tmac: Update copyright notices.
359 (pdf*href.mark.resolve): Avoid premature removal, by aliasing to...
360 (pdf*href.mark.begin): ...this, rather than renaming.
362 * pdfroff.sh, pdfroff.man: Update copyright notices.
364 2010-12-14 Keith Marshall <keith.d.marshall@ntlworld.com>
366 Clean up handling of temporary files directory.
368 * .cvsignore (pdfroff-*): Ignore sub-directories matching this.
369 * Makefile.sub (MOSTLCLEANDIRADD): Schedule them for removal.
371 2010-12-02 Keith Marshall <keith.d.marshall@ntlworld.com>
373 Address potential temporary file security vulnerabilities.
375 * pdfroff.sh (GROFF_TMPDIR): Use mktemp(1) to assign it, if possible;
376 fall back to ${TMPDIR}, ${TMP} or ${TEMP} if unsuccessful.
377 * pdfroff.man: Document it.
379 2009-08-16 Colin Watson <cjwatson@debian.org>
381 Make pdfroff's GhostScript invocation safer.
383 * pdfroff.sh (PDFROFF_POSTPROCESSOR_COMMAND): Add `-dSAFER' option.
384 * pdfroff.man: Document it.
386 2008-12-28 Keith Marshall <keith.d.marshall@ntlworld.com>
388 Avoid phantom line wrapping in pdfhref hot-spots.
390 * pdfmark.tmac (pdf*href.mark.end): Emit hot-spot end markers within
391 scope of `\Z', to prevent possible output line length overflow which
392 may occur only in the layout computation passes, but not in the final
393 output pass. Problem observed and identified by Nick Stoughton; it
394 causes some hot-spots to be displaced from their proper locations.
396 2007-04-11 Keith Marshall <keith.d.marshall@ntlworld.com>
398 Avoid stray newlines in folded pdfmark literal content.
400 * pdfmark.tmac (pdf*pdfmark.dispatch.wrapped): New string; define it
401 when accumulating long literal content; make it undefined otherwise.
402 (PDFMARK.FOLDWIDTH, PDFMARK.FOLDWIDTH.MAX): Reserve space for two
403 extra characters, to accommodate a space and an escaped newline,
404 while accumulating literal content, in case folding is required.
405 (pdf*pdfmark.dispatch) [pdf*pdfmark.dispatch.wrapped]: Add them.
407 2007-04-11 Keith Marshall <keith.d.marshall@ntlworld.com>
409 * pdfmark.tmac (pdfbookmark): Don't evaluate within diversions; defer
410 placement until diversion is copied out at top level.
412 2007-02-06 Eric S. Raymond <esr@snark.thyrsus.com>
414 * pdfroff.man: Update .UR/.UE and .MT/.ME to latest changes in
417 2007-01-30 Werner LEMBERG <wl@gnu.org>
419 * pdfroff.man: Updated.
421 2007-01-21 Werner LEMBERG <wl@gnu.org>
423 * pdfroff.man: Revised, based on a patch from Eric Raymond. It now
424 uses the new macros from an-ext.tmac. This is the first of a series
425 of man patches which Eric has contributed.
427 2006-07-30 Keith Marshall <keith.d.marshall@ntlworld.com>
429 * pdfroff.sh (PDFROFF_KILL_NULL_PAGES): Require `%%BeginPageSetup' on
430 PostScript output line immediately following `%%Page:'.
432 2006-07-29 Keith Marshall <keith.d.marshall@ntlworld.com>
434 * pdfroff.sh (PDFROFF_KILL_NULL_PAGES): Require `sed' to match a more
435 explicit regular expression, for detection of redundant pages.
437 2006-07-14 Keith Marshall <keith.d.marshall@ntlworld.com>
439 * pdfroff.sh (PDFWRITE): Local shell variable replaced...
440 (PDFROFF_POSTPROCESSOR_COMMAND): by this new environment variable...
441 (GROFF_GHOSTSCRIPT_INTERPRETER): with this bound to it.
442 (PDFROFF_COLLATE, PDFROFF_KILL_NULL_PAGES): New environment variables.
443 (--no-kill-null-pages): New command line option; implement it, and...
444 (--help): Add description for it.
446 * pdfroff.man (PDFROFF_POSTPROCESSOR_COMMAND): Document it.
447 (PDFROFF_COLLATE, PDFROFF_KILL_NULL_PAGES): Document them.
448 (--no-kill-null-pages): Document it.
450 2006-07-14 Zvezdan Petkovic <zpetkovic@acm.org>
452 * pdfroff.sh (--emit-ps): New command line option; implement it.
453 (--help): Add description for it.
455 * pdfroff.man (--emit-ps): Document it.
457 2006-06-11 Werner LEMBERG <wl@gnu.org>
459 * pdfroff.man: Add `.ig' block after NAME section to make mandb
462 2006-03-31 Keith Marshall <keith.d.marshall@ntlworld.com>
464 Split `pdfmark' output as required, to avoid excessively long
465 `ps:exec' intermediate output records.
467 * pdfmark.tmac (pdfmark): Macro extended to deploy ...
468 (pdf*pdfmark.limit): New macro; use it to define ...
469 (PDFMARK.FOLDWIDTH, PDFMARK.FOLDWIDTH.MAX): New registers.
470 (pdf*compose.first, pdf*compose.next, pdf*compose.literal): New
471 macros; each will be aliased as required to ...
472 (pdf*compose): ... this, to dynamically construct ...
473 (pdf:composed.line, pdf:composed.literal): ... these new strings.
474 (pdf:compose.test): New dynamically constructed string; use it to
475 detect parenthesised literals in pdfmark content, so folding can be
476 avoided within them, subject to honouring of `PDFMARK.FOLDWIDTH'.
477 (pdf*length.increment): New macro; it triggers output folding when ...
478 (pdf:length): ... this new register exceeds `PDFMARK.FOLDWIDTH.MAX'.
479 (pdf*pdfmark.post.first, pdf*pdfmark.post.next): New macros; each will
480 be aliased as required to ...
481 (pdf*pdfmark.post): ... this, and invoked by ...
482 (pdf*pdfmark.dispatch): ... this new macro; use it to define ...
483 (pdf:composed): ... this dynamically constructed macro; use ...
484 (pdf*end): ... this new macro to terminate it.
486 2006-03-09 Keith Marshall <keith.d.marshall@ntlworld.com>
488 Incorporate portability recommendations by Ralf Wildenhues
489 <ralf.wildenhues@gmx.de>
491 * pdfroff.sh: Avoid unsafe quoting in variable substitutions of
492 the form "${VAR+"set"}"; remove outer quotes everywhere; prefix
493 with `x' on each side of comparisons.
494 ($NULLCMD): Define when `$ZSH_VERSION' is set, i.e. when host
495 has `/bin/sh -> zsh'; also...
496 (emulate sh): Invoke, for this case.
498 Enhancement/bug fix requested by Werner LEMBERG <wl@gnu.org>
500 * pdfroff.sh (--help): Direct output to `stdout', not `stderr'.
501 (--keep-temporary-files): New option; implement it.
503 * pdfroff.man (OPTIONS): Document `--keep-temporary-files' option.
504 (FILES): Note names and purpose of files it affects.
506 * Makefile.sub (PDFROFF): Add `--keep-temporary-files' option;
507 retain them in `GROFF_TMPDIR=.'.
508 (CLEANADD): Include temporary files matching `pdf[0-9]*'.
510 2006-03-08 Werner LEMBERG <wl@gnu.org>
512 * pdfmark.ms: Update URL for Adobe Reference Manual.
514 2006-02-26 Claudio Fontana <claudio@gnu.org>
516 * Makefile.sub: Add DESTDIR to install and uninstall targets
517 to support staged installations.
519 2006-02-25 Werner LEMBERG <wl@gnu.org>
521 * pdfmark.ms: Correct typo; reported by Thomas Klausner.
523 2006-02-24 Werner LEMBERG <wl@gnu.org>
525 * pdfmark.ms, pdfroff.sh: Replace legal/illegal with valid/invalid.
527 2005-06-22 Keith Marshall <keith.d.marshall@ntlworld.com>
529 pdfroff.sh portability enhancement.
531 * pdfroff.sh (ARGLIST): Variable removed.
532 (GROFF_STYLE): Use it for all groff invocations.
533 (INPUT_FILES): Pass to all groff invocations, instead of ARGLIST.
534 (CS_MACRO, CE_MACRO): Initialize independently.
535 (CS_FILTER): Simplify quoting; it used to confuse some shells.
536 (Source): CVS keyword removed; replaced by...
537 (RCSfile, Revision): these.
539 2005-06-17 Keith Marshall <keith.d.marshall@ntlworld.com>
541 * pdfroff.sh (MATCH): Correct quoting.
542 (Source): Add terminating `$' on CVS keyword.
544 2005-06-17 Zvezdan Petkovic <zpetkovic@acm.org>
546 * Makefile.sub: (RM): Define as `rm -f', for `make' programs
547 which don't predefine it.
549 2005-06-16 Bernd Warken <groff-bernd.warken-72@web.de>
551 * pdfroff.sh (NULLDEV): Correct misspelled instance of NULDEV.
553 2005-05-28 Werner LEMBERG <wl@gnu.org>
555 * Makefile.sub (.ms.pdf): Use `--stylesheet', not `--style'.
557 2005-05-26 Werner LEMBERG <wl@gnu.org>
559 * Makefile.sub, pdfmark.tmac, pdfroff.sh, spdf.tmac: Update postal
560 address for Free Software Foundation.
562 2005-05-17 Keith Marshall <keith.d.marshall@ntlworld.com>
564 Improve portability of `pdfroff' shell script.
566 * pdfroff.sh: Add space in shebang, conforming to portability
567 guidelines in `autoconf' docs.
568 (searchpath): New shell function; use it instead of `type' command
569 to locate prerequisite helper programs.
571 * pdfroff.man: Document influence of `OSTYPE' and `PATH_SEPARATOR'
572 environment variables.
574 * Makefile.sub (pdfroff): Make it depend on SH_DEPS_SED_SCRIPT,
575 from arch/misc/shdeps.sh; use it to customize PATH_SEPARATOR
576 initialization code for `searchpath' function in pdfroff.sh.
578 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
580 Interim documentation update.
582 * pdfmark.ms (GROFF-WEBSITE): New string; use it in references and
584 (Section 2.5): Add definitions of D and Z operators, for use with
586 (Section 2.5.4): Complete description of pdfhref macro usage for
587 `Linking to Internet Resources'; provide examples.
589 2005-05-14 Nick Stoughton <nick@usenix.org>
591 * pdfmark.tmac (LB): Renamed to ...
592 (PDFLB): This to avoid conflicts with mm's LB macro.
594 2005-05-02 Keith Marshall <keith.d.marshall@ntlworld.com>
596 Handle parsing anomalies in Cygwin's `ash', and similar, shells.
598 * pdfroff.sh ($CAT, $GREP, $SED, $GROFF, $DIFF): Avoid interpreting
599 misdirected error messages, which `type' sends to `stdout' in some
600 shells, as a successful program file match.
602 ($AWK, $GS): Likewise; also ensure that multiple choice match
603 prototypes are eval'ed as such, in case token splitting occurs
604 before variable expansion.
606 2005-04-24 Keith Marshall <keith.d.marshall@ntlworld.com>
608 Add support for folded outlines in PDF documents.
610 * pdfmark.tmac (PDFOUTLINE.FOLDLEVEL): New register.
611 (pdf:bm.emit): Use it.
613 * pdfmark.ms: Document it.
615 2005-03-25 Werner LEMBERG <wl@gnu.org>
617 * Makefile.in: Removed.
619 2005-03-24 Werner LEMBERG <wl@gnu.org>
621 * Makefile: Renamed to...
624 2005-03-22 Keith Marshall <keith.d.marshall@ntlworld.com>
626 * pdfroff.sh: Eliminate invalid program reference to $AWK, when
627 invoked with `--no-reference-dictionary' option.
629 2005-03-02 Keith Marshall <keith.d.marshall@ntlworld.com>
631 * contrib/pdfmark/Makefile.sub (install_data): Use $(INSTALL_SCRIPT)
632 to install `pdfroff'.
633 * contrib/pdfmark/pdfroff.man (opte): New macro.
634 Use it to remove spurious equal signs from SYNOPSIS.
636 2005-02-28 Keith Marshall <keith.d.marshall@ntlworld.com>
638 Provide `pdfroff' shell script, and manpage to document it;
639 runs multiple groff passes, to format PDF documents.
641 * pdfroff.sh: New shell script template;
642 * pdfroff.man: New man page to document it.
644 Integrate `pdfmark' into normal groff build system;
645 install macro `pdfmark' packages, build and install `pdfroff',
646 and PDF format documentation.
648 * Makefile.sub: Rewritten.
649 * pdfmark.tmac: Modified.
650 (pdfhref): New macro operators, `D' and `Z'.
651 (pdf*href-D, pdf*href-Z): New macros: implement them.
652 (pdf*href.mark.resolve, pdf*href.mark.emit, pdf*href.mark.flush):
653 Modified macro algorithm, to eliminate inconsistencies between
654 `grohtml' representations of `opminy' from differing groff versions.
655 (pdf*href.mark, pdf*href.mark.release, pdf*href.mark.close):
656 deleted (redundant macros).
657 (PDFHREF.LEADING): Default value changed (was 2.5p; now -1.0p).
658 Global comment updates.
662 2004-12-10 Werner LEMBERG <wl@gnu.org>
666 2004-12-08 Keith Marshall <keith.d.marshall@ntlworld.com>
668 First import of pdfmark files.
670 ________________________________________________________________________
672 Copyright (C) 2004-2020 Free Software Foundation, Inc.
674 Copying and distribution of this file, with or without modification,
675 are permitted in any medium without royalty provided the copyright
676 notice and this notice are preserved.
681 version-control: never
683 vim:set autoindent textwidth=72: