summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorwl <wl>2012-02-10 06:48:26 +0000
committerwl <wl>2012-02-10 06:48:26 +0000
commit5e42280d82e8fd1e0e0b8a8d3b5f26de1ce2d380 (patch)
tree4ad1805cb96d5971f18dec1bb081038934df2db1 /tmac
parent7da6b086fa455781c8de86477fe24f2ccc21609f (diff)
downloadgroff-5e42280d82e8fd1e0e0b8a8d3b5f26de1ce2d380.tar.gz
[gropdf] Fix compatibility issues with pdfmark.
* tmac/pdf.tmac (PDFHREF.VIEW.LEADING): Fix value. (pdf:href.opt-X): Add check for -X option for .pdfhref.
Diffstat (limited to 'tmac')
-rw-r--r--tmac/pdf.tmac3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmac/pdf.tmac b/tmac/pdf.tmac
index b05ab8ca..914e580c 100644
--- a/tmac/pdf.tmac
+++ b/tmac/pdf.tmac
@@ -278,7 +278,7 @@
.\" in groff's basic units; don't forget to append grops' "u"
.\" conversion operator, when writing the pdfmark!
.\"
-.nr PDFPAGE.Y \\n(nl+\\n[PDFHREF.VIEW.LEADING]
+.nr PDFPAGE.Y \\n(nl-\\n[PDFHREF.VIEW.LEADING]
..
.\" When we create a link "hot-spot" ...
.\" "PDFHREF.LEADING" sets the distance above the top of the glyph
@@ -442,6 +442,7 @@
.als pdf:href.opt-N pdf:href.option \" reference name
.als pdf:href.opt-P pdf:href.option \" prefixed text
.als pdf:href.opt-T pdf:href.option \" bookmark "tag"
+.als pdf:href.opt-X pdf:href.flag \" cross reference
.\"
.\" For references to another document file
.\" we also need to support OS dependent file name specifiers