On Friday 11 April 2008 11:54, Alan G Isaac wrote:
> On Fri, 11 Apr 2008, Ed Sykes apparently wrote:
> > Just wondering about graphics + LyX...
> > I do most of my graphics in MS Viso.
> > I assume the best format is .eps   ?
> > I'm having a problem with a graphic that has some symbols (e..g, infinity
> > symbol).
> > They get dropped when I import the .eps into LyX
> >
> > Any suggestions?
>
> 1. Do not use Visio.
> Maybe Dia will meet your needs.
>
> 2. Tell Visio to embed all fonts.
>
> 3. Using EPS graphics and using PDF graphics implies
> two different workflows.  Each has its virtues.
>
> Cheers,
> Alan Isaac

I have dia2pdf and dia2png scripts. Careful of wordwrap on long lines:

#*********** DIA2PDF ********************
#!/bin/bash
dianame=$1
gname=`echo $dianame | sed -e "s/\..*$//"`
pdfname=$gname.pdf
echo Converting $dianame to $pdfname
#inkscape --export-text-to-path --export-pdf=$pdfname $dianame
#inkscape --export-embed-fonts --export-use-hints --export-background=#ffffff 
--export-area-drawing --export-pdf=$pdfname 
$dianame
inkscape --export-embed-fonts --export-pdf=$pdfname $dianame
acroread $pdfname
##########################################

#*********** DIA2PNG ********************
#!/bin/bash
dianame=$1
gname=`echo $dianame | sed -e "s/\..*$//"`
pdfname=$gname.png
echo Converting $dianame to $pdfname
#inkscape --export-text-to-path --export-pdf=$pdfname $dianame
#inkscape --export-embed-fonts --export-pdf=$pdfname $dianame
inkscape --export-embed-fonts --export-background=#ffffff --export-area-drawing 
--export-png=$pdfname 
$dianame
kuickshow $pdfname
##########################################

HTH

SteveT
 
Steve Litt
Books written in LyX:
        Troubleshooting Techniques of the Successful Technologist
        Twenty Eight Tales of Troubleshooting
        Troubleshooting: Just the Facts

Reply via email to