Permalink
Browse files

no reason to use iconv anymore

  • Loading branch information...
1 parent 13f1c25 commit 31a12243ceff5c99d2833ec5c78b3e36720cda26 @csokol csokol committed Oct 10, 2012
Showing with 2 additions and 6 deletions.
  1. +2 −6 etc/latex.sh
View
@@ -3,17 +3,13 @@ echo Gerando latex...
HAS_ANSWER=`ls "$(dirname $1)" | grep answer.tex -c`
if [ "$HAS_ANSWER" -eq "0" ]; then
- touch "$(dirname $1)"/answer-utf.tex;
+ touch "$(dirname $1)"/answer.tex;
else
- mv answer.tex answer-utf.tex
+ mv answer.tex answer.tex
fi
cp -R ~/.tubaina/pythonenv .
-mv "$1" book-utf.tex
-iconv --from-code=UTF-8 --to-code=ISO_8859-1 book-utf.tex > "$1"
-iconv --from-code=UTF-8 --to-code=ISO_8859-1 answer-utf.tex > answer.tex
-
echo "s\n" | pdflatex -shell-escape book.tex > /dev/null
bibtex book
makeindex book.idx

0 comments on commit 31a1224

Please sign in to comment.