> As far as I understand it preview-latex is useful because 1) 
> Some macros 
> defined outside the preview environment might still be needed 
> by TeX to 
> process the code inside the environment. Howver this is not always 
> obvious to LyX (especially since we don't even attempt to 
> parse any ERT 
> insets. 

Mmmh, macros defined outside? And how preview-latex can help in this way?

> 2) It does the cropping for you (at least when using 
> pdflatex, I 
> don't remember for the other backends).

Not a big advantage for all the suffering is causing us :P

> Aslo preview-latex was developed by or in parallel with auctex 
> developers to provide small png previews while editing a tex file in 
> emacs. Perhaps they know better.

I'll investigate that. Maybe it's faster in some way.

Enrico: I'm also trying to understand if there's a way to make GhostScript
ignore errors so we don't have to make a lot of files with "dvips -i" and a GS
call for each one.
On the #ghostscript IRC channel on freenode I've been told that making a single
call on a PostScript referencing all the other files would be a great
improvement, because each GhostScript call is very heavy by itself, and all the
file parsing and rendering is made very quickly. This is what they say!
Otherwise they suggested to put an errorhandler inside a single big PostScript
which would allow us to ignore errors and go on until the next page.

venom00

Reply via email to