mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix page range without page format
This commit is contained in:
parent
4bb576e940
commit
d41e0c9231
@ -169,6 +169,9 @@ void InsetIndex::latex(otexstream & ios, OutputParams const & runparams_in) cons
|
||||
os << "|";
|
||||
os << insetindexpagerangetranslator_latex().find(params_.range);
|
||||
os << from_utf8(params_.pagefmt);
|
||||
} else if (params_.range != InsetIndexParams::PageRange::None) {
|
||||
os << "|";
|
||||
os << insetindexpagerangetranslator_latex().find(params_.range);
|
||||
}
|
||||
} else {
|
||||
// We check whether we need a sort key.
|
||||
@ -267,6 +270,9 @@ void InsetIndex::latex(otexstream & ios, OutputParams const & runparams_in) cons
|
||||
os << "|"
|
||||
<< insetindexpagerangetranslator_latex().find(params_.range)
|
||||
<< cmd;
|
||||
} else if (params_.range != InsetIndexParams::PageRange::None) {
|
||||
os << "|";
|
||||
os << insetindexpagerangetranslator_latex().find(params_.range);
|
||||
}
|
||||
}
|
||||
os << '}';
|
||||
|
Loading…
Reference in New Issue
Block a user