Skip to content

Instantly share code, notes, and snippets.

@fbennett
fbennett / J_BUILD-catalina-node16.txt
Created March 19, 2023 01:14
Jurism build: Mac Catalina, node v16
bennett@Franks-iMac JM % git clone -b jurism-6.0.20 --recursive git@github.com:Juris-M/zotero.git jurism
Cloning into 'jurism'...
remote: Enumerating objects: 215638, done.
remote: Counting objects: 100% (1291/1291), done.
remote: Compressing objects: 100% (613/613), done.
remote: Total 215638 (delta 674), reused 1272 (delta 673), pack-reused 214347
Receiving objects: 100% (215638/215638), 246.40 MiB | 9.19 MiB/s, done.
Resolving deltas: 100% (134234/134234), done.
Submodule 'chrome/content/zotero/locale/csl' (https://github.com/citation-style-language/locales.git) registered for path 'chrome/content/zotero/locale/csl'
Submodule 'chrome/content/zotero/xpcom/translate' (https://github.com/zotero/translate.git) registered for path 'chrome/content/zotero/xpcom/translate'
@fbennett
fbennett / Z_BUILD-catalina-node16.txt
Created March 19, 2023 00:31
Zotero build: Mac Catalina, node v16
bennett@Franks-iMac JM % git clone --recursive https://github.com/zotero/zotero.git
Cloning into 'zotero'...
remote: Enumerating objects: 179757, done.
remote: Counting objects: 100% (874/874), done.
remote: Compressing objects: 100% (414/414), done.
remote: Total 179757 (delta 413), reused 703 (delta 337), pack-reused 178883
Receiving objects: 100% (179757/179757), 183.59 MiB | 9.48 MiB/s, done.
Resolving deltas: 100% (111613/111613), done.
Submodule 'chrome/content/zotero/locale/csl' (https://github.com/citation-style-language/locales.git) registered for path 'chrome/content/zotero/locale/csl'
Submodule 'chrome/content/zotero/xpcom/translate' (https://github.com/zotero/translate.git) registered for path 'chrome/content/zotero/xpcom/translate'
@fbennett
fbennett / Z_BUILD-catalina-node19.txt
Created March 19, 2023 00:09
Zotero client build attempt: Mac Catalina, node v19
bennett@Franks-iMac JM % git clone --recursive https://github.com/zotero/zotero.git
Cloning into 'zotero'...
remote: Enumerating objects: 179757, done.
remote: Counting objects: 100% (874/874), done.
remote: Compressing objects: 100% (414/414), done.
remote: Total 179757 (delta 413), reused 703 (delta 337), pack-reused 178883
Receiving objects: 100% (179757/179757), 183.59 MiB | 9.74 MiB/s, done.
Resolving deltas: 100% (111613/111613), done.
Submodule 'chrome/content/zotero/locale/csl' (https://github.com/citation-style-language/locales.git) registered for path 'chrome/content/zotero/locale/csl'
Submodule 'chrome/content/zotero/xpcom/translate' (https://github.com/zotero/translate.git) registered for path 'chrome/content/zotero/xpcom/translate'
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.1mlz1" and="symbol" page-range-format="expanded" demote-non-dropping-particle="never" default-locale="de">
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
<info>
<title>JM PH Bern Institut für Heilpädagogik</title>
<title-short>JM PH Bern IHP</title-short>
<id>http://www.zotero.org/styles/jm-ph-bern-institut-fur-heilpadagogik</id>
<link href="http://www.zotero.org/styles/ph-bern-institut-fur-heilpadagogik" rel="self"/>
<link href="http://owl.english.purdue.edu/owl/resource/560/01/" rel="documentation"/>
<author>
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
<info>
<title>Simple Markdown References</title>
<title-short>SMR</title-short>
<id>http://www.zotero.org/styles/simple-markdown-references</id>
<link href="http://www.zotero.org/styles/simple-markdown-references" rel="self"/>
<link href="https://forums.zotero.org/discussion/65821/create-new-export-format" rel="documentation"/>
<author>
<name>Frank Bennett</name>
@fbennett
fbennett / jurism-citation-scaffolding.xml
Created March 26, 2016 21:49
Juris-M: general scaffolding for legal citations in Baby Blue
<macro name="jurism">
<choose>
<if position="ibid-with-locator">
<group delimiter=" ">
<text term="ibid" font-style="italic"/>
<group delimiter=" ">
<text value="at"/>
<group require="empty-label">
<text macro="juris-locator" label-form="symbol"/>
</group>
@fbennett
fbennett / seoullaw.csl
Created January 24, 2014 21:10
Seoul Law (WBL).csl
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" page-range-format="expanded" version="1.1mlz1" year-range-format="expanded">
<info>
<title>Seoul Law(WBL)</title>
<id>http://citationstyles.org/styles/Seoul-Law</id>
<link href="http://citationstyles.org/styles/mlz-cms-full" rel="self"/>
<author>
<name>WBL</name>
<email></email>
</author>
@fbennett
fbennett / csl-export.json
Created November 28, 2013 21:55
CSL JSON export of multilingual item with three editors
[
{
"id": 13533,
"type": "book",
"multi": {
"main": {
"title": "en"
},
"_keys": {
"title": {
@fbennett
fbennett / amlaw-title-macro.xml
Created May 13, 2013 11:07
Title macro from the American Law Style, as a worked example from a production environment
<macro name="amlaw-title">
<choose>
<if>
<conditions match="all">
<condition type="book song motion_picture" match="any"/>
<condition variable="title version" match="all"/>
<condition disambiguate="true" position="first" match="any"/>
<condition is-numeric="version" match="all"/>
</conditions>
<group delimiter=", ">
@fbennett
fbennett / conditions_PlusMinus.txt
Created May 8, 2013 11:59
Test of extended CSL condition syntax
>>===== MODE =====>>
citation
<<===== MODE =====<<
This test supports a proposal for extending CSL's conditional attributes.
The proposal introduces two new nodes and associated schema adjustments:
* A cs:conditions element, as an optional first child of cs:if or cs:else-if,
with a sole match attribute. When cs:conditions is used, its parent (cs:if