[Pkg-lyx-devel] Bug#269772: lyx: TeX classes missing

Rob Weir rweir at ertius.org
Tue Oct 11 03:02:28 UTC 2005


On Fri, Sep 03, 2004 at 06:07:59AM -0600, Robert E. Riding said
> Package: lyx
> Version: 1.3.4-2
> Severity: grave
> Justification: renders package unusable
> 
> Upon opening most lyx documents, an alert is given:
> 
> The document uses a missing TeX class "article"
> LyX will not be able to produce output
> 
> or perhaps 
> 
> The document uses a missing TeX class "letter"
> LyX will not be able to produce output
> 
> Checking the available classes, article.cls and letter.cls 
> are both listed.

On Tue, Feb 01, 2005 at 11:55:54PM +0100, browaeys.alban at wanadoo.fr said
> Hi
> 
> do you still have the program ?
> If it was your first install of lyx and maybe tetex-bin the
> following may help.
> 
> 
> tetex-bin version 2.0.2-17 change the place where some tex files
> are generated :
> tetex-bin (2.0.2-17) unstable; urgency=high
> 
>   * Corrected bugnumber in the fourth changelog entry of last
>   * version -
>     bug was closed manually [frank].
>   * Move xdvi.cfg to /etc/texmf/ (closes: #234921).
>   * We now use e-TeX (and pdfe-TeX) as our basic engines for
>   * (pdf)LaTeX.
>     See NEWS.Debian for details. Many thanks to Hilmar for this.
>     [frank]
>   * Enable VARTEXMF; updmap now puts the generated map files
>   * there
>     (closes: #213310) [frank].
> 
> VARTEXMF is /var/lib/texmf . it seems previous tex had
> /usr/lib/texmf but it is not in the unofficial tex  policy. As
> lyx look there (/usr/lib) for the texmf.cnf file which is
> required for it to find the tex classes (articles, ...)
> 
> My guess is that only affect new users. tetex-bin does not remove
> those dir if they already exists. Only their contents may not be
> updated. So now that you have installed an old version the
> problem won't happen anymore.
> 
> If so it is a duplicate of:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=279728
> "Use the correct location for web2c/texmf.cnf"
> 
> 
> I fixed the issue by replacing :
>  if [ -e /usr/bin/texconfig ] && fgrep -q TEXMFMAIN
> /usr/lib/texmf/web2c/texmf.cnf; then
> by
>  if [ -e /usr/bin/texconfig ] && fgrep -q TEXMFMAIN
> /etc/texmf/texmf.cnf; then
> in lyx-common postinst.

Can either of you guys reproduce this with 1.3.6-1?  I *think* it's
fixed (#279728 was).

-rob

-- 
Words of the day:    threat South Africa un-Australian enemy of the state India




More information about the Pkg-lyx-devel mailing list