ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan Tosovsky" <j.tosovsky@email.cz>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: EPUB woes
Date: Wed, 20 Nov 2013 20:43:54 +0100	[thread overview]
Message-ID: <46785.4440598332$1384976645@news.gmane.org> (raw)
In-Reply-To: <528CFB40.2030100@meahan.net>

On 2013-11-20 Bill Meahan wrote:
> On 11/20/2013 8:59 AM, Aditya Mahajan wrote:
> >
> > As far as ConTeXt is concerned, you can process the above XML quite
> > easily. Come to think of it, it may be a useful to provide a module
> > that maps HTML5 to PDF.
> >
> 
> I would vote for that approach. It is pretty much analogous to what I
> have decided to do. I'm doing my actual writing in HTML. creating CSS
> for ebooks and ConTeXt environment files for PDF.
> ...
> 
> My needs are much simpler than the majority of people on this list. I
> have no need for math, no need for indexes, no need for bibliographies,
> footnotes or citations. BUT I want really top-notch visual output
> whether in PDF or printed on dead trees. 

This is exactly my situation ;-)

Two outputs ideally from the same data. But thanks to my XML background and
experience in the single source publishing it was clear from the very
beginning that I need a well structured and also semantically rich
vocabulary like DocBook.

Generating ePub3 outputs is very straighforward (things gets complicated
when you need customize it). It is same for PDF outputs. These outputs are
generated using XSL-FO processors. But to be honest, outputs are not so
visually appealing as they lack many microtypographic features (expansion,
hanging punctuation etc).

This is the reason why I do a noise here in this forum.

There is a db-context tool (set of XSLT stylesheets):
http://dblatex.sourceforge.net/releases/download.html

It can convert DocBook XML into the ConTeXt source. I do some direct (local)
changes into it to avoid manual post-processing (which gets lost with every
generating - I still do some corrections in my source).

This solution requires some experience in XML processing, but I encourage
anybody who need multiple outputs from a single data to investigate it a
bit. It is so powerfull ;-)

Jan



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-11-20 19:43 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-16 15:16 Bill Meahan
2013-11-16 16:00 ` Keith J. Schultz
2013-11-16 16:51   ` Bill Meahan
2013-11-16 17:37     ` Aditya Mahajan
2013-11-16 18:15       ` Bill Meahan
2013-11-18  9:00       ` Keith J. Schultz
2013-11-18 12:21         ` Hans Hagen
2013-11-18 15:11           ` Keith J. Schultz
2013-11-18 15:33             ` Hans Hagen
2013-11-18 18:12               ` Keith J. Schultz
2013-11-19 21:39                 ` Mica Semrick
2013-11-20  9:39                   ` Keith J. Schultz
2013-11-20 13:59                     ` Aditya Mahajan
2013-11-20 18:11                       ` Bill Meahan
2013-11-20 19:43                         ` Jan Tosovsky [this message]
2013-11-20 19:12                       ` Keith J. Schultz
2013-11-18  8:05     ` Keith J. Schultz
2013-11-16 16:07 ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2012-11-15 18:58 Epub woes Bill Meahan
2012-11-15 19:24 ` Wolfgang Schuster
2012-11-15 20:20   ` Bill Meahan
2012-11-15 23:55 ` Marcin Borkowski
2012-11-16  0:13 ` Aditya Mahajan
2012-11-16  0:48   ` Bill Meahan
2012-11-16  4:17     ` Aditya Mahajan
2012-11-16 15:41       ` Bill Meahan
2012-11-16 16:36         ` Aditya Mahajan
2012-11-16  6:49 ` Andy Thomas
2012-11-16  7:13   ` luigi scarso
2012-11-16  7:18     ` Andy Thomas
2012-11-16 23:18     ` Zenlima
2012-11-16 23:21       ` Zenlima
2012-11-16 23:41     ` Bill Meahan
2012-11-17  7:08       ` luigi scarso
2012-11-17  9:18         ` Alan BRASLAU
2012-11-17 16:48         ` Bill Meahan
2012-11-17 17:24           ` luigi scarso
2012-11-16 10:21   ` Keith J. Schultz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='46785.4440598332$1384976645@news.gmane.org' \
    --to=j.tosovsky@email.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).