Comments (6)
With the current options it's not possible to only print the filename, unfortunately, but it shouldn't be too complicated to add this functionality. To keep compatibility with previous versions, it's probably not a good idea to introduce a separate verbosity flag for the filename.
Maybe I could add a new option --message
to print arbitrary user messages that may contain the macros already evaluated by special dvisvgm:message
. I just have to add macro svgfile
. Then you could call dvisvgm with -v3 --message "Output file: {?svgfile}"
or something like that.
from dvisvgm.
As proposed above, I've added option --message
that allows you to output your own message text after creating an SVG file. It will be available as of the next version 3.2. If you want to use it in your scripts, you probably need to check the available dvisvgm version to prevent errors.
from dvisvgm.
Thanks Martin!
I've been wondering if this could be done in a backwards-compatible way, but that does seem like a bit of a stretch (I guess depending on the implementation a new verbosity number could maybe work).
from dvisvgm.
I thought about assigning the filename output to its own verbosity flag, but decided against it because you also needed to adapt the verbosity levels depending on the dvisvgm version, e.g. 7 for versions < 3.2. and 11 for the newer ones. To me, the current, more generic way is more flexible and might support further needs of other users without having to introduce many special verbosity flags.
from dvisvgm.
Makes sense, thanks again!
from dvisvgm.
You're welcome.
from dvisvgm.
Related Issues (20)
- Inclined lines missing after XeLaTeX XDV output conversion to SVG, when using STRUKTEX package HOT 4
- Warnings in release candidate of gs 10.2.0 when -dOLDPDF and -dNEWPDF are used HOT 2
- the depth info is missing when using latex package hyperref HOT 2
- Left edge of viewBox is always 0 with --exact-bbox HOT 6
- Assertion violation + core dump HOT 3
- Raster instead of vector HOT 1
- Missing text from PDF >> SVG HOT 6
- Baseline incorrect with Chinese characters HOT 15
- Ghostscript 10.01.0+ support HOT 6
- Hyphen character missing when using luatex with DVI output HOT 5
- PDF -> SVG: Pixels cut-off on right border HOT 4
- pstricks: PostScript error: undefined in NodeScale HOT 7
- TL build patch: potrace HOT 2
- TL build patch: main src/Makefile.am HOT 1
- InvalidDVIFileException in upTeX DVI only on Solaris HOT 2
- Deferred initialization of PS doesn't work HOT 4
- color gradient missing in svg file HOT 4
- Breakage with libgs-10.02 creating svg file from asy. HOT 15
- 3D plots in PDFs generated with `interp` shading disappear from SVG 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 dvisvgm.