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


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

Interpretation of typesetting using placeholder

Started byyves papegay <yves.papegay@sophia.inria.fr>
First post2012-01-20 06:47 +0000
Last post2012-01-20 06:47 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

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

#8024 — Interpretation of typesetting using placeholder

Fromyves papegay <yves.papegay@sophia.inria.fr>
Date2012-01-20 06:47 +0000
SubjectInterpretation of typesetting using placeholder
Message-ID<jfb2ms$hjb$1@smc.vnet.net>
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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web