From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58586 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: PPCHTEX with PSTricks option Date: Fri, 7 May 2010 13:04:25 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201005071304.25326.alan.braslau@cea.fr> References: <4BE39CDE.10405@gmx.net> <201005070912.57406.alan.braslau@cea.fr> <4BE3CDF8.1000102@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" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1273230288 16718 80.91.229.12 (7 May 2010 11:04:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 May 2010 11:04:48 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen , Helge Kruse Original-X-From: ntg-context-bounces@ntg.nl Fri May 07 13:04:45 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OALMJ-0004DO-U7 for gctc-ntg-context-518@m.gmane.org; Fri, 07 May 2010 13:04:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46F70C9CA2; Fri, 7 May 2010 13:04:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id d3w8Dz6nT5uB; Fri, 7 May 2010 13:04:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3E344C9C91; Fri, 7 May 2010 13:04:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3C37AC9C91 for ; Fri, 7 May 2010 13:04:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ft25DSKzu70I for ; Fri, 7 May 2010 13:04:32 +0200 (CEST) Original-Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.1]) by balder.ntg.nl (Postfix) with ESMTP id 06777C9C8C for ; Fri, 7 May 2010 13:04:31 +0200 (CEST) Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id o47B4UIY014757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 7 May 2010 13:04:31 +0200 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire2.extra.cea.fr (8.14.4/8.14.4) with ESMTP id o47B4USP007713; Fri, 7 May 2010 13:04:30 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-ha-003840.localnet (iram-ha-003840.extra.cea.fr [132.166.25.152]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.1) with ESMTP id o47B4ULG020518; Fri, 7 May 2010 13:04:30 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.32; KDE/4.4.3; x86_64; ; ) In-Reply-To: <4BE3CDF8.1000102@wxs.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:58586 Archived-At: On Friday 07 May 2010 10:23:20 Hans Hagen wrote: > On 7-5-2010 9:12, Alan BRASLAU wrote: > > ppchtex has been rewritten for conTeXt using luatex > > and line drawing has been considerably improved. > > However, I do not believe that this version will (ever) > > be adapted for use with LaTeX. Perhaps Hans can give > > you a better answer. > > indeed the mkiv reimplementation will not be backported to latex as it > involved a combination of tex, lua and mp now and is integrated into the > context kernel (we have math in the kernel so why not chemistry) > > > I tried your example, with decent results (see test.pdf) > > with the latest texlive version of pdflatex. > > Yet trying the pstricks driver gives an error: > > > > ! Undefined control sequence. > > \c@lor@to@ps > > looks like a pstricks is not loadec completely > > i cannot test it here as pstricks with ppchtex in mkii does not work > that well because i need to support latex and using the context pstricks > layer would then complicat ethe code (in mkii we use metapost instead > anyway) > > Hans Indeed, the problem is that I tried to run the pstricks option under pdflatex, which, of course, does not work! As I (almost) never use LaTeX anymore (and certainly never dvips) I had forgotten about this. I guess that I have become far too accustomed to ConTeXt and, in particular, mkiv. As to the original post, it yields acceptable results. The new ppchtex in mkiv core is an improvement and, as Hans confirms, will not be backported to laTeX. This could be one of many good reasons to switch from LaTeX to ConTeXt! Alan ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________