-
Notifications
You must be signed in to change notification settings - Fork 12
callout incompatible with fa extension? (pdf rendering) #46
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hello,
I think quarto callout may be incompatible with the fa extension, because if I have those two elements in a doc, the document will fail to render because of incopatible package already loaded. Here the full error message:
ERROR:
compilation failed- error
Package fontawesome6 Error: Incompatible version of Font Awesome already
(fontawesome6) loaded
For immediate help type H <return>.
...
l.27 ...or:nn {fontawesome6} {incompatible-version}}
Of course this does not happen when rendering to pdf.
My guess is that callout in quarto v1.8.26 still uses fontawesome5 while the extension will load fontawesome6, indeed when searching for fontawesome in source tex I can find:
\@ifpackageloaded{fontawesome5}{}{\usepackage{fontawesome5}}
\definecolor{quarto-callout-color}{HTML}{909090}
\definecolor{quarto-callout-note-color}{HTML}{0758E5}
\definecolor{quarto-callout-important-color}{HTML}{CC1914}
\definecolor{quarto-callout-warning-color}{HTML}{EB9113}
\definecolor{quarto-callout-tip-color}{HTML}{00A047}
\definecolor{quarto-callout-caution-color}{HTML}{FC5300}
\definecolor{quarto-callout-color-frame}{HTML}{acacac}
\definecolor{quarto-callout-note-color-frame}{HTML}{4582ec}
\definecolor{quarto-callout-important-color-frame}{HTML}{d9534f}
\definecolor{quarto-callout-warning-color-frame}{HTML}{f0ad4e}
\definecolor{quarto-callout-tip-color-frame}{HTML}{02b875}
\definecolor{quarto-callout-caution-color-frame}{HTML}{fd7e14}and
\@ifpackageloaded{fontawesome6}{}{\usepackage{fontawesome6}}You'll get either one of the other when you use only callout or fa shortcode.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working