mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
Fix indentation
This commit is contained in:
parent
0a75854038
commit
bfd855747a
@ -287,7 +287,7 @@ void InsetRef::latex(otexstream & os, OutputParams const & rp) const
|
|||||||
getFormattedCmd(data, label, prefix, use_refstyle, use_caps);
|
getFormattedCmd(data, label, prefix, use_refstyle, use_caps);
|
||||||
os << fcmd;
|
os << fcmd;
|
||||||
if (use_refstyle && use_plural)
|
if (use_refstyle && use_plural)
|
||||||
os << "[s]";
|
os << "[s]";
|
||||||
os << '{' << label << '}';
|
os << '{' << label << '}';
|
||||||
}
|
}
|
||||||
else if (cmd == "labelonly") {
|
else if (cmd == "labelonly") {
|
||||||
@ -298,7 +298,7 @@ void InsetRef::latex(otexstream & os, OutputParams const & rp) const
|
|||||||
docstring prefix;
|
docstring prefix;
|
||||||
docstring suffix = split(ref, prefix, ':');
|
docstring suffix = split(ref, prefix, ':');
|
||||||
if (suffix.empty()) {
|
if (suffix.empty()) {
|
||||||
LYXERR0("Label `" << ref << "' contains no `:' separator.");
|
LYXERR0("Label `" << ref << "' contains no `:' separator.");
|
||||||
os << ref;
|
os << ref;
|
||||||
} else {
|
} else {
|
||||||
os << suffix;
|
os << suffix;
|
||||||
|
Loading…
Reference in New Issue
Block a user