>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> On Friday 19 July 2002 1:45 pm, Jean-Marc Lasgouttes wrote: >> An unrelated question: can you remind me how I can activate >> previews? Angus> André also reported them "broken". This may be because I'm Angus> using preview.sty from preview-latex cvs rather than the Angus> release version 0.72b. I upgraded to test it out but do not Angus> think that I changed the script in a way that woudl break Angus> parsing of the older version. If, having added the stuff below, Angus> it still doesn't work, perhaps you'd investigate the script and Angus> see what's going wrong? If I ever get the thing working. >> lib/configure searches for lyxpreview2xpm.sh, which does not exist. Angus> This test should be removed entirely. But the converter lyxpreview->ppm shall be added, right? >> I have lyxpreview2ppm.sh in the tree, but no converter to/from ppm. Angus> I have this in my preferences file: Angus> \preview true \preview_hashed_labels true \format "lyxpreview" Angus> "lyxpreview" "LyX preview" "" \format "ppm" "ppm" "PPM" "" Angus> \converter "lyxpreview" "ppm" "sh Angus> LYXLIB/scripts/lyxpreview2ppm.sh" "" I'm glad for you. Angus> I guess you should also define: Angus> \converter "ppm" "xpm" "ppmtoxpm $$i > $$o" "" >> Does this means I have to add converters by hand? That sucks, if I >> may say (but we are friday, so I really may say). Angus> And, because it's friday, I may reply that you're a competent Angus> individual and I don't believe in a nanny state. Remember, LyX is supposed to be for end users. Angus> In this particular case I mean that 1. preview defaults to off. So why do you work on them? Angus> Why should I define redundant converters that aren't used? See below. Angus> 2. "modern" xforms can load ppm files direct and so no further Angus> conversion is required. I'd hope tht xforms 1.0 will have come Angus> out by the time lyx 1.3 is released, so there's little point Angus> adding a ppm->xpm converter to lib/configure. I have a modern xforms, but since the ppm format is not defined by default, there is no way I can add a converter for it from the pref GUI. I still think that this sucks. I'll have a go at adding proper support this week end. JMarc