Re: [NTG-context] Markdown subitems fail

2012-05-11 Thread Marco
On 2012-05-10 Hans Hagen pra...@wxs.nl wrote:

  I assume the markdown module uses a custom lua parser
  internally.
 
 indeed, and I need to update it (some ay)

There's no need to invest time on that issue. I just discovered the
module and gave it a shot. Anyhow, I use pandoc for the conversion
(and let the pandoc folks fix the parser bugs ;)

Marco


___
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
___


[NTG-context] Markdown subitems fail

2012-05-10 Thread Marco
Subitems in markdown behave buggy. Example:

\usemodule [markdown]
\starttext
\startmarkdown
- Some item
- Another item
- Subitem one
- Subitem two
\stopmarkdown
\stoptext

Result:

• Some item
• Another item
  startmarkdownitemize[packed]
  startitem Subitem one stopitem stopmarkdownitemize

Using pandoc works fine. I assume the markdown module uses a custom
lua parser internally.

Marco


___
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
___

Re: [NTG-context] Markdown subitems fail

2012-05-10 Thread Hans Hagen

On 10-5-2012 20:56, Marco wrote:

Subitems in markdown behave buggy. Example:

\usemodule [markdown]
\starttext
\startmarkdown
- Some item
- Another item
 - Subitem one
 - Subitem two
\stopmarkdown
\stoptext

Result:

• Some item
• Another item
   startmarkdownitemize[packed]
   startitem Subitem one stopitem stopmarkdownitemize

Using pandoc works fine. I assume the markdown module uses a custom
lua parser internally.


indeed, and I need to update it (some ay)

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
___