mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
LaTeXParam and Argument do not necessarily exclude each other
This commit is contained in:
parent
d058b0425f
commit
4d1b495139
@ -1464,8 +1464,7 @@ void Paragraph::Private::validate(LaTeXFeatures & features) const
|
||||
if (!layout_->latexargs().empty())
|
||||
latexArgInsets(*owner_, os, features.runparams(),
|
||||
layout_->latexargs());
|
||||
else
|
||||
os << from_ascii(layout_->latexparam());
|
||||
os << from_ascii(layout_->latexparam());
|
||||
}
|
||||
docstring::size_type const length = ods.str().length();
|
||||
// this will output "{" at the beginning, but not at the end
|
||||
|
@ -409,8 +409,7 @@ void parStartCommand(Paragraph const & par, otexstream & os,
|
||||
// Separate handling of optional argument inset.
|
||||
if (!style.latexargs().empty())
|
||||
latexArgInsets(par, os, runparams, style.latexargs());
|
||||
else
|
||||
os << from_ascii(style.latexparam());
|
||||
os << from_ascii(style.latexparam());
|
||||
break;
|
||||
case LATEX_ITEM_ENVIRONMENT:
|
||||
case LATEX_LIST_ENVIRONMENT:
|
||||
|
Loading…
Reference in New Issue
Block a user