Last active
August 29, 2015 14:01
-
-
Save retorquere/0dd80e12870366d5f51f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
!config | |
# Pull bibliography from zotero as part of build | |
# author: Emiliano Heyns | |
# last edited by: eeh, Dec 2nd 2013 | |
# requires arara 3.0+ | |
# | |
# Sample usage | |
# | |
# % arara: zoterobib | |
# % arara: zoterobib: {format: biblatex} | |
# | |
# for windows, use http://www.confusedbycode.com/curl/#downloads | |
identifier: zoterobib | |
name: ZoteroBib | |
commands: | |
- <arara> @{ isWindows( "cmd /c ", "" ) } echo curl --connect-timeout 5 --fail -z '@{base}.bib' -o '@{base}.bib' http://localhost:@{port}/better-bibtex/collection?@{collection}.@{format}@{exportCharset}@{exportNotes}@{useJournalAbbreviation} | |
arguments: | |
- identifier: base | |
flag: <arara> @{parameters.base} | |
default: <arara> @{getBasename(file)} | |
- identifier: port | |
flag: <arara> @{parameters.port} | |
default: 23119 | |
- identifier: format | |
flag: <arara> @{parameters.format} | |
default: biblatex | |
- identifier: collection | |
flag: <arara> @{parameters.collection} | |
- identifier: exportCharset | |
flag: <arara> '&'exportCharset=@{parameters.exportCharset} | |
- identifier: exportNotes | |
flag: <arara> '&'exportNotes=@{parameters.exportNotes} | |
- identifier: useJournalAbbreviation | |
flag: <arara> '&'@useJournalAbbreviation={parameters.useJournalAbbreviation} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
% arara: zoterobib: {collection: /0/QG6TAZSK, exportNotes: yes}
\documentclass{article}
\begin{document}
hello world
\end{document}