Comments (7)
And he is e-mailed. I will keep this issue open until there is some description of how to handle the problem is the readme.md, or in case Julia is supported in Listings.
👍
Support of the listings package would of course be awesome, but there is not much more than asking we could do here. So let's see what happens.
However as I said a description in the readme and/or in the manual is definitiley added with the next update.
from jlcode.
Well, first of all, you do not need all files. Essentially, jlcode.sty
and the *.tff files if you do not compile your document with pdftex but luatex or xtex instead ar sufficient. Forget about createkwlists.jl
, manual.pdf
, etc.
Concerning your problem, I think the easiest way to avoid what you call a horrible mess is to make the jlcode package known to your local miktex distribution so that it loads like a normal package, check out this youtube video I found: https://www.youtube.com/watch?v=9OtTvKMhAMc
from jlcode.
I am using overleaf, so I do not have a local installation...
But thanks for your tips. Could a section in the readme on how to not clutter the latex project be appropriate?
from jlcode.
I am using overleaf, so I do not have a local installation...
Ahh, I see. In that case my recommendation cannot be applied, of course. I think the best you can do is the following then:
Put the font files *.tff
into a folder like jlfontfiles
and change the path attribute in the command (lines 496-498)
\setmonofont{JuliaMono}[
Extension = .ttf,
Path = ./,
%[...]
]
to
\setmonofont{JuliaMono}[
Extension = .ttf,
Path = ./jlfontfiles/,
%[...]
]
Concerning the jlcode.sty
I think there is no good way to load the package from a different folder so you are best to put in the root folder next to your main.tex
. But as I said all other files are not needed anyway so your structure would be way more organized.
But thanks for your tips. Could a section in the readme on how to not clutter the latex project be appropriate?
Yes, I think we can add a some description on how to do that with the next major update.
from jlcode.
How difficult would it be to add the Julia language to the listings
package, to allow what one can currently do for Python?:
\begin{lstlisting}[language=Python]
, from this overleaf example page.
from jlcode.
Well, as you can see in the issue #16, I already tried to get the definition into the listings package by contacting the current maintainer. He was very receptive to this idea when I mailed him back then, but he likely has a lot of other stuff to do, too.
I think so because as you can see under https://ctan.org/pkg/listings, there has not been an update in 2021, neither in 2022.
It might help if someone else contacts him, too, so that he gets to know that there is some interest in adding the Julia language definition to the listings package.
from jlcode.
And he is e-mailed. I will keep this issue open until there is some description of how to handle the problem is the readme.md, or in case Julia is supported in Listings.
from jlcode.
Related Issues (20)
- Tens of errors when used with other listings code HOT 2
- The \approx symbol not working HOT 2
- color of line numbers HOT 4
- Complex{Int64} problem HOT 2
- How to make this work with 2-column documents HOT 7
- Error in compiling HOT 1
- Customize code block length HOT 2
- FR: Provide environment HOT 4
- Color of functions containing "!" HOT 4
- Line breaking is bad HOT 8
- Highlighting of macros HOT 4
- Does not respect linewidth HOT 9
- Get utf-8 error with degree symbol HOT 7
- \approx error HOT 4
- Plenty of error messages involving xcolor HOT 7
- interaction with beamer overlays HOT 3
- \pm problems HOT 2
- Illegal parameter number in definition of \iterate HOT 2
- REPL format: Colorize `julia>` if any HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jlcode.