Quote:
Originally Posted by Crian
I'm trying to generate a mobi file with the MobiCreator (V 4.2 build 41). Because it does not build a table of contents from my input file, I tried again with a rather simple html input file as a test case:
Code:
<html>
<head></head>
<body>
<h1>Titel</h1>
<h2>Kapitel eins</h2>
<h3>Unterkapitel eins-eins</h3>
<p>Text.</p>
<h3>Unterkapitel eins-zwei</h3>
<p>Text.</p>
<h2>Kapitel zwei</h2>
<h3>Unterkapitel zwei-eins</h3>
<h4>Unterkapitel zwei-eins-eins</h4>
<p>Text.</p>
<h4>Unterkapitel zwei-eins-zwei</h4>
<p>Text.</p>
<h4>Unterkapitel zwei-eins-drei</h4>
<p>Text.</p>
<h3>Unterkapitel zwei-zwei</h3>
<p>Text.</p>
<h2>Kapitel drei</h2>
<p>Text.</p>
</body>
</html>
When I try to generate a table of contents (using h2, h3, and h4), I get the following error message:
My input file only has 42 lines, so I think, "line 94" means the file table_of_contents.html.
(Sorry for my English, I am no native speaker.)
Edit: The error message mentioned the "Microsoft Internet Explorer", which I don't use, but installed is the Windows Internet Explorer 9 (Version 9.0.8112.16421 64-bit Edition).
|
Howdy:
Why do you say that MBPCreator won't build a TOC from your input file? I suspect that you are not setting up the TOC generation right.
(Warum sagst du das MBP Schöpfer nicht bauen ein Inhaltsverzeichnis aus Ihrer Eingabe-Datei? Ich vermute, dass Sie nicht die Einrichtung des TOC Generation rechts.)
In the TOC Generation rules, ONLY put your header tag, like so: h1
nothing else. No brackets, nothing. Just put h1 in the first level (or h2 if that's your first), etc. I can send you a screenshot if you need?
Based upon your error message, which is saying, what, that MBPCreator doesn't understand what you are asking it to do, did you put anything in the Tag name field other than h2, h3 and h4? Or did you put something inside the headers that's odd? (n.b.--if you use special characters inside TOC's that are mobi-generated, they'll break in Kindle, like curly-apostrophe's.)
Can you attach a screenshot of your TOC Wizard screen please? Alternatively, if you make a TOC.html, as per your example, don't try to run that through the TOC Wizard...instead attach it to the Mobi using the Guide, that'll work.
Your English is perfectly good. Far better than my learned-in-1976 German, I'm sure.
HTH,
Hitch