summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--tmac/pdf.tmac3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1db6c2b0..652f8878 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-02-10 Deri James <deri@chuzzlewit.demon.co.uk>
+
+ [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.
+
2012-02-08 Werner LEMBERG <wl@gnu.org>
* src/preproc/pic/main.cpp (do_file): Check for invalid characters.
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