Giter VIP home page Giter VIP logo

Comments (5)

asmeurer avatar asmeurer commented on June 10, 2024

I guess another way would be to render the >>> parts using minted and the output using verbatim.

from sympy-paper.

asmeurer avatar asmeurer commented on June 10, 2024

Possible fix for quotes https://stackoverflow.com/questions/1662037/how-to-write-programming-code-containing-the-character-in-latex

from sympy-paper.

asmeurer avatar asmeurer commented on June 10, 2024

So upquote works for verbatim, but not for minted. I suggest removing minted support, unless we can figure out how to do it well.

from sympy-paper.

moorepants avatar moorepants commented on June 10, 2024

Some comments:

  • The single quote are an outstanding issue. When I last looked into it I vaguely remember determining that it was a LaTeX issue (not minted) and did the same thing in verbatim and listings environments. I've just let this one go in the past in favor of having syntax highlighting because having syntax highlighting outweighs the fact that the quote looks a little odd. Here is a potential solution: http://tex.stackexchange.com/questions/46880/in-the-minted-package-how-do-i-enforce-straight-single-quotes, they also mention that XeTeX and LuaTex give the correct quote.
  • Colors: we should be able to choose a color style.
  • Journal building the paper: I've never had a journal ask to build the paper. Someone needs to ask the journal what the requirements are. Most journals (note I've never published in a CS journal) just accept pdfs and word docs. For example, PLoS converts LaTeX generated pdfs to word docs and then sends it through their word doc processing system. This isn't our problem. The journals cost money and editing/formatting are one of the things we are paying for. My opinion is to give them the result we want to present and let them figure it out. We don't have to spend time on worrying about if the journal can build the paper or not.
  • Build time: what does it matter what the build time is if we get the result we want?

from sympy-paper.

moorepants avatar moorepants commented on June 10, 2024

I think a better solution would be to generate the examples with pygments using its ability to output to tex (like pygmentize -f latex source.py). This way we would have pure tex to send to the journal, and the complexities of coloring the code would be up to us.

This sounds reasonable.

from sympy-paper.

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.