ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jan Hlavacek <jhlavacek@sf.edu>
Subject: Re: ConTeXt and the blind
Date: Thu, 15 Apr 2004 10:32:48 -0500	[thread overview]
Message-ID: <20040415153248.GA9896@math.sf.edu> (raw)
In-Reply-To: <4E1ABA54-8E55-11D8-AE3A-00306544E64E@princeton.edu>

On Wed, Apr 14, 2004 at 04:50:04PM -0400, Alan Bowen wrote:

> So, does anyone on the list have ideas about how to produce such files 
> from the files I currently have in hand or any experience with this 
> sort of problem? Is there, for instance, a way to strip away all the 
> formatting commands from a ConTeXt source file automatically so as to 
> leave an unencoded .txt file that I could send him? I gather that he 
> can use .htm files, but so far as I can tell there is no path from a 
> ConTeXt source file to an HTML file?at least, a specific query about 
> this made recently on this list by someone else seems to have gone 
> unanswered.

There is a utility called untex, that strips LaTeX formating from a tex
file.  I didn't test it with ConTeXt, but it may work too.  If you can
produce a dvi file, there is couple of programs: dvi2tty  and catdvi
that can extract text from a dvi file,  Finally, pdftotext, which I
believe is a part of the xpdf package, can extract text from many pdf
files. 

Finally, there is a program called tex2page, that convert TeX to html.
Unlike latex2html, it can handle at least some plain TeX, so it may be
possible to use it on ConTeXt files.  Again, I didn't try it.  If you
want to experiment with it, it is at
http://www.ccs.neu.edu/home/dorai/tex2page/tex2page-doc.html

-- 
Jan Hlavacek                                            (260) 434-7566
Department of Mathematics                             Jhlavacek@sf.edu
University of Saint Francis               http://www.sf.edu/jhlavacek/

  parent reply	other threads:[~2004-04-15 15:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-14 20:50 Alan Bowen
2004-04-14 22:20 ` Bill McClain
2004-04-15 11:06   ` Erik Hetzner
2004-04-14 23:44 ` Matthew Huggett
2004-04-15 14:00   ` Alan Bowen
2004-04-15 14:24     ` Bill McClain
2004-04-15 15:32 ` Jan Hlavacek [this message]
2004-04-15 20:47   ` 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=20040415153248.GA9896@math.sf.edu \
    --to=jhlavacek@sf.edu \
    --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).