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;
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"
docstring const InsetPrintNomencl::getScreenLabel(Buffer const &) const
{
- return _("Glossary");
+ return _("Nomenclature");
}
newlines += static_cast<InsetNomencl const &>(*it).docbookGlossary(os);
++it;
} else if(it->lyxCode() == Inset::NOTE_CODE &&
- static_cast<InsetNote const &>(*it).params().type == InsetNoteParams::Note) {
+ static_cast<InsetNote const &>(*it).params().type == InsetNoteParams::Note) {
// Don't output anything nested in note insets
size_t const depth = it.depth();
++it;