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
Vicente González Ruiz
committed
Apr 30, 2018
1 parent
cc61a27
commit 51629e3
Showing
30 changed files
with
593 additions
and
14 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 +1 @@ | ||
include ../Makefile | ||
include ../Makefile-jupyter |
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 +1 @@ | ||
include ../Makefile | ||
include ../Makefile-jupyter |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# 2015-06-Barcelona-2015 Makefile | ||
|
||
include ../Makefile | ||
include ../Makefile-htlatex | ||
# | ||
#index.html: | ||
# make -C FIGs |
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 +1 @@ | ||
include ../Makefile | ||
include ../Makefile-jupyter |
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 +1 @@ | ||
include ../Makefile | ||
include ../Makefile-jupyter |
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 +1 @@ | ||
include ../Makefile | ||
include ../Makefile-jupyter |
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 +1 @@ | ||
include ../Makefile | ||
include ../Makefile-jupyter |
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 +1 @@ | ||
include ../Makefile | ||
include ../Makefile-jupyter |
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 +1 @@ | ||
include ../Makefile | ||
include ../Makefile-jupyter |
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 +1 @@ | ||
include ../Makefile | ||
include ../Makefile-jupyter |
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 +1 @@ | ||
include ../Makefile | ||
include ../Makefile-jupyter |
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,9 @@ | ||
default: index.html | ||
|
||
publish: snapshot.png | ||
|
||
index.html: index.tex | ||
htlatex index.tex "../slides.cfg, ../math.cfg, 2, charset=utf-8" " -cunihtf -utf8" | ||
|
||
snapshot.png: index.html | ||
phantomjs ../rasterize.js index.html snapshot.png 400px*300px |
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,21 @@ | ||
# Ojo, este Makefile siempre es incluido en otro. De ah'i que los includes | ||
# sean tan raros. | ||
|
||
include ../../Makefile-rules/fig2pdf/Makefile | ||
include ../../Makefile-rules/gpt2pdf/Makefile | ||
#include ../../Makefile-rules/pdf2gray-pdf/Makefile | ||
include ../../Makefile-rules/pdf2svg/Makefile | ||
#include ../../Makefile-rules/svg2png/Makefile | ||
include ../../Makefile-rules/tex2pdf/Makefile | ||
include ../../Makefile-rules/txt2svg/Makefile | ||
include ../../Makefile-rules/copy/Makefile | ||
|
||
.PHONY: default | ||
default: | ||
make $(TMPs) | ||
|
||
info: | ||
@echo $(TMPs) | ||
|
||
clean: | ||
rm -f $(TMPs) |
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,3 @@ | ||
%: % | ||
cp $< $@ | ||
# $(TMPs) += $@ |
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,71 @@ | ||
# Rules. | ||
|
||
# .fig -> .eps | ||
#../EPSs/%.eps: %.fig | ||
# fig2dev -L pstex $*.fig > tmp.eps | ||
# fig2dev -L pstex_t -f sf -p tmp.eps $< > tmp.tex | ||
# latex << EOF \ | ||
#\\documentclass[portrait,a3,final]{a0poster} \ | ||
\\usepackage{epsfig} \ | ||
\\usepackage{amsmath} \ | ||
\\usepackage{amssymb} \ | ||
\\usepackage{color} \ | ||
\\usepackage[normalem]{ulem} \ | ||
\\usepackage{soul} \ | ||
\\begin{document} \ | ||
\\sffamily \ | ||
\\def\\normalfont{\\sffamily} \ | ||
\\renewcommand{\\familydefault}{cmss} \ | ||
\\pagestyle{empty} \ | ||
\\thispagestyle{empty} \ | ||
\\resizebox{1.0\\textwidth}{!}{\\input{tmp}} \ | ||
\\end{document} \ | ||
EOF | ||
# mv a0poster.dvi $*.dvi | ||
# dvips $*.dvi | ||
# ps2eps --loose < $*.ps > ../EPSs/$*.eps | ||
# rm $*.ps | ||
# rm tmp.eps | ||
# rm $*.dvi | ||
# rm tmp.tex | ||
# rm a0poster.aux | ||
# rm a0poster.log | ||
|
||
## .fig -> .pdf | ||
%.pdf: %.fig | ||
fig2dev -L pstex $*.fig > tmp.eps | ||
fig2dev -L pstex_t -f sf -p tmp.eps $< > tmp.tex | ||
latex << EOF \ | ||
\\documentclass[portrait,a3,final]{a0poster} \ | ||
\\usepackage{epsfig} \ | ||
\\usepackage{amsmath} \ | ||
\\usepackage{amssymb} \ | ||
\\usepackage{color} \ | ||
\\begin{document} \ | ||
\\pagestyle{empty} \ | ||
\\thispagestyle{empty} \ | ||
\\resizebox{1.0\\textwidth}{!}{\\input{tmp}} \ | ||
\\end{document} \ | ||
EOF | ||
mv a0poster.dvi $*.dvi | ||
dvips $*.dvi -o $*.ps | ||
ps2eps --loose < $*.ps > /tmp/$*.eps | ||
epstopdf /tmp/$*.eps | ||
mv /tmp/$*.pdf $*.pdf | ||
rm $*.ps | ||
rm tmp.eps | ||
rm $*.dvi | ||
#rm $*.eps | ||
rm tmp.tex | ||
rm a0poster.aux | ||
rm a0poster.log | ||
|
||
# Original files | ||
FIGs := $(wildcard *.fig) | ||
|
||
# Temporal files | ||
#TMPs += $(FIGs:%.fig=../EPSs/%.eps) | ||
#TMPs += $(FIGs:%.fig=../PNGs/%.png) | ||
TMPs += $(FIGs:%.fig=%.pdf) | ||
#TMPs += $(FIGs:%.fig=../SVGs/%.svg) | ||
|
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,36 @@ | ||
## .fig -> .svg | ||
%.svg: %.fig | ||
fig2dev -L pstex $*.fig > tmp.eps | ||
fig2dev -L pstex_t -f sf -p tmp.eps $< > tmp.tex | ||
latex << EOF \ | ||
\\documentclass[portrait,a3,final]{a0poster} \ | ||
\\usepackage{epsfig} \ | ||
\\usepackage{amsmath} \ | ||
\\usepackage{amssymb} \ | ||
\\usepackage{color} \ | ||
\\begin{document} \ | ||
\\pagestyle{empty} \ | ||
\\thispagestyle{empty} \ | ||
\\resizebox{1.0\\textwidth}{!}{\\input{tmp}} \ | ||
\\end{document} \ | ||
EOF | ||
mv a0poster.dvi $*.dvi | ||
dvips $*.dvi -o $*.ps | ||
ps2eps --loose < $*.ps > /tmp/$*.eps | ||
epstopdf /tmp/$*.eps | ||
#mv /tmp/$*.pdf $*.pdf | ||
rm $*.ps | ||
rm tmp.eps | ||
rm $*.dvi | ||
#rm $*.eps | ||
rm tmp.tex | ||
rm a0poster.aux | ||
rm a0poster.log | ||
pdf2svg /tmp/$*.pdf $*.svg | ||
|
||
# Original files | ||
FIGs := $(wildcard *.fig) | ||
|
||
# Temporal files | ||
TMPs += $(FIGs:%.fig=%.svg) | ||
|
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,30 @@ | ||
# Rules | ||
|
||
## .gpt -> .pdf | ||
/tmp/%.tex: %.gpt | ||
(echo "set terminal cairolatex pdf; set output \"/tmp/$*.tex\"" | cat - $*.gpt) | gnuplot | ||
%.pdf: /tmp/%.tex | ||
pdflatex << EOF \ | ||
\\documentclass{minimal} \ | ||
\\usepackage{graphicx} \ | ||
\\usepackage{amsmath} \ | ||
\\usepackage{amssymb} \ | ||
\\usepackage{color} \ | ||
\\begin{document} \ | ||
\\pagestyle{empty} \ | ||
\\thispagestyle{empty} \ | ||
\\resizebox{1.0\\textwidth}{!}{\\input{/tmp/$*}} \ | ||
\\end{document} \ | ||
EOF | ||
pdfcrop minimal.pdf $*.pdf | ||
rm minimal.log | ||
rm minimal.aux | ||
rm minimal.pdf | ||
# rm /tmp/$*.pdf | ||
|
||
# Original files | ||
GPTs := $(wildcard *.gpt) | ||
|
||
# Temporal files | ||
TMPs += $(GPTs:%.gpt=%.pdf) | ||
|
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,11 @@ | ||
#FIG 3.2 Produced by xfig version 3.2.5b | ||
Landscape | ||
Center | ||
Metric | ||
A4 | ||
100.00 | ||
Single | ||
-2 | ||
1200 2 | ||
2 2 0 1 7 7 999 -1 19 0.000 0 0 -1 0 0 5 | ||
2880 2250 9765 2250 9765 2610 2880 2610 2880 2250 |
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,45 @@ | ||
# Rules. | ||
|
||
# .fig -> .eps | ||
#../EPSs/%.eps: %.fig | ||
# fig2dev -L pstex $*.fig > tmp.eps | ||
# fig2dev -L pstex_t -f sf -p tmp.eps $< > tmp.tex | ||
# latex << EOF \ | ||
#\\documentclass[portrait,a3,final]{a0poster} \ | ||
\\usepackage{epsfig} \ | ||
\\usepackage{amsmath} \ | ||
\\usepackage{amssymb} \ | ||
\\usepackage{color} \ | ||
\\usepackage[normalem]{ulem} \ | ||
\\usepackage{soul} \ | ||
\\begin{document} \ | ||
\\sffamily \ | ||
\\def\\normalfont{\\sffamily} \ | ||
\\renewcommand{\\familydefault}{cmss} \ | ||
\\pagestyle{empty} \ | ||
\\thispagestyle{empty} \ | ||
\\resizebox{1.0\\textwidth}{!}{\\input{tmp}} \ | ||
\\end{document} \ | ||
EOF | ||
# mv a0poster.dvi $*.dvi | ||
# dvips $*.dvi | ||
# ps2eps --loose < $*.ps > ../EPSs/$*.eps | ||
# rm $*.ps | ||
# rm tmp.eps | ||
# rm $*.dvi | ||
# rm tmp.tex | ||
# rm a0poster.aux | ||
# rm a0poster.log | ||
|
||
## .pdf -> (gray).pdf | ||
%-gray.pdf: %.pdf | ||
gs -sOutputFile=../tmp/$*_gray.pdf -sDEVICE=pdfwrite -sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH ../tmp/$*.pdf | ||
|
||
# Original files | ||
PDFs := $(wildcard *.pdf) | ||
|
||
# Temporal files | ||
#TMPs += $(FIGs:%.fig=../EPSs/%.eps) | ||
#TMPs += $(FIGs:%.fig=../PNGs/%.png) | ||
TMPs += $(PDFs:%.pdf=.%-gray.pdf) | ||
#TMPs += $(FIGs:%.fig=../SVGs/%.svg) |
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,79 @@ | ||
# Rules. | ||
|
||
# .fig -> .eps | ||
#../EPSs/%.eps: %.fig | ||
# fig2dev -L pstex $*.fig > tmp.eps | ||
# fig2dev -L pstex_t -f sf -p tmp.eps $< > tmp.tex | ||
# latex << EOF \ | ||
#\\documentclass[portrait,a3,final]{a0poster} \ | ||
\\usepackage{epsfig} \ | ||
\\usepackage{amsmath} \ | ||
\\usepackage{amssymb} \ | ||
\\usepackage{color} \ | ||
\\usepackage[normalem]{ulem} \ | ||
\\usepackage{soul} \ | ||
\\begin{document} \ | ||
\\sffamily \ | ||
\\def\\normalfont{\\sffamily} \ | ||
\\renewcommand{\\familydefault}{cmss} \ | ||
\\pagestyle{empty} \ | ||
\\thispagestyle{empty} \ | ||
\\resizebox{1.0\\textwidth}{!}{\\input{tmp}} \ | ||
\\end{document} \ | ||
EOF | ||
# mv a0poster.dvi $*.dvi | ||
# dvips $*.dvi | ||
# ps2eps --loose < $*.ps > ../EPSs/$*.eps | ||
# rm $*.ps | ||
# rm tmp.eps | ||
# rm $*.dvi | ||
# rm tmp.tex | ||
# rm a0poster.aux | ||
# rm a0poster.log | ||
|
||
## .fig -> .pdf | ||
../tmp/%.pdf: %.fig | ||
fig2dev -L pstex $*.fig > tmp.eps | ||
fig2dev -L pstex_t -f sf -p tmp.eps $< > tmp.tex | ||
latex << EOF \ | ||
\\documentclass{article} \ | ||
\\usepackage{epsfig} \ | ||
\\usepackage{amsmath} \ | ||
\\usepackage{amssymb} \ | ||
\\usepackage{color} \ | ||
\\begin{document} \ | ||
\\pagestyle{empty} \ | ||
\\thispagestyle{empty} \ | ||
\\resizebox{1.0\\textwidth}{!}{\\input{tmp}} \ | ||
\\end{document} \ | ||
EOF | ||
mv article.dvi $*.dvi | ||
dvips $*.dvi -o $*.ps | ||
ps2eps --loose < $*.ps > /tmp/$*.eps | ||
epstopdf /tmp/$*.eps | ||
mv /tmp/$*.pdf ../tmp/$*.pdf | ||
rm $*.ps | ||
rm tmp.eps | ||
rm $*.dvi | ||
#rm $*.eps | ||
rm tmp.tex | ||
rm article.aux | ||
rm article.log | ||
gs -sOutputFile=../tmp/$*_gray.pdf -sDEVICE=pdfwrite -sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH ../tmp/$*.pdf | ||
|
||
# Original files | ||
FIGs := $(wildcard *.fig) | ||
|
||
# Temporal files | ||
#TMPs += $(FIGs:%.fig=../EPSs/%.eps) | ||
#TMPs += $(FIGs:%.fig=../PNGs/%.png) | ||
TMPs += $(FIGs:%.fig=../tmp/%.pdf) | ||
#TMPs += $(FIGs:%.fig=../SVGs/%.svg) | ||
|
||
default: $(TMPs) | ||
|
||
info: | ||
@echo $(TMPs) | ||
|
||
clean: | ||
rm -f $(TMPs) |
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,10 @@ | ||
# .pdf -> ./.svg | ||
%.svg: %.pdf | ||
# echo Building `pwd`/$@ | ||
# convert -density 150 $*.pdf $*.png | ||
pdf2svg $*.pdf $*.svg | ||
|
||
|
||
PDFs += $(wildcard *.pdf) | ||
TMPs += $(PDFs:%.pdf=%.svg) | ||
|
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,11 @@ | ||
# svg2png Makefile | ||
|
||
%.png: %.svg | ||
# echo Building `pwd`/$@ | ||
convert -density 100 $*.svg $*.png | ||
# pdf2svg ../PDFs/$*.pdf $*.svg | ||
|
||
|
||
SVGs := $(wildcard *.svg) | ||
TMPs += $(SVGs:%.svg=%.png) | ||
|
Oops, something went wrong.