Subfiles colour Error
up vote
0
down vote
favorite
I have a main file and four subfiles. The main compiles perfectly, but each of the subfiles give the package xcolor
Error: Undefined color model. What’s wrong?
Here is the structure of the main file:
documentclass[12pt,a4paper,table,usenames, dvipsnames]{book}
usepackage[table]{xcolor}
usepackage{enumitem,xcolor}
usepackage{empheq}
usepackage[most]{tcolorbox}
newtcbox{mymath}[1]{%
nobeforeafter, math upper, tcbox raise base,
enhanced, colframe=blue!30!black,
colback=def!20, boxrule=1pt,
#1}
newcommand*widefbox[1]{fbox{hspace{0.5em}#1hspace{0.5em}}}
usepackage{subfiles}
begin{document}
end{document}
color subfiles empheq
New contributor
add a comment |
up vote
0
down vote
favorite
I have a main file and four subfiles. The main compiles perfectly, but each of the subfiles give the package xcolor
Error: Undefined color model. What’s wrong?
Here is the structure of the main file:
documentclass[12pt,a4paper,table,usenames, dvipsnames]{book}
usepackage[table]{xcolor}
usepackage{enumitem,xcolor}
usepackage{empheq}
usepackage[most]{tcolorbox}
newtcbox{mymath}[1]{%
nobeforeafter, math upper, tcbox raise base,
enhanced, colframe=blue!30!black,
colback=def!20, boxrule=1pt,
#1}
newcommand*widefbox[1]{fbox{hspace{0.5em}#1hspace{0.5em}}}
usepackage{subfiles}
begin{document}
end{document}
color subfiles empheq
New contributor
You are calling twice the packagexcolor
which may generate this error, perhaps with an option conflict.
– DRi
Nov 13 at 10:06
I made the corrections you’ ve suggested. The main file compiles OK. The subfiles return the error: !Package xcolorError: Undefined color “Black”. Same for all other colors.
– Dimitrios Sykias
Nov 14 at 21:33
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a main file and four subfiles. The main compiles perfectly, but each of the subfiles give the package xcolor
Error: Undefined color model. What’s wrong?
Here is the structure of the main file:
documentclass[12pt,a4paper,table,usenames, dvipsnames]{book}
usepackage[table]{xcolor}
usepackage{enumitem,xcolor}
usepackage{empheq}
usepackage[most]{tcolorbox}
newtcbox{mymath}[1]{%
nobeforeafter, math upper, tcbox raise base,
enhanced, colframe=blue!30!black,
colback=def!20, boxrule=1pt,
#1}
newcommand*widefbox[1]{fbox{hspace{0.5em}#1hspace{0.5em}}}
usepackage{subfiles}
begin{document}
end{document}
color subfiles empheq
New contributor
I have a main file and four subfiles. The main compiles perfectly, but each of the subfiles give the package xcolor
Error: Undefined color model. What’s wrong?
Here is the structure of the main file:
documentclass[12pt,a4paper,table,usenames, dvipsnames]{book}
usepackage[table]{xcolor}
usepackage{enumitem,xcolor}
usepackage{empheq}
usepackage[most]{tcolorbox}
newtcbox{mymath}[1]{%
nobeforeafter, math upper, tcbox raise base,
enhanced, colframe=blue!30!black,
colback=def!20, boxrule=1pt,
#1}
newcommand*widefbox[1]{fbox{hspace{0.5em}#1hspace{0.5em}}}
usepackage{subfiles}
begin{document}
end{document}
color subfiles empheq
color subfiles empheq
New contributor
New contributor
edited Nov 13 at 9:57
Sebastiano
8,29541754
8,29541754
New contributor
asked Nov 13 at 1:37
Dimitrios Sykias
62
62
New contributor
New contributor
You are calling twice the packagexcolor
which may generate this error, perhaps with an option conflict.
– DRi
Nov 13 at 10:06
I made the corrections you’ ve suggested. The main file compiles OK. The subfiles return the error: !Package xcolorError: Undefined color “Black”. Same for all other colors.
– Dimitrios Sykias
Nov 14 at 21:33
add a comment |
You are calling twice the packagexcolor
which may generate this error, perhaps with an option conflict.
– DRi
Nov 13 at 10:06
I made the corrections you’ ve suggested. The main file compiles OK. The subfiles return the error: !Package xcolorError: Undefined color “Black”. Same for all other colors.
– Dimitrios Sykias
Nov 14 at 21:33
You are calling twice the package
xcolor
which may generate this error, perhaps with an option conflict.– DRi
Nov 13 at 10:06
You are calling twice the package
xcolor
which may generate this error, perhaps with an option conflict.– DRi
Nov 13 at 10:06
I made the corrections you’ ve suggested. The main file compiles OK. The subfiles return the error: !Package xcolorError: Undefined color “Black”. Same for all other colors.
– Dimitrios Sykias
Nov 14 at 21:33
I made the corrections you’ ve suggested. The main file compiles OK. The subfiles return the error: !Package xcolorError: Undefined color “Black”. Same for all other colors.
– Dimitrios Sykias
Nov 14 at 21:33
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Dimitrios Sykias is a new contributor. Be nice, and check out our Code of Conduct.
Dimitrios Sykias is a new contributor. Be nice, and check out our Code of Conduct.
Dimitrios Sykias is a new contributor. Be nice, and check out our Code of Conduct.
Dimitrios Sykias is a new contributor. Be nice, and check out our Code of Conduct.
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%2f459719%2fsubfiles-colour-error%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
You are calling twice the package
xcolor
which may generate this error, perhaps with an option conflict.– DRi
Nov 13 at 10:06
I made the corrections you’ ve suggested. The main file compiles OK. The subfiles return the error: !Package xcolorError: Undefined color “Black”. Same for all other colors.
– Dimitrios Sykias
Nov 14 at 21:33