Comments (4)
I doubt that it will speed things up. One would need to analyze what takes so long. We can do this, but we need your input file. One candidate is MathType formulas. And there is a general overhead for starting the JVM, invoking the processor, compiling the stylesheets, and applying all conversion steps to even a small input file. This overhead may be in the order of 20 seconds, depending on your computer’s performance. If you invoked it with d2t.bat
, debugging seems to be switched on unconditionally. It will store some (many) files in test.debug
then. The non-Windows script, d2t
, has a switch to enable debugging which is disabled by default there. You can edit d2t.bat
and change debug=yes
to debug=no
. But as I said, I doubt that it will have a significant effect unless your storage is very slow.
from docx2tex.
https://user-images.githubusercontent.com/72971361/121481608-e1141d00-c9fe-11eb-9b2d-12dd758c3cb6.mp4
Here is my input file:
test.docx
From the recording screen, we can see that I use dat and set DEBUG=no, but still have the debug folder output. Moreover, debug folder and csv file consume a lot of time. Can we add parameters to control whether to output unnecessary files such as csv and xml? Because I think most people only need TeX file, which is just my personal opinion.
from docx2tex.
Thanks for the screencast, which gave me an impression of the speed. I wouldn’t consider this slow. As I said, that’s the overhead to expect. Omitting files for output won’t help. I will check, but I also think that even if the debug dir is created, it will contain only very few files about the progress of the conversion.
from docx2tex.
I invoked it myself and can confirm that test.debug only contains a subdir 'status' with 12 small text files in it. Producing these and the other files such as test.csv, test.d2t.log, and test.xml consumes virtually no time. The overhead is as it is, there is nothing we can do. You will see if you convert larger file that the time needed will increase far less than proportional to the page count.
from docx2tex.
Related Issues (20)
- tabularray? HOT 1
- NoClassDefFoundError ? HOT 2
- Double Exponent - Brace Issue HOT 2
- Error: Could not create the Java Virtual Machine. HOT 4
- ole/wml equation can't transfer into tex, but \includegraphics HOT 4
- Unparseable command line argument: 'to'. HOT 17
- Space after formula HOT 5
- Incomplete heuristics for 'formula' HOT 3
- Chinese document error HOT 4
- run with windows HOT 8
- Something wrong with table generation. HOT 5
- Mexican Spanish HOT 5
- "A sequence of more than one item is not allowed as the third argument of fn:concat()" while conversion from docx HOT 5
- Tranlation error probably related to nested tables HOT 2
- Could not load file:/mnt/c/docx2tex/conf/conf.csv HOT 3
- Issues in Overset and Double Exponents HOT 1
- docx2tex 1.7.2 has vulnerable log4j-core-2.16.0 HOT 6
- Is it possible to change the inline math delimiter? HOT 4
- Convert to LaTeX only math formulas and the like HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docx2tex.