<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div><span class="tlid-translation translation">Dear community,</span></div>

<div> </div>

<div><span class="tlid-translation translation">a few days ago I wrote you my problem in german. Sorry for that. Instead of it I will try it with my (bad) english:<br/>
<br/>
I have produced around 120 A4 pages with LyX, interspersed with much mathematical formulas. I choose the KOMA-script for books for it. The content is finished, now I'm fine-tuning the shape. In doing so, I carefully consult the manuals enclosed with the software:</span><br/>
 </div>

<ul>
        <li>Introduction</li>
        <li><span class="tlid-translation translation">Tutorial</span></li>
        <li><span class="tlid-translation translation">User Guide</span></li>
        <li><span class="tlid-translation translation">Extensions</span></li>
        <li><span class="tlid-translation translation">Adjustments</span></li>
        <li><span class="tlid-translation translation">Embedded Objects</span></li>
        <li><span class="tlid-translation translation">Special manuals</span></li>
        <li><span class="tlid-translation translation">Etc.</span></li>
</ul>

<div><br/>
<span class="tlid-translation translation">I have already been able to solve a number of problems this way.<br/>
<br/>
But now I am facing a tricky problem. And I don't know if the problem is with me, with LyX or with its documentation. In all honesty, I'm a little confused. I try to tell you the cause of my confusion.</span><br/>
<br/>
 </div>

<div><span class="tlid-translation translation">I want to include boxes for mathematical examples in my book. To do this, I chose the so called 'colored boxes', divided them into an upper part (for the mathematical example) and a lower part (for its solution), was able to underlay both parts with different colors (for making it pretty), choose a pretty thin boxrule and finally managed to make the box breakable. I can even place the text for footnotes inside the box outside the box. Unfortunately, two strange things happen in this process:</span><br/>
 </div>

<ol>
        <li>I put 2 footnotes in the box. Outside the box, however, both footnote texts are quoted with the same No. 2. A footnote text with No. 1 does not even exist.</li>
        <li><span class="tlid-translation translation">I made the entire text in the collor box long enough, so there MUST be arise a page break. This puts the first footnote on the first page and the second on the second page of the box. Now the two footnote texts should be shown on the corresponding pages. But they won't, both are shown on the second page.</span><br/>
         </li>
</ol>

<div><span class="tlid-translation translation">So far so bad.</span><br/>
<br/>
 </div>

<div><span class="tlid-translation translation">And now comes my real problem, which arises when I try to fix the problem above:<br/>
<br/>
In the various manuals</span></div>

<ul>
        <li>Tutorial 5.2.4.2;</li>
        <li><span class="tlid-translation translation">UserGuide 6.7.1, 6.10.2, B.18,</span></li>
        <li><span class="tlid-translation translation">Additional 2.4.1, 2.4.2, 2.4.3, 2.5, 3.4, 3.5.2, 5.6.2, 6.2.3, 6.2.4.2, 6.2.5.4, 6.7.3, 6.7.5.1, 6.7.5.2, 6.9 .3, 6.11.3, 6.12.3, 6.12.4, 6.13.2, 6.16, 6.16.2, 6.18.4.3, 8.1.3.1;</span></li>
        <li><span class="tlid-translation translation">EmbeddeObjects 2.5, 2.6.3, 2.6.3.2, 2.7.1, 2.8.2.2, 2.8.3, 2.8.4, 2.9, 2.11.1, 2.11.2, 2.11.3, 2.13, 2.14.1, 2.14.3 , 2.14.4, 2.14.5, 3.2.1, 3.3, 3.4.1, 3.4.2, 3.4.3, 3.5, 3.9, 3.10, 4.1, 4.2.1, 4.2.2, 4.3, 6.3, 8;</span></li>
        <li><span class="tlid-translation translation">Customization 5.3.5, 5.3.7, 6.2.2</span></li>
</ul>

<div><br/>
<span class="tlid-translation translation">it is always advised to add into the preamble in some situations.</span><br/>
<br/>
<span class="tlid-translation translation">However, in the manual, for example 'Additional 2.4.2 - Change the preamble' is written:</span></div>

<div> </div>

<div style="margin-left: 40.0px;"><span class="tlid-translation translation"><em>The commands LyX adds to the header of a LaTeX file are fixed; You cannot change them without changing LyX yourself. But you can add your own stuff to the preamble.<br/>
To do this, choose Document⇒Settings⇒LaTeX header. This opens an editing window in which you can write your preferred commands.<br/>
<br/>
The editing behavior in this window is specific, so don't expect the LyX key combinations to work in it.<br/>
LyX adds everything in the LaTeX leader window to its built-in leader. Before you add your own declarations to the header, check to see if LyX doesn't already support this (remember what we said about reinventing the wheel?). Also: make sure your headers are correct. LyX doesn't check it. If the opening credits are incorrect, you will most likely get the error message Missing \ begin {document}. If you ever get them, check your opening credits!</em></span></div>

<div> </div>

<div> </div>

<div><span class="tlid-translation translation">Nice. When I try to change the preamble, I regularly read the LaTeX preamble shown in LyX in its first line:</span></div>

<div style="margin-left: 40.0px;"><br/>
<span class="tlid-translation translation"><em>% Do not change the preamble !!!</em></span></div>

<div> </div>

<div> </div>

<div><span class="tlid-translation translation">Even if I ignore that, I can't add anything to the preamble - that seems to be technically impossible in LyX.<br/>
<br/>
Now the manual UserGuide '3.1.2.4 - Local Format' says:</span></div>

<div> </div>

<div style="margin-left: 40.0px;"><em><span class="tlid-translation translation">Modules work with LyX like packages with LaTeX: They are meant to be used in different documents. If you often need the same thing in different documents, you should consider writing a module for it. Sometimes, however, you need a format for a particular document, but only in that one document. Something like a document-specific LaTeX preamble: LyX ’ so-called 'local format'. See the Local Layout section of the Customization Guide for information on how to use it.</span></em></div>

<div> </div>

<div> </div>

<div><span class="tlid-translation translation">When I try to find the various in the above Manuals to accommodate the changes proposed there in the 'local format', I regularly receive the message after validation:</span></div>

<div> </div>

<div style="margin-left: 40.0px;"><em><span class="tlid-translation translation">Format is invalid!</span></em></div>

<div> </div>

<div> </div>

<div><span class="tlid-translation translation">Can you please help me?</span></div>

<div> </div>

<div>
<div>Greetings</div>

<div>Andreas Plihal</div>
</div></div></body></html>