Skip to content

Commit

Permalink
Add collections chapter to PDF; fix Unicode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
btj committed Dec 15, 2020
1 parent 2f5e7b5 commit 23d47bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions latex.template
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ $endif$
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{2264}{$$\le$$}
\usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
$if(mathspec)$
Expand Down
12 changes: 6 additions & 6 deletions make-pdf.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# First, copy the files from https://github.com/btj/jlearner
# (in particular: language.md and the .png files)
# into the current directory
# First, clone https://github.com/btj/jlearner and set JLEARNERPATH
cp $JLEARNERPATH/language.md $JLEARNERPATH/*.png .

pandoc -o course-notes.html -f gfm \
README.md \
Expand All @@ -12,13 +11,14 @@ pandoc -o course-notes.html -f gfm \
complexity_modularity_abstraction.md \
representation_objects.md \
single_object_doc_instr.md \
entity_relationship_abstractions.md \
multi_class_abstractions.md \
multi_object_doc_instr.md \
inheritance.md \
behavioral_subtyping.md \
interfaces.md \
implementation_inheritance.md \
collections.md \
entity_relationship_abstractions.md \
multi_class_abstractions.md \
multi_object_doc_instr.md \
iterators.md \
generics.md
pandoc --wrap=none -V documentclass=book --toc --template=latex.template --listings -o course-notes.tex course-notes.html
Expand Down

0 comments on commit 23d47bf

Please sign in to comment.