mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
* src/factory.C
(readInset): Add comment about citation commands * src/tex2lyx/text.C (known_jurabib_commands): remove fullcite since LyX does not know it. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15350 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b5fb312a49
commit
06836918b8
@ -345,6 +345,12 @@ InsetBase * readInset(LyXLex & lex, Buffer const & buf)
|
||||
|
||||
// This strange command allows LyX to recognize "natbib" style
|
||||
// citations: citet, citep, Citet etc.
|
||||
// FIXME: We already have partial support for \\fullcite and
|
||||
// the various \\footcite commands. We should increase the
|
||||
// file format number and read these commands here, too.
|
||||
// Then we should use is_possible_cite_command() in
|
||||
// src/frontends/controllers/biblio.C to test for valid cite
|
||||
// commands.
|
||||
if (compare_ascii_no_case(cmdName.substr(0,4), "cite") == 0) {
|
||||
inset.reset(new InsetCitation(inscmd));
|
||||
} else if (cmdName == "bibitem") {
|
||||
|
@ -120,8 +120,9 @@ char const * const known_natbib_commands[] = { "cite", "citet", "citep",
|
||||
* No starred form other than "cite*" known.
|
||||
*/
|
||||
char const * const known_jurabib_commands[] = { "cite", "citet", "citep",
|
||||
"citealt", "citealp", "citeauthor", "citeyear", "citeyearpar", "fullcite",
|
||||
"citealt", "citealp", "citeauthor", "citeyear", "citeyearpar",
|
||||
// jurabib commands not (yet) supported by LyX:
|
||||
// "fullcite",
|
||||
// "footcite", "footcitet", "footcitep", "footcitealt", "footcitealp",
|
||||
// "footciteauthor", "footciteyear", "footciteyearpar",
|
||||
"citefield", "citetitle", "cite*", 0 };
|
||||
|
@ -56,6 +56,8 @@ What's new
|
||||
|
||||
- Give a better error message for missing layout include files
|
||||
|
||||
- Fix import of \fullcite commands from LaTeX.
|
||||
|
||||
* Build/installation:
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user