1c5a18f502a13ec44dd1acc6d1b8a5793a30b0fe
[platform/upstream/groff.git] / contrib / pdfmark / ChangeLog
1 2023-02-18  G. Branden Robinson <g.branden.robinson@gmail.com>
2
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
8         should succeed.)
9
10 2022-09-20  G. Branden Robinson <g.branden.robinson@gmail.com>
11
12         * sanitize.tmac: Move comment to where escape sequences are
13         recognized.  Problem arose in commit 058b63ce3d, 2021-09-04.
14
15         troff:.../contrib/pdfmark/sanitize.tmac:162: warning: macro '\"'
16         not defined
17
18 2022-05-20  G. Branden Robinson <g.branden.robinson@gmail.com>
19
20         * pdfmark.am: Rename `BUILD_PDFDOC` to `USE_GROPDF`.
21
22 2022-03-30  G. Branden Robinson <g.branden.robinson@gmail.com>
23
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`.
27
28 2022-03-30  G. Branden Robinson <g.branden.robinson@gmail.com>
29
30         * cover.ms: Die horribly if `PSPIC` call fails.
31
32 2022-03-26  G. Branden Robinson <g.branden.robinson@gmail.com>
33
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.
38
39 2021-10-24  Keith Marshall  <keith.d.marshall@ntlworld.com>
40
41         Adapt to accommodate global XH and XN implementations.
42
43         cf. <https://savannah.gnu.org/bugs/?58946#comment13>
44
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.
49
50 2021-10-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
51
52         Make a minor layout adjustment.
53
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.
58
59 2021-10-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
60
61         Clarify references to use of the -Tpdf option.
62
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.
66
67 2021-10-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
68
69         Work around misplacement of link "hot-spots" in footnotes.
70
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.
76
77 2021-10-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
78
79         Link footnote reference marks to footnote text.
80
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.
95
96 2021-10-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
97
98         Incorporate user-defined TOC leader style.
99
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>.
103
104 2021-09-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
105
106         Factor a further unnecessary macro out of spdf.tmac
107
108         * spdf.tmac (XR): Remove it; relocate it to...
109         * pdfmark.ms (XR): ...here.
110
111 2021-09-13  Keith Marshall  <keith.d.marshall@ntlworld.com>
112
113         Add comments to annotate locally-defined font change macros.
114
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.
118
119 2021-09-13  Keith Marshall  <keith.d.marshall@ntlworld.com>
120
121         Update defunct internet URL references.
122
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.
128
129 2021-09-13  Keith Marshall  <keith.d.marshall@ntlworld.com>
130
131         Factor document-specific bloat out of spdf.tmac
132
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...
143         (TC): ...this.
144
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.
149
150 2021-09-04  Keith Marshall  <keith.d.marshall@ntlworld.com>
151
152         Reduce potential for user-space exposure of "ms" internals.
153
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].
159
160 2021-09-03  Keith Marshall  <keith.d.marshall@ntlworld.com>
161
162         Sanitize text for use in PDF document outlines.
163
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".
169
170         * pdfmark.am (TMACFILES): Add sanitize.tmac
171
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...
185         (sanitize): ...this.
186
187         * pdfmark.ms (XN): Add "-S" option for all headings which include...
188         (\F[C]...\F[]): ...this escape sequence.
189
190 2021-08-21  Keith Marshall  <keith.d.marshall@ntlworld.com>
191
192         Define, and use registered trade mark strings.
193
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.
198
199 2021-08-21  Keith Marshall  <keith.d.marshall@ntlworld.com>
200
201         Prefer "-ize" to "-ise" where etymology permits.
202
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.
206
207 2021-08-20  Keith Marshall  <keith.d.marshall@ntlworld.com>
208
209         Correct a spelling error.
210
211         * pdfmark.ms (Section 2.5.3.1): Fix typo: s/exanple/example/.
212
213 2021-08-20  Keith Marshall  <keith.d.marshall@ntlworld.com>
214
215         Space out section headings in pdfmark.ms source.
216
217         * pdfmark.ms (.NH): Precede each instance by one null request, to
218         improve readability.
219
220 2021-08-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
221
222         Refine pdfroff "missing ghostscript" diagnostic.
223
224         * pdfroff.sh [$GS = ":"]: Fix typo: s/connot/cannot/; refine text.
225
226 2020-12-25  G. Branden Robinson <g.branden.robinson@gmail.com>
227
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.
232
233         See <https://savannah.gnu.org/bugs/?57218>.
234
235 2018-02-28  Werner LEMBERG  <wl@gnu.org>
236
237         * pdfmark.am (pdfmark.pdf): Use $(GROFF_V).
238
239 2018-02-28  Werner LEMBERG  <wl@gnu.org>
240
241         * pdfmark.am (pdfroff): Use $(AM_V_GEN) to silence file generation.
242
243 2015-08-22  Bernd Warken  <groff-bernd.warken-72@web.de>
244
245         * pdfroff.1.man: Rename `pdfroff.man'.
246
247         * pdfmark.am: Add `Last update'.  Setup Emacs mode.
248
249 2015-08-05  Bernd Warken  <groff-bernd.warken-72@web.de>
250
251         * pdfmark.am: Add `Last update'.  Setup Emacs mode.
252
253 2015-04-03  Werner LEMBERG  <wl@gnu.org>
254
255         * pdfroff.man: Make it work in compatibility mode.
256
257 2014-10-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
258
259         Deduce "--no-toc-relocation" from input stream (revisited).
260
261         * pdfroff.sh (WRKFILE): Correct malformed sed expression.
262
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.
266
267 2014-10-13  Keith Marshall  <keith.d.marshall@ntlworld.com>
268
269         Deduce "--no-toc-relocation" from input stream.
270
271         * pdfroff.sh (WRKFILE): Scan it for "pdfroff-option:set" records;
272         apply settings; check for equivalent of "--no-toc-relocation" option.
273
274         * spdf.tmac (TC): Emit "pdfroff-option:set toc-relocation=enabled".
275
276 2014-10-12  Keith Marshall  <keith.d.marshall@ntlworld.com>
277
278         Avoid spurious user visible control messages on stderr.
279
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.
284
285 2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>
286
287         * all pdfmark source files: Copying (remove last updates and
288         replace years with package years) and Emacs setup.
289
290 2014-03-30  Steffen Nurpmeso  <sdaoden@yandex.com>
291
292         * Makefile.sub: Put straight error-prevention prefixes for `rm'.
293
294 2014-03-29  Steffen Nurpmeso  <sdaoden@yandex.com>
295
296         * Makefile.sub: Handle examples separately, controlled by
297         $(make{_,_install_,_uninstall_}examples).
298
299 2013-01-28  Deri James  <deri@chuzzlewit.myzen.co.uk>
300
301         * pdfmark.tmac (pdfmark, pdf:composed): Use `\!' instead of `\X'.
302
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.
309
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
316         stream to grops.
317
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
322         `\!' escape.
323
324 2012-09-20  Werner LEMBERG  <wl@gnu.org>
325
326         Simplify enviroment handling.
327
328         Suggested by Ivan Shmakov <oneingray@gmail.com>.
329
330         * Makefile.sub (PDFROFF): Don't use export.
331
332 2011-12-26  Mike Frysinger  <vapier@gentoo.org>
333
334         Fix parallel build race failure.
335
336         Sometimes building in parallel will fail in the pdfmark directory:
337
338           make[2]: Entering directory '.../contrib/pdfmark'
339           rm -f pdfroff
340           rm -f pdfmark.pdf
341           sed -f ... ./pdfroff.sh >pdfroff
342           ...; ./pdfroff ... pdfmark.ms >pdfmark.pdf
343           /bin/sh: ./pdfroff: Permission denied
344           chmod +x pdfroff
345           make[2]: *** [pdfmark.pdf] Error 126
346
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.
350
351         * Makefile.sub: Have all the .pdf files explicitly depend on the
352         `pdfroff' helper script.
353
354 2010-12-23  Keith Marshall  <keith.d.marshall@ntlworld.com>
355
356         Update copyright notices; pdfmark.tmac bug-fix.
357
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.
361
362         * pdfroff.sh, pdfroff.man: Update copyright notices.
363
364 2010-12-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
365
366         Clean up handling of temporary files directory.
367
368         * .cvsignore (pdfroff-*): Ignore sub-directories matching this.
369         * Makefile.sub (MOSTLCLEANDIRADD): Schedule them for removal.
370
371 2010-12-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
372
373         Address potential temporary file security vulnerabilities.
374
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.
378
379 2009-08-16  Colin Watson  <cjwatson@debian.org>
380
381         Make pdfroff's GhostScript invocation safer.
382
383         * pdfroff.sh (PDFROFF_POSTPROCESSOR_COMMAND): Add `-dSAFER' option.
384         * pdfroff.man: Document it.
385
386 2008-12-28  Keith Marshall  <keith.d.marshall@ntlworld.com>
387
388         Avoid phantom line wrapping in pdfhref hot-spots.
389
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.
395
396 2007-04-11  Keith Marshall  <keith.d.marshall@ntlworld.com>
397
398         Avoid stray newlines in folded pdfmark literal content.
399
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.
406
407 2007-04-11  Keith Marshall  <keith.d.marshall@ntlworld.com>
408
409         * pdfmark.tmac (pdfbookmark): Don't evaluate within diversions; defer
410         placement until diversion is copied out at top level.
411
412 2007-02-06  Eric S. Raymond  <esr@snark.thyrsus.com>
413
414         * pdfroff.man: Update .UR/.UE and .MT/.ME to latest changes in
415         an-ext.tmac.
416
417 2007-01-30  Werner LEMBERG  <wl@gnu.org>
418
419         * pdfroff.man: Updated.
420
421 2007-01-21  Werner LEMBERG  <wl@gnu.org>
422
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.
426
427 2006-07-30  Keith Marshall  <keith.d.marshall@ntlworld.com>
428
429         * pdfroff.sh (PDFROFF_KILL_NULL_PAGES): Require `%%BeginPageSetup' on
430         PostScript output line immediately following `%%Page:'.
431
432 2006-07-29  Keith Marshall  <keith.d.marshall@ntlworld.com>
433
434         * pdfroff.sh (PDFROFF_KILL_NULL_PAGES): Require `sed' to match a more
435         explicit regular expression, for detection of redundant pages.
436
437 2006-07-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
438
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.
445
446         * pdfroff.man (PDFROFF_POSTPROCESSOR_COMMAND): Document it.
447         (PDFROFF_COLLATE, PDFROFF_KILL_NULL_PAGES): Document them.
448         (--no-kill-null-pages): Document it.
449
450 2006-07-14  Zvezdan Petkovic  <zpetkovic@acm.org>
451
452         * pdfroff.sh (--emit-ps): New command line option; implement it.
453         (--help): Add description for it.
454
455         * pdfroff.man (--emit-ps): Document it.
456
457 2006-06-11  Werner LEMBERG  <wl@gnu.org>
458
459         * pdfroff.man: Add `.ig' block after NAME section to make mandb
460         happy.
461
462 2006-03-31  Keith Marshall  <keith.d.marshall@ntlworld.com>
463
464         Split `pdfmark' output as required, to avoid excessively long
465         `ps:exec' intermediate output records.
466
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.
485
486 2006-03-09  Keith Marshall  <keith.d.marshall@ntlworld.com>
487
488         Incorporate portability recommendations by Ralf Wildenhues
489         <ralf.wildenhues@gmx.de>
490
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.
497
498         Enhancement/bug fix requested by Werner LEMBERG <wl@gnu.org>
499
500         * pdfroff.sh (--help): Direct output to `stdout', not `stderr'.
501         (--keep-temporary-files): New option; implement it.
502
503         * pdfroff.man (OPTIONS): Document `--keep-temporary-files' option.
504         (FILES): Note names and purpose of files it affects.
505
506         * Makefile.sub (PDFROFF): Add `--keep-temporary-files' option;
507         retain them in `GROFF_TMPDIR=.'.
508         (CLEANADD): Include temporary files matching `pdf[0-9]*'.
509
510 2006-03-08  Werner LEMBERG  <wl@gnu.org>
511
512         * pdfmark.ms: Update URL for Adobe Reference Manual.
513
514 2006-02-26  Claudio Fontana  <claudio@gnu.org>
515
516         * Makefile.sub: Add DESTDIR to install and uninstall targets
517         to support staged installations.
518
519 2006-02-25  Werner LEMBERG  <wl@gnu.org>
520
521         * pdfmark.ms: Correct typo; reported by Thomas Klausner.
522
523 2006-02-24  Werner LEMBERG  <wl@gnu.org>
524
525         * pdfmark.ms, pdfroff.sh: Replace legal/illegal with valid/invalid.
526
527 2005-06-22  Keith Marshall  <keith.d.marshall@ntlworld.com>
528
529         pdfroff.sh portability enhancement.
530
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.
538
539 2005-06-17  Keith Marshall  <keith.d.marshall@ntlworld.com>
540
541         * pdfroff.sh (MATCH): Correct quoting.
542         (Source): Add terminating `$' on CVS keyword.
543
544 2005-06-17  Zvezdan Petkovic  <zpetkovic@acm.org>
545
546         * Makefile.sub: (RM): Define as `rm -f', for `make' programs
547         which don't predefine it.
548
549 2005-06-16  Bernd Warken <groff-bernd.warken-72@web.de>
550
551         * pdfroff.sh (NULLDEV): Correct misspelled instance of NULDEV.
552
553 2005-05-28  Werner LEMBERG  <wl@gnu.org>
554
555         * Makefile.sub (.ms.pdf): Use `--stylesheet', not `--style'.
556
557 2005-05-26  Werner LEMBERG  <wl@gnu.org>
558
559         * Makefile.sub, pdfmark.tmac, pdfroff.sh, spdf.tmac: Update postal
560         address for Free Software Foundation.
561
562 2005-05-17  Keith Marshall  <keith.d.marshall@ntlworld.com>
563
564         Improve portability of `pdfroff' shell script.
565
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.
570
571         * pdfroff.man: Document influence of `OSTYPE' and `PATH_SEPARATOR'
572         environment variables.
573
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.
577
578 2005-05-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
579
580         Interim documentation update.
581
582         * pdfmark.ms (GROFF-WEBSITE): New string; use it in references and
583         examples.
584         (Section 2.5): Add definitions of D and Z operators, for use with
585         pdfhref macro.
586         (Section 2.5.4): Complete description of pdfhref macro usage for
587         `Linking to Internet Resources'; provide examples.
588
589 2005-05-14  Nick Stoughton  <nick@usenix.org>
590
591         * pdfmark.tmac (LB): Renamed to ...
592         (PDFLB): This to avoid conflicts with mm's LB macro.
593
594 2005-05-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
595
596         Handle parsing anomalies in Cygwin's `ash', and similar, shells.
597
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.
601
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.
605
606 2005-04-24  Keith Marshall  <keith.d.marshall@ntlworld.com>
607
608         Add support for folded outlines in PDF documents.
609
610         * pdfmark.tmac (PDFOUTLINE.FOLDLEVEL): New register.
611         (pdf:bm.emit): Use it.
612
613         * pdfmark.ms: Document it.
614
615 2005-03-25  Werner LEMBERG  <wl@gnu.org>
616
617         * Makefile.in: Removed.
618
619 2005-03-24  Werner LEMBERG  <wl@gnu.org>
620
621         * Makefile: Renamed to...
622         * Makefile.in: This.
623
624 2005-03-22  Keith Marshall  <keith.d.marshall@ntlworld.com>
625
626         * pdfroff.sh: Eliminate invalid program reference to $AWK, when
627         invoked with `--no-reference-dictionary' option.
628
629 2005-03-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
630
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.
635
636 2005-02-28  Keith Marshall  <keith.d.marshall@ntlworld.com>
637
638         Provide `pdfroff' shell script, and manpage to document it;
639         runs multiple groff passes, to format PDF documents.
640
641         * pdfroff.sh: New shell script template;
642         * pdfroff.man: New man page to document it.
643
644         Integrate `pdfmark' into normal groff build system;
645         install macro `pdfmark' packages, build and install `pdfroff',
646         and PDF format documentation.
647
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.
659
660         * TODO: Updated.
661
662 2004-12-10  Werner LEMBERG  <wl@gnu.org>
663
664         * TODO: Updated.
665
666 2004-12-08  Keith Marshall  <keith.d.marshall@ntlworld.com>
667
668         First import of pdfmark files.
669
670 ________________________________________________________________________
671
672 Copyright (C) 2004-2020 Free Software Foundation, Inc.
673
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.
677
678 Local Variables:
679 fill-column: 72
680 mode: change-log
681 version-control: never
682 End:
683 vim:set autoindent textwidth=72: