summaryrefslogtreecommitdiff
path: root/dev-texlive/texlive-latexrecommended/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-texlive/texlive-latexrecommended/files
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-texlive/texlive-latexrecommended/files')
-rw-r--r--dev-texlive/texlive-latexrecommended/files/caption_beamer_fix.patch39
-rw-r--r--dev-texlive/texlive-latexrecommended/files/thumbpdf_invocation.patch13
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-texlive/texlive-latexrecommended/files/caption_beamer_fix.patch b/dev-texlive/texlive-latexrecommended/files/caption_beamer_fix.patch
new file mode 100644
index 000000000000..27351bf6816e
--- /dev/null
+++ b/dev-texlive/texlive-latexrecommended/files/caption_beamer_fix.patch
@@ -0,0 +1,39 @@
+Ported from upstream by Dennis Schridde.
+
+https://bugs.gentoo.org/show_bug.cgi?id=560654
+
+https://bitbucket.org/rivanvx/beamer/issues/261/beamer-and-subcaption
+https://sourceforge.net/p/latex-caption/tickets/21/
+https://sourceforge.net/p/latex-caption/code/100/
+
+Index: texmf-dist/tex/latex/caption/caption.sty
+===================================================================
+--- texmf-dist/tex/latex/caption/caption.sty (revision 99)
++++ texmf-dist/tex/latex/caption/caption.sty (revision 100)
+@@ -36,7 +36,6 @@
+ %% and the user manuals
+ %% caption-deu.tex, caption-eng.tex, and caption-rus.tex.
+ %%
+- % bicaption.sty, ltcaption.sty, subcaption.sty, and newfloat.sty,
+ \NeedsTeXFormat{LaTeX2e}[1994/12/01]
+ \def\caption@tempa$Id: #1 #2 #3-#4-#5 #6${%
+ \def\caption@tempa{#3/#4/#5 }\def\caption@tempb{#2 }}
+@@ -379,6 +378,18 @@
+ {\@dblarg{\@caption\@captype}}%
+ }}%
+ \caption@CheckCommand\caption{%
++ % beamerbaselocalstructure.sty, Joseph Wright committed 4ac715c 2013-09-04
++ \def\caption{%
++ \ifx\@captype\@undefined
++ \@latex@error{\noexpand\caption outside figure or table}\@ehd
++ \expandafter\@gobble
++ \else
++ \refstepcounter\@captype
++ \expandafter\@firstofone
++ \fi
++ {\@dblarg{\@caption\@captype}}%
++ }}%
++ \caption@CheckCommand\caption{%
+ % float.sty [2001/11/08 v1.3d Float enhancements (AL)]
+ \long\def\caption{%
+ \ifx\@captype\@undefined
diff --git a/dev-texlive/texlive-latexrecommended/files/thumbpdf_invocation.patch b/dev-texlive/texlive-latexrecommended/files/thumbpdf_invocation.patch
new file mode 100644
index 000000000000..94b8d03f1c73
--- /dev/null
+++ b/dev-texlive/texlive-latexrecommended/files/thumbpdf_invocation.patch
@@ -0,0 +1,13 @@
+Index: work/texmf-dist/scripts/thumbpdf/thumbpdf.pl
+===================================================================
+--- work.orig/texmf-dist/scripts/thumbpdf/thumbpdf.pl
++++ work/texmf-dist/scripts/thumbpdf/thumbpdf.pl
+@@ -1,7 +1,4 @@
+-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q'
+- if 0;
+-use strict;
+-$^W=1; # turn warning on
++#!/usr/bin/perl -w
+ #
+ # thumbpdf.pl
+ #