summaryrefslogtreecommitdiff
path: root/Build/source/texk/texlive/linked_scripts/epspdf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-11-03 18:29:45 +0000
committerKarl Berry <karl@freefriends.org>2015-11-03 18:29:45 +0000
commit9400888610cff531773a7fea1602494e3e99c20f (patch)
treee2f513e62f57045f272211850bc00819cd9737db /Build/source/texk/texlive/linked_scripts/epspdf
parent402f87a98128f638d855a194f884e0e73c0c0e69 (diff)
makedtx script (Rolf mail, 2 Nov 2015 19:08:19)
git-svn-id: svn://tug.org/texlive/trunk@38769 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/texlive/linked_scripts/epspdf')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/epspdf/epspdf.tlu30
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/epspdf/epspdftk.tcl2
2 files changed, 20 insertions, 12 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/epspdf/epspdf.tlu b/Build/source/texk/texlive/linked_scripts/epspdf/epspdf.tlu
index 463fb22f35a..7a7c2d78a97 100755
--- a/Build/source/texk/texlive/linked_scripts/epspdf/epspdf.tlu
+++ b/Build/source/texk/texlive/linked_scripts/epspdf/epspdf.tlu
@@ -6,9 +6,10 @@ kpse.set_program_name('texlua')
-- 0.6.0: first texlua version
-- 0.6.1: allow TeX installation on path with spaces
+-- 0.6.2: compatibility fix for luatex 0.81
-ep_version = '0.6.1'
-ep_copyright = '2006, 2008, 2009, 2010, 2011, 2013, 2014'
+ep_version = '0.6.2'
+ep_copyright = '2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015'
--[[
@@ -1528,6 +1529,13 @@ function PsPdf:pdf_crop()
#3%
\fi
}
+
+% future modification: \pdfoutput => \outputmode
+\begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname pdfoutput\endcsname\relax
+ \let\pdfoutput \outputmode
+\fi
+
\begingroup
\newlinechar=10 %
\endlinechar=\newlinechar %
@@ -1540,8 +1548,8 @@ function PsPdf:pdf_crop()
'pdfcompresslevel',
'pdfhorigin',
'pdfvorigin',
- 'pdfpagewidth',
- 'pdfpageheight',
+ 'pagewidth',
+ 'pageheight',
'pdfmapfile',
'pdfximage',
'pdflastximage',
@@ -1559,8 +1567,8 @@ function PsPdf:pdf_crop()
\global\let\pdfcompresslevel\TESTpdfcompresslevel %
\global\let\pdfhorigin\TESTpdfhorigin %
\global\let\pdfvorigin\TESTpdfvorigin %
- \global\let\pdfpagewidth\TESTpdfpagewidth %
- \global\let\pdfpageheight\TESTpdfpageheight %
+ \global\let\pagewidth\TESTpagewidth %
+ \global\let\pageheight\TESTpageheight %
\global\let\pdfmapfile\TESTpdfmapfile %
\global\let\pdfximage\TESTpdfximage %
\global\let\pdflastximage\TESTpdflastximage %
@@ -1602,11 +1610,11 @@ function PsPdf:pdf_crop()
}%
\pdfhorigin=-#2bp\relax
\pdfvorigin=#3bp\relax
- \pdfpagewidth=#4bp\relax
- \advance\pdfpagewidth by -#2bp\relax
- \pdfpageheight=#5bp\relax
- \advance\pdfpageheight by -#3bp\relax
- \ht0=\pdfpageheight
+ \pagewidth=#4bp\relax
+ \advance\pagewidth by -#2bp\relax
+ \pageheight=#5bp\relax
+ \advance\pageheight by -#3bp\relax
+ \ht0=\pageheight
\shipout\box0\relax
}
]]
diff --git a/Build/source/texk/texlive/linked_scripts/epspdf/epspdftk.tcl b/Build/source/texk/texlive/linked_scripts/epspdf/epspdftk.tcl
index b55db2c979f..e28118853f3 100755
--- a/Build/source/texk/texlive/linked_scripts/epspdf/epspdftk.tcl
+++ b/Build/source/texk/texlive/linked_scripts/epspdf/epspdftk.tcl
@@ -3,7 +3,7 @@
# epspdf conversion utility, GUI frontend
#####
-# Copyright (C) 2006, 2008, 2009, 2010, 2011, 2013, 2014 Siep Kroonenberg
+# Copyright (C) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015 Siep Kroonenberg
# n dot s dot kroonenberg at rug dot nl
#
# This program is free software, licensed under the GNU GPL, >=2.0.