ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Manfred Lotz <manfred.lotz@arcor.de>
To: ntg-context@ntg.nl
Subject: ConTexT conversion to html/rtf/odt
Date: Sat, 6 Nov 2010 20:33:59 +0100	[thread overview]
Message-ID: <20101106203359.208dccb6@arcor.com> (raw)

Hi there,
I'm in a situation where I have to do some documentation which should
be available in html and rtf/odt (would be nice to have).

I do not need any fancy stuff, just simple things: ordered,
unordered lists, verbatim, tables etc.

As a ConTeXt newbie I thought this might be a good idea to get into
ConTeXt. However, I'm not quite sure how to create HTML from ConTeXt.


What I tried so far:

Created a simple document:

\starttext

\section{Some section}

\startitemize[1]
    \item bla bla
\stopitemize

\stoptext    


Tried htcontext test.tex and got:

! Undefined control sequence.
<argument> <dl class="dd-\itemlevel 
                                    ">
\HCode ...ode \leavevmode \fi \ht:special {t4ht=#1
                                                  }\fi 
\a:itemize-group ... {<dl class="dd-\itemlevel ">}
                                                  \global \let \end:dd
=\empty 

\dostartitemgroup ... {\dodostartitemgroup [#2][]}
                                                  \fi 
<to be read again> 
                   \item 
l.6     \item
              bla bla
? 


Perhaps there is some stupidity from my side. If yes I appreciate any
corrections. If no then htcontext from package tex4ht doesn't really
work for ConTeXt and then I would like to know what other alternatives
I have. Also regarding rtf or/and odt.



-- 
Thanks,
Manfred






-- 
Manfred


___________________________________________________________________________________
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:[~2010-11-06 19:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-06 19:33 Manfred Lotz [this message]
2010-11-06 21:00 ` Aditya Mahajan
2010-11-07 10:18   ` John Haltiwanger
2010-11-07 20:50     ` Aditya Mahajan
2010-11-07 10:54   ` Manfred Lotz
2010-11-07 11:09     ` luigi scarso
2010-11-07 11:12     ` Hans Hagen
2010-11-07 11:02   ` luigi scarso
2010-11-07  9:51 ` Mojca Miklavec

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=20101106203359.208dccb6@arcor.com \
    --to=manfred.lotz@arcor.de \
    --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).