Reference Documentation: PDF Publishing with GNU Troff
修订版 | 00105ad9d39711d6c5d5546d1056b7b2bd11c259 (tree) |
---|---|
时间 | 2022-03-29 00:43:31 |
作者 | Keith Marshall <keith@user...> |
Commiter | Keith Marshall |
Maintain separation of in-document pdfroff hints.
* pdfroff.sh (pdfroff-option:set): Quote collected hints, as returned
by sed, to preserve separating newlines; without this, all hints will
be evaluated as if representing a single, possibly malformed command,
which is unlikely to have the desired effect.
@@ -591,7 +591,7 @@ | ||
591 | 591 | # Evaluate any processing options which may have been specified |
592 | 592 | # as a result of parsing the document source ... |
593 | 593 | # |
594 | - eval `$SED -n '/^ *pdfroff-option:set */s///p' $WRKFILE` | |
594 | + eval "`$SED -n '/^ *pdfroff-option:set */s///p' $WRKFILE`" | |
595 | 595 | # |
596 | 596 | # ... (which is currently supported to enable "toc-relocation", |
597 | 597 | # only when the document actually relies on it, and if it is not |