summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwl <wl>2013-01-28 10:41:31 +0000
committerwl <wl>2013-01-28 10:41:31 +0000
commit5dc9540e8124a52f50fab6acda119c5b68b67d45 (patch)
treec1993ae96187947412f24a98f06c728160a59230 /src
parent4f80370e897ccba22d40e9e3f0bc076982a41153 (diff)
downloadgroff-5dc9540e8124a52f50fab6acda119c5b68b67d45.tar.gz
* pdfmark.tmac (pdfmark, pdf:composed): Use `\!' instead of `\X'.
With the old pdfmark there are gaps between two of the lines, but with the new version they disappear. The use of `.br' and `.in 0' is arbitrary any request which causes an implicit break could be used. Two breaks together only produce one line break, but if there is an intervening `\X' then the second break finds the line buffer not empty and generates another line break. Using `\!' does alter the position of the pdfmark lines in the intermediate file sent to grops (the pdfmark lines are output immediately rather than being serialised through the output line processing), but this has no effect since the contents of the pdfmark line stay the same. It is the contents which determine where bookmarks jump to not the position of the record in the input stream to grops. I initially used `.output', but hit a snag if a pdfbookmark occurs before the document starts to output (message saying to insert an explicit `.br'), this is quite likely for things like `.pdfinfo /Author' which occur at the top of the document. So I'm using the `\!' escape.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions