]> git.lyx.org Git - lyx.git/commitdiff
* src/factory.C
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 15 Oct 2006 08:32:37 +0000 (08:32 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 15 Oct 2006 08:32:37 +0000 (08:32 +0000)
(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

src/factory.C
src/tex2lyx/text.C

index 10efffa57f6b60f829e458280a33299c6cbeb359..484bfcf25c02e3f4207f5468f611949ccc7c7cfe 100644 (file)
@@ -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") {
index 46cc89456510bdf93a9b94d2e5b39e0f0ab0d9e1..2670e05f99c7969a13f7c5836220c90d3f6fbcac 100644 (file)
@@ -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 };