Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • $\begingroup$ I wonder if the Editable attribute can be set to False for an inline cell. $\endgroup$ Commented Dec 8, 2023 at 13:35
  • $\begingroup$ @GustavoDelfino It can't be set (otherwise I would not ask for help), however, the inline cell contains other containers like FormBox. Also there might be some specific solution to prevent auto generation of content in texinput mechanism itself. At the moment I am not sure that solution is not possible. $\endgroup$ Commented Dec 8, 2023 at 15:22
  • $\begingroup$ I just did small test by manually adding the option using "Show Expression" and it worked. However, I know that this is easier said than done for a large cell. $\endgroup$ Commented Dec 8, 2023 at 15:32
  • $\begingroup$ @GustavoDelfino For me it don't work. For example, take this: Cell[TextData[{ "\nThis ir text cell with tex inlined cell ", Cell[BoxData[ FormBox[ TemplateBox[<|"boxes" -> FormBox[ RowBox[{ StyleBox["a", "TI"], "+", StyleBox["b", "TI"], "+", StyleBox["s", "TI"]}], TraditionalForm], "errors" -> {}, "input" -> "a+b+s", "state" -> "Boxes"|>, "TeXAssistantTemplate"], TraditionalForm]], Editable->False] }], "Text"] Despite I set Editable->False to the inlined cell I can edit it. What is your example? $\endgroup$ Commented Dec 8, 2023 at 15:46
  • $\begingroup$ The issue is with the Editable attribute not being respected for the boxes in your comment above. But it has nothing to do with subcells. Use CellPrint on you inner Cell and it remains editable. $\endgroup$ Commented Dec 8, 2023 at 18:01