From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49597 Path: news.gmane.org!not-for-mail From: Michail Vidiassov Newsgroups: gmane.comp.tex.context Subject: Re: Producing dvi Date: Sun, 19 Apr 2009 16:14:58 +0400 (MSD) Message-ID: References: <49EB0C90.3070903@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240143750 13925 80.91.229.12 (19 Apr 2009 12:22:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Apr 2009 12:22:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 19 14:23:49 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1LvW3p-0002iT-BJ for gctc-ntg-context-518@m.gmane.org; Sun, 19 Apr 2009 14:23:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72ECA1FD12; Sun, 19 Apr 2009 14:22:21 +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 04845-04; Sun, 19 Apr 2009 14:21:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C3B3F1FCDF; Sun, 19 Apr 2009 14:21:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E08E1FCDF for ; Sun, 19 Apr 2009 14:21:38 +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 04518-04-4 for ; Sun, 19 Apr 2009 14:21:28 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id 700371FCCE for ; Sun, 19 Apr 2009 14:21:28 +0200 (CEST) Original-Received: from serv.iaas.msu.ru (serv.iaas.msu.ru [212.192.224.252]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3JCLRVg010824 for ; Sun, 19 Apr 2009 14:21:27 +0200 Original-Received: from [192.168.0.2] (host-81.200.0.155.su29.ru [81.200.0.155]) (authenticated bits=0) by serv.iaas.msu.ru (8.14.2/8.14.2) with ESMTP id n3JCE2YE095482 for ; Sun, 19 Apr 2009 16:14:02 +0400 (MSD) (envelope-from master@iaas.msu.ru) X-X-Sender: master@MacBook-2.local In-Reply-To: <49EB0C90.3070903@wxs.nl> User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.192.224.252; country=RU; region=48; city=Moscow; latitude=55.7522; longitude=37.6156; http://maps.google.com/maps?q=55.7522,37.6156&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 210773370 - b92b0b3df776 - 20090419 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49597 Archived-At: Dear Hans, On Sun, 19 Apr 2009, Hans Hagen wrote: >> is it possible to produce dvi in mkiv? >> DVI has to be fit for dvips use. >> >> The reason for my question - Asymptote vector drawing tool >> sets labels by processing PS output of LaTeX and relies on the PS >> being made by dvips. > > you can produce dvi when you force the pdfoutput mode but you will probably > get errors reported > > best convert that ps to pdf than and include the pdf No, no, no! I have been misunderstood! The problem is not how to include Asymptote output into ConTeXt. If it is 2D - then it is just normal PDF, that can be included as usual. If it is 3D - I have the code, modeled after movie inclusion (thanks Hans, you fixed it when I have mentioned that it was broken in mkiv). What I am talking about now is how to typeset labels within Asymptote by ConTeXt. Asymptote takes label text, wraps it into a minimal document and feeds to a TeX engine, gets DVI, processes it with dvips, redefines some PS commands (here it relies on the dvips specifics) so that the information on the resulting path is being printed and runs the PS file through ghostscript. Thus Asymptote gets the information of the curves the label consists of. So if it is possible to feed ConTeXt output to dvips, than it'll be easy to adopt Asymptote to use ConTeXt. If mkiv does not produce dvi (now? never will? not intended to?), what about mkii? Sincerely, Michail PS. The black side of mirgation from another system - you are both a novice and need to setup/modify your new tool in unevident ways to translate your existing work into new terms... You barely drive but need to fit that trusty Gatling on the car's roof :( ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________