ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* No underscore in FLOWchart module
@ 2002-08-27 14:13 Nigel King
  2002-08-29 22:25 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Nigel King @ 2002-08-27 14:13 UTC (permalink / raw)


In the FLOWchart module underscore is not allowed which is unfortunate since
underscores are used so often in software. I include MPgraphic test to show
that the problem is not there.

% minimum test file to demonstrate underscore error
\usemodule[chart]
\starttext
$a_b$

\type{c_d}

\startuseMPgraphic{graphicname}
label(btex \type{e_f} etex, origin);
\stopuseMPgraphic
\useMPgraphic{graphicname}

\setupFLOWcharts
    [nx=1,ny=1,
    dx=1.5\bodyfontsize,dy=1\bodyfontsize,
    width=8\bodyfontsize,height=5\bodyfontsize,
    maxwidth=\textwidth]
\startFLOWchart[test]
    \startFLOWcell
        \name    {start}
        \location    {1,1}
        \shape    {node}
        \text    {\type{g_h}}
    \stopFLOWcell
\stopFLOWchart
\FLOWchart[test]
\stoptext

! Extra }, or forgotten $.
\FLOWtext ->\type {g_h}

\doprocessFLOWcellD ...OWshapeheight ] {\FLOWtext
                                                  }}\showFLOWhelp 0 \ifx
\FL...

\startFLOWcell ...essFLOWcellD \FLOWlocation \end
                                                  \let \connection
\doFLOWco...
l.6 ^^I\stopFLOWcell

? <to be read again>
                   _
\FLOWtext ->\type {g_
                     h}
\doprocessFLOWcellD ...OWshapeheight ] {\FLOWtext
                                                  }}\showFLOWhelp 0 \ifx
\FL...

\startFLOWcell ...essFLOWcellD \FLOWlocation \end
                                                  \let \connection
\doFLOWco...
l.6 ^^I\stopFLOWcell

? 

-- 
Nigel


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

end of thread, other threads:[~2002-08-29 22:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-27 14:13 No underscore in FLOWchart module Nigel King
2002-08-29 22:25 ` 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).