ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* textext() doesn't work on my MikTeX distr.
@ 2004-10-13  1:38 Mojca Miklavec
  2004-10-13 10:45 ` Patrick Gundlach
  0 siblings, 1 reply; 4+ messages in thread
From: Mojca Miklavec @ 2004-10-13  1:38 UTC (permalink / raw)


The following example works on live@contextgarden, but on my computer it 
only writes "unknown" at the place of "x". btex etex also doesn't work 
in ConTeXt (metaplay) on my computer, although it does without any 
problems in metapost/mptopdf.

\starttext
\startMPpage
draw textext.origin("x");
draw fullcircle scaled 2cm;
\stopMPpage
\stoptext

I use the latest MikTeX distribution (although ConTeXt may not be really 
up-to-date, but that shouldn't be a problem, I suppose). It's probably 
just a matter of a single setting or so (it should be corrected in 
MikTeX as well if that's the case), but I don't know where to start looking.

Thanks for help, Mojca Miklavec

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

* Re: textext() doesn't work on my MikTeX distr.
  2004-10-13  1:38 textext() doesn't work on my MikTeX distr Mojca Miklavec
@ 2004-10-13 10:45 ` Patrick Gundlach
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Gundlach @ 2004-10-13 10:45 UTC (permalink / raw)


Hello Mojca Miklavec,

> The following example works on live@contextgarden, but on my computer
> it only writes "unknown" at the place of "x". btex etex also doesn't
> work in ConTeXt (metaplay) on my computer, although it does without
> any problems in metapost/mptopdf.

do you have 

\protectbufferstrue

in cont-sys.tex?


Patrick
-- 
ConTeXt wiki: http://contextgarden.net

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

* Re: textext() doesn't work on my MikTeX distr.
  2004-10-15  3:36   ` Mojca Miklavec
@ 2004-10-15  7:37     ` Patrick Gundlach
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Gundlach @ 2004-10-15  7:37 UTC (permalink / raw)


Hello Mojca,

I can only guess, since I (do I repeat myself?) don't have MikTeX
installed. 

It seems that you don't have shell-escape or write18 enabled. This
feature lets you run external programs from your tex-run. This is a
potential security hole, so it is disabled by default. You have two
options, enable write18 by using --shell-escape on the command line 
(see http://www.phys.uvic.ca/Help_Guides/miktex.html#IDX164 ) or tell
ConTeXt to do without (that's what I have on live.contextgarden.net)


[cont-sys.tex:]

> \unprotect
> \setupoutput [pdf]

this should be [pdftex], not [pdf] (please correct me if I'm wrong)

> \runMPgraphicstrue
> \runMPTEXgraphicstrue

disable these two:

% \runMPgraphicstrue
% \runMPTEXgraphicstrue

[...]

Hope this helps.

Patrick
-- 
ConTeXt wiki: http://contextgarden.net

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

* Re: textext() doesn't work on my MikTeX distr.
       [not found] <416D1849.9080106@guest.arnes.si>
@ 2004-10-13 14:38 ` Patrick Gundlach
  2004-10-15  3:36   ` Mojca Miklavec
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick Gundlach @ 2004-10-13 14:38 UTC (permalink / raw)
  Cc: ntg-context

Hello Mojca,

>  > do you have
>  >
>  > \protectbufferstrue
>  >
>  > in cont-sys.tex?
>
> I renamed the file once for some reason (I don't remember why, but
> I've probably read something about removing the file; my apologises if
> I accused MikTeX for that).
>
> Now I renamed the file back, (\protectbufferstrue was already there),
> executed texexec --make -all, but now I get an empty PDF file instead
> of at least a circle. And even if I delete this line, it makes no
> change.

Hmm, strange. Please post the complete log to the list(!). And perhaps
you can post the relevant lines of cont-sys.tex. Do you have
shell-escape (=write18) enabled in MikTeX? I don't know where to look
(I don't use MikTeX).

Patrick

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

end of thread, other threads:[~2004-10-15  7:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-13  1:38 textext() doesn't work on my MikTeX distr Mojca Miklavec
2004-10-13 10:45 ` Patrick Gundlach
     [not found] <416D1849.9080106@guest.arnes.si>
2004-10-13 14:38 ` Patrick Gundlach
2004-10-15  3:36   ` Mojca Miklavec
2004-10-15  7:37     ` Patrick Gundlach

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