void InsetIndex::edit(BufferView * bv, int, int, unsigned int)
{
- bv->owner()->getDialogs()->showIndex( this );
+ bv->owner()->getDialogs()->showIndex(this);
}
Inset::Code InsetIndex::lyxCode() const
{
- return Inset::INDEX_CODE;
+ return Inset::INDEX_CODE;
}
void InsetPrintIndex::validate(LaTeXFeatures & features) const
{
- features.makeidx = true;
+ features.require("makeidx");
}
Inset::Code InsetPrintIndex::lyxCode() const
{
- return Inset::INDEX_PRINT_CODE;
+ return Inset::INDEX_PRINT_CODE;
}