Comments (9)
Also if I try to run it here's what goes in the log:
ERROR: docx2hub/xpl/single-tree.xpl:49:79:err:XS0052:Cannot import: http://transpect.io/calabash-extensions/transpect-lib.xpl
ERROR: cause: I/O error reported by XML parser processing http://transpect.io/calabash-extensions/transpect-lib.xpl: http://www.le-tex.de/en/transpect.htmlcalabash-extensions/transpect-lib.xpl
ERROR: It is a static error if the URI of a p:import cannot be retrieved or if, once retrieved, it does not point to a p:library, p:declare-step, or p:pipeline.
ERROR: Underlying exception: I/O error reported by XML parser processing http://transpect.io/calabash-extensions/transpect-lib.xpl: http://www.le-tex.de/en/transpect.htmlcalabash-extensions/transpect-lib.xpl
from docx2tex.
Hi Greg, the first issue that you are reporting is probably due to https://github.com/transpect/docx2tex/blob/master/.gitmodules#L24 – the submodule is attached via ssh instead of HTTP, like the other submodules. This only works for someone who has stored their ssh key with their github account. We’ll fix this, it will also be an HTTP URL.
The second issue is an indication that the XML catalog is not being used. In your checked-out copy, is there a file calabash-frontend/xmlcatalog/catalog.xml? How did you exactly invoke d2t, i.e., from which directory, using which command line?
We don’t use Macs too often, but we’ll be able to investigate further on a Mac tomorrow if it seems to be an issue related to our lack of properly supporting the Mac…
from docx2tex.
Ok, I updated the submodule URL. I don’t know exactly how you can update this so that your copy reflects this change. The numerous git incantations and which to select for which occasion is a thing that is still quite arcane to me. git submodules tend to make matters even more complicated.
First, do a
git pull
so that your .gitmodules file gets updated. Then you can try
git submodule foreach --recursive git checkout master
and/or
git submodule foreach git pull origin master
If that doesn’t help, then maybe
git submodule sync
git submodule update --init --recursive
or checking out a fresh copy altogether, as per https://xkcd.com/1597/
from docx2tex.
Hi Gerrit, thank you for your quick response. I'll try the new repository right away.
Yes, catalog.xml exists right where you said it should.
I invoked d2t right from the command line, in the directory that d2t actually exists, and the invocation was really simple:
./d2t -o a.tex a.docx
from docx2tex.
In the meantime, I checked out a fresh version and I was able to reproduce your 2nd issue (that is related to the XML catalog). Will fix it soon.
from docx2tex.
(btw, nice avatar…)
from docx2tex.
Ok, should be fixed now. Sorry that it didn’t run ok right from the start. I blame git submodules.
from docx2tex.
Installs perfectly now!
This type of code is such an important and useful tool for those of us who want to write serious scientific documents. I've starred it and intend to tell everyone I know about it.
Thanks!
from docx2tex.
Please don’t hesitate to report further errors, in particular incorrect mappings to LaTeX, since there will still be some for sure…
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
- Can I control which files are exported? HOT 4
- 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.