On 12.10.2017 12:37, Kornel Benko wrote:
Am Donnerstag, 12. Oktober 2017 um 12:30:29, schrieb racoon <xraco...@gmx.de>
On 12.10.2017 11:11, Jürgen Spitzmüller wrote:
1. Do you have inkscape installed?

Yes.

2. Which converter do you have set in preferences for SVG -> PDFTEX? It

There is no such entry. I have only

SVG -> EPS, SVG -> PDF (graphics), and SVG -> PNG.

SVG -> PDF (graphics), for example, is set to

rsvg-convert -f pdf -o $$o $$i

Do I have to add SVG -> PDFTEX manually? What will I have to set it to?

Daniel

You could check first 'configure.log' for entry like
        INFO: checking for a SVG viewer and editor...
        INFO: +checking for "inkscape"...  yes
        DEBUG: Add to RC:
        \Format svg        "svg" SVG                "" "inkscape" "inkscape"    "vector"  
      "image/svg+xml"
        \Format svgz       "svgz" "SVG (compressed)" "" "inkscape" "inkscape"   
"vector,zipped=native"  ""

INFO: checking for a SVG viewer and editor...
INFO: +checking for "inkscape"...  yes
DEBUG: Add to RC:
\Format svg "svg" SVG "" "\"C:\Program Files (x86)\Inkscape\inkscape\"" "\"C:\Program Files (x86)\Inkscape\inkscape\"" "vector" "image/svg+xml" \Format svgz "svgz" "SVG (compressed)" "" "\"C:\Program Files (x86)\Inkscape\inkscape\"" "\"C:\Program Files (x86)\Inkscape\inkscape\"" "vector,zipped=native" ""

and lyxrc.defaults for
        # egrep inkscape lyxrc.defaults

That's some kind of unix command, right? It searches the file for 'inkscape', right? Here is what I found:

\Format svg "svg" SVG "" "\"C:\Program Files (x86)\Inkscape\inkscape\"" "\"C:\Program Files (x86)\Inkscape\inkscape\"" "vector" "image/svg+xml" \Format svgz "svgz" "SVG (compressed)" "" "\"C:\Program Files (x86)\Inkscape\inkscape\"" "\"C:\Program Files (x86)\Inkscape\inkscape\"" "vector,zipped=native" ""
\editor_alternatives svg "\"C:\Program Files (x86)\Inkscape\inkscape\""
\viewer_alternatives svg "\"C:\Program Files (x86)\Inkscape\inkscape\""
\editor_alternatives svgz "\"C:\Program Files (x86)\Inkscape\inkscape\""
\viewer_alternatives svgz "\"C:\Program Files (x86)\Inkscape\inkscape\""

\converter wmf eps "inkscape --file=$$i --export-area-drawing --without-gui --export-eps=$$o" "" \converter emf eps "inkscape --file=$$i --export-area-drawing --without-gui --export-eps=$$o" "" \converter wmf pdf6 "inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o" "" \converter emf pdf6 "inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o" ""

Daniel

Reply via email to