summaryrefslogtreecommitdiff
path: root/dev-texlive/texlive-latexextra/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-texlive/texlive-latexextra/files')
-rw-r--r--dev-texlive/texlive-latexextra/files/lstlinebgrd-syntax.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-texlive/texlive-latexextra/files/lstlinebgrd-syntax.patch b/dev-texlive/texlive-latexextra/files/lstlinebgrd-syntax.patch
new file mode 100644
index 0000000..16f9da1
--- /dev/null
+++ b/dev-texlive/texlive-latexextra/files/lstlinebgrd-syntax.patch
@@ -0,0 +1,16 @@
+--- a/texmf-dist/tex/latex/lstaddons/lstlinebgrd.sty 2019-06-21 16:32:09.158990775 +0200
++++ b/texmf-dist/tex/latex/lstaddons/lstlinebgrd.sty 2019-06-21 16:31:45.408991817 +0200
+@@ -27,10 +27,10 @@
+ \lst@Key{numbers}{none}{%
+ \def\lst@PlaceNumber{\lst@linebgrd}%
+ \lstKV@SwitchCases{#1}%
+- {none&\\%
+- left&\def\lst@PlaceNumber{\llap{\normalfont
++ {none:\\%
++ left:\def\lst@PlaceNumber{\llap{\normalfont
+ \lst@numberstyle{\thelstnumber}\kern\lst@numbersep}\lst@linebgrd}\\%
+- right&\def\lst@PlaceNumber{\rlap{\normalfont
++ right:\def\lst@PlaceNumber{\rlap{\normalfont
+ \kern\linewidth \kern\lst@numbersep
+ \lst@numberstyle{\thelstnumber}}\lst@linebgrd}%
+ }{\PackageError{Listings}{Numbers #1 unknown}\@ehc}}