Reputation
5,182
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
16 67
Impact
~71k people reached

Nov
30
revised How can I convert a formatted text cell to latex code?
added 24 characters in body
Nov
29
comment How can I link the c library GAUL into Mathematica?
I'm reading the documentation on LibraryLink now, but it's is a bit cryptic...
Nov
29
asked How can I link the c library GAUL into Mathematica?
Nov
27
answered How can I get NotebookPrint to pass through the system print dialog?
Nov
26
asked How can I add arbitrary code into DefaultKeyTranslations.tr?
Nov
26
awarded  Benefactor
Nov
26
comment How can I convert a formatted text cell to latex code?
Thanks @silvia for your solution, but I feel that the other one is simpler...
Nov
26
comment How can I convert a formatted text cell to latex code?
Ok, no problem, thanks for the answer.
Nov
26
comment How can I convert a formatted text cell to latex code?
I know about them, but the examples I have seen only use FETokens and never execute arbitrary code.
Nov
26
comment How can I convert a formatted text cell to latex code?
Do you know how to add arbitrary commands into a item in KeyEventTranslations.tr?
Nov
26
comment How can I convert a formatted text cell to latex code?
It is! Thank you. I'd like this to be a key command such as Item[KeyEvent["y", Modifiers -> {Control}], FrontEndExecute[FrontEnd`CellPrint[ nb = NotebookCreate[Visible -> False]; NotebookWrite[nb, Cell[StringTrim@ StringReplace[ ExportString[NotebookRead[SelectedNotebook[]], "LaTeX"], __ ~~ "begin{document}" ~~ text__ ~~ "\\end{document}" ~~ ___ :> text], "Text"]]; SelectionMove[nb, All, Notebook]; FrontEndTokenExecute[nb, "Copy"]; NotebookClose[nb]; NotebookCreate[Visible -> False]; Cell["Copied!"]]] ] but I can't get it to work!
Nov
20
comment How can I convert a formatted text cell to latex code?
The first thing I tried was copying the text cell as LaTeX, but it didn't work. Gave this message: TeXForm::unspt: TeXForm of Map[SystemFEDumpTransformBoxesToTraditionalFormBoxes[SystemFEDumpprocessBoxe‌​sForCopyAsTeX[{TextForm},TextData[#1]]]&,<<14>>, if there is a TM that accepts it.] is not supported. >>
Nov
20
revised How can I convert a formatted text cell to latex code?
added 8 characters in body
Nov
20
comment How can I convert a formatted text cell to latex code?
I pasted it back in. It returns $Aborted.
Nov
20
asked How can I convert a formatted text cell to latex code?
Nov
8
accepted How can I access a variable in one evaluator from another evaluator?
Nov
8
comment How can I access a variable in one evaluator from another evaluator?
@MikeHoneychurch It's a great answer. I should have asked "How can I (dynamically and/or most quickly) access a variable in one evaluator from another evaluator?"
Nov
6
comment How can I access a variable in one evaluator from another evaluator?
@MikeHoneychurch By lag I mean, that if you change the value dynamically in one notebook, the other lags behind: Slider[Dynamic[ CurrentValue[$FrontEndSession, {TaggingRules, "Alpha"}]], {0, 100}]
Nov
6
comment How can I access a variable in one evaluator from another evaluator?
There is significant lag in this example :(
Nov
5
comment How can I access a variable in one evaluator from another evaluator?
@MikeHoneychurch interesting approach, an you give all the code for your example as a solution?