Congratulations Nisus - ePub output is great

Everything related to our flagship word processor.
Post Reply
Posts: 2
Joined: 2010-12-30 10:13:55

Congratulations Nisus - ePub output is great

Post by peterdanckwerts » 2011-06-01 09:20:35

I've tried and failed to get half decent ePub output from InDesign CS4 so I was amazed to find out how good it was from NWP2. Most impressive. :)
Peter Danckwerts, The Word Business

User avatar
Posts: 158
Joined: 2009-05-21 11:53:23
Location: Midway through infinity (or Ottawa, Canada).

Re: Congratulations Nisus - ePub output is great

Post by Jester » 2011-06-02 10:12:44

Congrats Nisus :D .

Posts: 280
Joined: 2007-10-21 14:59:09

Re: Congratulations Nisus - ePub output is great

Post by ptram » 2011-06-03 01:16:25


[EDIT: I rewrote this message, to make my thought a bit clearer]

I'm dealing with the ePUB format more and more, and have discussed with others of how the various apps export in this format.

NWP2 exports XHTML code (HTML and ePUB export) making use of cascading style sheets (CSS); so, a level 1 heading becomes <p class="heading-1"> instead of the traditional <h1>. There are a couple problems inherent to this syntax, when dealing with more basic ePUB visualizers, or when instant semantic identification of structural elements is required.

For example, if you open an ePUB generated by NWP2 with Stanza on the Mac, you will notice that Heading 1 paragraphs are not shown as chapter starts: they appear as ordinary text. At the same time, this format makes editing code with Sigil (or other tools) much more difficult.

InDesign CS5 correctly exports Heading 1 paragraphs as <h1> tags in ePUBs. Unfortunately, it doesn't do the same when exporting HTML (CS5.5 fixes that). With InDesign, you can easily map the "Heading 1" paragraph style to a <h1> tag, and this will translate into a traditional syntax when exporting without CSS.

I could use the PowerFind feature of NWP to edit the resulting code, but I would love to see an option to export in a more traditional format.

Incidentally, the replacement strings I use in the PowerFind window are:
Search: <p class=(AllQuotes)heading-2(AllQuotes)>(Memorized()(AnyText)())</p>
Replace: <h2>(Memorized1)</h2>

I could not find a viable GREP syntax for TextWrangler, a very useful tool for editing multiple text files at once.

Best regards,
Last edited by ptram on 2011-06-09 15:29:51, edited 2 times in total.

Posts: 105
Joined: 2004-01-29 04:17:10
Location: Paris, FR

Re: Congratulations Nisus - ePub output is great

Post by feat » 2011-06-03 21:04:37

don't tell me epub output is great; just wait till you see what happens to images: once they are downsampled to low-resolution jpeg format, they are mangled beyond recognition, just the same as when exported to html...

Posts: 1
Joined: 2011-06-09 07:54:49

Re: Congratulations Nisus - ePub output is great

Post by tokeriis » 2011-06-09 07:58:18

I couldn't find out how to use Powerfind to do the H replacements, so thanks :-)

Pages produce a much cleaner epub imo.

Post Reply