mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Amend cf07d4825
This commit is contained in:
parent
6887bc5c1d
commit
81413e77ee
@ -263,12 +263,13 @@ void InsetRef::latex(otexstream & os, OutputParams const & rp) const
|
||||
else if (cmd == "formatted") {
|
||||
docstring label;
|
||||
docstring prefix;
|
||||
bool const use_caps = getParam("caps") == "true";
|
||||
bool const use_plural = getParam("plural") == "true";
|
||||
bool const use_caps = getParam("caps") == "true";
|
||||
bool const use_plural = getParam("plural") == "true";
|
||||
bool const use_refstyle = buffer().params().use_refstyle;
|
||||
docstring const fcmd =
|
||||
getFormattedCmd(data, label, prefix, use_caps);
|
||||
getFormattedCmd(data, label, prefix, use_refstyle, use_caps);
|
||||
os << fcmd;
|
||||
if (buffer().params().use_refstyle && use_plural)
|
||||
if (use_refstyle && use_plural)
|
||||
os << "[s]";
|
||||
os << '{' << label << '}';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user