summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jvlisting/jvlisting.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/jvlisting/jvlisting.sty')
-rw-r--r--Master/texmf-dist/tex/latex/jvlisting/jvlisting.sty10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/jvlisting/jvlisting.sty b/Master/texmf-dist/tex/latex/jvlisting/jvlisting.sty
index 89f9ce7cb97..526d3ad1e8c 100644
--- a/Master/texmf-dist/tex/latex/jvlisting/jvlisting.sty
+++ b/Master/texmf-dist/tex/latex/jvlisting/jvlisting.sty
@@ -26,7 +26,7 @@
%% derived files jvlisting.sty, jvlisting.ins and examples.tex.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{jvlisting}[2011/10/28 v0.6 Formatted Program Listings]
+\ProvidesPackage{jvlisting}[2011/11/17 v0.7 Formatted Program Listings]
\def\jvl@iterlines#1{\expandafter\jvl@iterla\expandafter{#1}{\jvl@dropempty}}
{\obeylines\gdef\jvl@iterla#1#2#3
@@ -92,10 +92,8 @@
{\catcode`\ =\active%
\gdef\jvl@obeyspaces{\frenchspacing\catcode`\ =\active\let \space}}
-{\catcode`\`=\active\gdef`{\relax\lq}}
-\gdef\jvl@noligs{\catcode`\`=\active}
\def\jvl@fixparsing{\let\do\@makeother\dospecials\catcode`\^^I=12
- \jvl@obeyspaces\jvl@noligs\hyphenchar\font\m@ne}
+ \jvl@obeyspaces\hyphenchar\font\m@ne}
\newcount\jvl@tmphyphenchar
\def\jvl@begingroup{\jvl@tmphyphenchar=\hyphenchar\font
@@ -153,7 +151,9 @@
\newcount\prelistingpenalty \prelistingpenalty=100
\newcount\listingpenalty \listingpenalty=500
\newcount\postlistingpenalty \postlistingpenalty=-50
-\def\normallistingfont{\normalfont\ttfamily}
+{\catcode`\`=\active\gdef`{\relax\lq}%
+\gdef\DisableLigatureFix{\def`{\lq}}}
+\def\normallistingfont{\normalfont\ttfamily\catcode`\`=\active}
\let\listingfont=\normallistingfont
\newcommand{\ListingTypesetLine}[1]{\ifvmode\penalty\listingpenalty\noindent\fi