Steve Litt schrieb:

Uwe -- I simply used the inkscape file within LyX, and it came out tolerable and a small filesize. Interestingly, I had absolutely no svg to pdf converter, so LyX must have something built in.

This works, because ImageMagick supports SVG nowadays. But the result is not really brilliant here on my PC.

Uwe -- if I added a SVG converter, to what should I make it convert?

Inkscape. Attached is my preferences file to see how the converter is defined. You can copy the converters directly to your preferences file, restart LyX, and it should work.

regards Uwe
### This file is part of
### ========================================================
###          LyX, The Document Processor
###
###          Copyright 1995 Matthias Ettrich
###          Copyright 1995-2001 The LyX Team.
###
### ========================================================

# This file is written by LyX, if you want to make your own
# modifications you should do them from inside LyX and save


#
# MISC SECTION ######################################
#

\preview_scale_factor 1.0

#
# SCREEN & FONTS SECTION ############################
#

\screen_zoom 120

#
# COLOR SECTION ###################################
#


#
# PRINTER SECTION ###################################
#


#
# EXPORT SECTION ####################################
#


#
# TEX SECTION #######################################
#


#
# FILE SECTION ######################################
#


#
# PLAIN TEXT EXPORT SECTION ##############################
#


#
# SPELLCHECKER SECTION ##############################
#


#
# LANGUAGE SUPPORT SECTION ##########################
#


#
# 2nd MISC SUPPORT SECTION ##########################
#


#
# FORMATS SECTION ##########################
#

\format "pdf3" "pdf" "PDF (dvipdfm)" "m" "PDFViewWin" "" "document,vector"
\format "pdf2" "pdf" "PDF (pdflatex)" "F" "PDFViewWin" "" "document,vector"
\format "pdf" "pdf" "PDF (ps2pdf)" "P" "PDFViewWin" "" "document,vector"
\format "svg" "svg" "SVG" "" "inkscape --file=$$i" "inkscape --file=$$i" 
"vector"

#
# CONVERTERS SECTION ##########################
#

\converter "svg" "png" "inkscape --without-gui --file=$$i --export-png=$$o" ""
\converter "svg" "pdf" "inkscape --file=$$i --export-area-drawing --without-gui 
--export-pdf=$$o" ""
\converter "svg" "pdf2" "inkscape --file=$$i --export-area-drawing 
--without-gui --export-pdf=$$o" ""

#
# COPIERS SECTION ##########################
#

Reply via email to