On 5/16/07, Bo Peng <[EMAIL PROTECTED]> wrote:
> I did :-) and I am glad that it works! See commit below. What do you
> have at the console?

Here is what I get from the console.

% pplatex: Process input file 0lyxpreview.dvi
pplatex: Copy data to 0lyxpreview.dvi
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.05.16:0941' -> 0lyxpreview.ps
<texc.pro><bbad153f.enc><aae443f0.enc><f7b6d320.enc><texps.pro><special.pro>
<color.pro>. <cmmi8.pfb><cmr12.pfb><cmr8.pfb><cmmi12.pfb><cmex10.pfb>
<cmsy10.pfb>[1]
GNU Ghostscript 7.07: Unrecoverable error, exit code 1
Failed: gs 0lyxpreview.ps
Caught "normal" exception: basic_filebuf::underflow error reading the file
Error: Encoding error
----------------------------------------
Some characters of your document are probably not representable in the
chosen encoding.
Changing the document encoding to utf8 could help.



And if I remove all the content of this file, I still get:

(/usr/share/texmf/tex/latex/caption/caption.sty

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...

l.87 \newsavebox
               [EMAIL PROTECTED]

The offending line in the preamble is \usepackage[labelfont={bf,sf},
tableposition=top]{caption}[2004/07/16]
.

I guess my caption package is too old?

\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{caption}[1995/04/05 v1.4b caption package (AS)]

Bo

Reply via email to