From d4832cc656c83308ca1c4f665e585a0757de275a Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 26 Nov 2017 23:26:32 +0000
Subject: pkgloader (26nov17)

git-svn-id: svn://tug.org/texlive/trunk@45914 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/doc/latex/pkgloader/pkgloader-packagedoc.cls | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/doc/latex/pkgloader/pkgloader-packagedoc.cls')

diff --git a/Master/texmf-dist/doc/latex/pkgloader/pkgloader-packagedoc.cls b/Master/texmf-dist/doc/latex/pkgloader/pkgloader-packagedoc.cls
index c1c0997ab31..efc48cf8ba6 100644
--- a/Master/texmf-dist/doc/latex/pkgloader/pkgloader-packagedoc.cls
+++ b/Master/texmf-dist/doc/latex/pkgloader/pkgloader-packagedoc.cls
@@ -173,6 +173,7 @@
   texcsstyle=*\bfseries,%
   keywordstyle=\bfseries%
 }
+\lstMakeShortInline[style=examplecode]|
 
 %%% Setting up example code block
 
@@ -318,7 +319,7 @@
   \vskip-1.05\abovedisplayskip%
 }
 
-\BeforeBeginEnvironment{macrocode}{\vskip.2\abovedisplayskip}
+\BeforeBeginEnvironment{macrocode}{\lstDeleteShortInline|\vskip.2\abovedisplayskip}
 
 %%% Actually surround 'macrocode' with the frame
 %
@@ -337,7 +338,7 @@
 %%% always go back to it after one code block
 %
 \interesting
-\AfterEndEnvironment{macrocode}{\vskip\belowdisplayskip\interesting\NoIndentAfterThis}
+\AfterEndEnvironment{macrocode}{\lstMakeShortInline[style=examplecode]|\vskip\belowdisplayskip\interesting\NoIndentAfterThis}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Argument Specifiers and such                                                 %
-- 
cgit v1.2.3

