diff --git a/article/Makefile b/article/Makefile new file mode 100644 index 0000000..79e9d22 --- /dev/null +++ b/article/Makefile @@ -0,0 +1,55 @@ +SOURCE = maksimov-albada-diesmann-2016 +MDFILE = $(SOURCE).md +BIBFILE = bibliography.bib +TEXFILE = $(SOURCE).tex +PDFFILE = $(SOURCE).pdf +TEMPLATE = rescience-template.tex + +%.tex: $(MDFILE) + # @echo "Processing $<" + @pandoc --standalone \ + --filter ~/.cabal/bin/pandoc-crossref \ + --template=$(TEMPLATE) \ + --latex-engine=xelatex \ + --biblatex \ + --bibliography=$(BIBFILE) \ + -M "crossrefYaml=crossref.yaml" \ + --output $(TEXFILE) $(MDFILE) + +%.pdf: $(TEXFILE) $(BIBFILE) $(TEMPLATE) + @echo " [1/4] Processing $(TEXFILE) (pass 1)" + @xelatex $(TEXFILE) + + @echo " [2/4] Processing $(BIBFILE)" + @biber $(SOURCE) + + @echo " [3/4] Processing $(TEXFILE) (pass 2)" + @xelatex $(TEXFILE) + + @echo " [4/4] Processing $(TEXFILE) (pass 3)" + @xelatex $(TEXFILE) + + # Remove the intermediate tex file because you're + # not supposed to edit it. + # @rm $(TEXFILE) + + +all: $(PDFFILE) + + +# This prevents make to remove intermediate object files +# (we'll take care of it ourselves) +.PRECIOUS: %.tex + +clean: + @rm -f make.log + @rm -f $(SOURCE).aux + @rm -f $(SOURCE).log + @rm -f $(SOURCE).bbl + @rm -f $(SOURCE).bcf + @rm -f $(SOURCE).blg + @rm -f $(SOURCE).log + @rm -f $(SOURCE).out + # @rm -f $(SOURCE).pdf + @rm -f $(SOURCE).tex + @rm -f $(SOURCE).run.xml diff --git a/article/article.pdf b/article/article.pdf deleted file mode 100644 index 620f70e..0000000 Binary files a/article/article.pdf and /dev/null differ diff --git a/article/article.bib b/article/bibliography.bib similarity index 100% rename from article/article.bib rename to article/bibliography.bib diff --git a/article/article.md b/article/maksimov-albada-diesmann-2016.md similarity index 99% rename from article/article.md rename to article/maksimov-albada-diesmann-2016.md index e3d9c34..cc93d5c 100644 --- a/article/article.md +++ b/article/maksimov-albada-diesmann-2016.md @@ -21,25 +21,28 @@ Address: Contact: - maksimov.andrei7@gmail.com Editor: - - + - Nicolas P. Rougier Reviewer: - - - - + - Marcel Stimberg + - Cyrille Rossant Publication: - received: - accepted: - published: - volume: - issue: - date: + received: June 28, 2016 + accepted: October 11, 2016 + published: October 17, 2016 + volume: 2 + issue: 1 + date: October 2016 Repository: - code: + article: "https://github.com/ReScience-Archives/Maksimov-Albada-Diesmann-2016/tree/master/article" + code: "https://github.com/ReScience-Archives/Maksimov-Albada-Diesmann-2016/tree/master/code" + data: + notebook: Reproduction: - "*Cellular and network mechanisms of slow oscillatory activity (<1 Hz) and wave propagations in a cortical network model*, A. Compte, M.V. Sanchez-Vives, D.A. McCormick, X.-J. Wang, Journal of Neurophysiology, 2707--2725, 2003" Bibliography: - article.bib + bibliography.bib --- diff --git a/article/maksimov-albada-diesmann-2016.pdf b/article/maksimov-albada-diesmann-2016.pdf new file mode 100644 index 0000000..b690741 Binary files /dev/null and b/article/maksimov-albada-diesmann-2016.pdf differ