The "Reviewed by" name is not displaying in the Title Block, but everything else is! #12876
-
DescriptionI have a website that I'm building here: https://noramcgregor.github.io/ds-essentials/ai-ml.html. I'm trying to customise the Title Block so that it will display the names of reviewers like it does with authors and I'm nearly there, except that for some reason it just won't render the reviewers name in the HTML! It does show links to their orcid id and email, but not the url/name. Any ideas?!
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It's because your "secondary-authors" is not like "authors" as it does not get normalised by Quarto, so you need to explicitly handle it. |
Beta Was this translation helpful? Give feedback.
-
To add to the previous answer, the authors and affiliations handling in Quarto is quite specific and different than Pandoc metadata alone; This is detailed in
So the idea is to use
https://quarto.org/docs/authoring/front-matter.html#roles Now with this context, regarding what you tried with secondary-authors:
- name: Stephen McGregor
orcid: 0000-0001-6560-5586
email: [email protected]
url: https://www.tenfive.ai As already mentioned, this will not be processed by Authors normalization - it will be regular metadata for pandoc to use in the template. Depending on what you want, this could work. But it seems you are trying to use Though I need to try, because reading it like this, it could have work. Tweaking this part is complex. 🤔 Do I understand correctly that you want a new HTML part in your document title block to separate your reviewers' list from the authors' list? Using roles is not enough ? |
Beta Was this translation helpful? Give feedback.
Also a note : Your .qmd does not have
this is required for the custom partials to be used. When I do that, I get
but as expected, the value are not used because of how the metadata is stored (being not normalized like
by-authors
) - So it can't directly by used by_title-meta-author.html
it logic.It would work if you use the "normalized" version as the name is
it.name.literal
and not justit.name
Details