From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85464 Path: news.gmane.org!not-for-mail From: DesdeChaves Newsgroups: gmane.comp.tex.context Subject: Re: pstrics module again Date: Mon, 25 Nov 2013 22:24:27 +0000 Message-ID: References: <5293A2C0.3060904@FU-Berlin.DE> <5293B2F9.1010007@FU-Berlin.DE> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1323481666==" X-Trace: ger.gmane.org 1385418269 19242 80.91.229.3 (25 Nov 2013 22:24:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 22:24:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 25 23:24:36 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vl4a4-0002FO-HF for gctc-ntg-context-518@m.gmane.org; Mon, 25 Nov 2013 23:24:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B32F710208; Mon, 25 Nov 2013 23:24:35 +0100 (CET) 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 Jqu784d3bC3C; Mon, 25 Nov 2013 23:24:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9222410200; Mon, 25 Nov 2013 23:24:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2307F10200 for ; Mon, 25 Nov 2013 23:24:31 +0100 (CET) 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 yGwPn976jkwW for ; Mon, 25 Nov 2013 23:24:29 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 2F99A101FF for ; Mon, 25 Nov 2013 23:24:29 +0100 (CET) Original-Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAPMWJAo023584 for ; Mon, 25 Nov 2013 23:32:19 +0100 Original-Received: by mail-ob0-f169.google.com with SMTP id wm4so4990439obc.0 for ; Mon, 25 Nov 2013 14:24:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HERmNaYem/vja4yDApNaJGk2HM74vPioyyGkxlPGKwY=; b=u7l3pI1zCJ86Ltq73HTCjvr2BVYAUAVAjF9j0eNO1N/SYA6XI4VH9Kh65iiQT+YoZ9 l0MwdU0NebUp57q8Ty/6uTxVgwTLJM5dq6nry3foovxnPzsnGlfCszJFC8i/8734D3lt sslxdz2/zv9ELEQLGxCzfxVgY9yVZjU72Kpq977sAM7RiHrN41Lzl4iLtqAAHuN56zWf s/Jxf0X3vbe21FxUL7h2m/v+o7AfjEVYsmPvuj5V+rB5434cltpgaPbst2aTyVJwPfPp qpqcA0hCPRAiAkShvM65TOYRcf/hlwiyTEddsT6ohoFbAfd8uTDSWdEJHIzgrW/yLMed FnlQ== X-Received: by 10.182.149.168 with SMTP id ub8mr437108obb.74.1385418267347; Mon, 25 Nov 2013 14:24:27 -0800 (PST) Original-Received: by 10.60.93.131 with HTTP; Mon, 25 Nov 2013 14:24:27 -0800 (PST) In-Reply-To: <5293B2F9.1010007@FU-Berlin.DE> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c01::229; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KRWwjMW - caf355c28b89 - 20131125 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85464 Archived-At: --===============1323481666== Content-Type: multipart/alternative; boundary=001a11348500b0f11004ec07d3fb --001a11348500b0f11004ec07d3fb Content-Type: text/plain; charset=ISO-8859-1 radical solution Download and unpack the PSTRicks-TDS.tar to a directory cp ./PSTricks-TDS/tex/generic/*/*.tex . perl -pi.back -e 's/\ifx!#1/\ifx !#1/g;' *.tex rm -rf *.back cp /usr/local/texlive/2013/texmf-dist/tex/context/base/colo-rgb.mkii ./colo-rgb.tex run context change in m-pstric.* files ps2pdf to pstopdf tanks a lot Jorge 2013/11/25 Herbert Voss > Am 25.11.2013 21:25, schrieb Aditya Mahajan: > > > \unprotect >> \input pstricks >> \protect >> >> and therefore when ConTeXt sees \ifx!#1 it thinks that \ifx! is a >> csname. Adding a space after \ifx avoids that. >> >> As I said in my previous message, this is easy to fix at ConTeXt end >> defining an appropriate catcode regime before inputing pstricks. >> >> So, the pstricks package does not need to be changed, but the ConTeXt >> code that is calling the package needs to be adapted. >> > > ok, understood. > > thanks, > Herbert > > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________ > -- Atentamente DesdeChaves --001a11348500b0f11004ec07d3fb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
=A0radical solution
=A0
=A0Downlo= ad and unpack the PSTRicks-TDS.tar to a directory
=A0cp ./PSTrick= s-TDS/tex/generic/*/*.tex .
=A0perl -pi.back -e 's/\ifx!#1/\i= fx !#1/g;' *.tex
=A0rm -rf *.back
=A0cp /usr/local/texlive/2013/texmf-dist/te= x/context/base/colo-rgb.mkii ./colo-rgb.tex
=A0run context
<= div>=A0
=A0change in m-pstric.* files ps2pdf to pstopdf

tanks a lot

Jorge


2013/11/25 = Herbert Voss <Herbert.Voss@fu-berlin.de>
Am 25.11.2013 21:25, schrieb Aditya Mahajan:=


\unprotect
\input pstricks
\protect

and therefore when ConTeXt sees \ifx!#1 it thinks that \ifx! is a
csname. Adding a space after \ifx avoids that.

As I said in my previous message, this is easy to fix at ConTeXt end
defining an appropriate catcode regime before inputing pstricks.

So, the pstricks package does not need to be changed, but the ConTeXt
code that is calling the package needs to be adapted.

ok, understood.

thanks,
Herbert

_____________________________________________________________= ______________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0:
http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/ wiki =A0 =A0 : http:= //contextgarden.net
_____________________________________________________________= ______________________



--
= Atentamente

DesdeChaves
--001a11348500b0f11004ec07d3fb-- --===============1323481666== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1323481666==--