mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
when validating a paragraph, skip insets that do not produce output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27720 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cef8973349
commit
4c339de71c
@ -1069,7 +1069,7 @@ void Paragraph::Private::validate(LaTeXFeatures & features,
|
||||
InsetList::const_iterator icit = insetlist_.begin();
|
||||
InsetList::const_iterator iend = insetlist_.end();
|
||||
for (; icit != iend; ++icit) {
|
||||
if (icit->inset) {
|
||||
if (icit->inset && icit->inset->producesOutput()) {
|
||||
icit->inset->validate(features);
|
||||
if (layout.needprotect &&
|
||||
icit->inset->lyxCode() == FOOT_CODE)
|
||||
|
@ -67,6 +67,9 @@ What's new
|
||||
|
||||
- Fix redirection to temporary files with spaces in path (RCS support).
|
||||
|
||||
- Do not export preamble parts corresponding to "inactive" text
|
||||
(notes and disabled branches).
|
||||
|
||||
- Fix export to latex in the presence of an encoding switch (bug 5489).
|
||||
|
||||
- Fix nesting of \begin{CJK} and \end{CJK} with other environments.
|
||||
|
Loading…
x
Reference in New Issue
Block a user