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/