Skip to content

Instantly share code, notes, and snippets.

# Makefile
#
# Run "make docx2md" to produce markdown from docx
#
# Run "make odt2md" to produce markdown from odt
#
# Run "make jats" to produce a JATS XML file based on the intermediary markdown file
#
# Run "make pdf" to produce a PDF from JATS XML with ConTeXt
<?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="display-and-sort" page-range-format="chicago">
<info>
<title>Chicago Manual of Style 17th edition (author-date) with locator only ibids</title>
<id>http://www.zotero.org/styles/chicago-author-date-loc-only-ibids</id>
<link href="http://www.zotero.org/styles/chicago-author-date" rel="self"/>
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
-- check-ligatures.lua
--[[
analyze Ligatures based on a ConTeXt log file
enable Ligature tracking in the ConTeXt file with
\enabletrackers[languages.goodies]
then run this script with
mtxrun --script check-ligatures.lua input_file whitelist_file
for the input_file we assume .log, so no need to add this
for the whitelist_file the file ending must be specified
results will be saved to input_file-ligatures-new.log
<?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="de-DE">
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
<info>
<title>_ Universität Bern Universitätsbibliothek Medienerwerbung</title>
<id>http://biblio.unibe.ch/web-apps/zotero/styles/_uni_bern_ub_medienerwerbung</id>
<link href="http://biblio.unibe.ch/web-apps/zotero/styles/_uni_bern_ub_medienerwerbung" rel="self"/>
<link href="http://www.bui.haw-hamburg.de/fileadmin/redaktion/diplom/Lorenzen__litverz.pdf" rel="documentation"/>
<link href="http://bibliothek.fh-potsdam.de/fileadmin/fhp_bib/dokumente/Schulungen/wissenschaftliches_Arbeiten/Zitieren_Lorenzen.pdf" rel="documentation"/>
<link href="http://www.uni-muenster.de/imperia/md/content/fachbereich_physik/didaktik_physik/materialien/materialschlichting/zitierregeln.pdf" rel="documentation"/>
<?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="de-DE">
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
<info>
<title>_ Universität Bern Universitätsbibliothek Medienerwerbung</title>
<id>http://biblio.unibe.ch/web-apps/zotero/styles/_uni_bern_ub_medienerwerbung</id>
<link href="http://biblio.unibe.ch/web-apps/zotero/styles/_uni_bern_ub_medienerwerbung" rel="self"/>
<link href="http://www.bui.haw-hamburg.de/fileadmin/redaktion/diplom/Lorenzen__litverz.pdf" rel="documentation"/>
<link href="http://bibliothek.fh-potsdam.de/fileadmin/fhp_bib/dokumente/Schulungen/wissenschaftliches_Arbeiten/Zitieren_Lorenzen.pdf" rel="documentation"/>
<link href="http://www.uni-muenster.de/imperia/md/content/fachbereich_physik/didaktik_physik/materialien/materialschlichting/zitierregeln.pdf" rel="documentation"/>
@denismaier
denismaier / chicago-note-bibliography-always-short.csl
Last active August 22, 2023 06:20
Chicago note bibliography style without ibid-like behaviour.
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0"
demote-non-dropping-particle="display-and-sort" page-range-format="chicago">
<info>
<title>Chicago Manual of Style 17th edition (note, always short titles)</title>
<id>http://www.zotero.org/styles/chicago-note-bibliography-always-short</id>
<link href="http://www.zotero.org/styles/chicago-note-bibliography" rel="self" />
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation" />
<author>
<name>Julian Onions</name>
@denismaier
denismaier / New-conditions-tests.csl
Created July 3, 2020 10:18
New-conditions-tests
<?xml version="1.0"?>
<?xml-model href="../schema/schemas/styles/csl.rnc" type="application/relax-ng-compact-syntax"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.1">
<info>
<id/>
<title/>
<updated>2020-07-01T00:00:10+00:00</updated>
</info>
<citation>
<layout>
<?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="never" page-range-format="minimal-two">
<info>
<title>Modern Language Association 8th edition with bookinbook</title>
<title-short>MLA bookinbook</title-short>
<id>http://www.zotero.org/styles/modern-language-association-bookinbook</id>
<link href="http://www.zotero.org/styles/modern-language-association-bookinbook" rel="self"/>
<link href="http://style.mla.org" rel="documentation"/>
<author>
<name>Sebastian Karcher</name>
>>===== MODE =====>>
bibliography
<<===== MODE =====<<
>>===== RESULT =====>>
<div class="csl-bib-body">
<div class="csl-entry">Bourdieu, Pierre, 1989, <i>La noblesse d’état: Grandes écoles et esprit de corps</i>, Paris: Les Editions de Minuit. (Lauretta Clough, trans., 1996, <i>The State Nobility: Elite Schools in the Field of Power</i>, Oxford: Polity Press.)</div>
</div>
<?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="display-and-sort" page-range-format="chicago">
<info>
<title>Chicago Manual of Style 17th edition (author-date), with Hebrew</title>
<id>http://www.zotero.org/styles/chicago-author-date-with-hebrew</id>
<link href="http://www.zotero.org/styles/chicago-author-date-with-hebrew" rel="self"/>
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>