gbranden pushed a commit to branch branden-2023-07-05 in repository groff. commit 2945a39553f3b7f322b27095f26352bb04606e67 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Thu Apr 27 08:57:21 2023 -0500
[pdfpic]: Clean up better. * tmac/pdfpic.tmac (PDFPIC): Call `pdfpic@cleanup` before returning when falling back to `PSPIC` for non-PDF documents. Also annotate naming convention. --- ChangeLog | 7 +++++++ tmac/pdfpic.tmac | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 11855b8c8..660052ccb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2023-04-27 G. Branden Robinson <g.branden.robin...@gmail.com> + + [pdfpic]: Clean up better. + + * tmac/pdfpic.tmac (PDFPIC): Call `pdfpic@cleanup` before + returning when falling back to `PSPIC` for non-PDF documents. + 2023-04-05 G. Branden Robinson <g.branden.robin...@gmail.com> * tmac/tty.tmac: Add angle bracket fallbacks. diff --git a/tmac/pdfpic.tmac b/tmac/pdfpic.tmac index f81b66e7f..08d04d277 100644 --- a/tmac/pdfpic.tmac +++ b/tmac/pdfpic.tmac @@ -9,6 +9,9 @@ .\" .\" Requires the poppler-utils package (for pdfinfo(1) and pdftops(1)). .\" Requires running troff(1) in unsafe mode. +.\" +.\" Internal macro names start with `pdfpic@`; internal registers and +.\" strings start with `pdfpic*`. . .do if d PDFPIC .nx . @@ -132,6 +135,7 @@ . as pdfpic*pspic-args \\*[pdfpic*file-name-base].eps \\$* . . PSPIC \\*[pdfpic*pspic-args] +. pdfpic@cleanup . return . \} . _______________________________________________ Groff-commit mailing list Groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit