tabu: Error since update












3















Since the last update of tabu.sty I get the following error:



! Improper prevdepth. tabu@verticalspacing ... tempdimc t



Here is a MWE



documentclass[a4paper,12pt]{report}
usepackage{tabu}
usepackage{amsmath}
usepackage{xcolor}
newcolumntype{L}{>{begin{varwidth}{0.91linewidth}}l<{end{varwidth}}}

begin{document}
begin{tabu}{Lcc}
$begin{pmatrix}
1 \2\3
end{pmatrix}$& 2& 3\
end{tabu}

end{document}


The error occurs, when including pmatrix (or array) in a tabu-environment with a predefined column (using varwidth) AND strangely when including any other of a list of packages (like: color.sty, xcolor.sty, pstricks-add.sty, colortbl.sty, ...) Everything worked fine before the update!



Does anyone know, how to fix this?










share|improve this question























  • Might be related to tex.stackexchange.com/questions/470107/… , probably some other / more problems here.

    – albert
    1 hour ago











  • Please show us the first line of your resulting log file, add listfiles as first line to your code, compile and check if you got a list of used packages and version numbers in your resulting log file (at the end of it ...).

    – Kurt
    1 hour ago






  • 4





    It's best to raise at github.com/tabu-fixed/tabu/issues but anyway clear test file, and I can confirm it fails, I'll see what I can do... (tabu internals are not well documented and the original author is out of contact)

    – David Carlisle
    1 hour ago











  • @Kurt: Here is the first line of the log file: This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6930 64-bit) (preloaded format=latex 2019.1.13) 20 JAN 2019 12:55 entering extended mode

    – chris
    1 hour ago


















3















Since the last update of tabu.sty I get the following error:



! Improper prevdepth. tabu@verticalspacing ... tempdimc t



Here is a MWE



documentclass[a4paper,12pt]{report}
usepackage{tabu}
usepackage{amsmath}
usepackage{xcolor}
newcolumntype{L}{>{begin{varwidth}{0.91linewidth}}l<{end{varwidth}}}

begin{document}
begin{tabu}{Lcc}
$begin{pmatrix}
1 \2\3
end{pmatrix}$& 2& 3\
end{tabu}

end{document}


The error occurs, when including pmatrix (or array) in a tabu-environment with a predefined column (using varwidth) AND strangely when including any other of a list of packages (like: color.sty, xcolor.sty, pstricks-add.sty, colortbl.sty, ...) Everything worked fine before the update!



Does anyone know, how to fix this?










share|improve this question























  • Might be related to tex.stackexchange.com/questions/470107/… , probably some other / more problems here.

    – albert
    1 hour ago











  • Please show us the first line of your resulting log file, add listfiles as first line to your code, compile and check if you got a list of used packages and version numbers in your resulting log file (at the end of it ...).

    – Kurt
    1 hour ago






  • 4





    It's best to raise at github.com/tabu-fixed/tabu/issues but anyway clear test file, and I can confirm it fails, I'll see what I can do... (tabu internals are not well documented and the original author is out of contact)

    – David Carlisle
    1 hour ago











  • @Kurt: Here is the first line of the log file: This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6930 64-bit) (preloaded format=latex 2019.1.13) 20 JAN 2019 12:55 entering extended mode

    – chris
    1 hour ago
















3












3








3








Since the last update of tabu.sty I get the following error:



! Improper prevdepth. tabu@verticalspacing ... tempdimc t



Here is a MWE



documentclass[a4paper,12pt]{report}
usepackage{tabu}
usepackage{amsmath}
usepackage{xcolor}
newcolumntype{L}{>{begin{varwidth}{0.91linewidth}}l<{end{varwidth}}}

begin{document}
begin{tabu}{Lcc}
$begin{pmatrix}
1 \2\3
end{pmatrix}$& 2& 3\
end{tabu}

end{document}


The error occurs, when including pmatrix (or array) in a tabu-environment with a predefined column (using varwidth) AND strangely when including any other of a list of packages (like: color.sty, xcolor.sty, pstricks-add.sty, colortbl.sty, ...) Everything worked fine before the update!



Does anyone know, how to fix this?










share|improve this question














Since the last update of tabu.sty I get the following error:



! Improper prevdepth. tabu@verticalspacing ... tempdimc t



Here is a MWE



documentclass[a4paper,12pt]{report}
usepackage{tabu}
usepackage{amsmath}
usepackage{xcolor}
newcolumntype{L}{>{begin{varwidth}{0.91linewidth}}l<{end{varwidth}}}

begin{document}
begin{tabu}{Lcc}
$begin{pmatrix}
1 \2\3
end{pmatrix}$& 2& 3\
end{tabu}

end{document}


The error occurs, when including pmatrix (or array) in a tabu-environment with a predefined column (using varwidth) AND strangely when including any other of a list of packages (like: color.sty, xcolor.sty, pstricks-add.sty, colortbl.sty, ...) Everything worked fine before the update!



Does anyone know, how to fix this?







tabu






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 1 hour ago









chrischris

657




657













  • Might be related to tex.stackexchange.com/questions/470107/… , probably some other / more problems here.

    – albert
    1 hour ago











  • Please show us the first line of your resulting log file, add listfiles as first line to your code, compile and check if you got a list of used packages and version numbers in your resulting log file (at the end of it ...).

    – Kurt
    1 hour ago






  • 4





    It's best to raise at github.com/tabu-fixed/tabu/issues but anyway clear test file, and I can confirm it fails, I'll see what I can do... (tabu internals are not well documented and the original author is out of contact)

    – David Carlisle
    1 hour ago











  • @Kurt: Here is the first line of the log file: This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6930 64-bit) (preloaded format=latex 2019.1.13) 20 JAN 2019 12:55 entering extended mode

    – chris
    1 hour ago





















  • Might be related to tex.stackexchange.com/questions/470107/… , probably some other / more problems here.

    – albert
    1 hour ago











  • Please show us the first line of your resulting log file, add listfiles as first line to your code, compile and check if you got a list of used packages and version numbers in your resulting log file (at the end of it ...).

    – Kurt
    1 hour ago






  • 4





    It's best to raise at github.com/tabu-fixed/tabu/issues but anyway clear test file, and I can confirm it fails, I'll see what I can do... (tabu internals are not well documented and the original author is out of contact)

    – David Carlisle
    1 hour ago











  • @Kurt: Here is the first line of the log file: This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6930 64-bit) (preloaded format=latex 2019.1.13) 20 JAN 2019 12:55 entering extended mode

    – chris
    1 hour ago



















Might be related to tex.stackexchange.com/questions/470107/… , probably some other / more problems here.

– albert
1 hour ago





Might be related to tex.stackexchange.com/questions/470107/… , probably some other / more problems here.

– albert
1 hour ago













Please show us the first line of your resulting log file, add listfiles as first line to your code, compile and check if you got a list of used packages and version numbers in your resulting log file (at the end of it ...).

– Kurt
1 hour ago





Please show us the first line of your resulting log file, add listfiles as first line to your code, compile and check if you got a list of used packages and version numbers in your resulting log file (at the end of it ...).

– Kurt
1 hour ago




4




4





It's best to raise at github.com/tabu-fixed/tabu/issues but anyway clear test file, and I can confirm it fails, I'll see what I can do... (tabu internals are not well documented and the original author is out of contact)

– David Carlisle
1 hour ago





It's best to raise at github.com/tabu-fixed/tabu/issues but anyway clear test file, and I can confirm it fails, I'll see what I can do... (tabu internals are not well documented and the original author is out of contact)

– David Carlisle
1 hour ago













@Kurt: Here is the first line of the log file: This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6930 64-bit) (preloaded format=latex 2019.1.13) 20 JAN 2019 12:55 entering extended mode

– chris
1 hour ago







@Kurt: Here is the first line of the log file: This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6930 64-bit) (preloaded format=latex 2019.1.13) 20 JAN 2019 12:55 entering extended mode

– chris
1 hour ago












1 Answer
1






active

oldest

votes


















4














I think this is the correct fix, if it survives some more testing I'll get tabu updated on ctan.



documentclass[a4paper,12pt]{report}
usepackage{tabu}
usepackage{amsmath}
usepackage{xcolor}
newcolumntype{L}{>{begin{varwidth}{0.91linewidth}}l<{end{varwidth}}}

makeatletter
deftabu@verticalmeasure{everypar{}%
unlessifnumcurrentgrouptype=14 lettabu@currentgrouptypecurrentgrouptypefi
ifnum tabu@currentgrouptype>12 % 14=semi-simple, 15=math shift group
setboxtabu@box =hboxbgroup
lettabu@verticalspacing tabu@verticalsp@lcr
d@llarbegin % after hbox ...
else
edeftabu@temp{ifnumtabu@currentgrouptype=5vtop
elseifnumtabu@currentgrouptype=12vcenter
elsevboxfifi}%
setboxtabu@box hboxbgroup$tabu@temp bgroup
lettabu@verticalspacing tabu@verticalsp@pmb
fi
}
makeatother

begin{document}
begin{tabu}{Lcc}
$begin{pmatrix}
1 \2\3
end{pmatrix}$& 2& 3\
end{tabu}

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%2f471000%2ftabu-error-since-update%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









    4














    I think this is the correct fix, if it survives some more testing I'll get tabu updated on ctan.



    documentclass[a4paper,12pt]{report}
    usepackage{tabu}
    usepackage{amsmath}
    usepackage{xcolor}
    newcolumntype{L}{>{begin{varwidth}{0.91linewidth}}l<{end{varwidth}}}

    makeatletter
    deftabu@verticalmeasure{everypar{}%
    unlessifnumcurrentgrouptype=14 lettabu@currentgrouptypecurrentgrouptypefi
    ifnum tabu@currentgrouptype>12 % 14=semi-simple, 15=math shift group
    setboxtabu@box =hboxbgroup
    lettabu@verticalspacing tabu@verticalsp@lcr
    d@llarbegin % after hbox ...
    else
    edeftabu@temp{ifnumtabu@currentgrouptype=5vtop
    elseifnumtabu@currentgrouptype=12vcenter
    elsevboxfifi}%
    setboxtabu@box hboxbgroup$tabu@temp bgroup
    lettabu@verticalspacing tabu@verticalsp@pmb
    fi
    }
    makeatother

    begin{document}
    begin{tabu}{Lcc}
    $begin{pmatrix}
    1 \2\3
    end{pmatrix}$& 2& 3\
    end{tabu}

    end{document}





    share|improve this answer




























      4














      I think this is the correct fix, if it survives some more testing I'll get tabu updated on ctan.



      documentclass[a4paper,12pt]{report}
      usepackage{tabu}
      usepackage{amsmath}
      usepackage{xcolor}
      newcolumntype{L}{>{begin{varwidth}{0.91linewidth}}l<{end{varwidth}}}

      makeatletter
      deftabu@verticalmeasure{everypar{}%
      unlessifnumcurrentgrouptype=14 lettabu@currentgrouptypecurrentgrouptypefi
      ifnum tabu@currentgrouptype>12 % 14=semi-simple, 15=math shift group
      setboxtabu@box =hboxbgroup
      lettabu@verticalspacing tabu@verticalsp@lcr
      d@llarbegin % after hbox ...
      else
      edeftabu@temp{ifnumtabu@currentgrouptype=5vtop
      elseifnumtabu@currentgrouptype=12vcenter
      elsevboxfifi}%
      setboxtabu@box hboxbgroup$tabu@temp bgroup
      lettabu@verticalspacing tabu@verticalsp@pmb
      fi
      }
      makeatother

      begin{document}
      begin{tabu}{Lcc}
      $begin{pmatrix}
      1 \2\3
      end{pmatrix}$& 2& 3\
      end{tabu}

      end{document}





      share|improve this answer


























        4












        4








        4







        I think this is the correct fix, if it survives some more testing I'll get tabu updated on ctan.



        documentclass[a4paper,12pt]{report}
        usepackage{tabu}
        usepackage{amsmath}
        usepackage{xcolor}
        newcolumntype{L}{>{begin{varwidth}{0.91linewidth}}l<{end{varwidth}}}

        makeatletter
        deftabu@verticalmeasure{everypar{}%
        unlessifnumcurrentgrouptype=14 lettabu@currentgrouptypecurrentgrouptypefi
        ifnum tabu@currentgrouptype>12 % 14=semi-simple, 15=math shift group
        setboxtabu@box =hboxbgroup
        lettabu@verticalspacing tabu@verticalsp@lcr
        d@llarbegin % after hbox ...
        else
        edeftabu@temp{ifnumtabu@currentgrouptype=5vtop
        elseifnumtabu@currentgrouptype=12vcenter
        elsevboxfifi}%
        setboxtabu@box hboxbgroup$tabu@temp bgroup
        lettabu@verticalspacing tabu@verticalsp@pmb
        fi
        }
        makeatother

        begin{document}
        begin{tabu}{Lcc}
        $begin{pmatrix}
        1 \2\3
        end{pmatrix}$& 2& 3\
        end{tabu}

        end{document}





        share|improve this answer













        I think this is the correct fix, if it survives some more testing I'll get tabu updated on ctan.



        documentclass[a4paper,12pt]{report}
        usepackage{tabu}
        usepackage{amsmath}
        usepackage{xcolor}
        newcolumntype{L}{>{begin{varwidth}{0.91linewidth}}l<{end{varwidth}}}

        makeatletter
        deftabu@verticalmeasure{everypar{}%
        unlessifnumcurrentgrouptype=14 lettabu@currentgrouptypecurrentgrouptypefi
        ifnum tabu@currentgrouptype>12 % 14=semi-simple, 15=math shift group
        setboxtabu@box =hboxbgroup
        lettabu@verticalspacing tabu@verticalsp@lcr
        d@llarbegin % after hbox ...
        else
        edeftabu@temp{ifnumtabu@currentgrouptype=5vtop
        elseifnumtabu@currentgrouptype=12vcenter
        elsevboxfifi}%
        setboxtabu@box hboxbgroup$tabu@temp bgroup
        lettabu@verticalspacing tabu@verticalsp@pmb
        fi
        }
        makeatother

        begin{document}
        begin{tabu}{Lcc}
        $begin{pmatrix}
        1 \2\3
        end{pmatrix}$& 2& 3\
        end{tabu}

        end{document}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 51 mins ago









        David CarlisleDavid Carlisle

        486k4111221865




        486k4111221865






























            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%2f471000%2ftabu-error-since-update%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

            How to label and detect the document text images

            Vallis Paradisi

            Tabula Rosettana