From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89537 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: PSTricks in Context Date: Tue, 16 Dec 2014 10:32:55 +0100 Message-ID: References: <548E9B93.4090603@FU-Berlin.DE> <548ECB9F.2080103@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="===============0646577075==" X-Trace: ger.gmane.org 1418722421 6988 80.91.229.3 (16 Dec 2014 09:33:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2014 09:33:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 16 10:33:37 2014 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 1Y0oVc-0007KJ-PA for gctc-ntg-context-518@m.gmane.org; Tue, 16 Dec 2014 10:33:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1BF8C1021D for ; Tue, 16 Dec 2014 10:33:36 +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 SkRNf-xXU0RR for ; Tue, 16 Dec 2014 10:33:35 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A386E10234 for ; Tue, 16 Dec 2014 10:33:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF760101EC for ; Tue, 16 Dec 2014 10:32:58 +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 bD9QE52PJT3C for ; Tue, 16 Dec 2014 10:32:57 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 6F754101E4 for ; Tue, 16 Dec 2014 10:32:57 +0100 (CET) Original-Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sBG9WtLD005749 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 16 Dec 2014 10:32:56 +0100 Original-Received: by mail-lb0-f182.google.com with SMTP id f15so11657975lbj.13 for ; Tue, 16 Dec 2014 01:32:55 -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=4dJsaiVN9RIzCWrognJ5FzK7zS+/Fyss/rowU2JtHEQ=; b=d34H05/zt838VtSpLuOZ9Quy+GvtqLyMBH/adAN+9eMpzATL0NZNFXFEkn7oaQVNv7 4Co8A2rrJi0J7SOR4mwptwkazksGKhw+ww62ipMPFM3vMl0ozBKhBdCFhR0Rksm/rmeD NAWJp2Vj2ElPIdeQqzgANNpFMevk+SWZBcgnmkG7vmnosSUqepOj6Wb8RbpFueiNE5Aq QpfZUvmM7a3YtzZZzY9YhyVH+XgheDxXBipv7jQDBKocDx/NiSkP14tOAHmpDt0gjiSU gwCGhjfJ/REz6GKn8eyaP9pcnmQ47SGfNCXwqvtxccpxyvWwZhbyPfpkX4uEAAf9k4nD UEbg== X-Received: by 10.152.203.201 with SMTP id ks9mr20804359lac.57.1418722375614; Tue, 16 Dec 2014 01:32:55 -0800 (PST) Original-Received: by 10.114.201.133 with HTTP; Tue, 16 Dec 2014 01:32:55 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c04::236; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Ns9wUqi - b5374922c2be - 20141216 (trained as not-spam) Received-SPF: pass (filter1-utr.mf.surf.net: domain of luigi.scarso@gmail.com designates 2a00:1450:4010:c04::236 as permitted sender) receiver=filter1-utr.mf.surf.net; client-ip=2a00:1450:4010:c04::236; envelope-from=; helo=mail-lb0-x236.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:89537 Archived-At: --===============0646577075== Content-Type: multipart/alternative; boundary=001a1134668a3bc574050a520b68 --001a1134668a3bc574050a520b68 Content-Type: text/plain; charset=UTF-8 On Mon, Dec 15, 2014 at 3:27 PM, Mojca Miklavec < mojca.miklavec.lists@gmail.com> wrote: > > On Mon, Dec 15, 2014 at 12:53 PM, Herbert Voss wrote: > > Am 15.12.2014 um 09:55 schrieb Mojca Miklavec: > > > >> Anyway, the version in TeX Live now runs, but creates wrong results > >> (it prints out "(0,0)(3,3)" instead of drawing the line for example). > >> > >> (And I'm not too eager to add support for PSTricks to the > >> distribution. It's a "can of worms" with zillion of other utilities > >> that we don't ship. And close-to-zero users.) > > > > > > huh?? The only problem is this line > > > > \loadpstrickscolors{colo-rgb}} > > > > as mentioned in my mail. > > The problem is that this is not the only problem ;) > > Or at least that didn't solve all the problems for me. > > First of all I had to use Kakuto-san's example, adding something like > > \pspicture(0mm,0mm)(30mm,30mm) > ... > \endpspicture > > in front and at the back (which is extremely ugly to see in ConTeXt). > > So the complete minimal example was: > > \usemodule[pstricks] > \starttext > \startPSTRICKS > \pspicture(0mm,0mm)(30mm,30mm) > \psline(0,0)(3,3) > \endpspicture > \stopPSTRICKS > \stoptext > > However that still doesn't work with TeX Live 2014 even after fixing > the issue with mkii in the filename: > > ! Missing } inserted. > > } > > \endgroup > \endpspicture ...]\fi \fi \pst@killglue \endgroup > \egroup \ifdim \wd > \pst@hb... > l.12 \endpspicture > > According to Kakuto-san it works with the latest ConTeXt, but I need a > bit of tweaking to try it out and even if it does users would need to > install (at least part of) W32TeX, wait for TLContrib to release a > newer version of ConteXt or tweak themselves in order to try it out. > > Mojca > I have downloaded cont-mpd.zip cont-ppc.zip cont-tmf.zip and unzipped them into texmf-dist of my 2014 TL (and rebuilt the formats and ls-R). I have tried mtxrun --script update but it fails with resolvers | tds | no 'texmf-linux-64' under tree '/opt/luatex/texlive/2014/tex' (with a missed newline in my linux box) The example works if one copies colo-rgb.mkii as colo-rgb.tex in the same folder of the example so I guess that we need to find a suitable location for colo-rgb.tex in the tds (I dont know if it's safe to add colo-rgb.tex to the base folder of context, but I suspect it is not) -- luigi --001a1134668a3bc574050a520b68 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Mon, Dec 15, 2014 at 3:27 PM, Mojca Miklavec <<= a href=3D"mailto:mojca.miklavec.lists@gmail.com" target=3D"_blank">mojca.mi= klavec.lists@gmail.com> wrote:
On Mon, Dec 15, 2014 at 12:53 PM, Herbert Voss wrote:
> Am 15.12.2014 um 09:55 schrieb Mojca Miklavec:
>
>> Anyway, the version in TeX Live now runs, but creates wrong result= s
>> (it prints out "(0,0)(3,3)" instead of drawing the line = for example).
>>
>> (And I'm not too eager to add support for PSTricks to the
>> distribution. It's a "can of worms" with zillion of = other utilities
>> that we don't ship. And close-to-zero users.)
>
>
> huh?? The only problem is this line
>
> \loadpstrickscolors{colo-rgb}}
>
> as mentioned in my mail.

The problem is that this is not the only problem ;)

Or at least that didn't solve all the problems for me.

First of all I had to use Kakuto-san's example, adding something like
\pspicture(0mm,0mm)(30mm,30mm)
...
\endpspicture

in front and at the back (which is extremely ugly to see in ConTeXt).

So the complete minimal example was:

\usemodule[pstricks]
\starttext
\startPSTRICKS
\pspicture(0mm,0mm)(30mm,30mm)
\psline(0,0)(3,3)
\endpspicture
\stopPSTRICKS
\stoptext

However that still doesn't work with TeX Live 2014 even after fixing the issue with mkii in the filename:

! Missing } inserted.
<inserted text>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 }
<to be read again>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\endgr= oup
\endpspicture ...]\fi \fi \pst@killglue \endgroup
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 \egroup \ifdim \wd \pst@hb...
l.12 \endpspicture

According to Kakuto-san it works with the latest ConTeXt, but I need a
bit of tweaking to try it out and even if it does users would need to
install (at least part of) W32TeX, wait for TLContrib to release a
newer version of ConteXt or tweak themselves in order to try it out.

Mojca

I have downloaded=C2=A0
cont-mpd.zip =C2=A0cont= -ppc.zip =C2=A0cont-tmf.zip
and unzipped them into
= texmf-dist of my 2014 TL (and rebuilt the formats and ls-R).
I ha= ve tried mtxrun --script update but it fails with=C2=A0
resolvers= =C2=A0 =C2=A0 =C2=A0 | tds | no 'texmf-linux-64' under tree '/= opt/luatex/texlive/2014/tex'
(with a missed newline in my= linux box)

The example works if one copies colo-r= gb.mkii as colo-rgb.tex in the same folder of the example
so I gu= ess that we need to find a suitable location for colo-rgb.tex in the tds
(I dont know if it's safe to add colo-rgb.tex to the base folde= r of context, but I suspect it is not)
=C2=A0

--
luigi
--001a1134668a3bc574050a520b68-- --===============0646577075== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0646577075==--