Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-18-2011, 04:44 PM   #1
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
New Txtz - couple of things.

user_none,
Firstly, the images are now included (when added to txtz), when converted.
The new paragraph style - off , works perfectly.

Now, my problem, how does the new txt import to txtz work, I've tried several image links in txt file, both markdown and textile, but none get picked up, and the file stays as txt only - (no zipping, image collection).

What sort of markup does the feature require?

I tried several ways of linking them ...
Code:
markdown
![alt text](00003.jpg "Title")

![alt text](Images/00004.jpg "Title")

![alt text](/Images/00004.jpg "Title")


Textile
!E:/_BOOKS/Images/00003.jpg!

!E:/_BOOKS/Images/00004.jpg!

!00003.jpg!

!Images/00004.jpg!
Perkin is offline   Reply With Quote
Old 02-18-2011, 05:01 PM   #2
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
I think I've solved it, One of the relative images wasn't accesible from where I was importing from, when I copied the images to be in place in correct folders, the import worked fine.
Perkin is offline   Reply With Quote
Advert
Old 02-18-2011, 05:49 PM   #3
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
I'm glad to hear its working well.

It will only add the images with the import plugin and create a TXTZ if the images are relative and accessible at the specified location. Absolute path referenced images are not included because there is no way to do so.
user_none is offline   Reply With Quote
Old 02-18-2011, 06:28 PM   #4
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
Quote:
Originally Posted by user_none View Post
I'm glad to hear its working well.

It will only add the images with the import plugin and create a TXTZ if the images are relative and accessible at the specified location. Absolute path referenced images are not included because there is no way to do so.
Works very well.

I found out about just relative images, through testing. Just need to be sure what's possible.

The only thing that doesn't work now is the problem discussed previously about escaped styled markup, when for example you want some bold/italicised text inside other text or too near to a quote mark. - I'm just using a html tag for those instances.
(thankfully they're very rare)

Very happy with all your work on this.
Thanks

Edit:
I need to spread karma around, before you get some.
Perkin is offline   Reply With Quote
Old 02-18-2011, 06:50 PM   #5
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by Perkin View Post
I found out about just relative images, through testing. Just need to be sure what's possible.
The plugin looks through the text and collects all image references. Markdown reference and inline (regex might need tweaking) is supported as well as Textile.

The collected image reference are checked and if all are true will be included in the archive:
  • Path must not be empty.
  • Path must be a relative path.
  • The mimetype of the image (based on extension) must be an OEB supported image type. (JPG, PNG, SVG, GIF).
  • The image must exist relative to the TXT file's location and the location specified by the path.
user_none is offline   Reply With Quote
Advert
Old 02-18-2011, 07:16 PM   #6
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
Thanks for info.
Perkin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A couple things to figure out on the color nook dkperez Nook Color & Nook Tablet 8 12-13-2010 12:55 PM
Just a couple of questions. mufc Recipes 1 12-12-2010 07:52 PM
A couple of questions Metathron Bookeen 12 07-31-2009 07:05 AM
Couple of questions royboy99 Sony Reader 3 03-26-2009 06:53 AM
I'll be gone for a couple weeks Nate the great Lounge 11 11-20-2007 12:25 PM


All times are GMT -4. The time now is 10:51 PM.


MobileRead.com is a privately owned, operated and funded community.