20
0

fixed some bugs and improved the quality of the code to build/extract data

This commit is contained in:
2013-01-29 00:29:20 -05:00
parent c2fbecbe18
commit c096f670ca
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ pdf: all
recode -d u8..ltex < refs-cleaned.bib > refs-processed.bib
mogrify -format pdf figures/logo.svg
rubber -fd $<
extract-notes $<
clean:
rubber -d --clean *.tex
@@ -16,6 +17,7 @@ clean:
rm -f refs-cleaned.bib
rm -f refs-processed.bib
rm -f figures/logo.pdf
rm -f *.pdfpc
viewpdf: all
evince *.pdf

View File

@@ -23,7 +23,7 @@ foreach $filename (@ARGV) {
if ($line =~ /^\% pdfpc\:end/) {
$note_record = 0;
chomp $note_text;
$note_text =~ s/^\s*(.*?)\s*$/$1/;
print NOTESFILE "\#\#\# $slide_counter\n$note_text\n";
}