Missing country-code field in the affiliations schema #12543
Replies: 3 comments 5 replies
-
Accessibility: For better accessibility, please ensure link text is descriptive and meaningful rather than using generic terms such as "here". This helps all users understand the link's destination. See Writing meaningful link text (WCAG). Also note that what Quarto uses from Pandoc are in the Quarto CLI repository. Linking to Pandoc code has little meaning.
Thanks for the feature request and noticing this missing field! |
Beta Was this translation helpful? Give feedback.
-
Quarto uses a simplified version of JATS template, and so This is the main template: https://github.com/quarto-dev/quarto-cli/blob/116be8898734b71bc9bf30d25f890e5516e4f278/src/resources/formats/jats/pandoc/template.xml and affiliation is part of quarto-cli/src/resources/formats/jats/pandoc/affiliation.xml Lines 1 to 9 in 6f7568b So This would be a feature request: Is this a field you tried to use ? |
Beta Was this translation helpful? Give feedback.
-
I have already implemented my own custom template, but I'm encountering an issue with the <!-- From mytemplate.xml -->
<country$if(it.country-code)$ country="$it.country-code$"$endif$>$it.country$</country> <!-- always returns empty despite being defined in YAML --> # From my frontmatter
affiliations:
- id: nevusp
# Other fields...
country: Brasil
country-code: BR # This value isn't being passed to the template
url: https://usp.br Is there a special syntax for accessing hyphenated field names in Quarto templates, or might this be a known limitation with the Scielo XML requirements? |
Beta Was this translation helpful? Give feedback.
-
Description
The affiliations schema does not have a
country-code:string
field.But this field is suposed to be used here.
Isn't it?
Beta Was this translation helpful? Give feedback.
All reactions