Conditional text formatting -- APA 6th edition symposium presentations
APA 6th edition formatting for symposium presentations is highly annoying. Whereas all other presentations use the term "presented at", symposium presentations use "conducted at". To be clear, the style manual specifies:
Symposium:
Contributor. A. A., Contributor. B. B., Contributor, C. C., & Contributor, D. D. (Year, Month). Title of contribution. In E. E. Chairperson (Chair), Title of symposium. Symposium conducted at the meeting of Organization Name, Location.
Paper presentation or poster session:
Presenter, A. A. (Year, Month). Title of paper or poster. Paper or poster session presented at the meeting of Organization Name, Location.
Is there a way to get CSL to recognize the value of a variable and adjust the formatting accordingly (ala <if> <genre="symposium"> </if>) or is it only possible to test for existence of a value and whether it is numeric?
At present, I've implemented this conditional formatting in two different ways.
1. Put symposium presentations under 'Conference Paper' and posters/papers under 'Presentation' and simply change the formatting for these two types.
2. Put both kinds of presentations under 'Conference Paper' and use a different field (e.g. Call Number or Extra) as a dummy variable to cue change of formatting. For example, I might decide to only use the Extra field on 'Conference Paper' items as a flag to indicate that the item is a symposium. Then, if Extra has a value, the "conducted at" formatting is used. Otherwise, the standard "presented at" is used.
Is there a more elegant way to do this type of filtering?
Symposium:
Contributor. A. A., Contributor. B. B., Contributor, C. C., & Contributor, D. D. (Year, Month). Title of contribution. In E. E. Chairperson (Chair), Title of symposium. Symposium conducted at the meeting of Organization Name, Location.
Paper presentation or poster session:
Presenter, A. A. (Year, Month). Title of paper or poster. Paper or poster session presented at the meeting of Organization Name, Location.
Is there a way to get CSL to recognize the value of a variable and adjust the formatting accordingly (ala <if> <genre="symposium"> </if>) or is it only possible to test for existence of a value and whether it is numeric?
At present, I've implemented this conditional formatting in two different ways.
1. Put symposium presentations under 'Conference Paper' and posters/papers under 'Presentation' and simply change the formatting for these two types.
2. Put both kinds of presentations under 'Conference Paper' and use a different field (e.g. Call Number or Extra) as a dummy variable to cue change of formatting. For example, I might decide to only use the Extra field on 'Conference Paper' items as a flag to indicate that the item is a symposium. Then, if Extra has a value, the "conducted at" formatting is used. Otherwise, the standard "presented at" is used.
Is there a more elegant way to do this type of filtering?
Your workarounds (and similar wonkish approaches) are the only solutions I can think of as well.
arnprince, if you do decide to stick around, please read Be Civil before posting here again. It includes some pointers (such as "maybe you just didn't discover the best way to perform a task") that you might find instructive before hurling insults at the people, most of them volunteers, who've spent thousands of hours over the years ensuring that Zotero formats styles correctly and who provide free, immediate tech support here. If you want help, start a new thread (instead of hijacking someone else's unrelated thread, as you've done here), ask a question politely, and you'll get an answer.
If you don't return, then perhaps this thread can at least serve as a warning for whatever unlucky software project you move on to next.