On Wednesday 07 January 2009 08:00:51 am Matthias Coy wrote:
> Hi there,
>
> I'm using the CLI interface of lyx:
>
>      /usr/bin/lyx -e pdf somefile.lyx
>
> Inside the lyx file I have some SVG images which are converted to a _very_
> bad quality. When I use htlatex:
>
>      /usr/bin/lyx -e latex somefile.lyx
>      /usr/bin/htlatex somefile.tex "xhtml,charset=utf-8" " -cunihtf -utf8"
>
> to generate HTML out of it, it gives me some PNG files with roughly the
> same bad quality. Does anyone know how to increase the quality of
> picutures?

I do. Convert them from SVG to PDF, and include the PDFs in the LyX document. 
MUCH better.

Here's my PDF making script that converts a dia diagram to a PDF via inkscape. 
You can simply start with the inkscape command:

#!/bin/bash
dianame=$1
gname=`echo $dianame | sed -e "s/\..*$//"`
pdfname=$gname.pdf
echo Converting $dianame to $pdfname
inkscape --export-embed-fonts --export-pdf=$pdfname $dianame
acroread $pdfname

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US

Reply via email to