From a6f6f79eb1b0056a165f589fceb5ded4c247fe0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sun, 26 May 2013 17:55:10 +0200 Subject: [PATCH] A&A support: further updates - mention that the aa class loads natbib to avoid compilation errors - the aa package contains an outdated an customized version of natbib.sty. This file only works with aa, but breaks the compilation of many other files on your system, therefore remove the bibliography and replace it by BibTeX - add a note about the encoding --- lib/examples/aa_sample.lyx | 219 +++++++++---------------------------- lib/layouts/aa.layout | 14 +-- lib/templates/aa.lyx | 27 ++++- 3 files changed, 80 insertions(+), 180 deletions(-) diff --git a/lib/examples/aa_sample.lyx b/lib/examples/aa_sample.lyx index 46ca6edacb..848998d02b 100644 --- a/lib/examples/aa_sample.lyx +++ b/lib/examples/aa_sample.lyx @@ -1,14 +1,9 @@ #LyX 2.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 469 +\lyxformat 472 \begin_document \begin_header \textclass aa -\begin_preamble -\usepackage{graphicx} -% -\end_preamble -\options traditabstract,latin9 -\use_default_options false +\use_default_options true \maintain_unincluded_children false \language english \language_package default @@ -45,7 +40,7 @@ \use_package stmaryrd 0 \use_package undertilde 0 \cite_engine basic -\cite_engine_type numerical +\cite_engine_type default \biblio_style plain \use_bibtopic false \use_indices false @@ -74,11 +69,15 @@ \begin_body -\begin_layout Standard +\begin_layout Title \begin_inset Note Note status open \begin_layout Plain Layout + +\family roman +\series medium +\size normal This is an example LyX file for articles to be submitted to the Journal of Astronomy & Astrophysicssing (A&A). How to install the A&A LaTeX class to your LaTeX system is explained in @@ -94,24 +93,27 @@ http://wiki.lyx.org/Layouts/Astronomy-Astrophysics \end_inset . -\end_layout - +\begin_inset Newline newline \end_inset +Depending on the submission state and the abstract layout, you need to use + different document class options that are listed in the aa manual. +\family default -\end_layout +\begin_inset Newline newline +\end_inset -\begin_layout Standard -\begin_inset Note Note -status open -\begin_layout Plain Layout -Depending on the submission state and the abstract layout, you need to use - different document class options that are listed in the aa manual -\family sans -aadoc.pdf -\family default -. +\family roman +\series default +Note: +\series medium + If you use accented characters in your document, you must use the predefined + document class option +\series default +latin9 +\series medium + in the document settings. \end_layout \end_inset @@ -271,7 +273,7 @@ The university of heaven temporarily does not accept e-mails Received September 15, 1996; accepted March 16, 1997 \end_layout -\begin_layout Abstract +\begin_layout Abstract (unstructured) To investigate the physical nature of the `nuc\SpecialChar \- leated instability' of proto giant planets, the stability of layers in static, radiative gas spheres @@ -367,7 +369,7 @@ nucleated instability Mizuno ( \begin_inset CommandInset citation LatexCommand cite -key "mizuno" +key "Eisenstein2005" \end_inset @@ -395,7 +397,7 @@ Although no hydrodynamical study has been available many workers conjectured is investigated on the basis of Baker's ( \begin_inset CommandInset citation LatexCommand cite -key "baker" +key "Abernethy2003" \end_inset @@ -408,14 +410,14 @@ Phenomena similar to the ones described above for giant planet formation protostellar cores explode (Tscharnuter \begin_inset CommandInset citation LatexCommand cite -key "tscharnuter" +key "Cotton1999" \end_inset , Balluch \begin_inset CommandInset citation LatexCommand cite -key "balluch" +key "Mena2000" \end_inset @@ -490,7 +492,7 @@ Adiabatic exponent In this section the one-zone model of Baker ( \begin_inset CommandInset citation LatexCommand cite -key "baker" +key "Abernethy2003" \end_inset @@ -504,7 +506,7 @@ key "baker" Baker ( \begin_inset CommandInset citation LatexCommand cite -key "baker" +key "Abernethy2003" \end_inset @@ -543,7 +545,7 @@ b, c) in Baker \begin_inset CommandInset citation LatexCommand cite -key "baker" +key "Abernethy2003" \end_inset @@ -700,14 +702,14 @@ stability For a physical discussion of the stability criteria see Baker ( \begin_inset CommandInset citation LatexCommand cite -key "baker" +key "Abernethy2003" \end_inset ) or Cox ( \begin_inset CommandInset citation LatexCommand cite -key "cox" +key "Parkin2005" \end_inset @@ -1150,7 +1152,7 @@ The conditions for the stability of static, radiative layers in gas spheres, as described by Baker's ( \begin_inset CommandInset citation LatexCommand cite -key "baker" +key "Abernethy2003" \end_inset @@ -1202,12 +1204,25 @@ schaft, DFG \end_layout \begin_layout Standard +\begin_inset CommandInset bibtex +LatexCommand bibtex +btprint "btPrintAll" +bibfiles "biblioExample" +options "aa" + +\end_inset + + \begin_inset Note Note status open \begin_layout Plain Layout -You can alternatively use BibTeX. - You must then use the BibTeX style + +\series bold +Note: +\series default + If you cannot see the bibliography in the output, assure that you have + gievn the full path to the BibTeX style file \family sans aa.bst \family default @@ -1219,139 +1234,5 @@ aa.bst \end_layout -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -label "Baker(1966)" -key "baker" - -\end_inset - - Baker, N. - 1966, in Stellar Evolution, ed. -\begin_inset space \space{} -\end_inset - -R. - F. - Stein,& A. - G. - W. - Cameron (Plenum, New York) 333 -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -label "Balluch(1988)" -key "balluch" - -\end_inset - - Balluch, M. - 1988, A&A, 200, 58 -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -label "Cox(1980)" -key "cox" - -\end_inset - - Cox, J. - P. - 1980, Theory of Stellar Pulsation (Princeton University Press, Princeton) - 165 -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -label "Cox(1969)" -key "cox69" - -\end_inset - - Cox, A. - N.,& Stewart, J. - N. - 1969, Academia Nauk, Scientific Information 15, 1 -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -label "Mizuno(1980)" -key "mizuno" - -\end_inset - - Mizuno H. - 1980, Prog. - Theor. - Phys., 64, 544 -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -label "Tscharnuter(1987)" -key "tscharnuter" - -\end_inset - - Tscharnuter W. - M. - 1987, A&A, 188, 55 -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -label "Terlevich(1992)" -key "terlevich" - -\end_inset - - Terlevich, R. - 1992, in ASP Conf. - Ser. - 31, Relationships between Active Galactic Nuclei and Starburst Galaxies, - ed. - A. - V. - Filippenko, 13 -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -label "Yorke(1980a)" -key "yorke80a" - -\end_inset - - Yorke, H. - W. - 1980a, A&A, 86, 286 -\end_layout - -\begin_layout Bibliography -\begin_inset CommandInset bibitem -LatexCommand bibitem -label "Zheng(1997)" -key "zheng" - -\end_inset - -Zheng, W., Davidsen, A. - F., Tytler, D. - & Kriss, G. - A. - 1997, preprint -\end_layout - \end_body \end_document diff --git a/lib/layouts/aa.layout b/lib/layouts/aa.layout index 9d117627ea..22949bc4e5 100644 --- a/lib/layouts/aa.layout +++ b/lib/layouts/aa.layout @@ -27,6 +27,11 @@ PageStyle Plain # Pre-loaded packages Provides inputenc 1 +Provides natbib 1 + +ClassOptions + Other latin9 +End Style Standard Category MainText @@ -57,6 +62,7 @@ NoCounter subparagraph NoStyle Part NoCounter part NoStyle Abstract +NoStyle Bibliography Style Subtitle @@ -342,14 +348,6 @@ Style Keywords End -Style Bibliography - Align Left - LabelFont - Series Bold - EndFont -End - - InsetLayout Flex:Institute LyXType charstyle LatexType command diff --git a/lib/templates/aa.lyx b/lib/templates/aa.lyx index fe55543037..55fe33be42 100644 --- a/lib/templates/aa.lyx +++ b/lib/templates/aa.lyx @@ -1,13 +1,13 @@ #LyX 2.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 471 +\lyxformat 472 \begin_document \begin_header \textclass aa -\use_default_options false +\use_default_options true \maintain_unincluded_children false \language english \language_package default -\inputencoding default +\inputencoding auto \fontencoding global \font_roman default \font_sans default @@ -75,6 +75,7 @@ status open \begin_layout Plain Layout +\family roman \series medium \size normal This is a template LyX file for articles to be submitted to the Journal @@ -97,6 +98,26 @@ http://wiki.lyx.org/Layouts/Astronomy-Astrophysics \end_inset +\begin_inset Note Note +status open + +\begin_layout Plain Layout + +\family roman +\size normal +Note: +\series medium + If you use accented characters in your document, you must use the predefined + document class option +\series default +latin9 +\series medium + in the document settings. +\end_layout + +\end_inset + + \end_layout \begin_layout Title -- 2.39.2