longtabu and color compatibility
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
add a comment |
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
I can reproduce the issue and guess it has to do with recent changes toarray.sty
, I suspect this is related to tex.stackexchange.com/q/466147/35864
– moewe
2 days ago
It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.
– andc
2 days ago
Also, it seems my issue is result of 2019-01-05 latex-tools update where issue mentioned by you was fixed.
– andc
2 days ago
The source of the problem is a small change in longtable.
– Ulrike Fischer
2 days ago
add a comment |
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
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
color longtable tabu longtabu latextools
edited 2 days ago
andc
asked 2 days ago
andcandc
34518
34518
I can reproduce the issue and guess it has to do with recent changes toarray.sty
, I suspect this is related to tex.stackexchange.com/q/466147/35864
– moewe
2 days ago
It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.
– andc
2 days ago
Also, it seems my issue is result of 2019-01-05 latex-tools update where issue mentioned by you was fixed.
– andc
2 days ago
The source of the problem is a small change in longtable.
– Ulrike Fischer
2 days ago
add a comment |
I can reproduce the issue and guess it has to do with recent changes toarray.sty
, I suspect this is related to tex.stackexchange.com/q/466147/35864
– moewe
2 days ago
It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.
– andc
2 days ago
Also, it seems my issue is result of 2019-01-05 latex-tools update where issue mentioned by you was fixed.
– andc
2 days ago
The source of the problem is a small change in longtable.
– Ulrike Fischer
2 days ago
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
2 days ago
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
2 days ago
It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.
– andc
2 days ago
It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.
– andc
2 days ago
Also, it seems my issue is result of 2019-01-05 latex-tools update where issue mentioned by you was fixed.
– andc
2 days ago
Also, it seems my issue is result of 2019-01-05 latex-tools update where issue mentioned by you was fixed.
– andc
2 days ago
The source of the problem is a small change in longtable.
– Ulrike Fischer
2 days ago
The source of the problem is a small change in longtable.
– Ulrike Fischer
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
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}
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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}
add a comment |
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}
add a comment |
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}
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}
answered 2 days ago
Ulrike FischerUlrike Fischer
188k7292673
188k7292673
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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
2 days ago
It seems so. But workaround proposed here (tex.stackexchange.com/a/466261/87293) doesn't work in my situation.
– andc
2 days ago
Also, it seems my issue is result of 2019-01-05 latex-tools update where issue mentioned by you was fixed.
– andc
2 days ago
The source of the problem is a small change in longtable.
– Ulrike Fischer
2 days ago