Comments (3)
This bug is caused by this regexp
. Changing it for example to r"^\s*\\input\{(?P<filename>.+?)\}\%\s*$"
reverses the bug (now \input{...}%
is recognized correctly, whereas \input{...}
not).
Considering that including a comment line is typical within packages, it may be desirable to change the regular expression used for this match.
from dot2tex.
@johnyf I agree that it should be possible to include a comment. I will try to find a more robust regexp. Thanks for taking the time to locate the bug!
from dot2tex.
Thank you, after more attempts eventually I derived a command from the code of the dot2tex
environment to directly call dot2tex
and avoid using a fragile
slide, details here.
from dot2tex.
Related Issues (20)
- Newlines in labels HOT 1
- Option --autosize doesn't work on windows when tempfile path is complicated
- dot2tex "eats" escaped backslashes from labels in raw mode HOT 4
- Error with "rounded" style and tikz format HOT 1
- arrows sometimes point to the wrong direction HOT 2
- readme.md is no longer included in the PyPI tarball HOT 1
- make `setuptools` a strong dependency in `setup.py` HOT 2
- support headlabel and taillabel under tikzedgelabels
- Multiline labels in math mode
- Conversion of dot file to tex causes parsing error. HOT 4
- pyparsing has moved
- The link to the required preview packaged is broken HOT 1
- Drawing edge labels without overlap
- dot2tex exits with status 0 (success) on error
- Box not drawn under strange circumstances
- ValueError: could not convert string to float: 'F' HOT 2
- Compound graphs are not supported
- Newlines from the dot output are not handled correctly
- test_semicolon fails
- Document canvas too small for large graph HOT 1
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 dot2tex.