-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from timmli/refactoring-templates
Refactoring templates
- Loading branch information
Showing
114 changed files
with
1,149 additions
and
16,441 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,21 @@ | ||
[submodule "bst/biblatex-sp-unified"] | ||
path = bst/biblatex-sp-unified | ||
url = https://github.com/semprag/biblatex-sp-unified.git | ||
[submodule "templates/langscibook"] | ||
path = templates/langscibook | ||
url = https://github.com/langsci/langscibook.git | ||
[submodule "templates/beamer-template"] | ||
path = templates/beamer-template | ||
url = https://github.com/timmli/beamer-template.git | ||
[submodule "templates/poster-template"] | ||
path = templates/poster-template | ||
url = https://github.com/timmli/poster-template.git | ||
[submodule "templates/text-template"] | ||
path = templates/text-template | ||
url = https://github.com/timmli/text-template.git | ||
[submodule "templates/teaching-template"] | ||
path = templates/teaching-template | ||
url = https://github.com/timmli/teaching-template.git | ||
[submodule "templates/jlm-template"] | ||
path = templates/jlm-template | ||
url = https://github.com/timmli/jlm-template.git | ||
[submodule "templates/langscibook-template"] | ||
path = templates/langscibook-template | ||
url = https://github.com/timmli/langscibook-template.git | ||
[submodule "templates/standalone-template"] | ||
path = templates/standalone-template | ||
url = https://github.com/timmli/standalone-template.git |
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 |
---|---|---|
@@ -1,180 +1,43 @@ | ||
SHELL := /bin/bash | ||
|
||
# specify your main target here: | ||
all: misc.pdf clean | ||
|
||
# specify the main file and all the files that you are including | ||
SOURCE=misc.tex myMacros.tex \ | ||
references.bib | ||
|
||
%.pdf: %.tex $(SOURCE) | ||
pdflatex $* | ||
bibtex $* | ||
pdflatex $* | ||
pdflatex $* | ||
|
||
clean: | ||
rm -f *.bak *~ *.log *.blg *.bbl *.aux *.toc *.cut *.out *.tmp *.tpm *.adx *.adx.hyp *.idx *.ilg *.ind \ | ||
*.and *.glg *.glo *.gls *.wdx *.wnd *.wrd *.wdv *.ldx *.lnd *.rdx *.rnd *.xdv | ||
|
||
realclean: clean | ||
rm -f *.dvi *.ps *.pdf | ||
|
||
#------------------------------------------------------------------------------- | ||
|
||
ABSTRACT_FILES = myMacros.tex references.bib \ | ||
settings/standard-settings.tex \ | ||
$(wildcard packages/*.sty) \ | ||
$(filter-out $(wildcard examples/poster*), $(filter-out $(wildcard examples/beamer*), $(wildcard examples/*.tex))) \ | ||
$(wildcard bst/biblatex-sp-unified/[^.]*) | ||
|
||
test_abstract: | ||
cp templates/abstract-template.tex . | ||
latexmk -pdf abstract-template.tex | ||
release_all: release_abstract release_article release_beamer release_book release_jlm release_langscibook release_poster release_standalone | ||
|
||
release_abstract: | ||
cp templates/abstract-template.tex . | ||
zip -r abstract-template.zip abstract-template.tex $(ABSTRACT_FILES) | ||
rm abstract-template.tex | ||
|
||
#------------------------------------------------------------------------------- | ||
|
||
ARTICLE_FILES = myMacros.tex references.bib \ | ||
settings/standard-settings.tex \ | ||
settings/scrarticle-settings.tex \ | ||
$(wildcard packages/*.sty) \ | ||
$(filter-out $(wildcard examples/poster*), $(filter-out $(wildcard examples/beamer*), $(wildcard examples/*.tex))) \ | ||
$(wildcard bst/biblatex-sp-unified/[^.]*) | ||
|
||
test_article: | ||
cp templates/article-template.tex . | ||
latexmk -pdf article-template.tex | ||
cd templates/text-template; \ | ||
make release_abstract; \ | ||
mv abstract-template.zip .. | ||
|
||
release_article: | ||
cp templates/article-template.tex . | ||
cp templates/article-template.org . | ||
zip -r article-template.zip article-template.tex article-template.org $(ARTICLE_FILES) | ||
rm article-template.tex article-template.org | ||
|
||
#------------------------------------------------------------------------------- | ||
|
||
BEAMER_FILES = myMacros.tex references.bib \ | ||
settings/beamer-settings.tex \ | ||
$(wildcard packages/*.sty) \ | ||
$(filter-out $(wildcard examples/poster*), $(wildcard examples/*.tex)) \ | ||
$(wildcard bst/biblatex-sp-unified/[^.]*) \ | ||
graphics/sfb-logo-quer.pdf \ | ||
graphics/hhu-logo-hres.pdf \ | ||
graphics/UT-MNF-FBI-logo.pdf \ | ||
graphics/UT-logo.pdf | ||
|
||
test_beamer: | ||
cp templates/beamer-template.tex . | ||
cp themes/beamer* . | ||
latexmk -pdf beamer-template.tex | ||
cd templates/text-template; \ | ||
make release_article; \ | ||
mv article-template.zip .. | ||
|
||
release_beamer: | ||
cp templates/beamer-template.tex . | ||
cp themes/beamer* . | ||
zip -r template-beamer.zip beamer* $(BEAMER_FILES) | ||
rm beamer* | ||
mv template-beamer.zip beamer-template.zip | ||
|
||
clean_beamer: | ||
rm beamer* | ||
|
||
#------------------------------------------------------------------------------- | ||
|
||
HAUSARBEIT_FILES = myMacros.tex references.bib \ | ||
settings/standard-settings.tex \ | ||
$(wildcard packages/*.sty) \ | ||
$(filter-out $(wildcard examples/poster*), $(filter-out $(wildcard examples/beamer*), $(wildcard examples/*.tex))) \ | ||
$(wildcard bst/biblatex-sp-unified/[^.]*) | ||
cd templates/beamer-template; \ | ||
make release_beamer; \ | ||
mv beamer-template.zip .. | ||
|
||
release_hausarbeit: | ||
cp templates/hausarbeit-template.tex . | ||
zip -r hausarbeit-template.zip hausarbeit-template.tex $(HAUSARBEIT_FILES) | ||
rm hausarbeit-template.tex | ||
release_book: | ||
cd templates/text-template; \ | ||
make release_book; \ | ||
mv book-template.zip .. | ||
|
||
test_hausarbeit: | ||
cp templates/hausarbeit-template.tex . | ||
latexmk -pdf hausarbeit-template.tex | ||
release_jlm: | ||
cd templates/jlm-template; \ | ||
make release_jlm; \ | ||
mv jlm-template.zip .. | ||
|
||
#------------------------------------------------------------------------------- | ||
|
||
JLM_ARTICLE_FILES = myMacros.tex references.bib \ | ||
$(wildcard packages/*.sty) \ | ||
$(filter-out $(wildcard examples/poster*), $(filter-out $(wildcard examples/beamer*), $(wildcard examples/*.tex))) | ||
|
||
release_jlm_article: | ||
cp templates/jlm-article-template.org . | ||
cp templates/jlm/cc-by.pdf . | ||
cp templates/jlm/jlm.cls . | ||
cp templates/jlm/jlm.bst . | ||
cp templates/jlm/jlm-guidelines.pdf . | ||
cp templates/latexmkrc-xelatex latexmkrc | ||
cp -r templates/jlm/fonts . | ||
zip -r jlm-article-template.zip \ | ||
jlm-article-template.org jlm.cls jlm.bst cc-by.pdf jlm-guidelines.pdf latexmkrc fonts $(JLM_ARTICLE_FILES) | ||
rm -fr jlm-article-template.org jlm.cls jlm.bst cc-by.pdf jlm-guidelines.pdf fonts | ||
|
||
test_jlm_article: | ||
cp templates/jlm-article-template.tex . | ||
cp templates/jlm/cc-by.pdf . | ||
cp templates/jlm/jlm.cls . | ||
cp templates/jlm/jlm.bst . | ||
cp templates/jlm/jlm-guidelines.pdf . | ||
cp templates/latexmkrc-xelatex latexmkrc | ||
latexmk -pdf hausarbeit-template.tex | ||
|
||
clean_jlm_article: | ||
rm -fr jlm-article-template.org jlm.cls jlm.bst cc-by.pdf jlm-guidelines.pdf fonts | ||
|
||
#------------------------------------------------------------------------------- | ||
|
||
LANGSCI_PAPER_FILES = myMacros.tex references.bib \ | ||
$(wildcard packages/*.sty) \ | ||
$(filter-out $(wildcard examples/poster*), $(filter-out $(wildcard examples/beamer*), $(wildcard examples/*.tex))) | ||
|
||
release_langsci_paper: | ||
cp -r templates/langscibook/langsci . | ||
cp templates/langsci-paper-template.org . | ||
cp templates/langsci-paper-template.tex . | ||
cp templates/latexmkrc-xelatex latexmkrc | ||
zip -r langsci-paper-template.zip \ | ||
langsci-paper-template.org langsci-paper-template.tex langsci $(LANGSCI_PAPER_FILES) | ||
rm -fr langsci langsci* | ||
|
||
test_langsci_paper: | ||
cp -r templates/langscibook/langsci . | ||
cp templates/langsci-paper-template.tex . | ||
cp templates/latexmkrc-xelatex latexmkrc | ||
latexmk -pdf langsci-paper-template.tex | ||
|
||
clean_langsci_paper: | ||
rm -fr langsci langsci* | ||
|
||
#------------------------------------------------------------------------------- | ||
|
||
POSTER_FILES = myMacros.tex references.bib \ | ||
settings/myPosterstyle.tex \ | ||
settings/poster-settings.tex \ | ||
graphics/sfb-logo-quer.pdf \ | ||
graphics/hhu-logo-hres.pdf \ | ||
$(wildcard packages/*.sty) \ | ||
$(filter-out $(wildcard examples/beamer*), $(wildcard examples/*.tex)) \ | ||
$(wildcard bst/biblatex-sp-unified/[^.]*) | ||
|
||
test_poster: | ||
cp templates/poster-template.tex . | ||
latexmk -pdf poster-template.tex | ||
release_langscibook: | ||
cd templates/langscibook-template; \ | ||
make release_langscibook; \ | ||
mv langscibook-template.zip .. | ||
|
||
release_poster: | ||
cp templates/poster-template.tex . | ||
zip -r poster-template.zip poster-template.tex $(POSTER_FILES) | ||
rm poster-template.tex | ||
|
||
#------------------------------------------------------------------------------- | ||
|
||
release_all: release_abstract release_article release_beamer release_hausarbeit release_poster release_jlm_article release_langsci_paper | ||
|
||
cd templates/poster-template; \ | ||
make release_poster; \ | ||
mv poster-template.zip .. | ||
|
||
release_standalone: | ||
cd templates/standalone-template; \ | ||
make release_standalone; \ | ||
mv standalone-template.zip .. |
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
Oops, something went wrong.