02-06-2009, 04:41 PM | #61 | |||
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
Quote:
Quote:
-Marshall |
|||
02-06-2009, 04:42 PM | #62 | |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
Advert | |
|
02-06-2009, 06:33 PM | #63 | |
Wizard
Posts: 1,159
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
I'm still not quite sure what to do with xpath but I have used command line to try some stuff out? And I've also run into troubles using css to make paragraph indents. The code should work but it doesn't always? I found that I have to convert the file. Turn off the program, re-open and convert the file again and on the second pass the indents stick. It's worked like that two times...and maybe with the newer version the css you gave me will do the trick on first try. But considering Epub and Mobi are still in beta I expect a few bumps in the road and am willing to try and figure out what's happening. However, I don't think I'm your average user. edit: forgot to mention...having said everything I said I'm still rather excited about the ablity to set paragraph indents like I do for the LRF settings. Last edited by Amalthia; 02-06-2009 at 06:58 PM. |
|
02-06-2009, 06:49 PM | #64 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
At some point I will get around to coding an XPath expression builder, but for the time being, you have to enter them by hand.
|
02-07-2009, 06:09 AM | #65 | ||
Wizard
Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Quote:
Quote:
As for XPath vs. the LRF settings, with the latter it took me 30 seconds of thinking about what I'm supposed to enter into those fields and exactly one failed attempt until I had the chapters detected and page breaks inserted exactly where I wanted them. I have no doubt that XPath is far more powerful and versatile a tool, but I doubt I would have gotten up to speed with XPath within two minutes... |
||
Advert | |
|
02-07-2009, 07:54 AM | #66 | |
book creator
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
|
Quote:
It might be a good habit for anyone involved in bookmaking in some way to just mark TOC files (parts, sections, chapters) in a uniform hierarchical way with tags or at least with uniform class labels and not use those tags or labels for other tasks. |
|
02-07-2009, 08:12 AM | #67 |
Wizard
Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Probably, yes. The thing is, I don't often make books myself. I've converted about two dozen books to FB2 for my own use using Bookdesigner, and this was my first attempt to go beyond that single format. So I'm still working out an optimal work flow. I've gone Word .doc -> Bookdesigner -> .html -> Cleanup with VIM -> Calibre with this one, but that's probably not optimal at all, especially since the BD html output leaves a lot to be desired as a basis for further work on a book.
|
02-07-2009, 05:17 PM | #68 |
Wizard
Posts: 1,159
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
I have a question about <br > tags. For some reason when I convert to mobi there is an extra space added after using them. So they kind of act like paragraph breaks. Is there anyway to make the break tag work like a regular break tag? I don't use break tags often but they are a big part of my TOC and with LRF my TOC is single spaced. I'd like to replicate that result with my mobi files.
|
02-08-2009, 06:24 PM | #69 |
Connoisseur
Posts: 73
Karma: 186
Join Date: Feb 2009
Location: CT, USA
Device: samsung i910 now - cybook later
|
Meta Data
Is it possible now that Calibre has MOBI output to save the updated meta data?
I don't want to do the full convert because I don't want to reformat the ebook, I'm happy with the format, I just want to put a better cover in the file and add series information to the meta. Mobi2Mobi_gui will let me update some of the meta but it doesn't give series and it doesn't have the great lookup function Calibre has to find the correct cover graphic and meta data. |
02-08-2009, 11:29 PM | #70 | |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
Anyway, try wrapping your table of contents or whatever in a <div> </div> tags so that your <br/> tags aren't directly in the <body/>. |
|
02-08-2009, 11:32 PM | #71 |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Er, yes? It should be automatic. If you import a Mobipocket version, update the metadata, then "save to disk" as Mobipocket, it should just write out a copy of the Mobipocket version w/ the updated metadata.
|
02-08-2009, 11:43 PM | #72 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It will in the next release. There were a couple of bugs in the mobipocket metadata setting code that needed to be fixed first.
|
02-09-2009, 07:00 AM | #73 |
Connoisseur
Posts: 73
Karma: 186
Join Date: Feb 2009
Location: CT, USA
Device: samsung i910 now - cybook later
|
Ok thank you very much, I was about to reply that I have tried the save as mobi and the cover graphic isn't being saved. Have to admit though I didn't double check whether the rest of the meta updated, was going to go back and check that before my reply - can still check which elements updated and which didn't if it would be helpful.
|
02-09-2009, 02:01 PM | #74 | |
Wizard
Posts: 1,159
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
Basically, yes I'm using <br > tags within the body of the html but what I still don't get is why when I convert to LRF the <br > tags work like they do on web browsers but when I convert to MOBI it adds an extra line. |
|
02-09-2009, 02:27 PM | #75 | |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
More abstractly, the problem is that you should never be using the <br/> tag in hand-written HTML. You should use semantic markup around anything you want to be rendered as a block-level box and use CSS to set appropriate display and margins. For example: Code:
<div class="lines"> <div class="line">This is on a line!</div> <div class="line">This is on another line!</div> </div> Code:
.lines { margin: 0; } .line { margin: 0; } |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
main menu, section menu, css for calibre mobipocket output | naisren | Calibre | 2 | 08-23-2010 11:42 PM |
Trying to get consistent look to all output | daveps | Calibre | 0 | 03-08-2010 02:18 PM |
Anyone Have mobipocket desktop? Mobipocket server is down. | Ireadfreely | Kindle Formats | 3 | 10-27-2008 10:29 AM |
convert from 'new' mobipocket to 'old' mobipocket? | Indigo Ink | Kindle Formats | 11 | 06-22-2008 01:43 AM |
Mobipocket Reader 4.8 and Mobipocket eNews Creator | Mobipocket | Reading and Management | 1 | 01-29-2004 08:03 AM |