support for eqref (fixes #862)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6844 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-04-24 12:16:56 +00:00
parent c7d0b70e7c
commit f69a5ed0d7
5 changed files with 23 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2003-04-24 André Pönitz <poenitz@gmx.net>
* factory.C: support for eqref
2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
* messages.[Ch]: add missing char

View File

@ -294,6 +294,7 @@ Inset * readInset(LyXLex & lex, Buffer const & buf)
|| cmdName == "htmlurl") {
inset = new InsetUrl(inscmd);
} else if (cmdName == "ref"
|| cmdName == "eqref"
|| cmdName == "pageref"
|| cmdName == "vref"
|| cmdName == "vpageref"

View File

@ -1,3 +1,8 @@
2003-04-24 André Pönitz <poenitz@gmx.net>
* insetref.C: support for eqref
2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
* insetert.C (read): use ParagraphList::iterator.

View File

@ -121,11 +121,12 @@ void InsetRef::validate(LaTeXFeatures & features) const
InsetRef::type_info InsetRef::types[] = {
{ "ref", N_("Standard"), N_("Ref: ")},
{ "pageref", N_("Page Number"), N_("Page: ")},
{ "vpageref", N_("Textual Page Number"), N_("TextPage: ")},
{ "vref", N_("Standard+Textual Page"), N_("Ref+Text: ")},
{ "prettyref", N_("PrettyRef"), N_("PrettyRef: ")},
{ "ref", N_("Standard"), N_("Ref: ")},
{ "eqref", N_("Equation"), N_("EqRef: ")},
{ "pageref", N_("Page Number"), N_("Page: ")},
{ "vpageref", N_("Textual Page Number"), N_("TextPage: ")},
{ "vref", N_("Standard+Textual Page"), N_("Ref+Text: ")},
{ "prettyref", N_("PrettyRef"), N_("PrettyRef: ")},
{ "", "", "" }
};

View File

@ -143,10 +143,11 @@ dispatch_result RefInset::localDispatch(FuncRequest const & cmd)
RefInset::ref_type_info RefInset::types[] = {
{ "ref", N_("Standard"), N_("Ref: ")},
{ "pageref", N_("Page Number"), N_("Page: ")},
{ "vpageref", N_("Textual Page Number"), N_("TextPage: ")},
{ "vref", N_("Standard+Textual Page"), N_("Ref+Text: ")},
{ "prettyref", N_("PrettyRef"), N_("PrettyRef: ")},
{ "ref", N_("Standard"), N_("Ref: ")},
{ "eqref", N_("Equation"), N_("EqRef: ")},
{ "pageref", N_("Page Number"), N_("Page: ")},
{ "vpageref", N_("Textual Page Number"), N_("TextPage: ")},
{ "vref", N_("Standard+Textual Page"), N_("Ref+Text: ")},
{ "prettyref", N_("PrettyRef"), N_("PrettyRef: ")},
{ "", "", "" }
};