-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostScript error: undefined in TeXDict #62
Comments
Please make sure that dvips is installed on your system. dvisvgm requires the mentioned map and PS header files, which are part of the dvips package, to work properly. The PS error is probably triggered by calling an operator that's defined in one of the missing |
dvips seems installed: $ which dvips
/Library/TeX/texbin/dvips Maybe it's a path problem? |
Does |
That seems to work:
I think it indeed uses the same kpathsea library; how can I be sure? |
OK, where did you get the kpathsea development files (.h and .a/.so.a files)? Does the pre-built dvisvgm binary that comes with your TeX Live 2016 work correctly? If so, you most likely linked your own build to the wrong libkpathsea. As a further check, you can compare the kpathsea versions printed by
If the libraries are linked dynamically,
So my binaries are obviously linked to the same kpathsea library. |
The versions were the same, but I believe we're on the right track: $ otool -L `which dvisvgm` | grep kpathsea
/opt/local/lib/libkpathsea.6.dylib (compatibility version 9.0.0, current version 9.2.0)
$ otool -L `which kpsewhich`
/Library/TeX/texbin/kpsewhich:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11) Strangely, my |
I see, then your TeX Live binaries, including kpsewhich, are probably linked statically. I guess, you have to get this static libkpathsea for TeX Live 2016 somewhere in order to link your own build against it. |
Okay, thanks! |
Seems like I have the same problem. Could you please share the solution? Where can one get "this static libkpathsea for TeX Live 2016"? I've installed a fresh TeX Live 2016 on a Debian server, and I want to try the latest version of dvisvgm. All I've found is this source of kpathsea, but there is no BTW, thanks for the great software. I use dvisvgm in my online markdown & latex editor, and now I want to try woff fonts. |
Did you install TeX Live from the Debian packages or by downloading it from CTAN via install-tl/tlmgr? If you use the Debian packages, it should be easy to install the kpathsea development files. They are provided by libkpathsea-dev. I'm glad you find dvisvgm useful. I'll have a look at upmath later today and will play around a little with it. |
Hi, Martin, Thanks for reply. I had installed TeX Live via install-tl, but I've realized I don't want to go further in this direction. So I've now installed texlive-full from Debian testing packages and successfully compiled and run dvisvgm. |
I solved this issue by copying the compiled version of dvisvgm (~/src/dvisvgm/src/dvisvgm) to (in my case) /usr/local/texlive/2018/bin/x86_64-linux |
The Arch Linux system provided the necessary header files in it's texlive package. If you need to compile kpathsea as a dynamicly linked executable for some reason, here's a pointer (section: "Build One Package"): |
In case anyone has the same problem, the directory you need to copy to can be found by |
Hello. I have similar problems. In my case, the versions are different. From Any idea how to help me? I've just installed TeXlive from CTAN today. Also, I updated |
Mine returned nothing and |
When converting a .dvi generated from a basic latex/TikZ example, I get the following with dvisvgm 2.0.4 on OS X 10.9.5:
The text was updated successfully, but these errors were encountered: