Skip to content

Commit

Permalink
Update magic LaTeX header (from different ver of Pygments?)
Browse files Browse the repository at this point in the history
  • Loading branch information
samstokes committed Mar 30, 2011
1 parent 22754db commit 04e981e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion bin/git-pdf
Expand Up @@ -52,7 +52,7 @@ bundle_file="$tex_dir/${feature}.tex"

commits=`"$GIT" format-patch -o "$commits_dir" $range`

cat > $bundle_file << EOF
cat > $bundle_file << 'EOF'
\documentclass{article}
\usepackage{fancyvrb}
\usepackage{color}
Expand Down Expand Up @@ -133,6 +133,13 @@ cat > $bundle_file << EOF
\def\PY@tok@k{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
\def\PY@tok@se{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.73,0.40,0.13}{##1}}}
\def\PY@tok@sd{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
\def\PYZbs{\char`\\}
\def\PYZus{\char`\_}
\def\PYZob{\char`\{}
\def\PYZcb{\char`\}}
\def\PYZca{\char`\^}
% for compatibility with earlier versions
\def\PYZat{@}
\def\PYZlb{[}
\def\PYZrb{]}
Expand Down

0 comments on commit 04e981e

Please sign in to comment.