09-21-2010, 11:09 AM | #1 |
Addict
Posts: 342
Karma: 533558
Join Date: Feb 2010
Location: WOB / Germany
Device: Kindle
|
Problem bei der Konvertierung epub->mobi mit Calibre
Hallo,
bislang konnt ich mit Calibre alle Bücher problemlos von epub zu mobi konvertieren. Jetzt habe ich aber einen etwas schwierigen Patienten vor mir. Das Problem: Beim zu konvertierenden Buch bestehen die Kapitelüberschiften nicht aus Text, sondern aus einer Grafik. Auch einzelne Seiten enthalten nur eine Grafik. Wenn ich jetzt mit Calibre konvertiere, wird keine einzige Grafik, bis auf die erste (Cover), aus dem epub übernommen. Somit habe ich keine Kapitelübeschirften und teilweise inhaltslose Seiten im mobi-File. Wenn ich den Umweg über ebup->pdf->mobi gehe, sind zwar alle Grafiken im mobi-File enthalten, aber die Formatierung ist total "flöten gegangen". (Text hört mitten in der Zeile auf, wird mit nur einem Wort pro Zeile weitergeführt, bis dann wieder ein paar "normale" Absätze kommen.) Hat zufällig jemand eine Lösung für das Problem? Bratzzo |
09-21-2010, 06:05 PM | #2 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Das ist jetzt wild ins Blaue hineingeraten, aber wie wärs denn mit ePub -> HTML -> Mobi? Und wenn das nicht geht, einfach mal im HTML- Source rumpfuschen und gucken, woran es liegt?
|
Advert | |
|
09-22-2010, 09:50 AM | #3 |
Addict
Posts: 342
Karma: 533558
Join Date: Feb 2010
Location: WOB / Germany
Device: Kindle
|
Hi,
epub->html->mobi würde ich gerne machen. Aber calibre bietet mir html leider nicht an. Und der Umweg über zip liefert auch nur eine grafiklose mobi Datei. Liegt es eventuell daran, dass die einzelnen Dateien in xhtml sind? Leider habe ich von xhtml keine Ahnung. In html kenne ich mich zwar auch nicht sonderlich aus, aber damit könnte ich eventuell etwas anfangen. Aber wie bekomme ich die xhtml Dateien in html konvetiert? Bratzzo |
09-22-2010, 10:20 AM | #4 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Gib bei der Konvertierung unter Fehlersuche ein Verzeichnis an, dann erstellt Calibre die HTML-Dateien, die es zur Konvertierung nutzt, darin, und Du kannst die darin angucken.
|
09-22-2010, 11:22 AM | #5 |
Addict
Posts: 342
Karma: 533558
Join Date: Feb 2010
Location: WOB / Germany
Device: Kindle
|
Hi,
danke für den Tipp. Leider hat das auch nichts gebracht. Die Dateien lassen sich richtig in einem Browser darstellen. Nur im mobi gibt es die gleichen Fehler. Jetzt muss ich mal gucken, ob es nicht eventuell doch am xhtml Format liegt. Bratzzo |
Advert | |
|
09-22-2010, 11:33 AM | #6 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Hast Du die mal in einem Editor oder so angeguckt und auf Fehler hin untersucht?
|
09-22-2010, 12:19 PM | #7 |
Addict
Posts: 342
Karma: 533558
Join Date: Feb 2010
Location: WOB / Germany
Device: Kindle
|
Hi,
ja, im Editor habe ich es geöffnet. Aber ob da Fehler drin sind, kann ich mangels Kenntnissen in xhtml nicht sagen. Die Kontrolle des epub in Sigil hat mich jetzt aber auf den richtigen Weg gebracht. Die Art, wie die Bilder eingebunden sind, ist das Problem. Im Original sind die Bilder folgendermaßen eingebunden: Code:
<svg xmlns="http://www.w3.org/2000/svg" width="100%" version="1.1" preserveAspectRatio="xMidYMin" class="sgc-1" viewBox="0 0 78 46"> <image xmlns:xlink="http://www.w3.org/1999/xlink" width="78" height="46" xlink:href="../Images/100000000000004e0000002ea7fe30cd.png"></image> Wenn ich die Bilder nachträglich mit Sigil einfüge und diesen Code benutze: Code:
<p class="p_P14"> <span class="sgc-1"><img alt="" src="../Images/100000000000004e0000002ea7fe30cd.png" /></span></p> Jetzt habe ich zwar ein wenig Arbeit vor mir, aber es scheint zum Erfolg zu führen. Danke für die Tipps! Bratzzo |
09-22-2010, 06:10 PM | #9 |
Addict
Posts: 342
Karma: 533558
Join Date: Feb 2010
Location: WOB / Germany
Device: Kindle
|
Hi,
so, nach einer kleinen Pause, die dem Fußball geschuldet war , habe ich die Arbeit vollendet. Die Grafiken werden jetzt vollständig angezeigt. @ Manichean Danke für den Tipp mit Notepad++, ich habe es mir angesehen. Auf die Schnelle konnte es mir zwar nicht helfen, aber in Zukunft, wenn ich es näher kenne, werde ich es wahrscheinlich öfter nutzen. Bratzz0 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kleines Zeichen-Problem mit Calibre | Vauh | Erste Hilfe | 5 | 05-01-2010 05:35 AM |
Problem beim Anzeigen von Bildern mit Calibre | Insider | Erste Hilfe | 3 | 03-04-2010 10:19 AM |
Zeilenüberlauf nach der Konvertierung in epub | Insider | Erste Hilfe | 4 | 12-02-2009 01:09 PM |
Calibre und Kapitel bei ePub | WarumIch | Software | 8 | 09-18-2009 04:17 AM |
Inhaltsverzeichnis unter Calibre?? - und andere Probleme bei der Ebook-Erstellung | Momo_Germany | Erste Hilfe | 4 | 05-26-2009 04:38 PM |