Longtable and tikz
I used a preamble for many months where tikz and longtable lived together without problems. From a few days, I think after last update, I have the problem that I have reproduced with the MWE I send.
If you activate the three lines commented, a strange error appear, related to a missing brace.
I would like to know if and what mistake I made.
documentclass[a4paper,twoside,openany,10pt,final]{memoir}
usepackage{longtable}
usepackage{polyglossia}
setmainlanguage{italian}
usepackage{fontspec}
usepackage{longtable}
usepackage{polyglossia}
usepackage{fontspec}
%usepackage{tikz} %%%
%usetikzlibrary{shapes} %%%
%usetikzlibrary{calc,intersections,decorations.text,positioning,decorations.markings} %%%
usepackage{soul}
usepackage{bidi}
begin {document}
begin{center}
begin{longtable} {c
p{.8textwidth}
c
c
}\
caption{Indice delle copie dei documenti originali}\
toprule
doc. & titolo & pag. & pagg. \%
midrule
endfirsthead
multicolumn{4}{c}%
{{itshape tablename thetable{} -- segue dalla pagina precedente}} \
hline
doc. & titolo & pag. & pagg. \%
hline
endhead
hline
multicolumn{4}{r}{footnotesizeemph{continua alla pagina seguente}}\%
endfoot
endlastfoot
H1 & Descrizione & pag. h1 & 66\%
H2 & Descrizione & pag. h2 & 4 \%
H3-1 & Descrizione & pag. h3 & 26 \%
H3-2 & Descrizione & pag. h3 & 8 \%
H4 & Descrizione & pag. h4 & 21 \%
H5 & Descrizione & pag. h5 & 11 \%
H6 & Descrizione & pag. h6 & 12 \%
H7 & Descrizione & pag. h7 & 8 \%
H8 & Descrizione & pag. h8 & 16 \%
H9-1 & Descrizione & pag. h9 & 14 \%
H9-2 & Descrizione & pag. h9 & 7 \%
H10 & Descrizione & pag. h10 & 9\%
H11 & Descrizione & pag. h11 & 30 \%
H12 & Descrizione & H12 & \%
H13 & Descrizione & H13 & \%
H14 & Descrizione & H14 & \%
H15 & Descrizione & H15 & \%
H16 & Descrizione & H16 & \%
H17 & Descrizione & H17 & \%
H18 & Descrizione & H18 & \%
H19 & Descrizione & H19 & \%
H20 & Descrizione & H20 & \%
H21 & Descrizione & H21 & \%
H22 & Descrizione & H22 & \%
H23 & Descrizione & H23 & \%
H24 & Descrizione & H24 & \%
H25 & Descrizione & H25 & 17 \%
hline
& & & 232 \%
hline
end{longtable}
end{center}
end{document}
longtable bidi
add a comment |
I used a preamble for many months where tikz and longtable lived together without problems. From a few days, I think after last update, I have the problem that I have reproduced with the MWE I send.
If you activate the three lines commented, a strange error appear, related to a missing brace.
I would like to know if and what mistake I made.
documentclass[a4paper,twoside,openany,10pt,final]{memoir}
usepackage{longtable}
usepackage{polyglossia}
setmainlanguage{italian}
usepackage{fontspec}
usepackage{longtable}
usepackage{polyglossia}
usepackage{fontspec}
%usepackage{tikz} %%%
%usetikzlibrary{shapes} %%%
%usetikzlibrary{calc,intersections,decorations.text,positioning,decorations.markings} %%%
usepackage{soul}
usepackage{bidi}
begin {document}
begin{center}
begin{longtable} {c
p{.8textwidth}
c
c
}\
caption{Indice delle copie dei documenti originali}\
toprule
doc. & titolo & pag. & pagg. \%
midrule
endfirsthead
multicolumn{4}{c}%
{{itshape tablename thetable{} -- segue dalla pagina precedente}} \
hline
doc. & titolo & pag. & pagg. \%
hline
endhead
hline
multicolumn{4}{r}{footnotesizeemph{continua alla pagina seguente}}\%
endfoot
endlastfoot
H1 & Descrizione & pag. h1 & 66\%
H2 & Descrizione & pag. h2 & 4 \%
H3-1 & Descrizione & pag. h3 & 26 \%
H3-2 & Descrizione & pag. h3 & 8 \%
H4 & Descrizione & pag. h4 & 21 \%
H5 & Descrizione & pag. h5 & 11 \%
H6 & Descrizione & pag. h6 & 12 \%
H7 & Descrizione & pag. h7 & 8 \%
H8 & Descrizione & pag. h8 & 16 \%
H9-1 & Descrizione & pag. h9 & 14 \%
H9-2 & Descrizione & pag. h9 & 7 \%
H10 & Descrizione & pag. h10 & 9\%
H11 & Descrizione & pag. h11 & 30 \%
H12 & Descrizione & H12 & \%
H13 & Descrizione & H13 & \%
H14 & Descrizione & H14 & \%
H15 & Descrizione & H15 & \%
H16 & Descrizione & H16 & \%
H17 & Descrizione & H17 & \%
H18 & Descrizione & H18 & \%
H19 & Descrizione & H19 & \%
H20 & Descrizione & H20 & \%
H21 & Descrizione & H21 & \%
H22 & Descrizione & H22 & \%
H23 & Descrizione & H23 & \%
H24 & Descrizione & H24 & \%
H25 & Descrizione & H25 & 17 \%
hline
& & & 232 \%
hline
end{longtable}
end{center}
end{document}
longtable bidi
add a comment |
I used a preamble for many months where tikz and longtable lived together without problems. From a few days, I think after last update, I have the problem that I have reproduced with the MWE I send.
If you activate the three lines commented, a strange error appear, related to a missing brace.
I would like to know if and what mistake I made.
documentclass[a4paper,twoside,openany,10pt,final]{memoir}
usepackage{longtable}
usepackage{polyglossia}
setmainlanguage{italian}
usepackage{fontspec}
usepackage{longtable}
usepackage{polyglossia}
usepackage{fontspec}
%usepackage{tikz} %%%
%usetikzlibrary{shapes} %%%
%usetikzlibrary{calc,intersections,decorations.text,positioning,decorations.markings} %%%
usepackage{soul}
usepackage{bidi}
begin {document}
begin{center}
begin{longtable} {c
p{.8textwidth}
c
c
}\
caption{Indice delle copie dei documenti originali}\
toprule
doc. & titolo & pag. & pagg. \%
midrule
endfirsthead
multicolumn{4}{c}%
{{itshape tablename thetable{} -- segue dalla pagina precedente}} \
hline
doc. & titolo & pag. & pagg. \%
hline
endhead
hline
multicolumn{4}{r}{footnotesizeemph{continua alla pagina seguente}}\%
endfoot
endlastfoot
H1 & Descrizione & pag. h1 & 66\%
H2 & Descrizione & pag. h2 & 4 \%
H3-1 & Descrizione & pag. h3 & 26 \%
H3-2 & Descrizione & pag. h3 & 8 \%
H4 & Descrizione & pag. h4 & 21 \%
H5 & Descrizione & pag. h5 & 11 \%
H6 & Descrizione & pag. h6 & 12 \%
H7 & Descrizione & pag. h7 & 8 \%
H8 & Descrizione & pag. h8 & 16 \%
H9-1 & Descrizione & pag. h9 & 14 \%
H9-2 & Descrizione & pag. h9 & 7 \%
H10 & Descrizione & pag. h10 & 9\%
H11 & Descrizione & pag. h11 & 30 \%
H12 & Descrizione & H12 & \%
H13 & Descrizione & H13 & \%
H14 & Descrizione & H14 & \%
H15 & Descrizione & H15 & \%
H16 & Descrizione & H16 & \%
H17 & Descrizione & H17 & \%
H18 & Descrizione & H18 & \%
H19 & Descrizione & H19 & \%
H20 & Descrizione & H20 & \%
H21 & Descrizione & H21 & \%
H22 & Descrizione & H22 & \%
H23 & Descrizione & H23 & \%
H24 & Descrizione & H24 & \%
H25 & Descrizione & H25 & 17 \%
hline
& & & 232 \%
hline
end{longtable}
end{center}
end{document}
longtable bidi
I used a preamble for many months where tikz and longtable lived together without problems. From a few days, I think after last update, I have the problem that I have reproduced with the MWE I send.
If you activate the three lines commented, a strange error appear, related to a missing brace.
I would like to know if and what mistake I made.
documentclass[a4paper,twoside,openany,10pt,final]{memoir}
usepackage{longtable}
usepackage{polyglossia}
setmainlanguage{italian}
usepackage{fontspec}
usepackage{longtable}
usepackage{polyglossia}
usepackage{fontspec}
%usepackage{tikz} %%%
%usetikzlibrary{shapes} %%%
%usetikzlibrary{calc,intersections,decorations.text,positioning,decorations.markings} %%%
usepackage{soul}
usepackage{bidi}
begin {document}
begin{center}
begin{longtable} {c
p{.8textwidth}
c
c
}\
caption{Indice delle copie dei documenti originali}\
toprule
doc. & titolo & pag. & pagg. \%
midrule
endfirsthead
multicolumn{4}{c}%
{{itshape tablename thetable{} -- segue dalla pagina precedente}} \
hline
doc. & titolo & pag. & pagg. \%
hline
endhead
hline
multicolumn{4}{r}{footnotesizeemph{continua alla pagina seguente}}\%
endfoot
endlastfoot
H1 & Descrizione & pag. h1 & 66\%
H2 & Descrizione & pag. h2 & 4 \%
H3-1 & Descrizione & pag. h3 & 26 \%
H3-2 & Descrizione & pag. h3 & 8 \%
H4 & Descrizione & pag. h4 & 21 \%
H5 & Descrizione & pag. h5 & 11 \%
H6 & Descrizione & pag. h6 & 12 \%
H7 & Descrizione & pag. h7 & 8 \%
H8 & Descrizione & pag. h8 & 16 \%
H9-1 & Descrizione & pag. h9 & 14 \%
H9-2 & Descrizione & pag. h9 & 7 \%
H10 & Descrizione & pag. h10 & 9\%
H11 & Descrizione & pag. h11 & 30 \%
H12 & Descrizione & H12 & \%
H13 & Descrizione & H13 & \%
H14 & Descrizione & H14 & \%
H15 & Descrizione & H15 & \%
H16 & Descrizione & H16 & \%
H17 & Descrizione & H17 & \%
H18 & Descrizione & H18 & \%
H19 & Descrizione & H19 & \%
H20 & Descrizione & H20 & \%
H21 & Descrizione & H21 & \%
H22 & Descrizione & H22 & \%
H23 & Descrizione & H23 & \%
H24 & Descrizione & H24 & \%
H25 & Descrizione & H25 & 17 \%
hline
& & & 232 \%
hline
end{longtable}
end{center}
end{document}
longtable bidi
longtable bidi
edited Jan 19 at 12:47
David Carlisle
487k4111261871
487k4111261871
asked Jan 18 at 14:08
Paolo MascettiPaolo Mascetti
1298
1298
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
longtable has changed. When a color package is loaded (as it does when you use tikz) then it inserts an additional color@begingroup. But the bidi code doesn't contain yet the needed correction. Until bidi is corrected you can try this patch:
usepackage{bidi}
usepackage{etoolbox}
%after bidi is loaded!
makeatletter
patchcmdLT@startpbox{bgroup}{bgroupcolor@begingroup}{}{fail}
makeatother
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%2f470699%2flongtable-and-tikz%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
longtable has changed. When a color package is loaded (as it does when you use tikz) then it inserts an additional color@begingroup. But the bidi code doesn't contain yet the needed correction. Until bidi is corrected you can try this patch:
usepackage{bidi}
usepackage{etoolbox}
%after bidi is loaded!
makeatletter
patchcmdLT@startpbox{bgroup}{bgroupcolor@begingroup}{}{fail}
makeatother
add a comment |
longtable has changed. When a color package is loaded (as it does when you use tikz) then it inserts an additional color@begingroup. But the bidi code doesn't contain yet the needed correction. Until bidi is corrected you can try this patch:
usepackage{bidi}
usepackage{etoolbox}
%after bidi is loaded!
makeatletter
patchcmdLT@startpbox{bgroup}{bgroupcolor@begingroup}{}{fail}
makeatother
add a comment |
longtable has changed. When a color package is loaded (as it does when you use tikz) then it inserts an additional color@begingroup. But the bidi code doesn't contain yet the needed correction. Until bidi is corrected you can try this patch:
usepackage{bidi}
usepackage{etoolbox}
%after bidi is loaded!
makeatletter
patchcmdLT@startpbox{bgroup}{bgroupcolor@begingroup}{}{fail}
makeatother
longtable has changed. When a color package is loaded (as it does when you use tikz) then it inserts an additional color@begingroup. But the bidi code doesn't contain yet the needed correction. Until bidi is corrected you can try this patch:
usepackage{bidi}
usepackage{etoolbox}
%after bidi is loaded!
makeatletter
patchcmdLT@startpbox{bgroup}{bgroupcolor@begingroup}{}{fail}
makeatother
answered Jan 18 at 15:32
Ulrike FischerUlrike Fischer
189k8296678
189k8296678
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%2f470699%2flongtable-and-tikz%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