On Friday 19 July 2002 1:45 pm, Jean-Marc Lasgouttes wrote: > An unrelated question: can you remind me how I can activate previews?
André also reported them "broken". This may be because I'm using preview.sty from preview-latex cvs rather than the release version 0.72b. I upgraded to test it out but do not think that I changed the script in a way that woudl break parsing of the older version. If, having added the stuff below, it still doesn't work, perhaps you'd investigate the script and see what's going wrong? > lib/configure searches for lyxpreview2xpm.sh, which does not exist. This test should be removed entirely. > I have lyxpreview2ppm.sh in the tree, but no converter to/from ppm. I have this in my preferences file: \preview true \preview_hashed_labels true \format "lyxpreview" "lyxpreview" "LyX preview" "" \format "ppm" "ppm" "PPM" "" \converter "lyxpreview" "ppm" "sh LYXLIB/scripts/lyxpreview2ppm.sh" "" I guess you should also define: \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). And, because it's friday, I may reply that you're a competent individual and I don't believe in a nanny state. In this particular case I mean that 1. preview defaults to off. Why should I define redundant converters that aren't used? 2. "modern" xforms can load ppm files direct and so no further conversion is required. I'd hope tht xforms 1.0 will have come out by the time lyx 1.3 is released, so there's little point adding a ppm->xpm converter to lib/configure. Angus