At the moment I am working with %Syntax Color and a self built pipeline.
If I have the time I will try to finish syntax highlighting in pygments and post it on here if it is finished.
- Log in to post comments
At the moment I am working with %Syntax Color and a self built pipeline.
If I have the time I will try to finish syntax highlighting in pygments and post it on here if it is finished.
Thank you very much for all of your help and your worakrounds.
I will definitely use them.
Thanks for your reply!
Yes the variables start with z. Set x=$zsomething also works fine. But one particular z is an object so it is possible to say $zsomething.SomeProperty. This is where the syntax checking breaks.
My Atelier version is 1.3.141.
Eclipse is on Photon
I've seen this post to. It would also be an idea yes.
I'd have to generate html out of my code then transform it to LaTeX and use it in my file.
Converting to html and parsing html has room for errors or missinterpretation egain.
And of course I'd have try to make my own LaTeX package or compile everything by hand everytime which is also kind of an overkill.
Thanks for your answer!
I will definitely look into it.
I would like to generate a documentation PDF via LaTeX.
In LaTeX you can define code listings where you copy the source code into and LaTeX styles them accordingly on compilation.
The only other way I could think of was screenshotting my code and then integrate those pictures into my LaTeX file.
Changes in code or copying the code out of the document wouldn't be that easy anymore then though.
https://de.overleaf.com/learn/latex/Code_Highlighting_with_minted
The minted package used in this example uses Pygments to generate highlighted code for LaTeX.
I only knew the minted and lstlisting packages for LaTeX but I will look for a package that can maybe interpret textmate grammar.
Thanks for your fast reply!