Hi LyX developers,
LyX 2.0 now has a new mechanism for relaying layout dependencies to the
user, such as the class filename. Most LaTeX classes also rely on
certain packages to be installed. It could be argued that this
information should be provided to LyX in the layout files. This patch
address this.
Cheers,
Julien
Index: lib/layouts/llncs.layout
===================================================================
--- lib/layouts/llncs.layout (revision 35036)
+++ lib/layouts/llncs.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{article (Springer LNCS)}
+# \DeclareLaTeXClass[llncs,article,aliascnt.sty,multicol.sty]{article
(Springer LNCS)}
# llncs (article) textclass definition file.
# --------
#
Index: lib/layouts/achemso.layout
===================================================================
--- lib/layouts/achemso.layout (revision 35036)
+++ lib/layouts/achemso.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[achemso]{article (ACS)}
+#
\DeclareLaTeXClass[achemso,article,caption.sty,courier.sty,cleveref.sty,float.sty,fontenc.sty,geometry.sty,helvet.sty,mathptmx.sty,natbib.sty,natmove.sty,setspace.sty,url.sty,xkeyval.sty]{article
(ACS)}
# achemso textclass definition file.
# Author: Uwe Stöhr (uwesto...@web.de)
Index: lib/layouts/elsarticle.layout
===================================================================
--- lib/layouts/elsarticle.layout (revision 35036)
+++ lib/layouts/elsarticle.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[elsarticle]{article (Elsevier)}
+#
\DeclareLaTeXClass[elsarticle,article,geometry.sty,natbib.sty,pifont.sty]{article
(Elsevier)}
# elsarticle textclass definition file.
# Author: Uwe Stöhr (uwesto...@web.de)
Index: lib/layouts/tufte-handout.layout
===================================================================
--- lib/layouts/tufte-handout.layout (revision 35036)
+++ lib/layouts/tufte-handout.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[tufte-handout]{handout (Tufte)}
+#
\DeclareLaTeXClass[tufte-handout,article,bibentry.sty,fancyhdr.sty,geometry.sty,multicol.sty,natbib.sty,optparams.sty,paralist.sty,placeins.sty,ragged2e.sty,setspace.sty,textcase.sty,titlesec.sty,titletoc.sty,xcolor.sty,xifthen.sty,xkeyval.sty]{handout
(Tufte)}
# tufte-handout textclass definition file.
# Juergen Spitzmueller <juer...@spitzmueller.org>, 2008/10/22
# Modified by Uwe Stöhr <uwesto...@web.de>, 2009/11/15
Index: lib/layouts/scrbook.layout
===================================================================
--- lib/layouts/scrbook.layout (revision 35036)
+++ lib/layouts/scrbook.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[scrbook]{book (KOMA-Script)}
+# \DeclareLaTeXClass[scrbook,scrbase.sty,typearea.sty]{book (KOMA-Script)}
# KOMA scrbook textclass definition file.
# Bernd Rellermeyer <100.41...@germanynet.de>, 1998/7/11.
Index: lib/layouts/ijmpd.layout
===================================================================
--- lib/layouts/ijmpd.layout (revision 35036)
+++ lib/layouts/ijmpd.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[ws-ijmpd]{article (IJMPD)}
+# \DeclareLaTeXClass[ws-ijmpd,amsmath.sty,amssymb.sty,rotating.sty]{article
(IJMPD)}
#
# Textclass definition file for ws-ijmpd.cls
# For publications in the International Journal of Modern Physics D
Index: lib/layouts/scrreprt.layout
===================================================================
--- lib/layouts/scrreprt.layout (revision 35036)
+++ lib/layouts/scrreprt.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[scrreprt]{report (KOMA-Script)}
+# \DeclareLaTeXClass[scrreprt,scrbase.sty,typearea.sty]{report (KOMA-Script)}
# KOMA scrreprt textclass definition file.
# Bernd Rellermeyer <100.41...@germanynet.de>, 1998/7/11.
Index: lib/layouts/g-brief.layout
===================================================================
--- lib/layouts/g-brief.layout (revision 35036)
+++ lib/layouts/g-brief.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[g-brief]{letter (g-brief)}
+# \DeclareLaTeXClass[g-brief,letter,babel.sty]{letter (g-brief)}
# Letter textclass definition file.
# Author : Thomas Hartkens <tho...@hartkens.de>
Index: lib/layouts/scrlttr2.layout
===================================================================
--- lib/layouts/scrlttr2.layout (revision 35036)
+++ lib/layouts/scrlttr2.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[scrlttr2]{letter (KOMA-Script v.2)}
+# \DeclareLaTeXClass[scrlttr2,scrbase.sty,typearea.sty]{letter (KOMA-Script
v.2)}
# KOMA scrlettr2 textclass definition file.
# Juergen Spitzmueller <j.spitzmuel...@gmx.de>, 2003/2/17.
# Uwe Stöhr <uwesto...@web.de>, 2008/2/03.
Index: lib/layouts/hollywood.layout
===================================================================
--- lib/layouts/hollywood.layout (revision 35036)
+++ lib/layouts/hollywood.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[hollywood]{hollywood}
+# \DeclareLaTeXClass[hollywood,calc.sty,fancyhdr.sty,ulem.sty]{hollywood}
# This layout follows the current Hollywood standard for movie scripts
#
# Font Courier 12 pts
Index: lib/layouts/scrarticle-beamer.layout
===================================================================
--- lib/layouts/scrarticle-beamer.layout (revision 35036)
+++ lib/layouts/scrarticle-beamer.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[scrartcl]{article (koma + beamer)}
+#
\DeclareLaTeXClass[scrartcl,beamerarticle.sty,keyval.sty,pgf.sty,scrbase.sty,typearea.sty]{article
(koma + beamer)}
# Author : Jürgen Spitzmüller <j.spitzmuel...@gmx.de>
Format 27
Index: lib/layouts/cl2emult.layout
===================================================================
--- lib/layouts/cl2emult.layout (revision 35036)
+++ lib/layouts/cl2emult.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{article (Springer cl2emult)}
+# \DeclareLaTeXClass[cl2emult,article,multicol.sty]{article (Springer
cl2emult)}
# Springer's cl2emult textclass definition file.
# Author : André Poenitz
Index: lib/layouts/svjog.layout
===================================================================
--- lib/layouts/svjog.layout (revision 35036)
+++ lib/layouts/svjog.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[svjour,svjog.clo]{article (Springer svjour/jog)}
+# \DeclareLaTeXClass[svjour,svjog.clo,natbib.sty]{article (Springer
svjour/jog)}
# svjour/jog (article) textclass definition file.
# for Springer Verlag Journal of Geodesy.
# --------
Index: lib/layouts/jss.layout
===================================================================
--- lib/layouts/jss.layout (revision 35036)
+++ lib/layouts/jss.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[jss]{article (Journal of Statistical Software)}
+#
\DeclareLaTeXClass[jss,article,a4wide.sty,ae.sty,color.sty,fancyvrb.sty,hyperref.sty,natbib.sty]{article
(Journal of Statistical Software)}
# Journal of Statistical Software (JSS) article textclass definition file
# Author: Andreas Karlsson <andreas.karls...@ltv.se>
# License: GNU GPL version 2 or later
Index: lib/layouts/apa.layout
===================================================================
--- lib/layouts/apa.layout (revision 35036)
+++ lib/layouts/apa.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[apa,apacite.sty]{article (APA)}
+#
\DeclareLaTeXClass[apa,article,apacite.sty,endfloat.sty,endnotes.sty]{article
(APA)}
# Author: Randy Gobbel <gob...@andrew.cmu.edu>
Format 27
Index: lib/layouts/ijmpc.layout
===================================================================
--- lib/layouts/ijmpc.layout (revision 35036)
+++ lib/layouts/ijmpc.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[ws-ijmpc]{article (IJMPC)}
+# \DeclareLaTeXClass[ws-ijmpc,amsmath.sty,amssymb.sty,rotating.sty]{article
(IJMPC)}
#
# Textclass definition file for ws-ijmpc.cls
# For publications in the International Journal of Modern Physics C
Index: lib/layouts/sigplanconf.layout
===================================================================
--- lib/layouts/sigplanconf.layout (revision 35036)
+++ lib/layouts/sigplanconf.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete he line below; configure depends on this
-# \DeclareLaTeXClass[sigplanconf]{article (ACM SIGPLAN)}
+# \DeclareLaTeXClass[sigplanconf,article,natbib.sty]{article (ACM SIGPLAN)}
# ACM SIGPLAN sigplanconf textclass definition file.
# Author : Uwe Stöhr
#
Index: lib/layouts/recipebook.layout
===================================================================
--- lib/layouts/recipebook.layout (revision 35036)
+++ lib/layouts/recipebook.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[scrbook]{book (recipes)}
+# \DeclareLaTeXClass[scrbook,scrbase.sty,typearea.sty]{book (recipes)}
# Recipe textclass definition file.
# Author: Sandor Szoke (a...@lyx.hu)
#
Index: lib/layouts/iopart.layout
===================================================================
--- lib/layouts/iopart.layout (revision 35036)
+++ lib/layouts/iopart.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[iopart]{article (IOP)}
+#
\DeclareLaTeXClass[iopart,amsmath.sty,amssymb.sty,iopams.sty,setstack.sty]{article
(IOP)}
# IOP article textclass definition file.
# Author: Uwe Stöhr (uwesto...@web.de)
Index: lib/layouts/doublecol-new.layout
===================================================================
--- lib/layouts/doublecol-new.layout (revision 35036)
+++ lib/layouts/doublecol-new.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[doublecol-new, natbib.sty]{article (Inderscience A4
journals)}
+#
\DeclareLaTeXClass[doublecol-new,amsmath.sty,amssymb.sty,bm.sty,calc.sty,color.sty,dcolumn.sty,endnotes.sty,epsf.sty,lastpage.sty,latexsym.sty,leqno.sty,theorem.sty]{article
(Inderscience A4 journals)}
# Layout file for journals with double columns published by Inderscience
# Publishers Ltd.
# TeX templates are found at http://www.inderscience.com/mapper.php?id=64
Index: lib/layouts/scrartcl.layout
===================================================================
--- lib/layouts/scrartcl.layout (revision 35036)
+++ lib/layouts/scrartcl.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[scrartcl]{article (KOMA-Script)}
+# \DeclareLaTeXClass[scrartcl,scrbase.sty,typearea.sty]{article (KOMA-Script)}
# KOMA scrartcl textclass definition file.
# Bernd Rellermeyer <100.41...@germanynet.de>, 1998/7/11.
Index: lib/layouts/dtk.layout
===================================================================
--- lib/layouts/dtk.layout (revision 35036)
+++ lib/layouts/dtk.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[dtk]{article (Die TeXnische Komoedie)}
+#
\DeclareLaTeXClass[dtk,book,dtklogos.sty,filecontents.sty,fontenc.sty,multicol.sty,ragged2e.sty,textcomp.sty,url.sty]{article
(Die TeXnische Komoedie)}
# This is the definition file for
# Die TeXnische Komoedie (dtk),
# the journal of the German TeX User Group http://www.dante.de.
Index: lib/layouts/chess.layout
===================================================================
--- lib/layouts/chess.layout (revision 35036)
+++ lib/layouts/chess.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[article,lyxskak.sty]{article (Chess)}
+# \DeclareLaTeXClass[article,calc.sty,lambda.sty,lyxskak.sty]{article (Chess)}
# chess article textclass definition file.
# This layout file was designed to allow easy access to all
Index: lib/layouts/tarticle.layout
===================================================================
--- lib/layouts/tarticle.layout (revision 35036)
+++ lib/layouts/tarticle.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{article (Japanese in vertical writing)}
+# \DeclareLaTeXClass[tarticle,plext.sty]{article (Japanese in vertical
writing)}
# Definition file of Japanese article textclass for vertical writing.
# Author : Koji Yokota (yok...@res.otaru-uc.ac.jp)
Index: lib/layouts/agums.layout
===================================================================
--- lib/layouts/agums.layout (revision 35036)
+++ lib/layouts/agums.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[aguplus,agums.sty]{article (AGU++ manuscript)}
+# \DeclareLaTeXClass[aguplus,article,agums.sty]{article (AGU++ manuscript)}
# AGUplus manuscript textclass definition file.
# Author: Martin Vermeer <martin.verm...@hut.fi>
Index: lib/layouts/revtex.layout
===================================================================
--- lib/layouts/revtex.layout (revision 35036)
+++ lib/layouts/revtex.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{article (REVTeX)}
+# \DeclareLaTeXClass[revtex,revtex.sty]{article (REVTeX)}
# RevTeX textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
Index: lib/layouts/egs.layout
===================================================================
--- lib/layouts/egs.layout (revision 35036)
+++ lib/layouts/egs.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{article (European Geophysical Society)}
+# \DeclareLaTeXClass[egs,article]{article (European Geophysical Society)}
# egs (article) textclass definition file for LyX.
# Get egs.cls from EGS website under www.copernicus.org
# Author : Matthias Ettrich <ettr...@informatik.uni-tuebingen.de>
Index: lib/layouts/jreport.layout
===================================================================
--- lib/layouts/jreport.layout (revision 35036)
+++ lib/layouts/jreport.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{report (Japanese)}
+# \DeclareLaTeXClass[jreport,j-report]{report (Japanese)}
# Japanese report textclass definition file.
# Author : Koji Yokota (yok...@res.otaru-uc.ac.jp)
Index: lib/layouts/g-brief2.layout
===================================================================
--- lib/layouts/g-brief2.layout (revision 35036)
+++ lib/layouts/g-brief2.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[g-brief2]{letter (g-brief2)}
+# \DeclareLaTeXClass[g-brief2,letter,babel.sty]{letter (g-brief2)}
# Letter textclass definition file.
# Author : Felix Kurth <l...@fkurth.de> based on work from
Index: lib/layouts/singlecol-new.layout
===================================================================
--- lib/layouts/singlecol-new.layout (revision 35036)
+++ lib/layouts/singlecol-new.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[singlecol-new, natbib.sty]{article (Inderscience 9.5 x
6.5 journals)}
+#
\DeclareLaTeXClass[singlecol-new,amsmath.sty,amssymb.sty,bm.sty,calc.sty,color.sty,dcolumn.sty,endnotes.sty,epsf.sty,lastpage.sty,latexsym.sty,leqno.sty,theorem.sty]{article
(Inderscience 9.5 x 6.5 journals)}
# Layout file for journals with single column published by Inderscience
# Publishers Ltd.
# TeX templates are found at http://www.inderscience.com/mapper.php?id=64
Index: lib/layouts/entcs.layout
===================================================================
--- lib/layouts/entcs.layout (revision 35036)
+++ lib/layouts/entcs.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{article (ENTCS)}
+#
\DeclareLaTeXClass[entcs,amssymb.sty,entcsmacro.sty,hyperref.sty,ifpdf.sty,latexsym.sty,leqno.clo,newlfont.sty]{article
(ENTCS)}
# Based on LyX article class; modified to support ENTCS class
# Reuben Thomas (r...@sc3d.org) 27/5-2/6/01
Index: lib/layouts/tbook.layout
===================================================================
--- lib/layouts/tbook.layout (revision 35036)
+++ lib/layouts/tbook.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{book (Japanese in vertical writing)}
+# \DeclareLaTeXClass[tbook,plext.sty]{book (Japanese in vertical writing)}
# Definition file of Japanese book textclass for vertical writing.
# Author : Koji Yokota (yok...@res.otaru-uc.ac.jp)
Index: lib/layouts/svmono.layout
===================================================================
--- lib/layouts/svmono.layout (revision 35036)
+++ lib/layouts/svmono.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[svmono]{book (Springer svmono)}
+# \DeclareLaTeXClass[svmono,article,natbib.sty]{book (Springer svmono)}
# Author: Koji Yokota <yok...@res.otaru-uc.ac.jp>
#
# Class and style files and templates are found at:
Index: lib/layouts/simplecv.layout
===================================================================
--- lib/layouts/simplecv.layout (revision 35036)
+++ lib/layouts/simplecv.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{curriculum vitae (simple)}
+# \DeclareLaTeXClass[simplecv,article]{curriculum vitae (simple)}
# Simple CV textclass definition file.
# Author : Jean-Marc Lasgouttes (jean-marc.lasgout...@inria.fr)
Index: lib/layouts/aastex.layout
===================================================================
--- lib/layouts/aastex.layout (revision 35036)
+++ lib/layouts/aastex.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[aastex]{article (AASTeX)}
+#
\DeclareLaTeXClass[aastex,article,amssymb.sty,latexsym.sty,natbib.sty,verbatim.sty]{article
(AASTeX)}
#
# Author: Mike Ressler <mike.ress...@alum.mit.edu>
# Author: Uwe Stöhr <uwesto...@web.de>
Index: lib/layouts/acmsiggraph.layout
===================================================================
--- lib/layouts/acmsiggraph.layout (revision 35036)
+++ lib/layouts/acmsiggraph.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete he line below; configure depends on this
-# \DeclareLaTeXClass[acmsiggraph]{article (ACM SIGGRAPH)}
+# \DeclareLaTeXClass[acmsiggraph,article,lineno.sty]{article (ACM SIGGRAPH)}
# ACM SIGGRAPH acmsiggraph textclass definition file.
# Author : Uwe Stöhr
#
Index: lib/layouts/jgrga.layout
===================================================================
--- lib/layouts/jgrga.layout (revision 35036)
+++ lib/layouts/jgrga.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[aguplus,jgrga.sty]{article (AGU++ JGR)}
+# \DeclareLaTeXClass[aguplus,article,jgrga.sty]{article (AGU++ JGR)}
# AGUplus JGR textclass definition file.
# Author: Martin Vermeer <martin.verm...@hut.fi>
Index: lib/layouts/powerdot.layout
===================================================================
--- lib/layouts/powerdot.layout (revision 35036)
+++ lib/layouts/powerdot.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-#
\DeclareLaTeXClass[powerdot,enumitem.sty,pstricks.sty,xkeyval.sty]{presentation
(powerdot)}
+#
\DeclareLaTeXClass[powerdot,article,enumitem.sty,geometry.sty,hyperref.sty,pstricks.sty,verbatim.sty,xcolor.sty,xkeyval.sty]{presentation
(powerdot)}
# PowerDot textclass definition file.
# Created: 29-Aug-05 by Mael Hilléreau
# Last modified: 20-May-06 by Uwe Stöhr
Index: lib/layouts/broadway.layout
===================================================================
--- lib/layouts/broadway.layout (revision 35036)
+++ lib/layouts/broadway.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[broadway]{broadway}
+#
\DeclareLaTeXClass[broadway,extramarks.sty,fancyhdr.sty,lastpage.sty]{broadway}
# For theater plays
Index: lib/layouts/article-beamer.layout
===================================================================
--- lib/layouts/article-beamer.layout (revision 35036)
+++ lib/layouts/article-beamer.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[article]{article (beamer)}
+# \DeclareLaTeXClass[article,beamerarticle.sty,keyval.sty,pgf.sty]{article
(beamer)}
# Author: Jürgen Spitzmüller <j.spitzmuel...@gmx.de>
Format 27
Index: lib/layouts/tufte-book.layout
===================================================================
--- lib/layouts/tufte-book.layout (revision 35036)
+++ lib/layouts/tufte-book.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[tufte-book]{book (Tufte)}
+#
\DeclareLaTeXClass[tufte-book,book,bibentry.sty,fancyhdr.sty,geometry.sty,multicol.sty,natbib.sty,optparams.sty,paralist.sty,placeins.sty,ragged2e.sty,setspace.sty,textcase.sty,titlesec.sty,titletoc.sty,xcolor.sty,xifthen.sty,xkeyval.sty]{book
(Tufte)}
# tufte-book textclass definition file.
# Jason Waskiewicz <jason.waskiew...@sendit.nodak.edu>, 2009/10/18
# Modified by Uwe Stöhr <uwesto...@web.de>, 2009/11/15
Index: lib/layouts/arab-article.layout
===================================================================
--- lib/layouts/arab-article.layout (revision 35036)
+++ lib/layouts/arab-article.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[arabart]{article (Arabic)}
+#
\DeclareLaTeXClass[arabart,arabrep,report,altxext.sty,arabext.sty,arabtex.sty]{article
(Arabic)}
# Arabic article textclass definition file.
# Author: Dekel Tsur <de...@math.tau.ac.il>
Index: lib/layouts/AEA.layout
===================================================================
--- lib/layouts/AEA.layout (revision 35036)
+++ lib/layouts/AEA.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{article (American Economic Association)}
+#
\DeclareLaTeXClass[AEA,amsmath.sty,harvard.sty,multicol.sty,setspace.sty]{article
(American Economic Association)}
# Author : Koji Yokota <yok...@res.otaru-uc.ac.jp>
Format 11
Index: lib/layouts/europecv.layout
===================================================================
--- lib/layouts/europecv.layout (revision 35036)
+++ lib/layouts/europecv.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{curriculum vitae (Europe)}
+#
\DeclareLaTeXClass[europecv,article,array.sty,fancyhdr.sty,longtable.sty,ucs.sty]{curriculum
vitae (Europe)}
# europe CV textclass definition file.
# Author : Uwe Stöhr (uwesto...@web.de)
Index: lib/layouts/svmult.layout
===================================================================
--- lib/layouts/svmult.layout (revision 35036)
+++ lib/layouts/svmult.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[svmult]{book (Springer svmult)}
+# \DeclareLaTeXClass[svmult,article,natbib.sty]{book (Springer svmult)}
# Author: Koji Yokota <yok...@res.otaru-uc.ac.jp>
#
# Class and style files and templates are found at:
Index: lib/layouts/treport.layout
===================================================================
--- lib/layouts/treport.layout (revision 35036)
+++ lib/layouts/treport.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{report (Japanese in vertical writing)}
+# \DeclareLaTeXClass[treport,plext.sty{report (Japanese in vertical writing)}
# Definition file of Japanese report textclass for vertical writing.
# Author : Koji Yokota (yok...@res.otaru-uc.ac.jp)
Index: lib/layouts/spie.layout
===================================================================
--- lib/layouts/spie.layout (revision 35036)
+++ lib/layouts/spie.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[spie]{article (SPIE Proceedings)}
+# \DeclareLaTeXClass[spie,article,cite.sty]{article (SPIE Proceedings)}
# SPIE-Article textclass definition file.
# Author : Guenter Milde <g.mi...@physik.tu-dresden.de>
# to be used with the spie.cls LaTex-style available at
Index: lib/layouts/jbook.layout
===================================================================
--- lib/layouts/jbook.layout (revision 35036)
+++ lib/layouts/jbook.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{book (Japanese)}
+# \DeclareLaTeXClass[jbook,j-book]{book (Japanese)}
# Japanese book textclass definition file.
# Author : Koji Yokota (yok...@res.otaru-uc.ac.jp)
Index: lib/layouts/moderncv.layout
===================================================================
--- lib/layouts/moderncv.layout (revision 35036)
+++ lib/layouts/moderncv.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{curriculum vitae (modern)}
+#
\DeclareLaTeXClass[moderncv,color.sty,fancyhdr.sty,hyperref.sty,ifpdf.sty,marvosym.sty,url.sty]{curriculum
vitae (modern)}
# modern CV textclass definition file.
# Author : Uwe Stöhr (uwesto...@web.de)
Index: lib/layouts/heb-article.layout
===================================================================
--- lib/layouts/heb-article.layout (revision 35036)
+++ lib/layouts/heb-article.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[article]{article (Hebrew)}
+# \DeclareLaTeXClass[article,theorem.sty]{article (Hebrew)}
# Hebrew article textclass definition file.
# Author: Dekel Tsur <de...@math.tau.ac.il>
# Few changes by Baruch Even <baruch.e...@writeme.com>
Index: lib/layouts/ltugboat.layout
===================================================================
--- lib/layouts/ltugboat.layout (revision 35036)
+++ lib/layouts/ltugboat.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[ltugboat]{article (TUGboat)}
+# \DeclareLaTeXClass[ltugboat,article]{article (TUGboat)}
# The tugboat journal (TUGboat) textclass definition file.
# Journal of the TeX User Group http://www.tug.org
# Author : Herbert Voss <v...@perce.de> 2001/08/13
Index: lib/layouts/elsart.layout
===================================================================
--- lib/layouts/elsart.layout (revision 35036)
+++ lib/layouts/elsart.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[elsart,amssymb.sty]{article (Elsevier, obsolete version)}
+# \DeclareLaTeXClass[elsart,amssymb.sty,latexsym.sty]{article (Elsevier,
obsolete version)}
# Author: Rod Pinna <rpi...@civil.uwa.edu.au>
# The Elsevier doc style also duplicates the theorem
# environments used by the AMS. The definitions here have been
Index: lib/layouts/beamer.layout
===================================================================
--- lib/layouts/beamer.layout (revision 35036)
+++ lib/layouts/beamer.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[beamer,pgf.sty,xcolor.sty]{presentation (beamer)}
+#
\DeclareLaTeXClass[beamer,amssymb.sty,geometry.sty,hyperref.sty,pgf.sty,xcolor.sty,xxcolor.sty]{presentation
(beamer)}
# Author : Till Tantau <tan...@users.sourceforge.net>
# $Header: /cvsroot/latex-beamer/latex-beamer/lyx/layouts/beamer.layout,v 1.16
2004/10/07 20:53:07 tantau Exp $
Index: lib/layouts/svglobal3.layout
===================================================================
--- lib/layouts/svglobal3.layout (revision 35036)
+++ lib/layouts/svglobal3.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[svjour3,svglov3.clo]{article (Springer svjour3/global)}
+# \DeclareLaTeXClass[svjour3,svglov3.clo,natbib.sty]{article (Springer
svjour3/global)}
# svjour3/global (article) textclass definition file.
# for various Springer Verlag Journals for which no specific file exists
(Global).
# --------
Index: lib/layouts/jarticle.layout
===================================================================
--- lib/layouts/jarticle.layout (revision 35036)
+++ lib/layouts/jarticle.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{article (Japanese)}
+# \DeclareLaTeXClass[jarticle,j-article]{article (Japanese)}
# Japanese article textclass definition file.
# Author : Koji Yokota (yok...@res.otaru-uc.ac.jp)
Index: lib/layouts/seminar.layout
===================================================================
--- lib/layouts/seminar.layout (revision 35036)
+++ lib/layouts/seminar.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{transparencies (seminar)}
+# \DeclareLaTeXClass[seminar,article,sem-page.sty]{transparencies (seminar)}
# Versions:
# 1.0 Initial attemt at makeing a LyX layout file for the seminar class.
# Author : Lars Gullik Bjønnes <lar...@lyx.org>
Index: lib/layouts/isprs.layout
===================================================================
--- lib/layouts/isprs.layout (revision 35036)
+++ lib/layouts/isprs.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{article (Int. Soc. for Photogrammetry etc)}
+# \DeclareLaTeXClass[isprs,article,epsfig.sty,times.sty]{article (Int. Soc.
for Photogrammetry etc)}
# Find the class file at, e.g.,
# http://www.photogrammetry.ethz.ch/tarasp_workshop/isprs.cls
# Article textclass definition file. Taken from initial LyX source code
Index: lib/layouts/revtex4.layout
===================================================================
--- lib/layouts/revtex4.layout (revision 35036)
+++ lib/layouts/revtex4.layout (working copy)
@@ -1,5 +1,5 @@
#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass{article (REVTeX 4)}
+# \DeclareLaTeXClass[revtex4,natbib.sty,revsymb.sty,url.sty]{article (REVTeX
4)}
# RevTeX 4 textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample