2012-03-01 00:41:30 +00:00
|
|
|
# \DeclareLyXModule[jurabib.sty]{Jurabib}
|
|
|
|
# DescriptionBegin
|
|
|
|
# Loads the LaTeX package jurabib, a citation engine. Jurabib supports annotations,
|
|
|
|
# author-year style citations and hyphenation patterns for bibliography entries in
|
|
|
|
# English, German, French, Dutch, Spanish and Italian.
|
|
|
|
# DescriptionEnd
|
|
|
|
# Excludes: basic | natbib
|
|
|
|
# Category: Citation engine
|
|
|
|
|
|
|
|
# Author: Julien Rioux <jrioux@lyx.org>
|
|
|
|
|
2013-02-21 20:57:59 +00:00
|
|
|
Format 45
|
2012-03-01 00:41:30 +00:00
|
|
|
|
|
|
|
Requires jurabib
|
|
|
|
|
|
|
|
CiteEngineType authoryear
|
|
|
|
DefaultBiblio jurabib
|
|
|
|
|
|
|
|
# FIXME: support for these jurabib styles (fileformat)
|
|
|
|
# citefield []{}
|
|
|
|
# footcite [][]
|
|
|
|
# footcitetitle [][]
|
|
|
|
# footcitet [][]
|
|
|
|
# footcitep [][]
|
|
|
|
# footcitealt [][]
|
|
|
|
# footcitealp [][]
|
|
|
|
# footciteauthor [][]
|
|
|
|
# footciteyear [][]
|
|
|
|
# footciteyearpar [][]
|
|
|
|
# footfullcite [][]
|
|
|
|
|
|
|
|
CiteEngine authoryear
|
|
|
|
# \cite* is not implemented: use \cite instead, it's the same
|
|
|
|
cite [][]
|
|
|
|
citetitle [][]
|
|
|
|
citet [][]
|
|
|
|
citep [][]
|
|
|
|
citealt [][]
|
|
|
|
citealp [][]
|
|
|
|
citeauthor [][]
|
|
|
|
citeyear [][]
|
|
|
|
citeyearpar [][]
|
|
|
|
fullcite [][]
|
|
|
|
nocite
|
|
|
|
End
|
|
|
|
|
|
|
|
CiteFormat authoryear
|
|
|
|
# translatable bits
|
|
|
|
_notcited not cited
|
|
|
|
_addtobib Add to bibliography only.
|
|
|
|
_fullcite bibliography entry
|
|
|
|
_bibentry Bibliography entry.
|
|
|
|
_before before
|
|
|
|
_shorttitle short title
|
|
|
|
|
|
|
|
# macros
|
|
|
|
!open (
|
|
|
|
!sep ;
|
|
|
|
!close )
|
|
|
|
|
2013-03-27 19:46:32 +00:00
|
|
|
!startlink {!<a href='#LyXCite-%clean:key%'>!}
|
2013-01-10 14:24:53 +00:00
|
|
|
!endlink {!</a>!}
|
|
|
|
|
|
|
|
!cite %!startlink%%!shortauthor%%!endlink%%!textbefore2%%!textafter2%%!nextcite%
|
|
|
|
!citetitle %!startlink%%!shortauthor%%!endlink%%!textbefore2%%!shorttitle%%!textafter2%%!nextcitetitle%
|
|
|
|
!citet %!textbefore%%!startlink%%!shortauthor%%!endlink% %!open%%!year%%!textafter%%!close%%!nextcitet%
|
2012-03-01 00:41:30 +00:00
|
|
|
!citep %!open%%!citealp%%!close%
|
2013-01-10 14:24:53 +00:00
|
|
|
!citealt %!textbefore%%!startlink%%!shortauthor% %!year%%!endlink%%!textafter%%!nextcitealt%
|
|
|
|
!citealp %!textbefore%%!startlink%%!shortauthor%, %!year%%!endlink%%!textafter%%!nextcitealp%
|
|
|
|
!citeauthor %!textbefore%%!startlink%%!shortauthor%%!endlink%%!textafter%%!nextauthor%
|
|
|
|
!citeyear %!textbefore%%!startlink%%!year%%!endlink%%!textafter%%!nextyear%
|
|
|
|
!citeyearpar %!textbefore%%!open%%!startlink%%!year%%!endlink%%!close%%!textafter%%!nextyearpar%
|
2013-01-25 22:42:15 +00:00
|
|
|
!fullcite {%textbefore%[[%textbefore% in: ]]}%bibentry%{%textafter%[[ %textafter%]]}%!nextfullcite%
|
2012-03-01 00:41:30 +00:00
|
|
|
|
2013-01-10 14:24:53 +00:00
|
|
|
!nextcite {%next%[[%!sep% %!startlink%%!shortauthor%%!endlink%%!textafter2%%!nextcite%]]}
|
|
|
|
!nextcitetitle {%next%[[%!sep% %!startlink%%!shortauthor%%!endlink%%!shorttitle%%!textafter2%%!nextcitetitle%]]}
|
2012-03-01 00:41:30 +00:00
|
|
|
!nextcitet {%next%[[%!sep% %!citet%]]}
|
|
|
|
!nextcitealt {%next%[[%!sep% %!citealt%]]}
|
|
|
|
!nextcitealp {%next%[[%!sep% %!citealp%]]}
|
|
|
|
!nextauthor {%next%[[%!sep% %!citeauthor%]]}
|
|
|
|
!nextyear {%next%[[%!sep% %!citeyear%]]}
|
|
|
|
!nextyearpar {%next%[[%!sep% %!citeyearpar%]]}
|
2013-01-25 22:42:15 +00:00
|
|
|
!nextfullcite {%next%[[%!sep% %bibentry%{%textafter%[[ %textafter%]]}%!nextfullcite%]]}
|
2012-03-01 00:41:30 +00:00
|
|
|
!nextkey {%next%[[%!sep% %key%%!nextkey%]]}
|
|
|
|
|
|
|
|
!shortauthor {%shortauthor%[[%shortauthor%]][[??]]}
|
|
|
|
!shorttitle {%shorttitle%[[ %shorttitle%]][[{%dialog%[[ <%_shorttitle%>]]}]]}
|
|
|
|
!textbefore {%textbefore%[[%textbefore% ]]}
|
|
|
|
!textbefore2 {%textbefore%[[/%textbefore%]][[{%dialog%[[/<%_before%>]]}]]}
|
|
|
|
!textafter {%textafter%[[, %textafter%]]}
|
|
|
|
!textafter2 {%textafter%[[ %textafter%]]}
|
2013-05-13 18:58:12 +00:00
|
|
|
!year {%year%[[%year%]][[??]]}{%modifier%[[%modifier%]]}
|
2012-03-01 00:41:30 +00:00
|
|
|
|
|
|
|
# cite styles
|
|
|
|
cite %!cite%
|
|
|
|
citetitle %!citetitle%
|
|
|
|
citet %!citet%
|
|
|
|
citep %!citep%
|
|
|
|
citealt %!citealt%
|
|
|
|
citealp %!citealp%
|
|
|
|
citeauthor %!citeauthor%
|
|
|
|
citeyear %!citeyear%
|
|
|
|
citeyearpar %!citeyearpar%
|
2013-01-25 22:42:15 +00:00
|
|
|
fullcite {%dialog%[[%_bibentry%]][[{%label%[[%!fullcite%]][[%key%%!nextkey% (%_fullcite%)]]}]]}
|
2012-03-01 00:41:30 +00:00
|
|
|
nocite {%dialog%[[%_addtobib%]][[%key%%!nextkey% (%_notcited%)]]}
|
|
|
|
End
|