<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000"><br>
<blockquote style="border: 0px none;" cite="mid:559EA222.5040705@gmx.es"
type="cite">
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:oinos@gmx.es"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Pablo Rodriguez</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">9. Juli 2015
18:32</span></font></div> </div></div>
<div style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><div>Dear list,<br><br>this is a
bit weird, because the vast majority of the list members are<br>way
forward in the path of ConTeXt knowledge than myself.<br><br>But just in
case you were interested, I created an environment to<br>typeset XHTML
generated by pandoc with ConTeXt MkIV.<br><br>Here you have the
websites:<br><br> <a class="moz-txt-link-freetext" href="http://www.from-pandoc-to-context.tk">http://www.from-pandoc-to-context.tk</a><br>
<a class="moz-txt-link-freetext" href="https://github.com/ousia/from-pandoc-to-context">https://github.com/ousia/from-pandoc-to-context</a><br>
</div></div>
</blockquote>
<br>
Just a few comments on your code.<br>
<br>
1. When you use \vfill at the begin of a makeup environment you don’t
need \mbox and a ConTeXt user would use \dontleavehmode instead of
\mbox.<br>
<br>
2. To create a language dependant header for the TOC etc. you can use
the \headtext command, e.g.<br>
<br>
\title{\headtext{content}}<br>
\placelist[part,chapter]<br>
<br>
3. Be careful when you use _ in command names, e.g. \TOC_Title because
it your case you created the command \TOC followed by the string
“_Title”.<br>
<br>
4. Better use \crlf to force a line break for the <br/> tag
because \\ can produce different results depending in the environment.<br>
<br>
5. Use \define[2]\... or \unexpanded\def\... to create your \href
command.<br>
<br>
6. ConTeXt already has a \url command.<br>
<br>
7. Your \url command has two font changes (\tt and \hw) and one should
be removed.<br>
<br>
Wolfgang<br>
</body></html>