[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Lists on Kindle
Wow, this is interesting information. I'd be curious about how you suppress an HTML tag with xsl. I know how to insert HTML code, but not to remove it...... Anyone have a simple example? (Fortunately, a need for that hasn't come up yet for me). (The only thing I could dig out of the archives is how to suppress everything but the content http://markmail.org/message/ot5neqzujkrgo7i2?q=supress+html+list:org.oasis-open.lists.docbook-apps#query:supress%20html%20list%3Aorg.oasis-open.lists.docbook-apps+page:1+mid:zsijp3vwygyf24mu+state:results ). robert On Thu, Sep 23, 2010 at 5:33 PM, Dick Hamilton <rlhamilton@frii.com> wrote: > This seems to happen because the DocBook transforms generate the > following html for a list item, and I suspect the <p> forces a break: > > <li><p>The line that ....</p></li> That's correct. > I'm about to dive in and do a little xsl programming to clean this up, > but it seemed like a common enough problem that someone might have > already fixed this, and would be willing to share the solution. The solution you're approaching is the one that has been used by other folks, although others have gotten Calibre to do the same alterations. While the DocBook-XSL EPUB output is designed to create EPUBs that can be consumed by kindlegen, there are a number of simplifications, modifications, and degradations that are useful for EPUBs destined for kindlegen and Mobi that don't have any utility elsewhere. Keith -- Robert Nagle htpt://www.robertnagle.info
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]