Am Freitag, 3. August 2018 20:01:04 CEST schrieb Jürgen Spitzmüller <sp...@lyx.org>: > Am Freitag, den 03.08.2018, 19:04 +0200 schrieb Kornel Benko: > > LyX: Long string not ended by `EndIsAutoNestedBy' > > [around line 56 of file current token: '' context: ''] > > Could not read style NoteItem. > > But this is the case (it is ended by `EndIsAutoNestedBy'). Is this a > bug in the layout test? > > Jürgen >
Probably. Calling check_layout beamer ,x creates the file ",x", but the relevant content is mangled (missing 'End'-prefix) ... IsAutoNestedBy Enumerate,Itemize IsAutoNestedBy ... The attached cures check_layout. Kornel
diff --git a/src/Layout.cpp b/src/Layout.cpp index 7801e8f..2f3d1b9 100644 --- a/src/Layout.cpp +++ b/src/Layout.cpp @@ -1439,11 +1439,11 @@ void Layout::write(ostream & os) const it != autonested_by_.end(); ++it) { if (it != autonested_by_.begin()) os << ','; os << to_utf8(*it); } - os << "\n\tIsAutoNestedBy\n"; + os << "\n\tEndIsAutoNestedBy\n"; } if (refprefix.empty()) os << "\tRefPrefix OFF\n"; else os << "\tRefPrefix " << to_utf8(refprefix) << '\n';
signature.asc
Description: This is a digitally signed message part.