![](https://secure.gravatar.com/avatar/7300d3eb9b50cf7e8728cb7991d01275.jpg?s=120&d=mm&r=g)
Hi, I ran the following simple document through ConTeXt: \setupbackend[export=yes,xhtml=yes] \enableregime[utf-8] \mainlanguage[en] \language[en] \setupexport[ title={A nice book}, author={John Doe}, firstpage={cover.jpg}, ] \starttext \startitemize \item First \item Second \item Third \stopitemize \stoptext I then ran mtxrun: mtxrun --script epub --make t.specification This produced a document with the cover page correctly; however, the items were listed on a single line in the EPUB, instead of on lines by themselves. I have a couple of questions: - *Styling.* Is custom styling required to format bullet or numbered lists in the resulting EPUB XHTML document? - *Knowledge.* Would anyone be willing to share their experiences (and tips) for transforming ConTeXt documents to EPUB? - *Examples.* Where can I find examples of simple and complex ConTeXt documents being converted to EPUB documents having a similar layout? Many thanks and kind regards.
![](https://secure.gravatar.com/avatar/d55e3a0cc5e218bdcf3c95c563ff8a22.jpg?s=120&d=mm&r=g)
You will probably need CSS styling.
Maybe you can use one of the popular CSS reset or normalize stylesheets
available. I haven't tested, but http://necolas.github.io/normalize.css/ is
pretty popular.
Beware, a lot of EPUB rendering engines are crap, and there is not a lot of
conformity throughout various products. This seems sad... since it is just
XHTML.
-Mica
On Wed, Aug 28, 2013 at 9:29 AM, Thangalin
Hi,
I ran the following simple document through ConTeXt:
\setupbackend[export=yes,xhtml=yes]
\enableregime[utf-8] \mainlanguage[en] \language[en]
\setupexport[ title={A nice book}, author={John Doe}, firstpage={cover.jpg}, ]
\starttext \startitemize \item First \item Second \item Third \stopitemize
\stoptext
I then ran mtxrun:
mtxrun --script epub --make t.specification
This produced a document with the cover page correctly; however, the items were listed on a single line in the EPUB, instead of on lines by themselves.
I have a couple of questions:
- *Styling.* Is custom styling required to format bullet or numbered lists in the resulting EPUB XHTML document? - *Knowledge.* Would anyone be willing to share their experiences (and tips) for transforming ConTeXt documents to EPUB? - *Examples.* Where can I find examples of simple and complex ConTeXt documents being converted to EPUB documents having a similar layout?
Many thanks and kind regards.
___________________________________________________________________________________ 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
___________________________________________________________________________________
participants (2)
-
Mica Semrick
-
Thangalin