diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2019-07-05 22:32:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-07-05 22:32:24 +0700 |
commit | 627da1109486d076dc778506281ae691ccc8e4ed (patch) | |
tree | 80cf5735c912d2c5ac533e14caded1533f1b047e /office/texlive | |
parent | 726b1819cb03c548816ced336accab843e565103 (diff) | |
download | slackbuilds-627da1109486d076dc778506281ae691ccc8e4ed.tar.gz |
office/texlive: Added tabu patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/texlive')
-rw-r--r-- | office/texlive/patches/tabu.sty.diff | 32 | ||||
-rw-r--r-- | office/texlive/texlive.SlackBuild | 8 |
2 files changed, 39 insertions, 1 deletions
diff --git a/office/texlive/patches/tabu.sty.diff b/office/texlive/patches/tabu.sty.diff new file mode 100644 index 0000000000..8ebe034d18 --- /dev/null +++ b/office/texlive/patches/tabu.sty.diff @@ -0,0 +1,32 @@ +--- ./tabu.sty.orig 2019-01-14 16:10:48.000000000 -0600 ++++ ./tabu.sty 2019-06-30 16:24:01.975474339 -0500 +@@ -57,7 +57,7 @@ + %% + + \NeedsTeXFormat{LaTeX2e} +-\ProvidesPackage{tabu}[2019/01/11 v2.9 - flexible LaTeX tabulars (FC+tabu-fixed)] ++\ProvidesPackage{tabu}[2019/01/11 v2.9 - flexible LaTeX tabulars (FC+tabu-fixed) + intermediate FMi] + \RequirePackage{array}[2008/09/09] + \RequirePackage{varwidth}[2009/03/30] + \AtEndOfPackage{\tabu@AtEnd \let\tabu@AtEnd \@undefined} +@@ -727,6 +727,10 @@ + \tabu@currentgrouptype\expandafter{\the\currentgrouptype}}% + \fi + }% \tabu@init ++%%TABU-FIXED set up \tabu@currentgrouptype ++%FMi cancel for nested arrays ... ++\def\@tabarray{\m@th\def\tabu@currentgrouptype{\currentgrouptype}\@ifnextchar[\@array{\@array[c]}} ++ + \def\tabu@indent{% correction for indentation + \ifdim \parindent>\z@\ifx \linewidth\tabudefaulttarget + \everypar\expandafter{% +@@ -1663,6 +1667,9 @@ + \ifdim \tabu@temp\p@>\z@ \ifdim \tabu@temp\tabucolX<\tabu@target + \tabu@target=\tabu@temp\tabucolX \fi\fi + \setbox\tabu@box \hbox \bgroup ++%%TABU-FIXED add \color@begingroup ++%%FMi not yet understood why this one is also needed ... ++ \color@begingroup + \begin{varwidth}\tabu@target + \let\FV@ListProcessLine \tabu@FV@ListProcessLine % \hbox to natural width... + \narrowragged \arraybackslash \parfillskip \@flushglue diff --git a/office/texlive/texlive.SlackBuild b/office/texlive/texlive.SlackBuild index 4ca2329382..a29afb9ab1 100644 --- a/office/texlive/texlive.SlackBuild +++ b/office/texlive/texlive.SlackBuild @@ -31,7 +31,7 @@ PRGNAM=texlive SOURCEVERSION=20190410 VERSION=${VERSION:-2019.190626} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -216,6 +216,12 @@ cat $CWD/README.tlpkg > $PKG/usr/doc/texlive-$VERSION/README.tlpkg # Create some directories to make it clear that they're owned by this package mkdir -p $PKG/usr/share/{texmf-config,texmf-var,texmf-local} +# Use patch for tabu.sty from https://github.com/tabu-fixed/tabu to fix +# breakage when compiling doxygen: +( cd $PKG/usr/share/texmf-dist/tex/latex/tabu + cat $CWD/patches/tabu.sty.diff | patch -p1 --verbose || exit 1 + ) || exit 1 + # Add some perl modules, at least one of which is required by updmap mkdir -p $PKG/usr/share/perl5 mv texk/tests/TeXLive $PKG/usr/share/perl5/ |