longtabu and color compatibility












3















After last update of TeX Live packages this code won't compile:



documentclass{article}

usepackage{longtable,tabu}
usepackage{color}

begin{document}

begin{longtabu} to linewidth {llX}
a & b & c\
end{longtabu}

end{document}


I got an error:




Missing } inserted. end{longtabu}




if I comment out usepackage{color} everything works.
Another strange thing - if I change last column type from X to say l - it also works (even with color package added).










share|improve this question

























  • I can reproduce the issue and guess it has to do with recent changes to array.sty, I suspect this is related to tex.stackexchange.com/q/466147/35864

    – moewe
    Jan 7 at 12:12













  • It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.

    – andc
    Jan 7 at 12:16











  • Also, it seems my issue is result of 2019-01-05 la­tex-tools update where issue mentioned by you was fixed.

    – andc
    Jan 7 at 12:34











  • The source of the problem is a small change in longtable.

    – Ulrike Fischer
    Jan 7 at 12:38











  • The fix appears to be incomplete — see github.com/tabu-fixed/tabu/issues/1 — but I’ve just submitted a patch that may help us further along, hopefully not breaking anything in the progress ☺

    – mirabilos
    Feb 24 at 16:29
















3















After last update of TeX Live packages this code won't compile:



documentclass{article}

usepackage{longtable,tabu}
usepackage{color}

begin{document}

begin{longtabu} to linewidth {llX}
a & b & c\
end{longtabu}

end{document}


I got an error:




Missing } inserted. end{longtabu}




if I comment out usepackage{color} everything works.
Another strange thing - if I change last column type from X to say l - it also works (even with color package added).










share|improve this question

























  • I can reproduce the issue and guess it has to do with recent changes to array.sty, I suspect this is related to tex.stackexchange.com/q/466147/35864

    – moewe
    Jan 7 at 12:12













  • It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.

    – andc
    Jan 7 at 12:16











  • Also, it seems my issue is result of 2019-01-05 la­tex-tools update where issue mentioned by you was fixed.

    – andc
    Jan 7 at 12:34











  • The source of the problem is a small change in longtable.

    – Ulrike Fischer
    Jan 7 at 12:38











  • The fix appears to be incomplete — see github.com/tabu-fixed/tabu/issues/1 — but I’ve just submitted a patch that may help us further along, hopefully not breaking anything in the progress ☺

    – mirabilos
    Feb 24 at 16:29














3












3








3


2






After last update of TeX Live packages this code won't compile:



documentclass{article}

usepackage{longtable,tabu}
usepackage{color}

begin{document}

begin{longtabu} to linewidth {llX}
a & b & c\
end{longtabu}

end{document}


I got an error:




Missing } inserted. end{longtabu}




if I comment out usepackage{color} everything works.
Another strange thing - if I change last column type from X to say l - it also works (even with color package added).










share|improve this question
















After last update of TeX Live packages this code won't compile:



documentclass{article}

usepackage{longtable,tabu}
usepackage{color}

begin{document}

begin{longtabu} to linewidth {llX}
a & b & c\
end{longtabu}

end{document}


I got an error:




Missing } inserted. end{longtabu}




if I comment out usepackage{color} everything works.
Another strange thing - if I change last column type from X to say l - it also works (even with color package added).







color longtable tabu longtabu latextools






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 7 at 12:35







andc

















asked Jan 7 at 12:11









andcandc

34518




34518













  • I can reproduce the issue and guess it has to do with recent changes to array.sty, I suspect this is related to tex.stackexchange.com/q/466147/35864

    – moewe
    Jan 7 at 12:12













  • It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.

    – andc
    Jan 7 at 12:16











  • Also, it seems my issue is result of 2019-01-05 la­tex-tools update where issue mentioned by you was fixed.

    – andc
    Jan 7 at 12:34











  • The source of the problem is a small change in longtable.

    – Ulrike Fischer
    Jan 7 at 12:38











  • The fix appears to be incomplete — see github.com/tabu-fixed/tabu/issues/1 — but I’ve just submitted a patch that may help us further along, hopefully not breaking anything in the progress ☺

    – mirabilos
    Feb 24 at 16:29



















  • I can reproduce the issue and guess it has to do with recent changes to array.sty, I suspect this is related to tex.stackexchange.com/q/466147/35864

    – moewe
    Jan 7 at 12:12













  • It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.

    – andc
    Jan 7 at 12:16











  • Also, it seems my issue is result of 2019-01-05 la­tex-tools update where issue mentioned by you was fixed.

    – andc
    Jan 7 at 12:34











  • The source of the problem is a small change in longtable.

    – Ulrike Fischer
    Jan 7 at 12:38











  • The fix appears to be incomplete — see github.com/tabu-fixed/tabu/issues/1 — but I’ve just submitted a patch that may help us further along, hopefully not breaking anything in the progress ☺

    – mirabilos
    Feb 24 at 16:29

















I can reproduce the issue and guess it has to do with recent changes to array.sty, I suspect this is related to tex.stackexchange.com/q/466147/35864

– moewe
Jan 7 at 12:12







I can reproduce the issue and guess it has to do with recent changes to array.sty, I suspect this is related to tex.stackexchange.com/q/466147/35864

– moewe
Jan 7 at 12:12















It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.

– andc
Jan 7 at 12:16





It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.

– andc
Jan 7 at 12:16













Also, it seems my issue is result of 2019-01-05 la­tex-tools update where issue mentioned by you was fixed.

– andc
Jan 7 at 12:34





Also, it seems my issue is result of 2019-01-05 la­tex-tools update where issue mentioned by you was fixed.

– andc
Jan 7 at 12:34













The source of the problem is a small change in longtable.

– Ulrike Fischer
Jan 7 at 12:38





The source of the problem is a small change in longtable.

– Ulrike Fischer
Jan 7 at 12:38













The fix appears to be incomplete — see github.com/tabu-fixed/tabu/issues/1 — but I’ve just submitted a patch that may help us further along, hopefully not breaking anything in the progress ☺

– mirabilos
Feb 24 at 16:29





The fix appears to be incomplete — see github.com/tabu-fixed/tabu/issues/1 — but I’ve just submitted a patch that may help us further along, hopefully not breaking anything in the progress ☺

– mirabilos
Feb 24 at 16:29










1 Answer
1






active

oldest

votes


















6














UPDATE 2019-01-14



An equivalent patch has been applied in tabu 2.9 which has been submitted to ctan.





The following seems to work (I also added the other patch):



documentclass{article}

usepackage{longtable}
usepackage{tabu}
usepackage{color}
usepackage{etoolbox}

makeatletter
patchcmdtabu@startpboxmeasure
{aftergrouptabu@endpboxmeasure}
{aftergrouptabu@endpboxmeasure
color@begingroup
}{typeout{tabu patched}}{typeout{tabu patch failed!}}

patchcmdtabu@LT@startpbox
{bgroup}{bgroupcolor@begingroup}
{typeout{tabu patched}}{typeout{tabu patch failed!}}
makeatletter

begin{document}

begin{longtabu} to linewidth {llX}
a & b & c\
end{longtabu}

end{document}





share|improve this answer


























  • Is there a way to run this example with an older version of LaTeX as well (e.g. This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6840 64-bit))? At the moment it crashes with the mentioned version with a "! Extra }, or forgotten endgroup."

    – albert
    Jan 14 at 12:26











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468948%2flongtabu-and-color-compatibility%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









6














UPDATE 2019-01-14



An equivalent patch has been applied in tabu 2.9 which has been submitted to ctan.





The following seems to work (I also added the other patch):



documentclass{article}

usepackage{longtable}
usepackage{tabu}
usepackage{color}
usepackage{etoolbox}

makeatletter
patchcmdtabu@startpboxmeasure
{aftergrouptabu@endpboxmeasure}
{aftergrouptabu@endpboxmeasure
color@begingroup
}{typeout{tabu patched}}{typeout{tabu patch failed!}}

patchcmdtabu@LT@startpbox
{bgroup}{bgroupcolor@begingroup}
{typeout{tabu patched}}{typeout{tabu patch failed!}}
makeatletter

begin{document}

begin{longtabu} to linewidth {llX}
a & b & c\
end{longtabu}

end{document}





share|improve this answer


























  • Is there a way to run this example with an older version of LaTeX as well (e.g. This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6840 64-bit))? At the moment it crashes with the mentioned version with a "! Extra }, or forgotten endgroup."

    – albert
    Jan 14 at 12:26
















6














UPDATE 2019-01-14



An equivalent patch has been applied in tabu 2.9 which has been submitted to ctan.





The following seems to work (I also added the other patch):



documentclass{article}

usepackage{longtable}
usepackage{tabu}
usepackage{color}
usepackage{etoolbox}

makeatletter
patchcmdtabu@startpboxmeasure
{aftergrouptabu@endpboxmeasure}
{aftergrouptabu@endpboxmeasure
color@begingroup
}{typeout{tabu patched}}{typeout{tabu patch failed!}}

patchcmdtabu@LT@startpbox
{bgroup}{bgroupcolor@begingroup}
{typeout{tabu patched}}{typeout{tabu patch failed!}}
makeatletter

begin{document}

begin{longtabu} to linewidth {llX}
a & b & c\
end{longtabu}

end{document}





share|improve this answer


























  • Is there a way to run this example with an older version of LaTeX as well (e.g. This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6840 64-bit))? At the moment it crashes with the mentioned version with a "! Extra }, or forgotten endgroup."

    – albert
    Jan 14 at 12:26














6












6








6







UPDATE 2019-01-14



An equivalent patch has been applied in tabu 2.9 which has been submitted to ctan.





The following seems to work (I also added the other patch):



documentclass{article}

usepackage{longtable}
usepackage{tabu}
usepackage{color}
usepackage{etoolbox}

makeatletter
patchcmdtabu@startpboxmeasure
{aftergrouptabu@endpboxmeasure}
{aftergrouptabu@endpboxmeasure
color@begingroup
}{typeout{tabu patched}}{typeout{tabu patch failed!}}

patchcmdtabu@LT@startpbox
{bgroup}{bgroupcolor@begingroup}
{typeout{tabu patched}}{typeout{tabu patch failed!}}
makeatletter

begin{document}

begin{longtabu} to linewidth {llX}
a & b & c\
end{longtabu}

end{document}





share|improve this answer















UPDATE 2019-01-14



An equivalent patch has been applied in tabu 2.9 which has been submitted to ctan.





The following seems to work (I also added the other patch):



documentclass{article}

usepackage{longtable}
usepackage{tabu}
usepackage{color}
usepackage{etoolbox}

makeatletter
patchcmdtabu@startpboxmeasure
{aftergrouptabu@endpboxmeasure}
{aftergrouptabu@endpboxmeasure
color@begingroup
}{typeout{tabu patched}}{typeout{tabu patch failed!}}

patchcmdtabu@LT@startpbox
{bgroup}{bgroupcolor@begingroup}
{typeout{tabu patched}}{typeout{tabu patch failed!}}
makeatletter

begin{document}

begin{longtabu} to linewidth {llX}
a & b & c\
end{longtabu}

end{document}






share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 14 at 20:34









David Carlisle

496k4111431890




496k4111431890










answered Jan 7 at 13:20









Ulrike FischerUlrike Fischer

197k8303690




197k8303690













  • Is there a way to run this example with an older version of LaTeX as well (e.g. This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6840 64-bit))? At the moment it crashes with the mentioned version with a "! Extra }, or forgotten endgroup."

    – albert
    Jan 14 at 12:26



















  • Is there a way to run this example with an older version of LaTeX as well (e.g. This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6840 64-bit))? At the moment it crashes with the mentioned version with a "! Extra }, or forgotten endgroup."

    – albert
    Jan 14 at 12:26

















Is there a way to run this example with an older version of LaTeX as well (e.g. This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6840 64-bit))? At the moment it crashes with the mentioned version with a "! Extra }, or forgotten endgroup."

– albert
Jan 14 at 12:26





Is there a way to run this example with an older version of LaTeX as well (e.g. This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6840 64-bit))? At the moment it crashes with the mentioned version with a "! Extra }, or forgotten endgroup."

– albert
Jan 14 at 12:26


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468948%2flongtabu-and-color-compatibility%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bressuire

Cabo Verde

Gyllenstierna