]> git.lyx.org Git - features.git/commit
Improve a warning in lyx2lyx.
authorGünter Milde <milde@lyx.org>
Thu, 17 Jan 2019 23:20:19 +0000 (00:20 +0100)
committerGünter Milde <milde@lyx.org>
Thu, 17 Jan 2019 23:20:19 +0000 (00:20 +0100)
commita925d2508555ccfb67db1e2efde415aa0a34400e
tree2b662dfbfbd03647506cce7cae92bd7d43b38395
parent5435b900e4fef4a6d84acbcd5fb7773a16ffb98b
Improve a warning in lyx2lyx.

If get_containing_layout() finds a layout without name,
it will return an empty string as layoutname.
Calling functions can thus differentiate between missing
\begin_layout and missing layoutname and give a more specific
response or warning.
lib/lyx2lyx/lyx_2_3.py
lib/lyx2lyx/parser_tools.py