Skip to content

Commit

Permalink
Edition 0.1c
Browse files Browse the repository at this point in the history
  • Loading branch information
patmorin committed Mar 1, 2012
1 parent c33caec commit 84532aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion latex/ods-book.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ h2 {
pre {
padding: 1em;
border: 1px solid black;
line-height: 1em;
line-height: 1.2em;
}

a {
Expand Down
4 changes: 2 additions & 2 deletions latex/ods.tex
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
% Title page content
\title{Open Data Structures (in \lang)}
\author{Pat Morin}
\date{Development Edition: \today\ \currenttime
%Edition 0.1$\Gamma$
\date{%Development Edition: \today\ \currenttime
Edition 0.1$\Gamma$
\htmlonly{\\ \includegraphics[scale=0.5]{images/cc-by}}}
%Version 0.0 pre $\alpha$: \today}

Expand Down
3 changes: 2 additions & 1 deletion latex/snarf-cpp-html.pl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ ($)
#while ($line =~ s/(^|[^\\])\{/$1\@/) {} # change { to @
#while ($line =~ s/(^|[^\\])\}/$1\$/) {} # change } to $
#$line =~ s/\\([{}])/$1/g; # unescape \{
$line =~ s/\t/ /g;
print("$line\n");
$output = 1;
}
Expand Down Expand Up @@ -146,7 +147,7 @@ ($$)
while ($line =~ /#([^#]*)#/) {
my $inside = $1;
$inside =~ s/([%&])/\\$1/g;
$inside = color($inside);
#$inside = color($inside);
$inside = "\\ensuremath{\\mathtt{$inside}}";
$line =~ s/#([^#])*#/$inside/;
}
Expand Down

0 comments on commit 84532aa

Please sign in to comment.