On Sat, 18 Mar 2017 15:19:19 +0000 (UTC) Guenter Milde <mi...@users.sf.net> wrote:
> > after upgrading LyX from version 2.1.4 to 2.2.2, paragraphs in a > > 2.1-document are no longer recognized. > > Does this mean several paragraphs are No, nothing of the content seems to be missing, except the linebreaks ending one paragraph and starting the next one. > > * missing in the GUI / in the output Only in the output. In the GUI everything looks as it should, except for pagebreak/ newpage markers. But that's probably a minor problem and can be fixed via "View". > > * merged into one in the GUI / output Only in the output. The whole text appears in one single paragraph. > > > Does the same unwanted effect happen with a new document? I'm unable to tell, because in want to have a working application I downgraded back to the earlier version of LyX. > > Does it affect more than one document? See above. Since the effect only appears in the output I fancy the failure might lay in changes in the way LyX reads and interprets layouts. I've attached the layout file in question to this message. > > > How can I convince the new and probably much better LyX to recognize > > again what it once did? > > This, we may tell if you provide a *minimal* example - i.e. the smallest > possible excerpt that produces the unwanted effect. > > Günter > -- The world is such a nasty place to be.
#% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[book]{book (Keuchhusten)} Format 35 ClassOptions PageStyle plain End ################################################### # basic definitions, adopted from stdclass.inc - # however, that include calls too many other inc's # we won't need. Columns 1 Sides 1 # change me! SecNumDepth 1 TocDepth 1 DefaultStyle Standard DefaultFont Family Roman Series Medium Shape Up Size Normal Color Black EndFont Style Standard Category MainText Margin Static LatexType Paragraph NextNoIndent 0 KeepEmpty 1 ParIndent MM ParSkip 0 ParbreakIsNewline 1 TopSep 0 BottomSep 0.5 Align Block AlignPossible Block LabelType No_Label HTMLStyle div.standard { margin-bottom: 0px; } EndHTMLStyle End Style StandardFirst CopyStyle Standard KeepEmpty 0 ParIndent "" BottomSep 0 NextNoIndent 0 End Style Poem_(Verse) CopyStyle Standard ParIndent MMMM Align Left AlignPossible Left End Style Poem_(Stanza) CopyStyle StandardFirst ParIndent MMMM Align Left AlignPossible Left End ################################################### # the same, now from stdlayouts.inc - we could as # well CopyStyle from Quotation, but then we'd have # to live with an element in the dropdown menu we # don't need. hence, for the sake of perfection, # we go on foot. Style Letter_handwritten Category MainText Margin Static LatexType Environment LatexName quotation NextNoIndent 1 LeftMargin MM RightMargin MM ParIndent "" ParSkip 0 ItemSep 0 TopSep 0 BottomSep 0.5 ParSep 0 FreeSpacing 1 Newline 1 Font Family Roman Shape Italic EndFont Align Left AlignPossible Left, Right HTMLTag blockquote HTMLItem div End Style Letter_typed CopyStyle Letter_handwritten Font Family Typewriter Shape Up EndFont End ################################################### # modifications to existing definitions # ------------------------------------------------- Input stdtitle.inc Style Title Font Size huge Series bold EndFont End NoStyle Date # end stdtitle.inc # ------------------------------------------------- Input stdcounters.inc Counter chapter LabelString "\Roman{chapter}" End # end stdcounters.inc # ------------------------------------------------- Input stdsections.inc NoStyle Subparagraph NoStyle Paragraph NoStyle Subsubsection NoStyle Subsection NoStyle Section NoStyle Part Style Chapter LatexType Command LatexName mychapter LabelType Counter LabelCounter chapter LabelString "\thechapter" Align center AlignPossible center KeepEmpty 1 NeedProtect 1 Preamble \newcommand{\mychapter}{ \addtocounter{chapter}{1} \clearpage\vspace*{50 pt} \begin{center} {\huge\bfseries\Roman{chapter}} \end{center} \vspace{50 pt} } EndPreamble End # end stdsections.inc # ------------------------------------------------- # end modifications ###################################################