mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
parent
fb5782b62a
commit
a7e8397a84
@ -4533,7 +4533,12 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
os << "reference \"";
|
os << "reference \"";
|
||||||
os << known_refstyle_prefixes[where - known_refstyle_commands]
|
os << known_refstyle_prefixes[where - known_refstyle_commands]
|
||||||
<< ":";
|
<< ":";
|
||||||
os << convert_literate_command_inset_arg(p.getArg('{', '}'))
|
string arg = p.getArg('{', '}');
|
||||||
|
// with refstyle, labels containing blanks are grouped
|
||||||
|
// remove the grouping
|
||||||
|
if (contains(arg, ' '))
|
||||||
|
arg = ltrim(rtrim(arg, "}"), "{");
|
||||||
|
os << convert_literate_command_inset_arg(arg)
|
||||||
<< "\"\n";
|
<< "\"\n";
|
||||||
os << "plural \"" << plural << "\"\n";
|
os << "plural \"" << plural << "\"\n";
|
||||||
os << "caps \"" << cap << "\"\n";
|
os << "caps \"" << cap << "\"\n";
|
||||||
|
@ -88,6 +88,8 @@ What's new
|
|||||||
|
|
||||||
- Handle linguistic structure trees in ePub and PDF (DocBook) output (bug 12372).
|
- Handle linguistic structure trees in ePub and PDF (DocBook) output (bug 12372).
|
||||||
|
|
||||||
|
- Improve the way spaces are handled in labels when refstyle is used.
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user