According to this: https://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 has many identifiers like "size_t" with underscores I get many errors.
When using the proposed statement to include the graphics it says: Missing $ .... for the line:
\put(0.00768156,0.29678743){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{+ prepareSpawns(parent : Task*, count : std::size_t)}}}%
How can the underscores in the generated file be replaced?
edit: Using Inkscape 0.48.4 r9939
size\_t, while the second should besize$_{\text{t}}$in the Inkscape string. – Dolphin Apr 09 '15 at 11:21_in inkscape of typetextand theExtensions->Text->Replace text...with_and\_should fix it. – Dolphin Apr 09 '15 at 11:48\putlocated? it might be possible to redefine_within that definition to be just an ordinary character, if no other use of_will be made in an argument to\put. – barbara beeton Apr 09 '15 at 12:47