ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bill Meahan <subscribed_lists@meahan.net>
To: ntg-context@ntg.nl
Subject: Re: EPUB woes
Date: Sat, 16 Nov 2013 13:15:04 -0500	[thread overview]
Message-ID: <5287B628.9070202@meahan.net> (raw)
In-Reply-To: <alpine.DEB.2.02.1311161216370.18673@nqv-guvaxcnq>

On 11/16/2013 12:37 PM, Aditya Mahajan wrote:
> On Sat, 16 Nov 2013, Bill Meahan wrote:
>
>> I would /expect/ to get a valid EPUB file, or so I'm lead to believe.
>>
>
> 1. Wait until the EPUB readers catch up. It took almost 10-15 years 
> for the browsers to catch up with the HTML standards, and I don't have 
> much hope for EPUB readers here. Last I checked, none of them 
> supported even MATHML-2.
>
> 2. Write a script (either using xmlproc, or using you favorite XML 
> parser in your favorite language) that converts the XML generated by 
> ConTeXt into a "standard" XHTML file. This is the easiest and the 
> least time consuming alternative.
>
> 3. Modify the way in which ConTeXt generates the XML files. Ideally, I 
> should be able to write something like
>
> ~~~
> \setupparagraph[tag=p, class=default]
> ~~~
>
> to tell context that \startparagraph ... \stopparagraph should 
> translate to `<p class="default"> ... </p>". Last I checked the code 
> that generates the XML file, there was no easy way to change the tags 
> and classes.
>
> I hope that the above description clarifies the situation.
>
> Aditya

Thanks for the clarification.

-- 
Bill Meahan, Westland, Michigan

  
   “Writing is like getting married. One should never
    commit oneself until one is amazed at one's luck.”

                                —Iris Murdoch

This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.

___________________________________________________________________________________
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-16 18:15 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 [this message]
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
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=5287B628.9070202@meahan.net \
    --to=subscribed_lists@meahan.net \
    --cc=lists@meahan.net \
    --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).