[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation



Le dimanche 05 juin 2005 à 20:42 -0700, Daniel Burrows a écrit :
> On Sunday 05 June 2005 03:37 am, Bill Allombert wrote:
> > Sound like a potential security nightmare to me. LaTeX is a full
> > programming language.
> 
>   Well, in principle it would be possible to just parse a subset of LaTeX [0] 
> and get reasonable results.  If they're calling LaTeX directly, though, that 
> could definitely spell trouble.
> 
>   Daniel
> 
Quoting tex2im code:
############
(...)
latex -interaction=batchmode out.tex > /dev/null
cd "$homedir"
dvips -o $tmpdir/out.eps -E $tmpdir/out.dvi 2> /dev/null
(...)
convert +adjoin -antialias -transparent $color1 -density $resolution
$tmpdir/out.eps $tmpdir/out.$format
(...)
#########
So they directly use latex.

--
Martin Braure de Calignon



Reply to: