[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    Re: RevTeX
From:       Serge Winitzki <S.Winitzki () damtp ! cam ! ac ! uk>
Date:       1999-08-30 18:16:30
[Download RAW message or body]

> Forwarding this to the list since I'm over my head here. Has anyone else
> gotten these problems with the LyX revtex.cls (from the command line)? Or
> does anyone (welcome back, Jean-Marc!) know what would cause it? (Serge, it
> might help if you reminded us what your tex distribution is. But it might

OK, here is the technical information. I was using the TeX installed at
our department, under Linux. Here is the normal reaction of TeX to a
Lyx-produced revTeX file: 

--- start of listing

> latex corr_paper
This is TeX, Version 3.1415 (C version 6.1)
(corr_paper.tex
LaTeX2e <1996/06/01>
(/opt/tex/lib/texmf/latex2e19960603/fixes/revtex.cls
(/opt/tex/lib/texmf/tex/fromOLD/revtex.sty
Filename: revtex.sty, v3.0 <27 October 92>
(/opt/tex/lib/texmf/tex/fromOLD/aps.sty
Filename: aps.sty, v3.0 <28 October 1992>
REVTeX message: NFSS detected! Assuming NFSS.
(/opt/tex/lib/texmf/tex/fromOLD/aps12.sty
Filename: aps12.sty, v3.0 <2 October 1992>

! LaTeX Error: The font size command \normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.86 \normalsize
                
? x
No pages of output.
Transcript written on corr_paper.log.
>

--- end of listing

So the suggestion was that I add the tex inputs directory of LyX to the
environment. I have LyX installed in my home directory (i.e. I
configured --with-prefix=$HOME). Here are the results: 

--- start of listing

>setenv TEXINPUTS .:~/share/lyx/tex:/opt/tex/lib/texmf//
>latex corr_paper
This is TeX, Version 3.1415 (C version 6.1)
(corr_paper.tex
LaTeX2e <1996/06/01>
(/home/lorien/sw256/share/lyx/tex/revtex.cls
Marc's revtex class file
Document Class: revtex 
(/opt/tex/lib/texmf/latex2e/base/latex209.def
Entering LaTeX 2.09 compatibility mode.
(/opt/tex/lib/texmf/latex209/nfss/tracefnt.sty
Style Option: `tracefnt' v1.0r <90/08/27> (FMi and RmS)
English Documentation          <90/04/05> (FMi and RmS)
Includes module(s): trace 
)

! LaTeX Error: Unknown option `errorshow' for package `tracefnt'.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.173 \DeclareSymbolFont
                        {bold}{OT1}{cmr}{bx}{n}
?     
(/opt/tex/lib/texmf/latex2e/base/latexsym.sty)
! Undefined control sequence.
extract@fontinfo ... instead}else default@errfont 
                                                  errmessage {Font
expandaft...
l.259 \selectfont
                 
? 
! Missing { inserted.
<to be read again> 
                   errmessage 
l.259 \selectfont
                 
? 
)
Runaway text?
errmessage {Font expandafter string font@name space not found}fi ifnum
ETC.
! File ended while scanning text of errhelp.
<inserted text> 
                }
l.16 \if@compatibility\else\input{latex209.def}
                                               \fi
? 
(/opt/tex/lib/texmf/tex/fromOLD/revtex.sty
(/opt/tex/lib/texmf/tex/fromOLD/aps.sty
(/opt/tex/lib/texmf/tex/fromOLD/aps10.sty)
(/opt/tex/lib/texmf/tex/fromOLD/prabib.sty))))
! Undefined control sequence.
extract@fontinfo ... instead}else default@errfont 
                                                  errhelp nofont@help
errmes...
l.26 \maketitle
               
? x
No pages of output.
Transcript written on corr_paper.log.
>

--- end of listing

I hope this helps.

Best regards,

-----
	Serge


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic