ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: PSTricks in Context
@ 2014-12-16 10:04 Akira Kakuto
  2014-12-16 10:35 ` luigi scarso
  0 siblings, 1 reply; 25+ messages in thread
From: Akira Kakuto @ 2014-12-16 10:04 UTC (permalink / raw)
  To: ntg-context

Hi Luigi,

> The example works if one copies colo-rgb.mkii as colo-rgb.tex in the same
> folder of the example ...

It is OK by changing

line 46 in m-pstricks.mkii:
   \loadpstrickscolors{colo-rgb}}
to
   \loadpstrickscolors{colo-rgb.mkii}}

as Herbert said.

In the recent beta's, the change was already done.

Best,
Akira

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

^ permalink raw reply	[flat|nested] 25+ messages in thread
* PSTricks in Context
@ 2014-12-15  9:28 Akira Kakuto
  0 siblings, 0 replies; 25+ messages in thread
From: Akira Kakuto @ 2014-12-15  9:28 UTC (permalink / raw)
  To: ntg-context

> 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).

In the case of
mtx-context     | current version: 2014.12.11 12:02
The following is OK.

%
% context test.tex
%
\usemodule[pstricks]
\starttext
\startmidaligned
\startPSTRICKS
\pspicture(0mm,0mm)(30mm,30mm)
\psline(0,0)(3,3)
\endpspicture
\stopPSTRICKS
\stopmidaligned
\stoptext

Of course there are examples that don't match ConTeXt.

Best,
Akira

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

^ permalink raw reply	[flat|nested] 25+ messages in thread
* PSTricks in Context
@ 2014-12-14 17:45 context context
  2014-12-15  8:13 ` Mojca Miklavec
  0 siblings, 1 reply; 25+ messages in thread
From: context context @ 2014-12-14 17:45 UTC (permalink / raw)
  To: ntg-context


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

Could someone tell me how to install and use PSTricks in Context

Many Thanks
Jeroen

[-- Attachment #1.2: Type: text/html, Size: 151 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Metapost: point along path and metaobj
@ 2006-06-19  2:45 Aditya Mahajan
  2006-06-19 14:03 ` Taco Hoekwater
  0 siblings, 1 reply; 25+ messages in thread
From: Aditya Mahajan @ 2006-06-19  2:45 UTC (permalink / raw)


Hi,

  Something goes wrong while using metaobj and point something along 
somepath. I do not know if point ... along... is a mp core command or 
something introduced by metafun. Is this metafun's fault, metaobj's 
fault or simply a metapost issue (and thus I should ask on the 
metapost list).

\setupcolors
   [state=start]

\startMPinclusions
   input metaobj;
\stopMPinclusions
% Everything works fine if I comment metaobj.


\starttext
\startMPpage
   path p ; p := (0,0)--(1cm,0) ;
   draw p
     withpen pencircle scaled 2bp
     withcolor 0.8white;

   draw (point .25 along p)--(point .75 along p)
     withpen pencircle scaled 2bp
     withcolor red ;
\stopMPpage
\stoptext

gives

! Missing argument to arctime.
<to be read again>
                    of
along->(arctime((EXPR0)*(arclength(EXPR1)))of
                                              (EXPR1))of(EXPR1)
<to be read again>
                    )
l.295 draw (point .25 along p)
                               --(point .75 along p)

Aditya

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2014-12-31 14:58 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-16 10:04 PSTricks in Context 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
  -- strict thread matches above, loose matches on Subject: below --
2014-12-15  9:28 Akira Kakuto
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
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

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).