mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
replace term "Glossary" by "Nomenclature"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18102 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
616c819334
commit
295eea310e
2
ANNOUNCE
2
ANNOUNCE
@ -142,7 +142,7 @@ LaTeX. support for the booktabs package was implemented, which
|
||||
provides beautiful and elegant tabulars.
|
||||
|
||||
|
||||
* Glossaries
|
||||
* Nomenclatures
|
||||
|
||||
Native LyX support for the nomencl package was implemented. With this,
|
||||
you can treat your document with all sorts of nomenclatures,
|
||||
|
2
NEWS
2
NEWS
@ -77,7 +77,7 @@ LaTeX. support for the booktabs package was implemented, which
|
||||
provides beautiful and elegant tabulars.
|
||||
|
||||
|
||||
* Glossaries
|
||||
* Nomenclatures
|
||||
|
||||
Native LyX support for the nomencl package was implemented. With this,
|
||||
you can treat your document with all sorts of nomenclatures,
|
||||
|
@ -40,7 +40,7 @@ Version LyX 1.5svn-09-04-2007
|
||||
- new layout and template files for the g-brief2 letter class and the
|
||||
moderncv and europecv curriculum vitae classes
|
||||
- reworked BibTeX file parser
|
||||
- reworked graphics, glossary, and math delimiter dialog
|
||||
- reworked graphics, nomenclature, and math delimiter dialog
|
||||
- new Spanish translation of the Extended manual
|
||||
- many other bugfixes
|
||||
|
||||
|
@ -2956,7 +2956,7 @@ Notes: The package
|
||||
\family sans
|
||||
nomencl
|
||||
\family default
|
||||
is needed by LyX to produce a glossary.
|
||||
is needed by LyX to produce a nomenclature.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
@ -221,7 +221,7 @@ Menuset
|
||||
Item "Marginal Note|M" "marginalnote-insert"
|
||||
Item "Short Title" "optional-insert"
|
||||
Item "Index Entry|I" "index-insert"
|
||||
Item "Glossary Entry" "nomencl-insert"
|
||||
Item "Nomenclature Entry" "nomencl-insert"
|
||||
Item "URL...|U" "url-insert"
|
||||
Item "Note|N" "note-insert"
|
||||
Submenu "Lists & TOC|O" "insert_toc"
|
||||
@ -310,7 +310,7 @@ Menuset
|
||||
Item "Table of Contents|C" "toc-insert"
|
||||
FloatListInsert
|
||||
Item "Index List|I" "index-print"
|
||||
Item "Glossary|G" "nomencl-print"
|
||||
Item "Nomenclature|N" "nomencl-print"
|
||||
Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
|
||||
End
|
||||
|
||||
|
@ -302,7 +302,7 @@ Menuset
|
||||
Item "Label...|L" "label-insert"
|
||||
Item "Caption" "caption-insert"
|
||||
Item "Index Entry|d" "index-insert"
|
||||
Item "Glossary Entry...|y" "nomencl-insert"
|
||||
Item "Nomenclature Entry...|y" "nomencl-insert"
|
||||
Separator
|
||||
Item "Table...|T" "tabular-insert"
|
||||
Item "Graphics...|G" "dialog-show-new-inset graphics"
|
||||
@ -375,7 +375,7 @@ Menuset
|
||||
Item "Table of Contents|C" "toc-insert"
|
||||
FloatListInsert
|
||||
Item "Index List|I" "index-print"
|
||||
Item "Glossary|G" "nomencl-print"
|
||||
Item "Nomenclature|N" "nomencl-print"
|
||||
Item "BibTeX Bibliography...|B" "dialog-show-new-inset bibtex"
|
||||
End
|
||||
|
||||
|
@ -92,7 +92,7 @@ ToolbarSet
|
||||
Item "Insert cross-reference" "dialog-show-new-inset ref"
|
||||
Item "Insert citation" "dialog-show-new-inset citation"
|
||||
Item "Insert index entry" "index-insert"
|
||||
Item "Insert glossary entry" "nomencl-insert"
|
||||
Item "Insert nomenclature entry" "nomencl-insert"
|
||||
Separator
|
||||
Item "Insert footnote" "footnote-insert"
|
||||
Item "Insert margin note" "marginalnote-insert"
|
||||
|
@ -225,7 +225,7 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
|
||||
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
|
||||
} else if (name == "nomenclature") {
|
||||
dialog->setController(new ControlCommand(*dialog, name, name));
|
||||
dialog->setView(new QNomencl(*dialog, _("Glossary Entry")));
|
||||
dialog->setView(new QNomencl(*dialog, _("Nomenclature Entry")));
|
||||
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
|
||||
} else if (name == "label") {
|
||||
dialog->setController(new ControlCommand(*dialog, name, name));
|
||||
|
@ -30,20 +30,20 @@ using std::string;
|
||||
|
||||
InsetNomencl::InsetNomencl(InsetCommandParams const & p)
|
||||
: InsetCommand(p, "nomenclature"),
|
||||
glossary_entry_id(sgml::uniqueID(from_ascii("gloss")))
|
||||
nomenclature_entry_id(sgml::uniqueID(from_ascii("nomen")))
|
||||
{}
|
||||
|
||||
|
||||
docstring const InsetNomencl::getScreenLabel(Buffer const &) const
|
||||
{
|
||||
return _("Glo");
|
||||
return _("Nom");
|
||||
}
|
||||
|
||||
|
||||
int InsetNomencl::docbook(Buffer const &, odocstream & os,
|
||||
OutputParams const &) const
|
||||
{
|
||||
os << "<glossterm linkend=\"" << glossary_entry_id << "\">"
|
||||
os << "<glossterm linkend=\"" << nomenclature_entry_id << "\">"
|
||||
<< sgml::escapeString(getParam("symbol"))
|
||||
<< "</glossterm>";
|
||||
return 0;
|
||||
@ -52,7 +52,7 @@ int InsetNomencl::docbook(Buffer const &, odocstream & os,
|
||||
|
||||
int InsetNomencl::docbookGlossary(odocstream & os) const
|
||||
{
|
||||
os << "<glossentry id=\"" << glossary_entry_id << "\">\n"
|
||||
os << "<glossentry id=\"" << nomenclature_entry_id << "\">\n"
|
||||
<< "<glossterm>"
|
||||
<< sgml::escapeString(getParam("symbol"))
|
||||
<< "</glossterm>\n"
|
||||
@ -83,7 +83,7 @@ InsetPrintNomencl::InsetPrintNomencl(InsetCommandParams const & p)
|
||||
|
||||
docstring const InsetPrintNomencl::getScreenLabel(Buffer const &) const
|
||||
{
|
||||
return _("Glossary");
|
||||
return _("Nomenclature");
|
||||
}
|
||||
|
||||
|
||||
|
@ -21,7 +21,7 @@ namespace lyx {
|
||||
|
||||
class LaTeXFeatures;
|
||||
|
||||
/** Used to insert glossary labels
|
||||
/** Used to insert nomenclature entries
|
||||
*/
|
||||
class InsetNomencl : public InsetCommand {
|
||||
public:
|
||||
@ -44,8 +44,8 @@ private:
|
||||
virtual std::auto_ptr<Inset> doClone() const {
|
||||
return std::auto_ptr<Inset>(new InsetNomencl(params()));
|
||||
}
|
||||
/// unique id for this glossary entry for docbook export
|
||||
docstring glossary_entry_id;
|
||||
/// unique id for this nomenclature entry for docbook export
|
||||
docstring nomenclature_entry_id;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user