From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30746 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Making context produce dvi file. Date: Mon, 11 Sep 2006 12:32:23 -0400 (EDT) Message-ID: References: <200609110805.47267.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1157992377 28891 80.91.229.2 (11 Sep 2006 16:32:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2006 16:32:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 11 18:32:55 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GMoiD-0003vx-JJ for gctc-ntg-context-518@m.gmane.org; Mon, 11 Sep 2006 18:32:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 758C71FDEC; Mon, 11 Sep 2006 18:32:44 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01771-02; Mon, 11 Sep 2006 18:32:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C7C31FCC7; Mon, 11 Sep 2006 18:32:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 60D2A1FCC7 for ; Mon, 11 Sep 2006 18:32:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24373-04 for ; Mon, 11 Sep 2006 18:32:27 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with SMTP id 2073E1FCB1 for ; Mon, 11 Sep 2006 18:32:26 +0200 (CEST) Original-Received: FROM eecs4327u10.engin.umich.edu (eecs4327u10.engin.umich.edu [141.213.51.138]) BY hackers.mr.itd.umich.edu ID 45058F99.2B625.27063 ; 11 Sep 2006 12:32:25 -0400 X-X-Sender: adityam@eecs4327u10.engin.umich.edu Original-To: mailing list for ConTeXt users In-Reply-To: <200609110805.47267.john@wexfordpress.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:30746 Archived-At: John, On Mon, 11 Sep 2006, John R. Culleton wrote: > For one recurring task I first produce a booklet version 5.5. x > 8.5in, then a straight pdf 8.5 x 11in, all controlled by modes. The > third format is plain text. Others recommend dvi2tty for this > conversion. But how do I get Context to produce a dvi file? The > Context manual does not make this clear. Not that you asked, but dvitty does not seem to be the best way to get a plain text output. I am assuming that you do not have maths, otherwise text output will not make much sense. Assuming that you have a document with simple structure (title, section, header, etc), and not too complicated floats (figures and tables), and you want pdf and plain text, I think that starting from xml is better. For simple tasks, html is sufficient. For more complicated tasks, you will need to define your own xml schema. In either case, you can get a pdf with all the bells and whistles by compiling the xml (or html) file using context. To get a plain text output, open your file in a browser and save as text (lynx --dump or links -dump will work if the file is html) to get a text output. IMHO, this is much easier than trying to coax tex to output something that resemples a typewritter output (fixed width fonts, no hyphenation, etc) Aditya