[Pkg-lyx-devel] Bug#575959: lyx-common: revtex4 lyx template no longer works

Matthew Foulkes m.foulkes at blueyonder.co.uk
Tue Mar 30 19:26:21 UTC 2010


Package: lyx-common
Version: 1.6.5-1
Severity: normal
Tags: patch


The version of revtex that comes with Debian squeeze/testing
texlive-publishers package is now 4-1, so the revtex4 template provided
by lyx-common no longer works. Trying to create a new document using
the revtex4 template produces the error message

  The layout file requested by this document, revtex4.layout, is not
  usable. This is probably because a LaTeX class or style file
  required by it is not available. See the Customization documentation
  for more information. LyX will not be able to produce output.

It is possible to fix the problem by:

 (i) renaming /usr/share/lyx/layouts/revtex4.layout to
     /usr/share/lyx/layouts/revtex4-1.layout and changing 
     the line

      \DeclareLaTeXClass{article (REVTeX 4)}

      to

      \DeclareLaTeXClass{article (REVTeX 4-1)}

(ii) renaming /usr/share/lyx/templates/revtex4.lyx to
     /usr/share/lyx/templates/revtex4-1.lyx and changing 
     the line

     \textclass revtex4

     to

     \textclass revtex4-1

This was a trial and error solution and may not be the right way to
do it, but it worked for me.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lyx-common depends on:
ii  dpkg                          1.15.5.6   Debian package management system
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-support                1.0.7      automated rebuilding support for P
ii  tex-common                    2.07       common infrastructure for building

Versions of packages lyx-common recommends:
ii  lyx                           1.6.5-1    Document Processor

lyx-common suggests no packages.

-- no debconf information






More information about the Pkg-lyx-devel mailing list