Code Monkey home page Code Monkey logo

latex-proj-tool's People

Contributors

comaniac avatar sgbaird avatar

Stargazers

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

Watchers

 avatar

latex-proj-tool's Issues

Incompatible with Windows due to UnicodeDecodeError: 'charmap' codec can't decode byte in position: character maps to <undefined>

(latexdiff) PS C:\Users\sterg\Documents\overleaf\discover-paper-dd-initial> python -m latex_proj_tool flat --output old.tex main.tex
[2021-11-30 20:54:27]    INFO TexFlatter: Visit main.tex
[2021-11-30 20:54:27]    INFO TexFlatter: Visit values.tex
[2021-11-30 20:54:27]    INFO TexFlatter: Visit values/numbers.tex
[2021-11-30 20:54:27]    INFO TexFlatter: Visit values/words.tex
[2021-11-30 20:54:27]    INFO TexFlatter: Visit abbrev.tex
[2021-11-30 20:54:27]    INFO TexFlatter: Visit authors.tex
Traceback (most recent call last):
  File "C:\Users\sterg\Miniconda3\envs\latexdiff\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\sterg\Miniconda3\envs\latexdiff\lib\runpy.py", line 87, in _run_code    exec(code, run_globals)
  File "C:\Users\sterg\Miniconda3\envs\latexdiff\lib\site-packages\latex_proj_tool\__main__.py", line 79, in <module>     
    main()
  File "C:\Users\sterg\Miniconda3\envs\latexdiff\lib\site-packages\latex_proj_tool\__main__.py", line 71, in main
    tools.TexFlatter(config.root, config.output).run()
  File "C:\Users\sterg\Miniconda3\envs\latexdiff\lib\site-packages\latex_proj_tool\tools.py", line 103, in run    self.visit(self.root_file_name)
  File "C:\Users\sterg\Miniconda3\envs\latexdiff\lib\site-packages\latex_proj_tool\tools.py", line 61, in visit
    for line in tex_file:
  File "C:\Users\sterg\Miniconda3\envs\latexdiff\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 3513: character maps to <undefined>

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.