summaryrefslogtreecommitdiff
path: root/dev-texlive/texlive-latexextra/files
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-07-28 14:02:39 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-07-28 14:02:39 -0400
commitbbbfec404a7ce113ff88ae358fcb723da187934d (patch)
tree56d3d8b6e59dbada2067506abb86b48e26d5bd18 /dev-texlive/texlive-latexextra/files
parent632e68ebe7bcb3c5fbe7fd293afe05a0c80db38f (diff)
downloadgentoo-overlay-bbbfec404a7ce113ff88ae358fcb723da187934d.tar.xz
gentoo-overlay-bbbfec404a7ce113ff88ae358fcb723da187934d.zip
dev-texlive/texlive-latexextra: new package
remove optional deps
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}}