From 0dda076376f317c796a6a40d5006ef05cc7c031b Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 5 May 2012 00:40:56 +0000
Subject: ydoc (3may12)

git-svn-id: svn://tug.org/texlive/trunk@26202 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty')

diff --git a/Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty b/Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty
index 723c8e8aff4..77dead7767d 100644
--- a/Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty
+++ b/Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty
@@ -8,7 +8,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesPackage{ydoc-code}[%
-    2011/11/19
+    2012/05/03
     v0.6alpha
     ydoc package to document macro code]
 \RequirePackage{hyperref}
@@ -113,15 +113,15 @@
   \lstinputlisting{\ydocfname}%
   \endgroup
 }
-\def\ydoclistingssettings{%
-  \lstset{%
+\lstdefinestyle{ydoccode}{%
     language=[latex]tex,basicstyle=\ttfamily,
     numbers=left,numberstyle=\tiny\color{gray},firstnumber=last,
     breaklines,prebreak={\mbox{\tiny$\swarrow$}},
     commentstyle=\color{black!60},
-  }%
+}%
+\def\ydoclistingssettings{%
+    \lstset{style=ydoccode}%
 }
-\ydoclistingssettings
 \def\macro@impl@args[#1]{%
   \begingroup
   \parindent=10pt\relax
-- 
cgit v1.2.3

