not working in recent versions
In the styles for Pontifical Regina Apostolorum and Pontifical Biblical Institute, this code previously worked correctly:
<choose>
<if is-numeric="edition">
<number variable="edition"/>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
Currently, however, the line <number variable="edition"/> is not working, and is rendering as [object Object].
Very similar code is running on the "volume" variable and works properly, allowing me to convert the "volume" variable to roman numerals.
Is "number" no longer supported on the "edition" variable?
<choose>
<if is-numeric="edition">
<number variable="edition"/>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
Currently, however, the line <number variable="edition"/> is not working, and is rendering as [object Object].
Very similar code is running on the "volume" variable and works properly, allowing me to convert the "volume" variable to roman numerals.
Is "number" no longer supported on the "edition" variable?
number variable="edition"
but
<text macro="edition-note" vertical-align="sup"/>
the processor appears to choke on applying the vertical align to a macro.
fbennett will have to take a look.
number variable="edition"
to
text variable="edition"
So, at least for text variables it doesn't have any problems using superscript. It only has problems with number variables.
For an immediate fix, you can install the processor patch plugin. Its only effect is to swap in the latest processor version. It can and should be removed at the next Zotero release.
(The plugin works only with Zotero for Firefox, not with Standalone.)