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
    yesterday












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










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










  • The source of the problem is a small change in longtable.
    – Ulrike Fischer
    yesterday
















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
    yesterday












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










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










  • The source of the problem is a small change in longtable.
    – Ulrike Fischer
    yesterday














3












3








3


1





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 yesterday







andc

















asked yesterday









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
    yesterday












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










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










  • The source of the problem is a small change in longtable.
    – Ulrike Fischer
    yesterday


















  • 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
    yesterday












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










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










  • The source of the problem is a small change in longtable.
    – Ulrike Fischer
    yesterday
















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
yesterday






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
yesterday














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




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












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




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












The source of the problem is a small change in longtable.
– Ulrike Fischer
yesterday




The source of the problem is a small change in longtable.
– Ulrike Fischer
yesterday










1 Answer
1






active

oldest

votes


















6














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





















    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














    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


























      6














      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
























        6












        6








        6






        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












        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










        answered yesterday









        Ulrike FischerUlrike Fischer

        187k7292672




        187k7292672






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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

            1300-talet

            1300-talet

            Display a custom attribute below product name in the front-end Magento 1.9.3.8