ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: html to context
Date: Sat, 15 Jan 2005 15:23:17 +0000	[thread overview]
Message-ID: <20050115152317.29386@news.comp.lancs.ac.uk> (raw)
In-Reply-To: <421F13B7@webmail.colostate.edu>

ishamid said this at Sat, 15 Jan 2005 08:12:34 -0700:

>Have any of you guys a script or something to convert simple html to
ConTeXt? 
>There are apparently a couple of html2latex converters out there but is
there 
>anything for ConTeXt?

Huh, that's funny. I was just thinking about that in the context of this
post, as pointed out by Bruce d'Arcus:
<http://kronavita.de/chris/blog/archive/2005/01/converting-bluecloth-to-
pdf.html>

So it sounds like that XSLT would be one place to start.
I have to think, at least with XHTML-basic <http://www.w3.org/TR/xhtml-
basic/>, that going in and renaming a few of the elements in x-contml
would get you a lot of the way there, as well.

I have to think that <http://tidy.sourceforge.net/> is a worthwhile pre-
processor to have in one's arsenal, and I pointed out <http://www.re.be/
css2xslfo/> to the foXet list just the other day. Technically speaking,
if that converts to XSL-FO as well as it appears, ConTeXt could well be
the back end to it.

But to answer your question, no I don't have anything per se. I'm just
thinking about it. (And, because of PhD obligations, that's all I'm going
to do about it, for the time being!)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2005-01-15 15:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-15 15:12 ishamid
2005-01-15 15:23 ` Adam Lindsay [this message]
2005-01-15 15:24 ` Patrick Gundlach
2007-10-25 14:50 HTML to ConTeXt Aditya Mahajan
2007-10-25 20:17 ` Idris Samawi Hamid
2007-10-26  4:22   ` Aditya Mahajan

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=20050115152317.29386@news.comp.lancs.ac.uk \
    --to=atl@comp.lancs.ac.uk \
    --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).