forked from BaselLaserMouse/ast_model
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Maxime RIO
committed
Jul 5, 2019
1 parent
6822661
commit f5957dd
Showing
5 changed files
with
368 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# depends on pandoc (>= 2.0) and pdf2svg | ||
# depends on pandoc (>= 2.0) with pandoc-citeproc and pdf2svg | ||
|
||
all: model.html | ||
|
||
model.html: model.md style.css | ||
pandoc --lua-filter tikz.lua --mathjax -s -o "$@" "$<" -c "$(word 2,$^)" | ||
model.html: model.md style.css references.bib | ||
pandoc --filter pandoc-citeproc --lua-filter tikz.lua --mathjax -s -o "$@" "$<" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,252 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US"> | ||
<info> | ||
<title>Council of Science Editors, Citation-Name (numeric, sorted alphabetically)</title> | ||
<title-short>CSE C-N</title-short> | ||
<id>http://www.zotero.org/styles/council-of-science-editors-alphabetical</id> | ||
<link href="http://www.zotero.org/styles/council-of-science-editors-alphabetical" rel="self"/> | ||
<link href="http://www.zotero.org/styles/council-of-science-editors" rel="template"/> | ||
<link href="http://www.scientificstyleandformat.org/Tools/SSF-Citation-Quick-Guide.html" rel="documentation"/> | ||
<author> | ||
<name>Julian Onions</name> | ||
<email>[email protected]</email> | ||
</author> | ||
<contributor> | ||
<name>Patrick O'Brien</name> | ||
</contributor> | ||
<contributor> | ||
<name>Aurimas Vinckevicius</name> | ||
<email>[email protected]</email> | ||
</contributor> | ||
<category citation-format="numeric"/> | ||
<category field="science"/> | ||
<summary>The Council of Science Editors style 8th edition, Citation-Name system: numbers in text, sorted in alphabetical order by author.</summary> | ||
<updated>2019-01-16T10:57:42+00:00</updated> | ||
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> | ||
</info> | ||
<locale xml:lang="en"> | ||
<terms> | ||
<term name="editortranslator" form="long"> | ||
<single>editor and translator</single> | ||
<multiple>editors and translators</multiple> | ||
</term> | ||
<term name="collection-editor" form="long"> | ||
<single>editor</single> | ||
<multiple>editors</multiple> | ||
</term> | ||
</terms> | ||
</locale> | ||
<macro name="editor"> | ||
<names variable="editor translator" delimiter="; " suffix="."> | ||
<name delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" "/> | ||
<label prefix=", "/> | ||
</names> | ||
</macro> | ||
<macro name="author"> | ||
<names variable="author" delimiter="; "> | ||
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/> | ||
<label form="long" prefix=", " strip-periods="true"/> | ||
<substitute> | ||
<names variable="editor translator"/> | ||
<text variable="title"/> | ||
</substitute> | ||
</names> | ||
</macro> | ||
<macro name="review"> | ||
<group delimiter=". "> | ||
<text variable="reviewed-title"/> | ||
<text variable="container-title"/> | ||
</group> | ||
</macro> | ||
<macro name="access"> | ||
<choose> | ||
<if variable="accessed" match="any"> | ||
<text variable="URL"/> | ||
</if> | ||
</choose> | ||
</macro> | ||
<macro name="title"> | ||
<group delimiter=" "> | ||
<text variable="title"/> | ||
<choose> | ||
<if type="thesis" match="any"> | ||
<text variable="genre" form="long" prefix="[" suffix="]"/> | ||
</if> | ||
</choose> | ||
</group> | ||
</macro> | ||
<macro name="publisher"> | ||
<group delimiter=": "> | ||
<text variable="publisher-place"/> | ||
<text variable="publisher"/> | ||
</group> | ||
</macro> | ||
<macro name="issued"> | ||
<group delimiter=" "> | ||
<date variable="issued" delimiter=" "> | ||
<date-part name="year"/> | ||
</date> | ||
<choose> | ||
<if type="patent article-newspaper webpage" match="any"> | ||
<date variable="issued" delimiter=" "> | ||
<date-part name="month" form="short" strip-periods="true"/> | ||
<date-part name="day"/> | ||
</date> | ||
</if> | ||
<else-if type="article-journal article-magazine" match="any"> | ||
<choose> | ||
<if variable="volume issue" match="none"> | ||
<date variable="issued" delimiter=" "> | ||
<date-part name="month" form="short" strip-periods="true"/> | ||
<date-part name="day"/> | ||
</date> | ||
</if> | ||
</choose> | ||
</else-if> | ||
</choose> | ||
<group prefix=" [" suffix="]" delimiter=" "> | ||
<text term="accessed"/> | ||
<date variable="accessed" delimiter=" "> | ||
<date-part name="year"/> | ||
<date-part name="month" form="short" strip-periods="true"/> | ||
<date-part name="day"/> | ||
</date> | ||
</group> | ||
</group> | ||
</macro> | ||
<macro name="pages"> | ||
<group> | ||
<label variable="page" form="short" suffix=" " plural="never"/> | ||
<text variable="page"/> | ||
</group> | ||
</macro> | ||
<macro name="edition"> | ||
<choose> | ||
<if is-numeric="edition"> | ||
<group delimiter=" "> | ||
<number variable="edition" form="ordinal"/> | ||
<text term="edition" form="short"/> | ||
</group> | ||
</if> | ||
<else> | ||
<text variable="edition" suffix="."/> | ||
</else> | ||
</choose> | ||
</macro> | ||
<macro name="collection"> | ||
<choose> | ||
<if type="report"> | ||
<group prefix=" " suffix="." delimiter=" "> | ||
<text variable="collection-title"/> | ||
<text variable="number" prefix=" Report No.: "/> | ||
</group> | ||
</if> | ||
<else> | ||
<group prefix=" (" suffix=")." delimiter=" "> | ||
<names variable="collection-editor" suffix=". "> | ||
<name delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" "/> | ||
<label prefix=", "/> | ||
</names> | ||
<text variable="collection-title"/> | ||
</group> | ||
</else> | ||
</choose> | ||
</macro> | ||
<citation collapse="citation-number"> | ||
<sort> | ||
<key variable="citation-number"/> | ||
</sort> | ||
<layout delimiter="," vertical-align="sup"> | ||
<text variable="citation-number"/> | ||
<group prefix="(" suffix=")"> | ||
<label variable="locator" form="short" strip-periods="true"/> | ||
<text variable="locator"/> | ||
</group> | ||
</layout> | ||
</citation> | ||
<bibliography hanging-indent="false" et-al-min="11" et-al-use-first="10"> | ||
<sort> | ||
<key macro="author"/> | ||
<key variable="title"/> | ||
</sort> | ||
<layout> | ||
<text variable="citation-number" suffix=". "/> | ||
<text macro="author" suffix="."/> | ||
<choose> | ||
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any"> | ||
<group prefix=" " suffix="." delimiter=" "> | ||
<text macro="title" suffix="."/> | ||
<text macro="edition"/> | ||
<text macro="editor"/> | ||
</group> | ||
<group prefix=" " delimiter="; "> | ||
<text macro="publisher"/> | ||
<group suffix="." delimiter=". "> | ||
<text macro="issued"/> | ||
<text macro="pages"/> | ||
</group> | ||
</group> | ||
</if> | ||
<else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any"> | ||
<text macro="title" prefix=" " suffix="."/> | ||
<group prefix=" " delimiter=" "> | ||
<group delimiter=" "> | ||
<text term="in" text-case="capitalize-first" suffix=":"/> | ||
<text macro="editor"/> | ||
<text variable="container-title" suffix="."/> | ||
</group> | ||
<group delimiter=" " suffix="."> | ||
<label text-case="capitalize-first" variable="volume" form="short"/> | ||
<text variable="volume"/> | ||
</group> | ||
<text macro="edition"/> | ||
<group suffix="." delimiter="; "> | ||
<text macro="publisher"/> | ||
<group suffix="." delimiter=". "> | ||
<text macro="issued"/> | ||
<text macro="pages"/> | ||
</group> | ||
</group> | ||
</group> | ||
</else-if> | ||
<else-if type="review review-book" match="any"> | ||
<group suffix="."> | ||
<text macro="title" prefix=" "/> | ||
<text macro="editor" prefix=" "/> | ||
</group> | ||
<group prefix=" " suffix="."> | ||
<text macro="review" suffix="."/> | ||
<group delimiter=";" prefix=" "> | ||
<text macro="issued"/> | ||
<group> | ||
<text variable="volume"/> | ||
<text variable="issue" prefix="(" suffix=")"/> | ||
</group> | ||
</group> | ||
<text variable="page" prefix=":"/> | ||
</group> | ||
</else-if> | ||
<else> | ||
<group suffix="." prefix=" " delimiter=". "> | ||
<text macro="title"/> | ||
<text macro="editor"/> | ||
</group> | ||
<group prefix=" " suffix="."> | ||
<text variable="container-title" suffix="."/> | ||
<group delimiter=";" prefix=" "> | ||
<text macro="issued"/> | ||
<group> | ||
<text variable="volume"/> | ||
<text variable="issue" prefix="(" suffix=")"/> | ||
</group> | ||
</group> | ||
<text variable="page" prefix=":"/> | ||
</group> | ||
</else> | ||
</choose> | ||
<text prefix=" " macro="collection"/> | ||
<text prefix=" " macro="access"/> | ||
<text variable="DOI" prefix=". doi:"/> | ||
</layout> | ||
</bibliography> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.