summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-13 22:25:57 +0000
committerKarl Berry <karl@freefriends.org>2018-01-13 22:25:57 +0000
commita4e9c5d7905538e43846cfce2a67a41ccb495f9f (patch)
tree1b312c721009620de8fbcde13cd5d4de696b7439 /Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
parent88c79b1089afed4ca1c72394817bb8f55bd1e9aa (diff)
novel (13jan18)
git-svn-id: svn://tug.org/texlive/trunk@46301 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty')
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty16
1 files changed, 5 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty b/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
index 623d4169f20..524c04620a3 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
@@ -24,7 +24,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{novel-pdfx.sty}%
-[2017/11/29 v1.46.1 LaTeX file (PDF/X support for novel class)]
+[2018/01/14 v1.46.2 LaTeX file (PDF/X support for novel class)]
% This package supports, and is part of, class `novel'.
% No support for anything but LuaLaTeX.
@@ -279,16 +279,16 @@
% Calculation of Dates and Times, which must be in a specific format.
% Each time you process to PDF, the current date/time is used,
% for all of the several metadata date/time strings.
-\def\xmp@cDate{\pdfx@getYear}
-{\catcode`\D=12 \catcode`\:=12
- \gdef\pdfx@getYear D:#1#2#3#4{\edef\pdfx@xYear{#1#2#3#4}\pdfx@getMonth}
-}
+% The date string begins with D: then 4 digits of year, etc.
+% This definition removes the D: from front:
+\gdef\pdfx@getYear#1#2#3#4#5#6{\edef\pdfx@xYear{#3#4#5#6}\pdfx@getMonth}
\def\pdfx@getMonth#1#2{\edef\pdfx@xMonth{#1#2}\pdfx@getDay}
\def\pdfx@getDay#1#2{\edef\pdfx@xDay{#1#2}\pdfx@getHour}
\def\pdfx@getHour#1#2{\edef\pdfx@xHour{#1#2}\pdfx@getMin}
\def\pdfx@getMin#1#2{\edef\pdfx@xMin{#1#2}\pdfx@getSec}
\def\pdfx@getSec#1#2{\edef\pdfx@xSec{#1#2}\pdfx@getTZh}
\def\pdfx@getTZh{\futurelet\pdfx@next\pdfx@getTzh@branches}
+\def\xmp@cDate{\pdfx@getYear}
%
{\catcode`\@=11 \catcode`\Z=12 \catcode`\+=12 \catcode`\-=12 % ends below
\gdef\pdfx@getTzh@branches{%
@@ -397,12 +397,6 @@
\@infotopdfstring{\@infoapplication}{\@novelApplication}
\@infotopdfstring{\@infoproducer}{\@novelProducer}
%
-% Ensure Unicode glyph names:
-\input{glyphtounicode.tex} % located in tex/generic/
-\input{novel-glyphtounicode.tex} % additional ligatures
-\pdfgentounicode=1
-% End ensure Unicode glyph names.
-%
%% End prepare PDF /Info.