SVG, short for Scalable Vector Graphics, is a language used for describing two-dimensional vector graphics.

learn more… | top users | synonyms

2
votes
1answer
61 views

Load custom TikZ nodes from an SVG file?

I want to use custom nodes in TikZ, with shapes loaded (or otherwise converted) from an SVG file because I don't have enough time to learn pgf to draw the shapes I want. How can I do that?
2
votes
1answer
47 views

Latex generated PDF is extremely slow with rendering images

I have a small issue. I have generated a PDF file with some images generated from R. However the images render extremely slow, this might be due to the fact that the PDF needs to render an insane ...
4
votes
0answers
56 views

svg export from inkscape to latex ruins typesetting

I would like to use the .pdf_tex option for my SVG images exported from Inkscape because it's an amazing feature but it doesn't work as intended. What I do: Export image from Inkscape Integrate ...
4
votes
0answers
54 views

svg package failing to find svg files

I am trying to get the svg package working on an OSX system. If I use inkscape to save the *.svg files as *.pdf and *.pdf_tex, then the sample file from this question works fine: ...
14
votes
1answer
145 views

How to correct bug in svg.path library?

The svg command from svg.path library can display an svg <path> in TikZ. But in one particular situation the coordinate calculation fails. This happens when part of the path is closed by z (or ...
2
votes
0answers
45 views

SVG drawing created by Inkscape not displayed properly on Lyx

I created an SVG figure using Inkscape and inserted it into my Lyx paper. But the figure is not properly display either on lyx or the pdf it generated. For example, an arrow "--->" becomes a line ...
5
votes
1answer
100 views

How to create non-outlined SVG files from LaTeX formulae

Are there any ways of generating SVG files from LaTeX math formulae, that are not built from outlined glyphs? I.e., I want the SVG file to contain the math glyphs within <text> tags, not ...
2
votes
2answers
84 views

LyX makes mistakes rendering svg graphics

I am writing a document in LyX 2.1.4 on Mac OS 10.11 using MacTeX-2015. I insert svg files created in Inkscape 0.91. Some of them are entirely created in Inkscape. Some are outputs from R that I ...
3
votes
1answer
91 views

Tex4ebook not generating SVG files

I followed the instructions in this other question to generate an ePub from Latex with SVG images(I don't want to use ePub 3.0) with tex4ebook, but the generated epub has no images. I already found ...
0
votes
2answers
69 views

Converting latex highlighted code listing to image

Does someone know how I could submit a paper to a journal which contains source code highlighting with minted https://github.com/gpoore/minted ? I really like the highlighting and don't want to go ...
4
votes
0answers
177 views

Workaround for the animations in Beamer? How to convert a pdf presentation to a Sozi svg?

I want to use Beamer to write my presentations, mainly because I can use TikZ code on it. I also use to include png and pdf figures, so I like to compile with pdflatex. However, I'm starting to hate ...
2
votes
0answers
155 views

Inserting SVG images in Latex

I need to include some SVG graphics in my latex file. The SVG files have been created with a Python program, they don't come from Inkscape (I know that there are a lot of questions answered about the ...
0
votes
2answers
113 views

Include SVG using ST3 latextools build system

I am trying to include SVG into my document using the SVG package. On OSX Yosemite, I use Sublime Text 3 with the LatexTools Package, BasicTex 2015 and Inkscape installed via Homebrew Cask. Additional ...
0
votes
0answers
93 views

Generating sequence of SVG images with Tikz/Beamer

I use Tikz and Beamer a lot when creating slides and I was wondering if there was a simple way of using the same framework to generate a sequence of SVG images (or any other format that could be used ...
0
votes
0answers
17 views

How to inlcude svg in xelatex [duplicate]

How can I make the following snipped work in xelatex. The svg package seems buggy, and I added the following commands from http://mirror.switch.ch/ftp/mirror/tex/info/svg-inkscape/ ...
0
votes
0answers
61 views

wkhtmltopdf messes up my latex-svg

I have a very strange behaviour when trying to compile latex to an svg and then rendering a pdf with wkhtmltopdf. It prints some weird bars on my svg. In my html it doesn't display anything like this. ...
0
votes
0answers
56 views

invisible special character generated from pdf file

I am trying to insert a pic.pdf file as picture inside my beamer presentation. I used "inkscape" to generate pic.pdf file. There is a special character used inside my svg file (format of the ...
3
votes
1answer
138 views

Compile TeX (directly) into SVG

Is there a way to directly compile TeX code into the SVG image format (rather than going the detour over TeX => PDF => SVG)? I found this question: Convert LaTeX to SVG online But I don't want to do ...
1
vote
2answers
58 views

Latex-SVG displaying differently depending on position in html

Updated Question The svgs generated by dvisvgm seem to influence one another when placed in a html document. For example, this is how it should look: https://jsfiddle.net/y8nq7xnz/1/ On the other ...
1
vote
1answer
536 views

Include SVG layers as steps in beamer

I have a .svg figure (created with inkscape) with multiple layers and I would like to include them in a beamer presentation so that layers appear progressively. slide 1 -> layer 1 slide 2 -> layer ...
1
vote
0answers
92 views

How to contribute to FontAwesome? SVG, EPS to fontawesome? [closed]

I am very interested in contributing to fontawesome. I have some vector icons that I feel the community would benefit to use and I really like to add them to fontawesome. These icons are in svg and ...
0
votes
0answers
239 views

File SVG not found in windows texstudio

I was using latex for a while on Linux and I was using SVG. I remember it was a very hard time to fix the errors specially the one saying File "./somesvg" not found Now, installed TeXStudio and ...
5
votes
0answers
68 views

svg package interfers with opacity

As soon as I load the package svg, tikz does not handle opacity any longer. Here, an example: \documentclass{article} \usepackage{tikz} \usepackage{svg} \begin{document} \begin{tikzpicture} ...
1
vote
0answers
98 views

How to escape underscores in the resulting .pdf_tex file?

According to this: http://tex.stackexchange.com/a/2107/41370 I have to use inkscape to generate a PDF file and a corresponding .pdf_tex file. Since my original SVG file contains a class diagram it ...
1
vote
0answers
34 views

pdf_tex problem [duplicate]

I use Inkscape to create .pdf_tex graphics. While drawing my figure on Inkscape, I import an .png image, than I save my drawing as PDF and call it in my LaTeX code as follows: \documentclass{article} ...
2
votes
0answers
548 views

Inkscape and --shell-escape with TexStudio

My purpose is to show fig1.svg in latex. Here is my code: \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{listings} \lstset{language=Matlab} \lstset{tabsize=2} \usepackage{graphicx} ...
1
vote
1answer
867 views

Install new package `svg.sty' ubuntu [duplicate]

I use texstudio in Ubuntu and I would like to use svg package: \usepackage{svg} File `svg.sty' not found. ^^M The only thing I found is a closed thread. My attempt for installation of this ...
5
votes
1answer
207 views

how to speed up tex4ht image generation process?

Currently, I tell tex4ht to use svg instead of png for math images. This results in better image quality. However, it is slow in image generation, as it takes about 1-2 seconds for each image to be ...
2
votes
0answers
86 views

How to use import package to keep relative path references in subfiles and at the same time use svg?

I have the following directory structure: main.tex chapter/ chapter1.tex img/ image.svg This is the content of main.tex: \documentclass{report} \usepackage{svg} \begin{document} ...
0
votes
0answers
82 views

pdftex: SVG not found [duplicate]

I'm trying to use svg graphics in my big latex document. I followed other posts and included the svg and the amsmath package. And used the following to test it: \begin{figure}[htbp] \centering ...
1
vote
0answers
90 views

Figures in Minipage to avoid multiple pdf's warning, now labels aren't working

I'm trying to include svg graphics in combination with the respective .pdf_txt within my bachelor thesis. So far that works but it triggers the Warning : 'multiple pdf's in a page group'. That Warning ...
9
votes
1answer
181 views

svg native support

I have been extensively using LaTeX for technical documentation. To make drawings I often use inkscape and then convert them to .pdf. I was wondering, are there any plan in LaTeX community to natively ...
1
vote
0answers
57 views

Latex SVG with variable Text

-this question is a dublicate of a stackoverflow-question- I would like to write a document with figures containing variable text. In the combination of SVG and Latex, I tried to acomplish this: In ...
0
votes
0answers
43 views

Latex SVG with variable Text [closed]

I would like to write a document with figures containing variable text. In the combination of SVG and Latex, I tried to acomplish this: In Latex preamble I added: \newcommand{\mwhw}{HelloWorld} ...
4
votes
2answers
377 views

Including and updating of pdf_tex files from svg with inkscape in directory of choice

I'm working on a way to have my .svg exported with inkscape to .pdf_tex if the .svg file was changed. That allows me to change the figure, hit Ctrl+S and then just compile my tex file. I adapted some ...
3
votes
0answers
176 views

How not to extract text when using \includesvg?

When using the includesvg macro that is provided by the svg package to include an svg image, all "text components" of the image (see the manual) are separated into a pdf_tex file (which is basically a ...
2
votes
1answer
4k views

Undefined control sequence at: “\begin{document}”

When trying to compile this document: \documentclass{article} \usepackage{hyperref} \usepackage{subcaption} \usepackage{svg} \begin{document} \end{document} I get the following error message: ...
1
vote
1answer
550 views

How do I put a bounding box around a poorly saved .SVG image?

! LaTeX Error: Cannot determine size of graphic in ./queen-diamond-red.svg (no BoundingBox). How do I put proper bounding boxes into an .SVG file? I tried viewBox="0 0 156 156" I attached the ...
4
votes
1answer
130 views

\includesvg produces “No room for a new \read”

I've already searched a lot about it and I'm aware of both questions "No room for a new \read" with writing a journal and No room for a new \read/\write. Still, I couldn't find a solution to ...
1
vote
1answer
277 views

How do i get multiple font sizes in eps+tex output from inkscape?

I am trying to get different size fonts in a tex file exported from inkscape. The idea is that my figure might have header text that should be bigger than other text. For example, I have this in ...
1
vote
3answers
550 views

Inserting graph from gnuplot to latex

How to insert high quality graph drawn in GNUplot in LaTeX. I am trying to use following method: draw graph in gnuplot saving it as SVG file converting svg into pdf Inserting pdf into latex file ...
0
votes
0answers
169 views

How can I change the converter for SVGs previews in LyX?

I've been using SVG files in my LyX documents, on Arch Linux (LyX 2.1.1), but found that when converting to PDF, the default rsvg-convert does a poor job, with many artifacts (e.g. lost text, lost ...
0
votes
0answers
74 views

Position of included svg image

how can I include an .svg image and center it relative to a specific point? There is a specific point in the image that should be equidistant from both the left and the right of the page.
1
vote
0answers
78 views

Does MathJax cache SVG content? [closed]

I have extracted LaTeX content from .tex file, that I put on the website and choose SVG as output, because it provides the smallest possible size so I consider that It will be the best choise also ...
2
votes
1answer
400 views

Asymptote SVG export as vectors, instead of rendered. How?

TL;DR : my question is in bold below. Preamble: I'm pretty new to Latex. Been fiddling around with both MikTex and TexLive for a few days. Have got a working setup on Windows (with ghostscript, Image ...
1
vote
0answers
573 views

Include SVG does not detect file

I am trying to render an .svg image using the svg.sty package in latex. When I run the following code I get three errors. Posted below the code ...
1
vote
1answer
1k views

How to make LaTeX automatically call Inkscape to export figure to *.pdf_tex?

I'm working with Inkscape to update all the figures of a book, using the PDF+LaTeX option to export the figures. Right now, every time I modify a figure I "save as..." both with Inkscape's *.svg and ...
13
votes
0answers
214 views

Did one manage to get the new dvisvgm driver from PGF 3.0 to work?

Background: PGF 3.0 added a new, direct way to create SVG. It now has a dvisvgm driver (pgfsys-dvisvgm.def) which has fewer (claimed) limitations than the pgfsys-tex4ht.def driver. Except it doesn't ...
0
votes
0answers
18 views

Include SVG aligns/centers different when used with “newcommand”? [duplicate]

this is my first post in this forum, but i have been here a thousand times, enjoying the high-quality answers to often also good quality questions. So i try my best to also provide all needed ...
0
votes
1answer
483 views

TeX Live unable to call inkscape (SVG Package)

I am working with a fresh install (from source) of TeX Live on Ubuntu Server 13.10. I would like to use the svg package to allow SVG files to be directly included. In the background, the svg package ...