diff options
author | Karl Berry <karl@freefriends.org> | 2014-01-04 00:17:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-01-04 00:17:36 +0000 |
commit | f5e68d092b878b0f0d86b10cbd8830cf08a153b8 (patch) | |
tree | 3af0704addd30b061b556c76697932eb61efbd8a /Master/texmf-dist/source/latex/hyperxmp/einstein-xmp.tex | |
parent | 64cabb7b36a81f41f4bbe49f00cf5aa4fc83f66c (diff) |
hyperxmp (3jan14)
git-svn-id: svn://tug.org/texlive/trunk@32560 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperxmp/einstein-xmp.tex')
-rw-r--r-- | Master/texmf-dist/source/latex/hyperxmp/einstein-xmp.tex | 18 |
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="" |