public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Problem when converting epub to mobi
@ 2015-01-29 22:04 Cesar Romani
  2015-01-30  6:09 ` Pablo Rodríguez
  2015-01-31  2:21 ` John MacFarlane
  0 siblings, 2 replies; 9+ messages in thread
From: Cesar Romani @ 2015-01-29 22:04 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On 01/12/2014 12:47 a.m., John MacFarlane wrote:
 > Thanks! I think this has already been fixed, in this commit to
 > pandoc-types:
 >
 > commit 4425dfc894761cc6cdff8e67d3e5ba78df2d5d4e
 > Author: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
 > Date: Tue Jul 8 00:23:51 2014 -0600
 >
 > Added `type="text/css"` to link tags in epub3 template.
 >
 >
 > I suppose we should get a new release together before the year's
 > end.

Was it added? Because I'm having the same behavior as before, i.e. all
xhtml files have
<link rel="stylesheet" href="stylesheet.css" />

and not
<link rel="stylesheet" href="stylesheet.css" type="text/css" />

which has the effect that all style customizations on stylesheet aren't
recognized when converting the epub to mobi.

Moreover, on nav.xhtml it was added:

<nav epub:type="landmarks" hidden="hidden">
   <ol>
     <li>
       <a href="cover.xhtml" epub:type="cover">Cover</a>
     </li>
     <li>
       <a href="#toc" epub:type="toc">Table of contents</a>
     </li>
   </ol>
</nav>

which has the effect, that when converting the epub to mobi, it doesn't
contain any Table of Contents.


Many thanks in advance,

-- 
Cesar


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Problem when converting epub to mobi
@ 2014-12-01  3:09 Cesar Romani
  2014-12-01  5:47 ` John MacFarlane
  0 siblings, 1 reply; 9+ messages in thread
From: Cesar Romani @ 2014-12-01  3:09 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I'm using pandoc 1.13.2 on Windows 7.
When I convert markup to epub with pandoc, and subsequently I convert
the epub to mobi, it doesn't recognize all the customized styles on
stylesheet.css

I notice that the xhtml files contain the line:
<link rel="stylesheet" href="stylesheet.css" />

it should be:
<link rel="stylesheet" href="stylesheet.css" type="text/css" />

then, all styles on stylesheet.css will be recognized.


Many thanks in advance,

-- 
Cesar


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-01-31  3:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-29 22:04 Problem when converting epub to mobi Cesar Romani
2015-01-30  6:09 ` Pablo Rodríguez
     [not found]   ` <54CB201D.6060408-S0/GAf8tV78@public.gmane.org>
2015-01-30 15:32     ` Cesar Romani
     [not found]       ` <54CBA422.9060108-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-30 21:49         ` John MacFarlane
     [not found]           ` <20150130214949.GA1805-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
2015-01-31  1:56             ` Cesar Romani
2015-01-31  2:21 ` John MacFarlane
     [not found]   ` <20150131022105.GA5231-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
2015-01-31  3:14     ` Cesar Romani
  -- strict thread matches above, loose matches on Subject: below --
2014-12-01  3:09 Cesar Romani
2014-12-01  5:47 ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).