Dealing with “include URLs of paper articles in references” in CSL code
Hello. The option to be checked “include URLs of paper articles in references” (Preferences/Cite) applies changes just to the field URL of “paper articles” item type. Then:
a) The option is related just to the field URL. Is there any way to include (through CSL code) the field “accessed”? So, when checked, Zotero will generate the references with “URL + accessed” fields. When unchecked, this fields will be removed from the references.
b) Is there any way to attach (through CSL code) this option “behavior” to all other item types (bill, thesis etc.)? In this way, when checked, all item types will show URL.
Thanks in advance,
Cadu
a) The option is related just to the field URL. Is there any way to include (through CSL code) the field “accessed”? So, when checked, Zotero will generate the references with “URL + accessed” fields. When unchecked, this fields will be removed from the references.
b) Is there any way to attach (through CSL code) this option “behavior” to all other item types (bill, thesis etc.)? In this way, when checked, all item types will show URL.
Thanks in advance,
Cadu
It's important to understand what that option means: When it is checked, the URL will be included as specified in the style even when the item has a page range. If unchecked, URLs will only be included when an item doesn't have a page range.
If you test for
<if variable="URL">
before calling the accessed date they will always co-incide. You should do that anyway.As explained above, that option is irrelevant for items without a page-range. They will show a URL as specified in the style whether the option is checked or not.
I hope that answers your question, it's always easier if you give specific examples of what you're trying to achieve and what's not working as you want it to.
Could you inform if it is possible to bypass/disregard the “include URLs of paper...” effect through CSL style? I.e. I want to turn off permanently this option through the code.