]> git.lyx.org Git - features.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>
Fri, 19 Aug 2016 01:07:42 +0000 (21:07 -0400)
commitdeec55866c1deff9585ab4e69d7a9e5aa5f7e45a
tree645972507a4bacb0d0a1511908fa67c8e45fbc9b
parentb3a6f51f30a62f13d7ac6a00dd545589cf86fc56
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

(cherry picked from commit 0b1cf1330d850b21313f5e68a83bb5053e52e6ec)
src/output_latex.cpp