From 71cb13e0769c7cb2c46c209b89ade8f6ed7fb29e Mon Sep 17 00:00:00 2001 From: ariandy Date: Tue, 28 Jul 2020 18:57:51 +0200 Subject: [PATCH] add reading YAML Metadata block into PDF Metadata if user provides PDF metadata variable e.g. author-meta, title-meta, and keyword in the YAML Metadata block of the Markdown file, it will be used as PDF Metadata. --- styles/chmduquesne.tex | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/styles/chmduquesne.tex b/styles/chmduquesne.tex index 05bf580f..7d14f94e 100644 --- a/styles/chmduquesne.tex +++ b/styles/chmduquesne.tex @@ -20,7 +20,13 @@ \definecolor[rulecolor][h=9cb770] % Enable hyperlinks -\setupinteraction[state=start, color=sectioncolor] +\setupinteraction[ + state=start, + title=$title-meta$, + author=$author-meta$, + keyword={$for(keywords)$$keywords$$sep$, $endfor$}, + date=$date$ + color=sectioncolor] \setuppapersize [$if(papersize)$$papersize$$else$letter$endif$][$if(papersize)$$papersize$$else$letter$endif$] \setuplayout [width=middle, height=middle,