TransWikia.com

Convert image to text and include in LaTeX

TeX - LaTeX Asked by Tim Hilt on June 23, 2021

I’m writing a class, that should insert a logo (which i have available as .pdf and .svg) in the header.
I thought it would be an elegant solution to just include the file directly in the class, without the need of packaging the class together with an image file.

I tried exporting the .svg to .tex with Inkscape, which works but it says “Please note that this file requires PSTricks extensions”, and i just can’t seem to find the right extension to make this work. Also the file with the pspicture is enormously long.

Is there a better approach on how to tackle this issue? Are there any conventions for my issue? Does anyone know the PSTricks-extensions that are required?

Thanks in advance.

One Answer

I chose to convert the image to another format, namely TikZ-code (following this question). There is an Inkscape-extension called svg2tikz, which did the trick for me.

Surprisingly it didn't work correctly for the .svg-file, but exporting the .pdf-File to TikZ finally worked.

Answered by Tim Hilt on June 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP