<div dir="ltr">On Tue, Jan 6, 2015 at 2:00 PM, Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I'm experimenting with FPC's message (.msg) files. I wonder, who did create those files? Where are the text taken from? Is there any tool to generate those files?<br>
</blockquote>
<br></span>
They are created manually.</blockquote><div><br></div><div>Do you mean including the content?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I also found some inconsistencies in the file structure. There are some sections that are not following the "standard" structure. Most sections are marked by '\section' - '\end' pair string,<br>
which I think using Tex syntax. But there are some sections that doesn't have that mark, though its comment part is clearly indicates that it's a section. Those sections that don't have the<br>
'\section' mark still have pattern of a section, like section title and max number info on the header comment.<br>
</blockquote>
<br></span>
Only # BeginOfTex # EndOfTex mark the beginning or end of TeX code. The \section is simply transferred to the TeX file, you should not pay attention to it.<br></blockquote><div><br></div><div>I notice that the '# BeginOfTex' and '# EndOfTex' pair mark is also inconsistent. I need to look for the sections or groups of the messages. I found 3 patterns:</div><div><br></div><div>1. The '\section' - '\end' pair. With this, I found 12 sections.</div><div>2. The '# BeginOfTex' - '# EndOfTex' pair. With this, I found 7 sections.</div><div>3. The '##### is the last used one' string. With this, I found 12 sections.</div><div><br></div><div>But the sum of messages of the section found using these patterns isn't equal to the real number of messages. There are 901 messages, but the sum of messages of each section is less than that. What did I miss? </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
That said, in LaTeX there is no need for \section to be ended explicitly. It is ended automatically.<br></blockquote><div><br></div><div>So, which one is indicating the real sections?<br></div><div><br></div></div>-- <br><div class="gmail_signature">-Bee-<br><br></div>
</div></div>