-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -990,10 +990,9 @@ | |
<text macro="archive-note"/> | ||
</else-if> | ||
</choose> | ||
<!-- SBL style uses DOIs and URLs when the resource is electronic. SBLHS2 §§ 6.1.6, 6.2.25, 6.3.10, 6.4.13–14. If a resource has physical dimensions, however, it is not electronic. So, DOI or URL output should be bypassed. --> | ||
<!-- SBL style uses DOIs and URLs when the resource is electronic. SBLHS2 §§ 6.1.6, 6.2.25, 6.3.10, 6.4.13–14. If a resource has physical dimensions, however, it is not electronic. So, DOI or URL output should be bypassed. --> | ||
<choose> | ||
<if variable="dimensions"> | ||
</if> | ||
<if variable="dimensions"></if> | ||
<else> | ||
<choose> | ||
<if variable="DOI"> | ||
|
@@ -1018,10 +1017,9 @@ | |
<text macro="archive"/> | ||
</else-if> | ||
</choose> | ||
<!-- SBL style uses DOIs and URLs when the resource is electronic. SBLHS2 §§ 6.1.6, 6.2.25, 6.3.10, 6.4.13–14. If a resource has physical dimensions, however, it is not electronic. So, DOI or URL output should be bypassed. --> | ||
<!-- SBL style uses DOIs and URLs when the resource is electronic. SBLHS2 §§ 6.1.6, 6.2.25, 6.3.10, 6.4.13–14. If a resource has physical dimensions, however, it is not electronic. So, DOI or URL output should be bypassed. --> | ||
<choose> | ||
<if variable="dimensions"> | ||
</if> | ||
<if variable="dimensions"></if> | ||
<else> | ||
<choose> | ||
<if variable="DOI"> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
denismaier
Member
|
||
|
Actually, SBLHS2 §6.3.10 prefers DOIs to URLs but allows both to be included should someone want to. So, it seems these lines should be something like
<if variable="DOI URL" match="any"> <group delimiter=", "> <text variable="DOI" prefix="https://doi.org/"/> <text variable="URL"/> </group> </if>
But I can't seem to get the URL variable to be included, even when there's something in that field in Zotero (5.0.96.3). If I substitute for URL something nonsensical but that works elsewhere like container-title, the container-title does do the either-or and both-and scenarios properly (e.g., "https://doi.org/10.2307/3260389, Journal of Biblical Literature", https://doi.org/10.2307/3260389", "Journal of Biblical Literature", and nothing at all if both fields are blank). So, I'm not sure what it is about the URL variable that's causing it not to appear.
@adam3smith or @bwiernik, would you have any thoughts about what it is that I'm missing here?