You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening issue to track the finding. I may compile all that later in a Wiki page in this repo. Not sure yet. For now, if you encounter this issue, you may end up here.
TL;DR
CTAN lineo package for line numbers has issue with tcolorbox. This cause some part of the document to be missing.
Some of Quarto feature use tcolorbox package with breakable option. So if you document needs line number, you need to set code-block-border-left: false in your extension YAML to deactivate the quarto feature of special syntax highlighting. (https://quarto.org/docs/authoring/article-layout.html#code-blocks)
Context
While working on PLOS template, I found an issue with Quarto features (which requires injection of some LaTeX) and template expected feature. Part of the document where hidden and not in the output starting at a highlighted code block.
Here is why.
Some of Quarto feature use tcolorbox package with breakable option. This does not play well with lineno package used for line numbering. And it seems to be a known issue latex-lineno/lineno#3 and T-F-S/tcolorbox#183
Opening issue to track the finding. I may compile all that later in a Wiki page in this repo. Not sure yet. For now, if you encounter this issue, you may end up here.
TL;DR
CTAN lineo package for line numbers has issue with tcolorbox. This cause some part of the document to be missing.
Some of Quarto feature use
tcolorbox
package withbreakable
option. So if you document needs line number, you need to setcode-block-border-left: false
in your extension YAML to deactivate the quarto feature of special syntax highlighting. (https://quarto.org/docs/authoring/article-layout.html#code-blocks)Context
While working on PLOS template, I found an issue with Quarto features (which requires injection of some LaTeX) and template expected feature. Part of the document where hidden and not in the output starting at a highlighted code block.
Here is why.
Some of Quarto feature use
tcolorbox
package withbreakable
option. This does not play well withlineno
package used for line numbering. And it seems to be a known issue latex-lineno/lineno#3 and T-F-S/tcolorbox#183code-block-border-left: false
can be used to deactivate the Quarto feature and prevent injection of tcolorbox environment for code blocks https://quarto.org/docs/authoring/article-layout.html#code-blocksMinimal reproducible example with Quarto
The text was updated successfully, but these errors were encountered: