[NTG-context] TeX markup in \setupinteraction for PDF metadata fields

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Jan 17 20:09:56 CET 2016


> Alan BRASLAU <mailto:alan.braslau at cea.fr>
> 17. Januar 2016 um 19:55
> On Sun, 17 Jan 2016 19:27:31 +0100
>
>
> How does this play with
> \startdocument
> [title=Document title,
> author=Me]
It doesn’t matter if you set the values with \setupdocument or 
\startdocument.
> Here, I learn about metadata:title=
> which suggests that I could do without
> \setupinteraction
> [state=start,
> title={\getvariable{document}{title}},
> author={\getvariable{document}{author}}]
You can use \documentvariable{...} to access the values.
> But, if I want to use the title etc. in the title page, should I do
> something like:
>
> \starttitlepagemakeup
> \getvariable{document}{metadata:title}
> \stoptitlepagemakeup
It depends, when you want the title in the pdf without a manual setting
with \setupinteraction you can use the value of “metadata:title” in your
document.

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160117/b98e15cc/attachment.html>


More information about the ntg-context mailing list