summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperxmp/einstein-xmp.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperxmp/einstein-xmp.tex')
-rw-r--r--Master/texmf-dist/source/latex/hyperxmp/einstein-xmp.tex18
1 files changed, 7 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/hyperxmp/einstein-xmp.tex b/Master/texmf-dist/source/latex/hyperxmp/einstein-xmp.tex
index c60d1e4f338..365f970abd0 100644
--- a/Master/texmf-dist/source/latex/hyperxmp/einstein-xmp.tex
+++ b/Master/texmf-dist/source/latex/hyperxmp/einstein-xmp.tex
@@ -1,17 +1,9 @@
^^A Color-code metadata values.
\newcommand{\metavalue}[1]{\textcolor{blue}{#1}}
-^^A Define today's today in ISO format.
+^^A Provide access to today's date, as formatted by hyperxmp.sty.
\makeatletter
-\edef\todayISO{\the\year-}
-\ifnum\month<10\relax
- \g@addto@macro\todayISO{0}
-\fi
-\g@addto@macro\todayISO{\the\month-}
-\ifnum\day<10\relax
- \g@addto@macro\todayISO{0}
-\fi
-\g@addto@macro\todayISO{\the\day}
+\let\todayISO=\hyxmp@today
\makeatother
\begin{alltt}
@@ -80,7 +72,11 @@
<rdf:li>\metavalue{\todayISO}</rdf:li>
</rdf:Seq>
</dc:date>
- <dc:language>\metavalue{en}</dc:language>
+ <dc:language>
+ <rdf:Bag>
+ <rdf:li>\metavalue{en}</rdf:li>
+ </rdf:Bag>
+ </dc:language>
<dc:source>\metavalue{einstein.tex}</dc:source>
</rdf:Description>
<rdf:Description rdf:about=""