- JASA.lyx, jasatex.layout: JasaTeX internally uses natbib but does not allow to use another command than \cite; add a missing command and a note

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40495 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2011-12-13 23:04:09 +00:00
parent 67af5a5388
commit 5f5a6e777e
2 changed files with 70 additions and 5 deletions

View File

@ -53,7 +53,6 @@ NoStyle Chapter
NoCounter chapter
NoStyle Chapter*
Provides natbib 1
Style Title
Margin Static
@ -234,6 +233,28 @@ Style Acknowledgments
End
InsetLayout "Flex:Online citation"
LyxType custom
LatexType command
LatexName onlinecite
LabelString "Online citation"
Font
Color foreground
Size Small
Family Roman
Shape Up
Series Medium
Misc No_Emph
Misc No_Noun
Misc No_Bar
EndFont
LabelFont
Color green
Size Small
EndFont
End
Style Bibliography
Margin First_Dynamic
LatexType Bib_Environment

View File

@ -34,7 +34,7 @@
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine natbib_authoryear
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
@ -76,6 +76,28 @@ nopreprint
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
\series bold
Note
\series default
: Using the citation style
\family sans
Natbib
\family default
in the document settings would lead to LaTeX errors, because JasaTeX uses
its own natbib mechanism.
\end_layout
\end_inset
\end_layout
\begin_layout Preprint number
@ -278,6 +300,28 @@ key "Parkin2005,LComp2004"
\end_inset
.
\begin_inset Newline newline
\end_inset
For larger citation numbers use the style
\family sans
Online citation
\family default
:
\begin_inset Newline newline
\end_inset
Bla bla, as listed in
\begin_inset Flex Online citation
status open
\begin_layout Plain Layout
Parkin2005, LComp2004
\end_layout
\end_inset
.
\end_layout
@ -355,7 +399,7 @@ Appendix, only when needed, inserted behind the acknowledgments but before
the bibliography.
\end_layout
\begin_layout Section*
\begin_layout Standard
-----------------
\end_layout
@ -383,14 +427,14 @@ jasanum
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "../examples/biblioExample"
options "bibtotoc,jasaauthyear"
options "jasaauthyear"
\end_inset
\end_layout
\begin_layout Section*
\begin_layout Standard
---------------------
\end_layout