mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Make openbtUnit raunparam mutable instead of using a copy of runparams
in latexParagraphs() The latter results in output stream encoding errors.
This commit is contained in:
parent
527cc8ca9c
commit
00417a1c80
@ -207,7 +207,7 @@ public:
|
|||||||
|
|
||||||
/** Whether a btUnit (for multiple biblographies) is open.
|
/** Whether a btUnit (for multiple biblographies) is open.
|
||||||
*/
|
*/
|
||||||
bool openbtUnit;
|
mutable bool openbtUnit;
|
||||||
|
|
||||||
/** Process only the children's aux files with BibTeX.
|
/** Process only the children's aux files with BibTeX.
|
||||||
* This is necessary with chapterbib.
|
* This is necessary with chapterbib.
|
||||||
|
@ -1259,10 +1259,9 @@ void TeXOnePar(Buffer const & buf,
|
|||||||
void latexParagraphs(Buffer const & buf,
|
void latexParagraphs(Buffer const & buf,
|
||||||
Text const & text,
|
Text const & text,
|
||||||
otexstream & os,
|
otexstream & os,
|
||||||
OutputParams const & runparams_in,
|
OutputParams const & runparams,
|
||||||
string const & everypar)
|
string const & everypar)
|
||||||
{
|
{
|
||||||
OutputParams runparams = runparams_in;
|
|
||||||
LASSERT(runparams.par_begin <= runparams.par_end,
|
LASSERT(runparams.par_begin <= runparams.par_end,
|
||||||
{ os << "% LaTeX Output Error\n"; return; } );
|
{ os << "% LaTeX Output Error\n"; return; } );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user