summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-08-04 21:32:59 +0000
committerKarl Berry <karl@freefriends.org>2024-08-04 21:32:59 +0000
commit354331382d055b880de45370d4c0e4b41d1ddea1 (patch)
tree91ac3f2b8ebe4fc3f51a48d40b62d338f24fb995 /Build
parent910a87f38459423ce4e3698d998c0603847fbfaf (diff)
\pdfptexuseunderscore fix for sep vs. pdfkeyprefix, pdftex r935
git-svn-id: svn://tug.org/texlive/trunk@71973 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/pdftexdir/pdftoepdf.cc6
2 files changed, 7 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index 75b70a5ff71..ee5e17bb9f3 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,7 @@
+2024-08-04 Thanh Han The <hanthethanh@gmail.com>
+
+ * pdftoepdf.cc (write_epdf): reversed sep and pdfkeyprefix.
+
2024-07-26 Andreas Scherer <https://ascherer.github.io>
* pdftex.ch: Prepare for compilation with gcc-14.
diff --git a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
index 238ed4dba5d..237bd6530c4 100644
--- a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
+++ b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
@@ -846,18 +846,18 @@ void write_epdf(void)
// write additional information
if ((suppress_ptex_info & MASK_SUPPRESS_PTEX_FILENAME) == 0) {
- pdf_printf("/%s%sFileName (%s)\n", sep, pdfkeyprefix,
+ pdf_printf("/%s%sFileName (%s)\n", pdfkeyprefix, sep,
convertStringToPDFString(pdf_doc->file_name,
strlen(pdf_doc->file_name)));
}
if ((suppress_ptex_info & MASK_SUPPRESS_PTEX_PAGENUMBER) == 0) {
- pdf_printf("/%s%sPageNumber %i\n", sep, pdfkeyprefix, (int) epdf_selected_page);
+ pdf_printf("/%s%sPageNumber %i\n", pdfkeyprefix, sep, (int) epdf_selected_page);
}
if ((suppress_ptex_info & MASK_SUPPRESS_PTEX_INFODICT) == 0) {
pdf_doc->doc->getDocInfoNF(&info);
if (info.isRef()) {
// the info dict must be indirect (PDF Ref p. 61)
- pdf_printf("/%s%sInfoDict ", sep, pdfkeyprefix);
+ pdf_printf("/%s%sInfoDict ", pdfkeyprefix, sep);
pdf_printf("%d 0 R\n", addOther(info.getRef()));
}
}