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
friflaj
committed
Dec 10, 2013
1 parent
1a68a22
commit 233883a
Showing
2 changed files
with
30 additions
and
1 deletion.
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
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,28 @@ | ||
!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 ", "" ) } curl --connect-timeout 5 -o "@{base}.bib" "http://localhost:@{port}/better-bibtex/collection?@{collection}.@{format}" | ||
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} |