mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-03 06:13:01 +00:00
eba2f0479e
This entails a change of getAbbrAuthor to getAuthorList (the default is still abbreviated with respect to MaxCiteItems, but the list can be, at explicit request, shortened or full notwithstanding MaxCiteItems.
85 lines
2.0 KiB
Plaintext
85 lines
2.0 KiB
Plaintext
# \DeclareLyXCiteEngine{Basic (BibTeX)}
|
|
# DescriptionBegin
|
|
# The basic citation capabilities provided by BibTeX.
|
|
# Mainly simple numeric styles primarily suitable for science and maths.
|
|
# DescriptionEnd
|
|
# Excludes: jurabib | natbib | biblatex
|
|
|
|
# Author: Julien Rioux <jrioux@lyx.org>
|
|
|
|
Format 63
|
|
|
|
# The framework (biblatex|bibtex)
|
|
CiteFramework bibtex
|
|
|
|
# Cite style variants (default|authoryear|natbib)
|
|
# We provide only default citations
|
|
CiteEngineType default
|
|
|
|
# Default style file
|
|
DefaultBiblio plain
|
|
|
|
#
|
|
# CITE COMMAND DEFINITIONS for either engine type
|
|
#
|
|
# (cf. natbib.citeengine for a decription of the syntax)
|
|
|
|
CiteEngine default
|
|
cite[]
|
|
nocite
|
|
End
|
|
|
|
|
|
#
|
|
# CITE FORMAT
|
|
#
|
|
|
|
# The following defines how the commands are represented in the GUI
|
|
# (inset button and citation dialog) as well as in XHTML, docbook and
|
|
# plain text output.
|
|
#
|
|
CiteFormat default
|
|
#
|
|
# MACROS
|
|
#
|
|
# 1. Translatable bits (need to be marked by _ prefix)
|
|
# Note that preceding and trailing spaces matter.
|
|
#
|
|
_notcited not cited
|
|
_addtobib Add to bibliography only.
|
|
|
|
#
|
|
# 2. Macros re-used in the style definitions
|
|
#
|
|
!open [
|
|
!sep ,
|
|
!close ]
|
|
|
|
# A link that lets us jump to the bibliography entry in LyXHTML
|
|
# %clean:key% will be substituted by the cite key to give a unique id
|
|
!startlink {!<a href='#LyXCite-%clean:key%'>!}
|
|
!endlink {!</a>!}
|
|
|
|
# "ID..."
|
|
!makecite %!startlink%{%label%[[%label%]][[{%numericallabel%[[%numericallabel%]][[#%key%]]}]]}%!endlink%%!nextcite%
|
|
|
|
# "..., NextID..."
|
|
!nextcite {%next%[[%!sep% %!makecite%]]}
|
|
# FIXME: what is this?
|
|
!nexthashkey {%next%[[%!sep% #%key%%!nexthashkey%]]}
|
|
# "..., NextKey..."
|
|
!nextkey {%next%[[%!sep% %key%%!nextkey%]]}
|
|
|
|
# ", postnote"
|
|
!textafter {%textafter%[[, %textafter%]]}
|
|
|
|
#
|
|
# ACTUAL STYLE DEFINITIONS
|
|
#
|
|
|
|
# "[ID, NextID, ..., p. xx]"
|
|
cite %!open%{%dialog%[[#ID]][[%!makecite%]]}%!textafter%%!close%
|
|
# "Add to bibliography only." (dialog) / "[ID] (not cited)" (button)
|
|
nocite {%dialog%[[%_addtobib%]][[%key%%!nextkey% (%_notcited%)]]}
|
|
End
|