Giter Club home page Giter Club logo

Comments (4)

wg030 avatar wg030 commented on June 18, 2024 1

Works like magic! Thanks a lot

Your are welcome!
However I would like to leave that issue open until I will really fix it for everybody with the next update.

from jlcode.

wg030 avatar wg030 commented on June 18, 2024

Well, that's indeed a bug. Thanks for reporting.
I think I can fix it in the next version by literating all those functions separtetly.

For now, you can quickfix all your functions with ! in your code manually:
Put the following lines of code to jlcode.sty at line 2047:

\newcommand{\addlitjlfunctions}[3]{%
\lstset{style=jlcodeuccstyle}
\lstdefinestyle{jlcodeuccstyle}{expandliterate={#1}{{{\color{jlfunctions}#2}}}{#3}}
\ifjlc@autoload
  \lstset{language=julia, style=jlcodestyle}
\fi
}

Then add for each function a line like the following to the preample of your latex document after \usepackage{jlcode}:

\addlitjlfunctions{append!}{append!}{7}

from jlcode.

GiannisTsagkaropoulos avatar GiannisTsagkaropoulos commented on June 18, 2024

Works like magic! Thanks a lot

from jlcode.

wg030 avatar wg030 commented on June 18, 2024

With the latest update to version 6.1 I know added the command \addlitjlfunctions so that self defined functions ending with ! can now be manually fixed. Moreover I made sure that all standard functions ending with ! are now displayed correctly.
Thanks again for reporting that issue.

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.