ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fatal error with followtokens (metapost)
@ 2018-04-07 10:59 Gerhard Kugler
  2018-04-07 12:51 ` Hans Hagen
  2018-04-07 16:34 ` Pablo Rodriguez
  0 siblings, 2 replies; 4+ messages in thread
From: Gerhard Kugler @ 2018-04-07 10:59 UTC (permalink / raw)
  To: ntg-context

Hi,

the code:

-----

\mainlanguage[de]
\enableregime[utf-8]

\useMPlibrary[txt]

\starttext


\setupbodyfont[big]

\setupcolors[state=start]

\setuplayout
[topspace=192pt,
backspace=48pt,
cutspace=12pt,
width=500pt,
margin=0cm,
rightedge=88pt,
rightedgedistance=48pt,
header=0cm,
footer=0cm,
height=400pt]



\startuseMPgraphic{followtokens}
  path RotPath, q , cp; 


  RotPath := halfcircle scaled 14cm rotated 180 ;

\stopuseMPgraphic

\followtokens{Voranbringen struktureller Politik-Veränderungen}

\startuseMPgraphic{followtokens}
  path RotPath, q , cp;


  RotPath := quartercircle scaled 17cm rotated 220 ;

\stopuseMPgraphic

\followtokens{\ \ \ Präsenz in Medien\ }


\stoptext

-----

If change the content of the first followtokens the error disappears.


Gerhard




-- 
Gerhard Kugler
Bensheim
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Fatal error with followtokens (metapost)
  2018-04-07 10:59 Fatal error with followtokens (metapost) Gerhard Kugler
@ 2018-04-07 12:51 ` Hans Hagen
  2018-04-07 16:34 ` Pablo Rodriguez
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2018-04-07 12:51 UTC (permalink / raw)
  To: ntg-context

On 4/7/2018 12:59 PM, Gerhard Kugler wrote:
> Hi,

> If change the content of the first followtokens the error disappears.
i'll send you a patch

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Fatal error with followtokens (metapost)
  2018-04-07 10:59 Fatal error with followtokens (metapost) Gerhard Kugler
  2018-04-07 12:51 ` Hans Hagen
@ 2018-04-07 16:34 ` Pablo Rodriguez
  2018-04-07 19:29   ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2018-04-07 16:34 UTC (permalink / raw)
  To: ntg-context

On 04/07/2018 12:59 PM, Gerhard Kugler wrote:
> Hi,
> 
> the code:
> 
> -----
> 
> \mainlanguage[de]
> \enableregime[utf-8]

In ConTeXt MkIV, UTF-8 is the default encoding for source files. The
second line isn’t required.

Just incase it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Fatal error with followtokens (metapost)
  2018-04-07 16:34 ` Pablo Rodriguez
@ 2018-04-07 19:29   ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2018-04-07 19:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 4/7/2018 6:34 PM, Pablo Rodriguez wrote:
> On 04/07/2018 12:59 PM, Gerhard Kugler wrote:
>> Hi,
>>
>> the code:
>>
>> -----
>>
>> \mainlanguage[de]
>> \enableregime[utf-8]
> 
> In ConTeXt MkIV, UTF-8 is the default encoding for source files. The
> second line isn’t required.
> 
> Just incase it helps,
also i often see colors being enable dwhich is not needed as they're 
enabled by default (a few decades ago color took way more runtime)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-04-07 19:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-07 10:59 Fatal error with followtokens (metapost) Gerhard Kugler
2018-04-07 12:51 ` Hans Hagen
2018-04-07 16:34 ` Pablo Rodriguez
2018-04-07 19:29   ` Hans Hagen

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