[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#920459: tabu: breaks with color and/or xcolor when spread or negative X coefficients are used



retitle 920459 tabu: breaks with color and/or xcolor when spread or negative X coefficients are used
found 920459 2018.20190131-1
forwarded 920459 https://github.com/tabu-fixed/tabu/pull/14
tags 920459 + patch
thanks

Hi Norbert,

please find attached a patch that fixes tabu when either color or
xcolor are used in a document and tabu is used with either stretch
(instead of to) or negative X column coëfficients. I’ve also for‐
warded this upstream.

I would appreciate a quick review, as this is blocking multiple
other packages and release-critical, and would prefer to upload
this within five days or so. If you can give me a go I can do a
maintainer-approved undelayed NMU. If I don’t hear anything back,
I intend to do a regular delayed NMU in five days. I’ve tested
this by rebuilding src:bliss twice, once without once with this
patch applied, failing the former but passing the latter.

Thanks,
//mirabilos
-- 
[17:15:07] Lukas Degener: Kleines Asterix-Latinum für Softwaretechniker:
	   veni, vidi, fixi(t) ;-)
diff -Nru texlive-extra-2018.20190131/debian/changelog texlive-extra-2018.20190131/debian/changelog
--- texlive-extra-2018.20190131/debian/changelog	2019-01-31 04:55:18.000000000 +0100
+++ texlive-extra-2018.20190131/debian/changelog	2019-02-24 17:47:26.000000000 +0100
@@ -1,3 +1,10 @@
+texlive-extra (2018.20190131-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Patch tabu to fix multiple FTBFS in other packages (Closes: #920459)
+
+ -- Thorsten Glaser <tg@mirbsd.de>  Sun, 24 Feb 2019 17:47:26 +0100
+
 texlive-extra (2018.20190131-1) unstable; urgency=medium
 
   * new upstream checkout
diff -Nru texlive-extra-2018.20190131/debian/patches/fix-tabu-920459 texlive-extra-2018.20190131/debian/patches/fix-tabu-920459
--- texlive-extra-2018.20190131/debian/patches/fix-tabu-920459	1970-01-01 01:00:00.000000000 +0100
+++ texlive-extra-2018.20190131/debian/patches/fix-tabu-920459	2019-02-24 17:47:21.000000000 +0100
@@ -0,0 +1,23 @@
+# DP: see #920459 and https://github.com/tabu-fixed/tabu/issues/1
+# DP: forwarded as https://github.com/tabu-fixed/tabu/pull/14
+
+--- a/texmf-dist/source/latex/tabu/tabu.dtx
++++ b/texmf-dist/source/latex/tabu/tabu.dtx
+@@ -6099,6 +6099,7 @@ morekeywords=[7]{yellow},
+         \ifdim \tabu@temp\p@>\z@ \ifdim \tabu@temp\tabucolX<\tabu@target
+                                         \tabu@target=\tabu@temp\tabucolX \fi\fi
+         \setbox\tabu@box  \hbox \bgroup
++            \color@begingroup%
+             \begin{varwidth}\tabu@target
+                 \let\FV@ListProcessLine \tabu@FV@ListProcessLine  % \hbox to natural width...
+                 \narrowragged \arraybackslash \parfillskip \@flushglue
+--- a/texmf-dist/tex/latex/tabu/tabu.sty
++++ b/texmf-dist/tex/latex/tabu/tabu.sty
+@@ -1663,6 +1663,7 @@
+         \ifdim \tabu@temp\p@>\z@ \ifdim \tabu@temp\tabucolX<\tabu@target
+                                         \tabu@target=\tabu@temp\tabucolX \fi\fi
+         \setbox\tabu@box  \hbox \bgroup
++            \color@begingroup%
+             \begin{varwidth}\tabu@target
+                 \let\FV@ListProcessLine \tabu@FV@ListProcessLine  % \hbox to natural width...
+                 \narrowragged \arraybackslash \parfillskip \@flushglue
diff -Nru texlive-extra-2018.20190131/debian/patches/series texlive-extra-2018.20190131/debian/patches/series
--- texlive-extra-2018.20190131/debian/patches/series	2018-12-11 04:24:38.000000000 +0100
+++ texlive-extra-2018.20190131/debian/patches/series	2019-02-24 17:44:44.000000000 +0100
@@ -4,3 +4,4 @@
 tmp-dir-for-pdfjam
 sympytex-path
 fix-gbrief-multiple
+fix-tabu-920459

Reply to: