Interpretation of typesetting using placeholder
- To: mathgroup at smc.vnet.net
- Subject: [mg124443] Interpretation of typesetting using placeholder
- From: yves papegay <yves.papegay at sophia.inria.fr>
- Date: Fri, 20 Jan 2012 01:47:12 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
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