From: Georg Baum Date: Sun, 15 Oct 2006 08:32:37 +0000 (+0000) Subject: * src/factory.C X-Git-Tag: 1.6.10~12381 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7affaf47e9bbea679090b0324dc0c6719bed7975;p=features.git * 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/trunk@15335 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/factory.C b/src/factory.C index 10efffa57f..484bfcf25c 100644 --- a/src/factory.C +++ b/src/factory.C @@ -351,6 +351,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") { diff --git a/src/tex2lyx/text.C b/src/tex2lyx/text.C index 46cc894565..2670e05f99 100644 --- a/src/tex2lyx/text.C +++ b/src/tex2lyx/text.C @@ -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 };