ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: PSTricks in Context
Date: Tue, 16 Dec 2014 10:32:55 +0100	[thread overview]
Message-ID: <CAG5iGsCJGQ06CEQugpOy_szXicGJKrg1TJMfkkQsf0jC5FTcGA@mail.gmail.com> (raw)
In-Reply-To: <CALBOmsZfj4LJOY+6oqNrvJK=4vVgDrkRB_e_kJ_tmcimZtXreA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2474 bytes --]

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.
> <inserted text>
>                 }
> <to be read again>
>                    \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

[-- Attachment #1.2: Type: text/html, Size: 3528 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2014-12-16  9:32 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-14 17:45 context context
2014-12-15  8:13 ` Mojca Miklavec
2014-12-15  8:28   ` Herbert Voss
2014-12-15  8:55     ` Mojca Miklavec
2014-12-15 11:53       ` Herbert Voss
2014-12-15 13:06         ` luigi scarso
2014-12-15 20:46           ` Herbert Voss
2014-12-16 12:27             ` luigi scarso
2014-12-31 14:58               ` luigi scarso
2014-12-15 14:27         ` Mojca Miklavec
2014-12-15 20:45           ` Herbert Voss
2014-12-15 21:18             ` Mojca Miklavec
2014-12-15 22:26               ` Aditya Mahajan
2014-12-15 21:27             ` Alan BRASLAU
2014-12-16  9:32           ` luigi scarso [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-12-16 10:04 Akira Kakuto
2014-12-16 10:35 ` luigi scarso
2014-12-16 13:07   ` Herbert Voss
2014-12-17 21:22     ` Context NTG
2014-12-18 14:29       ` Mojca Miklavec
2014-12-18 18:53         ` Context NTG
2014-12-15  9:28 Akira Kakuto
2006-06-19  2:45 Metapost: point along path and metaobj Aditya Mahajan
2006-06-19 14:03 ` Taco Hoekwater
2006-06-19 15:46   ` PsTRICKS in Context batela
2006-06-19 15:52     ` Hans Hagen
2006-06-19 16:29       ` batela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAG5iGsCJGQ06CEQugpOy_szXicGJKrg1TJMfkkQsf0jC5FTcGA@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).