Skip to content

Commit

Permalink
Updated metada and renamed files
Browse files Browse the repository at this point in the history
  • Loading branch information
rougier committed Oct 18, 2016
1 parent a0b8cb3 commit 74d2e78
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 11 deletions.
55 changes: 55 additions & 0 deletions article/Makefile
Original file line number Diff line number Diff line change
@@ -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
Binary file removed article/article.pdf
Binary file not shown.
File renamed without changes.
25 changes: 14 additions & 11 deletions article/article.md → article/maksimov-albada-diesmann-2016.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,28 @@ Address:
Contact:
- [email protected]
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

---

Expand Down
Binary file added article/maksimov-albada-diesmann-2016.pdf
Binary file not shown.

0 comments on commit 74d2e78

Please sign in to comment.