mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
attempt to fix bug 5282:
* src/insets/InsetTabular.cpp: - keep track of encoding after passing a copy of the OutputParams. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26592 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
165e8e08ce
commit
4cb08129a3
@ -2218,11 +2218,12 @@ int Tabular::TeXRow(odocstream & os, row_type i,
|
||||
// pass to the OutputParams that we are in a cell and
|
||||
// which alignment we have set.
|
||||
// InsetNewline needs this context information.
|
||||
OutputParams newrp = runparams;
|
||||
OutputParams newrp(runparams);
|
||||
newrp.inTableCell = (getAlignment(cell) == LYX_ALIGN_BLOCK)
|
||||
? OutputParams::PLAIN
|
||||
: OutputParams::ALIGNED;
|
||||
ret += inset->latex(os, newrp);
|
||||
runparams.encoding = newrp.encoding;
|
||||
if (rtl)
|
||||
os << '}';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user