Menu

#1 In CSL, should prefix/suffix match vertical-align?

open
nobody
None
5
2008-10-29
2008-10-29
No

See:
http://forums.zotero.org/discussion/4286/

Given:
<layout vertical-align="sup" prefix="[" suffix="]" delimiter=", " >

Zotero places the prefix and suffix on the baseline.

What is appropriate behavior for the above syntax & is there a way to achieve the needed citation style?

Discussion

  • Nobody/Anonymous

    This is tricky. I think it's easy enough to agree that if vertical-align is set to other than default, the prefix and suffix should match that. But do we only limit that rule to this attribute, or others (or all)? Right now, prefix and suffix are treated as plain text effectively.

     
  • Nobody/Anonymous

    This is tricky. I think it's easy enough to agree that if vertical-align is set to other than default, the prefix and suffix should match that. But do we only limit that rule to this attribute, or others (or all)? Right now, prefix and suffix are treated as plain text effectively.

     
  • Frank Bennett

    Frank Bennett - 2009-06-01

    The affixes and decorations on layout are special, because they apply to the entire citation cluster, while the children of layout apply to individual cites within the cluster. In citeproc-js, I have dealt with this use case by enclosing affixes with the decorations (vertical align + bold + everything else) _only_ on layout. This seems to the right behavior in known use cases.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.