[email protected] wrote:
> > > I've tested it under linux and seems a good solution, [...]
> > Unfortunately, there might be something wrong with dviselect, at
> > least with this particular version: every page extracted by this tool
> > except page 1 couldn't render by Yap, while it had no problem with the
> > source dvi. This happened for different multipage dvi files. Could you
> > please retest it on Linux and/or older MikTeX, to be sure what is the
> > cause?
>
> Yes, but your example is quite complex, we're using preview-latex with
> "stand-alone" snippets so the problem should be much less. Infact using just
> math it works fine, but with TikZ and PSTricks it gives problem. TikZ is
> normal,
> because of the other thread problem, but PSTricks should work. However this is
> not a problem because we have to make another latex call when using PSTricks,
> the problem is if we're missing something apart simple math, TikZ and
> PSTricks.
>
> Enrico, Pavel: Can we put a together a a list of all the typical things we use
> with instant- preview?
>
> - math
> - TikZ
> - PSTricks
> - please add
main point of preview inset was to have preview of anything written in ERT,
which is anything user wants to :/ some examples are in instant_preview.lyx
or feynman diagrams manual. but we support what preview-latex package supports,
pgf/pstricks support was kind of hack...
> If we find that everything apart from pgf and PSTricks works we can use
> dviselect, otherwise we have to make a latex call for each snippet.
for me even the math manual doesn't work now. dvi is genereted with most
of the snippets except of few with error:
! LaTeX Error: Command \qG already defined.
Or name \end... illegal, see p.192 of the manual.
we have even bug entry for this (iirc we put multiple \qG definitions).
pavel