Giter Club home page Giter Club logo

Comments (7)

wg030 avatar wg030 commented on June 2, 2024 1

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.

wg030 avatar wg030 commented on June 2, 2024

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.

KronosTheLate avatar KronosTheLate commented on June 2, 2024

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.

wg030 avatar wg030 commented on June 2, 2024

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.

KronosTheLate avatar KronosTheLate commented on June 2, 2024

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.

wg030 avatar wg030 commented on June 2, 2024

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.

KronosTheLate avatar KronosTheLate commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.