ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: Context to epub: itemize
Date: Mon, 16 Feb 2015 19:55:41 +0100	[thread overview]
Message-ID: <54E23D2D.7050306@wxs.nl> (raw)
In-Reply-To: <26301630-C723-4870-A56D-345219EB4E99@axelkielhorn.de>

On 2/16/2015 5:17 PM, Axel Kielhorn wrote:
> Hi,
>
> I'm trying to generate epub from ConTeXt and I couldn't get the itemize environment to work.
>
> I follow http://wiki.contextgarden.net/ePub and get the structure described but when I look into the xhtml, there is no itemize environment. (At least no with Safari, Firefox or Calibre.) When use vi I see something that looks like my items in a very complex form.
>
> I was expecting something like
>
> <ul>
>    <li>   </li>
>    <li>   </li>
> </ul>
>
> but i see
>
> <div class="itemgroup itemize level-1 symbol-1">
>    <div class="item">
>      <div class="itemtag"><m:math display="inline" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:mo>•</m:mo></m:math></div>
>      <div class="itemcontent">Listenpunkt 1</div>
>    </div>
>    <div class="item">
>      <div class="itemtag"><m:math display="inline" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:mo>•</m:mo></m:math></div>
>      <div class="itemcontent">Listenpunkt 2
>        <div class="itemgroup itemize level-2 symbol-2">
>        <div class="item">
>        <div class="itemtag"><m:math display="inline" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:mo>−</m:mo></m:math></div>
>      <div class="itemcontent">Listenpunkt 2.1</div></div>
>      <div class="item">
>      <div class="itemtag"><m:math display="inline" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:mo>−</m:mo></m:math></div>
>      <div class="itemcontent">Listenpunkt 2.2</div></div></div></div>
>      </div>
>
> Shouldn't the itemtag definition come from the default.css instead of using MathML?
>
> itemgroup[symbol="1"], div.itemgroup.symbol-1 { list-style-type : disc ; }
>
> I’m using: mtx-context     | current version: 2015.02.03 23:55
>
> and
>
> context --script epub --make epub_mwe
>
> to create the epub.

the bullets come from math fonts (currently, awaiting additional symbols 
in the text fonts)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2015-02-16 18:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-16 16:17 Axel Kielhorn
2015-02-16 18:55 ` Hans Hagen [this message]
2015-02-17  6:11   ` Axel Kielhorn
2015-02-17  7:24     ` Epub format Was: " Keith J. Schultz
2015-02-17 20:16       ` Hans Hagen
2015-02-17 21:01         ` Keith Schultz
2015-02-18 16:54           ` Hans Hagen
2015-02-19  9:27             ` Keith Schultz
2015-02-17 22:37         ` Aditya Mahajan
2015-02-18  8:14           ` Henning Hraban Ramm
2015-02-18 14:10             ` Keith J. Schultz
2015-02-18 14:21               ` Henning Hraban Ramm
2015-02-18 16:44               ` Hans Hagen
2015-02-18 16:55           ` Hans Hagen

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=54E23D2D.7050306@wxs.nl \
    --to=pragma@wxs.nl \
    --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).