01-01-2011, 07:23 AM | #1 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Dec 2010
Device: PRS-650 ... ipad
|
conversion RTF to EPUB problem; small fonts
hi there,
it' a miracle: let's say, i do have a word .doc saved as .rtf with: 20pt, 18pt, 16pt headers, text body is 14pt, and some lines as notes, numbers etcpp in 8pt ALL defined by ms-word-styles. the epub-output shows correct TOC and formating for the headers, text-body is OK too. BUT the 8pts have the same size as the text-body... <p class="calibre2"><span class="none"> the miracle is: any 8pt-word in the 14pt-text body or any 8pt line ... i styled by hand, is recognized and shown correctly in the epub! i could do a RegEx-workaround with SIGIL, but it doesn't explain why the calibre-converter doesn't recognize the small font in lines defined by styles. |
01-01-2011, 11:36 AM | #2 |
Wizard
Posts: 1,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
have you ticked option disable font size rescaling
|
Advert | |
|
01-01-2011, 12:56 PM | #3 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Dec 2010
Device: PRS-650 ... ipad
|
now i did!
and got the same stylesheet.css, and the same .html as before. but now the font-size sometimes is shown as pt instead of em before. there is the same class (.none4) wich take place for words and sentences i styled as smaller (8pt) on purpose. and only for them. i mean, it's all the same. just the size relation changed a bit. my 8pt sentences, who got their style from ms-word-styles are still in in 14pt. |
01-01-2011, 12:59 PM | #4 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
See here for the best way to convert Word documents:
http://calibre-ebook.com/user_manual...word-documents |
01-02-2011, 04:43 PM | #5 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Dec 2010
Device: PRS-650 ... ipad
|
thanks a lot for being patient.
as a newbee i'am a little bit slow in mind, sometimes! your hint helped a lot. but 'll stay with rtf conversion, simpler code, quicker conversion, quicker access to the rtf-file in case of needed corrections... i've learned to tweak the code with sigil, playing around with the classes... juggling with regex... now, everything's fine! |
Advert | |
|
01-03-2011, 10:42 AM | #6 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
you're welcome Glad you got it working.
|
01-03-2011, 07:07 PM | #7 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Dec 2010
Device: PRS-650 ... ipad
|
to whom it may concern / toc-workarounds calibre+sigil
after converting from .rtf and exploding the .epub i found:
a very tiny toc.ncx, no wonder why there is nearly no ToC in Calibre-viewer. BUT... after opening in SIGIL, there is a complete ToC... suspicious. that means, the SIGIL HTMLtidy has done the job? yes! and no? looking in the exploded .epub shows: the html-code is correct, heading-tags are set, but just... the toc.ncx isn't. shure, after saving with SIGIL the new toc.ncx is saved too. the Calibre viewer will show. am i right? please, kovidgoyal, have a look! it's a lot of juggling. .... so, my very first statement isn't correct in all details. by the way, shall i open a new thread for this, or/and post it in the calibre forum too? Last edited by tscamera; 01-03-2011 at 07:12 PM. Reason: concerning my first statement |
01-03-2011, 07:08 PM | #8 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
01-03-2011, 07:31 PM | #9 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Dec 2010
Device: PRS-650 ... ipad
|
whow!
it seems that you're waiting to answer (silly) questions, ya so quick!
ok, ok, i'm a self taught/autodidact. ever was. i'm a dropout (from university) several times, different majors. too lame, no quick responses to my questions, to many manuals. but i understand... rtfm. (read the fucking manual) i like trial and error, and serendipity. i hope i don't bother, there are a lot of ways to Rome. thanks. |
01-03-2011, 08:46 PM | #10 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Dec 2010
Device: PRS-650 ... ipad
|
ruled line
yes, i did rtfm.
"You can have it insert a ruled line instead of, or in addition to the page break." ... if i choose both or ruled line, what does the ruled line means? if i put in (where?) a ruled line, would match my very first question. a specific line every chapterbreak, GREAT! Hannibal ad Ebro. |
Tags |
font, rtf to epub, styles |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RTF -> EPUB conversion error | gondwild | Calibre | 3 | 01-16-2011 11:35 AM |
RTF to epub convert images turn out small | sassanik | Calibre | 1 | 10-16-2010 12:14 AM |
Calibre conversion problem (polish fonts) | mark24 | Calibre | 1 | 05-09-2010 11:17 AM |
rtf -- > epub / fb2 conversion | Brandobras | Calibre | 2 | 04-14-2010 01:24 AM |
Problem with conversion from RTF to PDF | julius | Calibre | 3 | 09-24-2009 12:01 PM |