On Monday 01 July 2002 5:12 pm, David Kastrup wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > David, > > > > I've beem trying to use preview.sty on the attached latex file. (This is > > using the preview.sty that comes with preview-latex-0.7.2b rather than > > CVS.) > > > > Any clues about what I'm doing wrong? > > Angus > > You need to specify the dvips option to preview as well if you are > using the tightpage option. That is, use > > \usepackage[active,displaymath,textmath,dvips,tightpage]{preview}
Thank you. > If you don't want preview.sty to automatically extract those > environments in case you already know what you want previewed > yourself and don't want to guess whether your choice and that of > preview.sty will be the same, leave off the selection options like > "textmath" and "displaymath" and instead place everything you want > previewed into a separate "preview" environment. That sounds easy enough. Again, thank you. One more question. Using the file I posted together with latex trial dvips -o trial.ps trial.dvi gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=png16m -sOutputFile=trial%03d.png -r300 trial.ps Results in the following file (attached). How do I ensure that this is cropped more elegantly? Angus
trial004.png
Description: PNG image