summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-05 00:40:56 +0000
committerKarl Berry <karl@freefriends.org>2012-05-05 00:40:56 +0000
commit0dda076376f317c796a6a40d5006ef05cc7c031b (patch)
tree35c84148fa9a5d94eb0ea032fab58172b7dc6eac /Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty
parent2a4a5f695e45cb0addf21e35fe7d5089202afeca (diff)
ydoc (3may12)
git-svn-id: svn://tug.org/texlive/trunk@26202 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty10
1 files changed, 5 insertions, 5 deletions
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