comaniac / latex-proj-tool Goto Github PK
View Code? Open in Web Editor NEWA toolset to traverse and manipulate a Latex project with multiple .tex files.
License: Apache License 2.0
A toolset to traverse and manipulate a Latex project with multiple .tex files.
License: Apache License 2.0
(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>
Should be more like:
python -m latex_proj_tool flat --output old.tex main.tex
Edit also required in https://tex.stackexchange.com/a/613899/224861
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.