ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: pol stra <ryzz@hotmail.fr>
To: conteXt mail <ntg-context@ntg.nl>
Subject: Problem with \useMPlibrary[txt]
Date: Mon, 17 Sep 2012 10:17:25 +0200	[thread overview]
Message-ID: <BAY002-W1556F9EA0246C301C05198AB1950@phx.gbl> (raw)


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

Dear all,

There is a problem with \useMPlibrary[txt] at compilation time (ConTeXt  ver: 2012.09.11 20:36 MKIV):

metapost        > loaded: library 'txt' (/opt/context-minimals/texmf-context/tex/context/base/meta-imp-txt.mkiv
! Undefined control sequence.

system          > tex > error on line 149 in file /opt/context-minimals/texmf-context/tex/context/base/meta-imp-txt.mkiv: Undefined control sequence ...

139        \ht\scratchbox\parheight
140        \dp\scratchbox\zeropoint
141        \box\scratchbox
142        \getshapecharacteristics
143        \egroup}
144     
145     \def\setupshapetexts%
146       {\dodoubleempty\getparameters[\??sh]}
147     
148     \setupshapetexts%
149 >>    [\c!bodyfont=]
150     
151     %%%%%%% rotfont nog definieren
152     
153     \doifundefined{RotFont}{\definefont[RotFont][RegularBold]}
154     
155     \def\processfollowingtoken#1% strut toegevoegd
156       {\appendtoks#1\to\MPtoks
157        \setbox\MPbox=\hbox{\RotFont\setstrut\strut\the\MPtoks}%
158        \startMPdrawing
159          n := n + 1 ; len[n] := \the\wd\MPbox ;

<argument> \??sh 
                 
\setsomevalue #1#2->\expandafter \def \csname #1
                                                #2\endcsname 
\syst_helpers_get_parameters_assign_indeed ...{#2}
                                                  {#3}
\syst_helpers_process_comma_item ...mpty \_e_o_p_ 
                                                  \doubleexpandafter \syst_h...
\syst_helpers_get_parameters ...ss_comma_item #1,]
                                                  ,\_e_o_p_ 
l.149   [\c!bodyfont=]


The fact is I don’t realy know what it is for, I took it from the wiki (http://wiki.contextgarden.net/User-Defined_Enumerations).
Maybe it is not compatible with Mkiv?

Best regards
 		 	   		  

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

                 reply	other threads:[~2012-09-17  8:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=BAY002-W1556F9EA0246C301C05198AB1950@phx.gbl \
    --to=ryzz@hotmail.fr \
    --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).