Compare commits

...

2 Commits

Author SHA1 Message Date
Juergen Spitzmueller
f6741c72e1 de.po 2024-09-21 12:46:45 +02:00
Juergen Spitzmueller
d43e82a5a7 Only \protect labels in \thanks notes
See https://marc.info/?l=lyx-users&m=136394387505489
2024-09-21 11:30:08 +02:00
3 changed files with 473 additions and 461 deletions

926
po/de.po

File diff suppressed because it is too large Load Diff

View File

@ -3110,7 +3110,7 @@ void Paragraph::latex(BufferParams const & bparams,
OutputParams rp = runparams;
rp.free_spacing = style.free_spacing;
rp.local_font = &current_font;
rp.intitle = style.intitle;
rp.intitle |= style.intitle;
// Two major modes: LaTeX or plain
// Handle here those cases common to both modes

View File

@ -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 moving argument (#9404),
// but not in subfloat caption (#11950)
// protect label in \thanks notes (#9404)
if (runparams.moving_arg
&& runparams.inFloat != OutputParams::SUBFLOAT)
&& runparams.intitle
&& runparams.inFootnote)
os << "\\protect";
os << command;
}