PDF metadata in SILE

16 views
Skip to first unread message

Vadim Plessky

unread,
Dec 5, 2024, 1:12:46 PM12/5/24
to SILE Users
Hello everyone!

I have working code for adding Title and Author to PDF generated with SILE:

\begin{document}
\use[module=packages.pdf]
\nofolios
\pdf:metadata[key=Title, value=My Title]
\pdf:metadata[key=Author, value=Name Family]

Text goes here

\end{document}


If I add
\pdf:metadata[key=Subject, value="My subject explained"]
\pdf:metadata[key=Keywords, value="keword1,keyword2,keyword3"]


-> subject is added to PDF, but keywords are ignored.

Is there any way to add keywords to SILE-generated PDF?

Best regards,
Vadim Plessky

Vadim Plessky

unread,
Dec 5, 2024, 1:23:55 PM12/5/24
to SILE Users
Sorry for incorrect information, keywords are included into PDF.

That was limitation of PDF Viewer. I used Okular from KDE, and it places keywords in the bottom part of properties screen, that's not the place where you expect to see keywords section.
Keywords are located near Subject and Author in GNOME Viewer, so it's easy to find them.

I will check PDF files with both viewers in the future.

четверг, 5 декабря 2024 г. в 21:12:46 UTC+3, Vadim Plessky:
Reply all
Reply to author
Forward
0 new messages