mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Compare commits
No commits in common. "f6741c72e1333d717e2e508dcbaf5d4ff4dd8782" and "124f441a00289788554958caee871641887db7be" have entirely different histories.
f6741c72e1
...
124f441a00
@ -3110,7 +3110,7 @@ void Paragraph::latex(BufferParams const & bparams,
|
||||
OutputParams rp = runparams;
|
||||
rp.free_spacing = style.free_spacing;
|
||||
rp.local_font = ¤t_font;
|
||||
rp.intitle |= style.intitle;
|
||||
rp.intitle = style.intitle;
|
||||
|
||||
// Two major modes: LaTeX or plain
|
||||
// Handle here those cases common to both modes
|
||||
|
@ -346,10 +346,10 @@ void InsetLabel::latex(otexstream & os, OutputParams const & runparams_in) const
|
||||
if (runparams_in.postpone_fragile_stuff)
|
||||
runparams_in.post_macro += command;
|
||||
else {
|
||||
// protect label in \thanks notes (#9404)
|
||||
// protect label in moving argument (#9404),
|
||||
// but not in subfloat caption (#11950)
|
||||
if (runparams.moving_arg
|
||||
&& runparams.intitle
|
||||
&& runparams.inFootnote)
|
||||
&& runparams.inFloat != OutputParams::SUBFLOAT)
|
||||
os << "\\protect";
|
||||
os << command;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user