added a perl script to clean out some common broken encoding stuff
This commit is contained in:
parent
8cbbd2d3b7
commit
fc613f1b26
@ -1,10 +1,12 @@
|
|||||||
#!/usr/bin/make
|
#!/usr/bin/make
|
||||||
|
|
||||||
all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
|
#all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
|
||||||
|
all: project_description.pdf references.pdf
|
||||||
pdf: all
|
pdf: all
|
||||||
|
|
||||||
%.pdf: %.tex
|
%.pdf: %.tex
|
||||||
perl -p -e 's/©//' refs.bib > refs-cleaned.bib
|
perl -p -e 's/©//' refs.bib > refs-cleaned.bib
|
||||||
|
perl -0pe 's/,\s+(file|abstract) = \{.*?\}(,\n|\n)/\2/sg' refs-cleaned.bib |sponge refs-cleaned.bib
|
||||||
recode -d u8..ltex < refs-cleaned.bib > refs-processed.bib
|
recode -d u8..ltex < refs-cleaned.bib > refs-processed.bib
|
||||||
rubber -fd $<
|
rubber -fd $<
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user