Hello,

I encountered a weird thing - words of 1 letter inside btex ... etex within MP 
are not shown - check:

----
\setuplayout[page]

\startluacode
  context.setMPtext("Pare", "1")
  context.setMPtext("Pare2", "22")
  context.setMPtext("Pare3", "333")
\stopluacode

%

\startuseMPgraphic{Pare}
  draw thelabel(btex \switchtobodyfont[20mm]\sans\bold TTT etex, (0, 150))
    withcolor red
    ;
  draw thelabel(btex \switchtobodyfont[20mm]\sans\bold U etex, (0, 100))
    withcolor magenta
    ;
  draw thelabel(btex \switchtobodyfont[20mm]\sans\bold \MPtext{Pare} etex, (0, 
50))
    withcolor green
    ;
  draw thelabel(btex \switchtobodyfont[20mm]\sans\bold \MPtext{Pare2} etex, (0, 
0))
    withcolor blue
    ;
  draw thelabel(btex \switchtobodyfont[20mm]\sans\bold \MPtext{Pare3} etex, (0, 
-50))
    withcolor yellow
    ;

\stopuseMPgraphic

% Overlays

\defineoverlay[Pare][\useMPgraphic{Pare}]

\setupbackgrounds[page][background={foreground,Pare}]

\starttext
  \startTEXpage[width=210mm,height=297mm]
    Aaa
  \stopTEXpage
\stoptext
----

Here, texts "1" and "U" are not rendered; if you change them to e.g. "11" and 
"UU", all works fine.

Am I missing something? Bug?

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.      | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

Attachment: Pare.log
Description: Binary data

Attachment: Pare.mkiv
Description: Binary data

Attachment: Pare.pdf
Description: Adobe PDF document

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

Reply via email to