]> code.communitydata.science - cdsc_tex.git/commitdiff
added code to deal with utf8 bibliographies
authorBenjamin Mako Hill <mako@atdot.cc>
Tue, 13 Mar 2012 17:54:54 +0000 (13:54 -0400)
committerBenjamin Mako Hill <mako@atdot.cc>
Tue, 13 Mar 2012 17:54:54 +0000 (13:54 -0400)
paper_template/Makefile
paper_template/refs.bib
paper_template/text.tex

index d4bbda0fc4e4c05ced81ab89a19db22127b2b5ab..1b183d18f8e7fc38d1824d0e6ac318385b00dd49 100644 (file)
@@ -4,12 +4,14 @@ all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
 pdf: all
 
 %.pdf: %.tex
+       recode -d u8..ltex < refs.bib > refs-processed.bib
        rubber -fd $<
 
 clean: 
        rubber -d --clean *.tex
        rm -f *.tmp
        rm -f vc
+       rm -f refs-processed.bib
 
 viewpdf: all
        evince *.pdf
index 60410825734770b0200a06b60251ee98d3b6f339..ca1f7a43bf4ba89816850fd3cc9b66618e6244f1 100644 (file)
@@ -1,5 +1,5 @@
 @inproceedings{989866,
-  author =      {Ken Hinckley and Gonzalo Ramos and Francois
+  author =      {Ken Hinckley and Gonzalo Ramos and Franรงois
                   Guimbretiere and Patrick Baudisch and Marc Smith},
   title =       {Stitching: pen gestures that span multiple displays},
   booktitle =   {AVI '04: Proceedings of the working conference on
index 21b74bf6a4d35817debdfe903bb30e1552d4043f..15813a985d9dbf65afb7035fa4f1b66316b21fe3 100644 (file)
@@ -79,7 +79,7 @@ fox jumps over the lazy dog \citep{989866}.
 % bibliography here
 \renewcommand{\bibsection}{\section{\bibname}\prebibhook}
 \baselineskip 14.2pt
-\bibliography{refs}
+\bibliography{refs-processed}
 \bibliographystyle{chicago}
 
 \end{document}

Community Data Science Collective || Want to submit a patch?