]> git.lyx.org Git - lyx.git/commit
Warn in GUI when mixing Title and InTitle layouts
authorScott Kostyshak <skostysh@lyx.org>
Wed, 17 Aug 2016 02:09:57 +0000 (22:09 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Thu, 18 Aug 2016 22:06:04 +0000 (18:06 -0400)
commit0b1cf1330d850b21313f5e68a83bb5053e52e6ec
tree6fa19aa4010de27eaff05fc7fa4036272d807d71
parentfb46b3a1ee642b66b9712c6f376f543c47a2695e
Warn in GUI when mixing Title and InTitle layouts

Since we process layouts sequentially, we export LaTeX code for the
title once we arrive to a layout that has InTitle false. If the
document then later has a layout with InTitle true, we do not
(currently) go back to add it to the title and just output it
in-place. We previously warned with LYXERR0, but since this can
cause missing or unexpected output we now warn in the GUI.

For more information, see the following lyx-devel thread:
https://www.mail-archive.com/search?l=mid&q=a65ae226-d3bd-8fc5-a93b-7bb23f1cda82%40lyx.org
src/output_latex.cpp