tabu: Error since update
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
add a comment |
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
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, addlistfiles
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
add a comment |
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
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
tabu
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, addlistfiles
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
add a comment |
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, addlistfiles
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
add a comment |
1 Answer
1
active
oldest
votes
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}
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%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
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}
add a comment |
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}
add a comment |
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}
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}
answered 51 mins ago
David CarlisleDavid Carlisle
486k4111221865
486k4111221865
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.
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%2f471000%2ftabu-error-since-update%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
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