On Wed, Dec 11, 2002 at 10:19:20AM -0600, Bo Peng wrote:
> Any idea what is wrong? 

I had a look at files like /tmp/lyx_tmpdir15067a4mxR4/lyx_tmpbuf0/0lyxpreview.tex

It could not be compiled since latex could fnot ind preview.sty. Is this 
file included in cvs1.3? Where is it supposed to be? I did not use 
standard installation (./configure 
--prefix=/home/bpeng/download/cvslyx), might this be the reason?

I append the log file here so that you can see the error message.

------------------------------------------------------------------------
bpeng@bp6:/tmp/lyx_tmpdir15067a4mxR4/lyx_tmpbuf0 % cat 0lyxpreview.tex
\batchmode
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\makeatletter
\def\input@path{{/home/bpeng/download/cvslyx/bin//}}
\makeatother
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Bold symbol macro for standard LaTeX users
\newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}


\usepackage{babel}
\makeatother

\usepackage[active,delayed,dvips,tightpage,showlabels,lyx]{preview}

\AtBeginDocument{\AtBeginDvi{%
\special{!userdict begin/bop-hook{//bop-hook exec
<000000faf0e6>{255 div}forall setrgbcolor
clippath fill setrgbcolor}bind def end}}}

\begin{document}
\begin{preview}
$\alpha$
\end{preview}


\end{document}

--------------------------------------------------------------------
bpeng@bp6:/tmp/lyx_tmpdir15067a4mxR4/lyx_tmpbuf0 % latex 0lyxpreview.tex
This is TeX, Version 3.14159 (Web2C 7.3.1)
(0lyxpreview.tex
LaTeX2e <2000/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, i
talian, nohyphenation, loaded.

-------------------------------------------------------------------
bpeng@bp6:/tmp/lyx_tmpdir15067a4mxR4/lyx_tmpbuf0 % cat 0lyxpreview.log
This is TeX, Version 3.14159 (Web2C 7.3.1) (format=latex 2002.8.29)  12 DEC 2002 10:36
**0lyxpreview.tex
(0lyxpreview.tex
LaTeX2e <2000/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, i
talian, nohyphenation, loaded.

(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2000/05/19 v1.4b Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2000/05/19 v1.4b Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/share/texmf/tex/latex/base/fontenc.sty
Package: fontenc 2000/08/30 v1.91 Standard LaTeX package
(/usr/share/texmf/tex/latex/base/t1enc.def
File: t1enc.def 2000/08/30 v1.91 Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 38.
)) (/usr/share/texmf/tex/latex/base/inputenc.sty
Package: inputenc 2000/07/01 v0.996 Input encoding file
(/usr/share/texmf/tex/latex/base/latin1.def
File: latin1.def 2000/07/01 v0.996 Input encoding file
)) (/usr/share/texmf/tex/generic/babel/babel.sty
Package: babel 2001/03/01 v3.7h The Babel package
(/usr/share/texmf/tex/generic/babel/english.ldf
Language: english 2001/02/07 v3.3k English support from the babel system
(/usr/share/texmf/tex/generic/babel/babel.def
File: babel.def 2001/03/01 v3.7h Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)
\l@canadian = a dialect from \language\l@english
))

! LaTeX Error: File `preview.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.22 ^^M

*** (cannot \read from terminal in nonstop modes)


Here is how much of TeX's memory you used:
 707 strings out of 20887
 6912 string characters out of 196241
 55183 words of memory out of 350001
 3705 multiletter control sequences out of 10000+15000
 4403 words of font info for 15 fonts, out of 400000 for 1000
 14 hyphenation exceptions out of 10000
 25i,0n,19p,172b,47s stack positions out of 3000i,100n,1500p,50000b,4000s
No pages of output.
bpeng@bp6:/tmp/lyx_tmpdir15067a4mxR4/lyx_tmpbuf0 %



-- 
Bo Peng

Reply via email to