* 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:
Georg Baum 2006-10-16 12:06:50 +00:00
parent b5fb312a49
commit 06836918b8
3 changed files with 10 additions and 1 deletions

View File

@ -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") {

View 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 };

View File

@ -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: