Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8024

Interpretation of typesetting using placeholder

From yves papegay <yves.papegay@sophia.inria.fr>
Newsgroups comp.soft-sys.math.mathematica
Subject Interpretation of typesetting using placeholder
Date 2012-01-20 06:47 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jfb2ms$hjb$1@smc.vnet.net> (permalink)

Show all headers | View raw


For an ad-hoc interface, I'd like to use labeled placeholder to help
user entering text ...
Unfortunately, even if the placeholder is in a text cell, what is
typeset inside is interpreted as an expression, not as text !

To be precise, entering "a=b" in the placeholder of the following cell

Cell[BoxData[
 TagBox[
  FrameBox["\<\"Enter equation here\"\>"],
  "Placeholder"]], "Text"]

will create the cell below :

Cell[BoxData[RowBox[{"a", "=", "b"}]], "Text"]

when I'd like to get

Cell["a=b", "Text"]

Any idea ?

Thanks,

Yves

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Interpretation of typesetting using placeholder yves papegay <yves.papegay@sophia.inria.fr> - 2012-01-20 06:47 +0000

csiph-web