Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2010, 11:06 AM   #1
fogrider
Junior Member
fogrider began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2010
Device: android phone
Failure to block-indent PML \t sections

When adding a Dropbox-created PDB book, the Calibre E-book Viewer (v0.7.32) fails to block indent sections which were surrounded by \t in the original PML source.

Here is some simple PML code which uses \t around the second paragraph paragraph to indent the entire block:

=========
Here is the indented paragraph:


\tThis is a really boring indented paragraph, for example purposes only.\t


And the normal text resumes here.
==========

On Nook for PC the PDB looks like this (overly narrowed for emphasis):

=========
Here is the indented
paragraph:


____This is a really boring
____indented paragraph, for
____example purposes only.


And the normal text
resumes here.
==========

In Calibre E-book View, after adding the PDB to Calibre and then choosing view (with no explicit conversion):

=========
Here is the indented
paragraph:

____This is a really boring
indented paragraph, for
example purposes only.

And the normal text
resumes here.
==========

It is as if only a single TAB was inserted, and the block indent was ignored. PML clearly defines \t as "Indent block," not TAB.

This is without any explicit conversion. However, after converting to other formats, say to ePub, the problem is perpetuated. The same result is observed in the new format: only a single TAB, no block indent.

I also tried adding the PML directly to Calibre and converting to ePub to view. Results were the same.

Is it a bug? If no, is there a better way to get PML source into Calibre accurately?


p.s.

I tried two styles of \t in the PML, both with the same result:

\tindented pp\t

\t
indented pp
\t
fogrider is offline   Reply With Quote
Old 12-22-2010, 01:32 PM   #2
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,436
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Open a ticket at http://calibre-ebook.com and I will look into it.
user_none is offline   Reply With Quote
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with PML Conversions - Is it a bug? JulianL Calibre 10 07-18-2010 04:15 PM
Is it okay to import PML directly into Calibre? ficbot Calibre 3 05-02-2010 07:37 PM
Including images from PML macr0t0r Calibre 13 12-05-2009 01:52 AM
Cover images for PML/PDB -- size? Jon Noring Workshop 0 08-13-2008 07:35 PM


All times are GMT -4. The time now is 06:25 AM.


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