Nils Becker wrote: > Hi all, > > thanks for the hints so far. Nothing worked yet. I checked: when I do > not define any converters, lyx calls "convert". This gives the same > pixel graphics I get when I define only the svg->pdf2 converter. The > .lyx/lyxrc.defaults file contains no svg file format definitions. If I > include my converter settings in that file, nothing changes. lyx fails > to appreciate the existence of a direct path svg->pdf for use with > pdlatex. > > inkscape 0.45, lyx 1.4.4 > > Any further suggestions? > Nils > >> Nils Becker wrote: >>> Hi all, >>> >>> i am trying to get the inkscape SVG->PDF conversion to work, sonce this >>> offers better quality than EPS export only. >>> >>> I added SVG as a vector graphics format; >>> >>> EPS conversion works with the entry "inkscape -E $$o $$i" in the >>> converters preferences. >>> >>> The analogous entry "inkscape -A $$o $$i" as SVG->PDF(pdflatex) >>> converter does not work, although on the command line, this does do the >>> right thing. In lyx, I get pixel graphics in the PDF output, presumably >>> produced by "convert". What should I do? >>> >> Maybe LyX see several paths from SGG->PDF. You direct path >> is one, perhaps there is another like SVG->(some bitmap)->PDF >> too. >> >> I don't know the order in which LyX consider converters. >> Possibly in order of appearance, if so, consider reordering >> the converters in .lyx/lyxrc.defaults. Put your own first. >> >> LyX ought to prefer the shortest path from one >> format to another, it is likely to be both the best >> conversion and the quickest. >> >> Helge Hafting >> >> I'm using this: # # FORMATS SECTION ########################## #
\format "svg" "svg" "SVG" "" "inkscape --file=$$i" "inkscape --file=$$i" "vector" # # CONVERTERS SECTION ########################## # \converter "svg" "pdf" "inkscape --export-area-drawing --without-gui --file=$$i --export-pdf=$$o" ""