ListName = re.compile(r'\s*ListName\s+(.*)')
CategoryName = re.compile(r'\s*Category\s+(.*)')
NameRE = re.compile(r'DeclareLyXModule.*{(.*)}')
+ InsetLayout = re.compile(r'^InsetLayout\s+(.*)')
DescBegin = re.compile(r'#+\s*DescriptionBegin\s*$')
DescEnd = re.compile(r'#+\s*DescriptionEnd\s*$')
string = res.group(1)
writeString(out, src, base, lineno, string)
continue
+ res = InsetLayout.search(line)
+ if res != None:
+ string = res.group(1)
+ string = string.replace('_', ' ')
+ writeString(out, src, base, lineno, string)
+ continue
out.close()
docstring const label = cit->first;
if (cit->second.lyxtype() == s)
addWithStatusCheck(MenuItem(MenuItem::Command,
- toqstr(label), FuncRequest(LFUN_FLEX_INSERT,
- label)));
+ toqstr(translateIfPossible(label)),
+ FuncRequest(LFUN_FLEX_INSERT, label)));
}
}