TransWikia.com

Wrong LaTeX output in arxiv

TeX - LaTeX Asked on November 29, 2021

In one of my arxiv articles, I am using listings environment combined with the tcolorbox package. Here’s a minimal example:

documentclass{article}

usepackage[many,breakable,listings]{tcolorbox}
tcbset{nobeforeafter} 

newtcblisting{mylistings}{%
    breakable,
    enhanced,
    size=fbox, 
    pad at break*=1mm,
    opacityfill=1,
    boxrule=1pt,
    before skip=bigskipamount,
    after={parnoindent},
    colback=lightgray,
    colframe=lightgray,
    attach title to upper,
    listing only,
    listing options={
        language=Python,
        upquote= true,
        tabsize=4,
        keywordstyle=bfseries,
        basicstyle=smallttfamily,
        basewidth=.5em,
        aboveskip=0pt,
        belowskip=-2pt,
        showstringspaces=false,
        breaklines=true,
        sensitive=true,
    },
}

begin{document}
begin{mylistings}
%display latex
end{mylistings}
end{document}

In arxiv, it appears to happen that the text after the % sign vanishes even though everything works fine on all of my machines.


Edit 07/22/2020:

The output in arxiv looks as follows:

enter image description here

One Answer

Your minimal working example appears to work just fine in arXiv, and compiles with identical output in texlive 2020. minimal working example, compiled in arXiv

I see that it's rotating due to the stamping operation, so if you want to disable that, you'll need to supply a 00README.XXX plain text file with the appropriate control value. If you are having a specific issue, please contact arXiv help along with your submit-id for specific assistance relative to your source.

Answered by Jake on November 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP