CSL: macro to abbreviate strings

Is there any way to truncate a title such as "Wie Käptn Blaubär die Pommes erfand" either by number of words or number of characters, i.e. something like "Wie Käptn Blaubär..." or "Wie Käptn Bl..."?
  • What variable is this?

    If it's a title, you can call <text variable="title" form="short"/>, which will print the short title if supplied in the Short Title field or similar.

    CSL has no way to automatically create short forms like this. You could try using the Abbreviations Filter plugin for Zotero, which might be able to do something like this.
  • Yes, it was an example for a title. In my database, for a "title" like "Domesticating Local Elites. Sheikhs, Walis and State-Building Under Sultan Qaboos.", the "title-short" would be "Domesticating Local Elites". But now, due to our publisher's requirements, I need something like "Domesticating..." as well. I'll try to give that plugin a go, thank you bwiernik!
Sign In or Register to comment.