You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation suggests that for affiliations, there are situations where it makes sense to use both name and institution:
If your research group has a name, you can use both name and institution, however, at least one of these is required.
However, from my testing, it seems that the institution field is never available in templates.
Instead it seems to be used as a fallback when name is not defined.
Is it actually intended behaviour that MyST combines both name and institution fields?
My expectation would rather have been that it leaves this up to the template.
As an example, if I put the following in my frontmatter:
#frontmatter.mdaffiliations:
- id: affil1name: OurName (no inst)department: OurDept (no inst)
- id: affil2department: OurDept (no name)institution: OurInst (no name)
- id: affil3name: OurNamedepartment: OurDeptinstitution: OurInst
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
The documentation suggests that for affiliations, there are situations where it makes sense to use both
nameandinstitution:However, from my testing, it seems that the
institutionfield is never available in templates.Instead it seems to be used as a fallback when
nameis not defined.Is it actually intended behaviour that MyST combines both
nameandinstitutionfields?My expectation would rather have been that it leaves this up to the template.
As an example, if I put the following in my frontmatter:
and the following in my template:
Then I get
All reactions