diff --git a/bin/book-to-latex b/bin/book-to-latex index 8ed32b6..914e475 100644 --- a/bin/book-to-latex +++ b/bin/book-to-latex @@ -6,6 +6,10 @@ print <<'HEADER'; \documentclass[11pt,a4paper,oneside]{report} \usepackage{graphics,graphicx} \usepackage{colortbl} +\usepackage{fancyvrb} +\usepackage[T1]{fontenc} +\usepackage{textcomp} +\usepackage[scaled]{beramono} \begin{document} HEADER diff --git a/src/basics.pod b/src/basics.pod index bb661e2..2e31ab0 100644 --- a/src/basics.pod +++ b/src/basics.pod @@ -471,7 +471,7 @@ keys, and look in this hash when the name of a player is read: ... my @names = $file.get.split(' '); B - B $n {> + B>B< $n {> B< %legitimate-players{$n} = 1;> B<}> @@ -480,7 +480,7 @@ keys, and look in this hash when the name of a player is read: for $file.lines -> $line { my ($pairing, $result) = $line.split(' | '); my ($p1, $p2) = $pairing.split(' vs '); - B $p {> + B>B< $p {> B< if !%legitimate-players{$p} {> B< say "Warning: '$p' is not on our list!";> B< }>