Giter Club home page Giter Club logo

code2tex's People

Contributors

alanrussian avatar liffiton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

code2tex's Issues

Invalid Syntax

Hi I have a problem...

When i compile:
python .\code2tex.py C:\urlruta\Main.java > main.tex
,throw this:

  File ".\code2tex.py", line 103
    ''', file=output)
             ^
SyntaxError: invalid syntax

What is the error? Is the Version of Python dont work in 2.x ... :D

Js

Plz add a JS Hello world example.
document.write("Hello world");

Showing invisible characters

Just thought it'd be nice to have an optional feature which shows invisible characters (for example, tabs, spaces, etc.), so that we don't need to open a text editor to check the consistence of indentation or whatever. This would be particularly useful for the languages that use indentation to indicate the blocks of code.

Invalid Syntax

The line 103 gives a syntax error when trying to run the file.

option to select code highlighting

Dear @liffiton @alanrussian ,
First of all, thank you for making this wonderful repository.
Before stumbling on to this repository, I had to upload the code files to a Github private repository and then print the webpage as a pdf.

Is there any way to add an option to select a different code highlighting?

Accents?

I’ve got some utf8 characters in my files such as Ë which fail to print in the pdf.

ORIËNTATIE turns into ORI NTATIE

Conflicts between OCaml and ML files?

In the exts dictionary, "ml" is mapped to "ML". So I think the syntax highlighting wouldn't work quite well for OCaml... And I have found OCaml.ml in the hello_world folder, maybe you meant OCaml in the first place? I'm not sure when loading "ML" in the syntax package what LaTeX would actually give you, but it seems to fail in my case where I tried to convert an OCaml script into a tex file.

Thanks!

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.