3,965 reputation
1249
bio website
location
age
visits member for 2 years, 2 months
seen Apr 15 at 18:32

Jan
21
asked How to remove constant background from an image?
Dec
23
awarded  Good Question
Nov
30
accepted How can I set an image to be the Notebook's background?
Nov
30
asked How to use arrow keys for navigation in PaneSelector, SlideView, and Slideshows?
Nov
30
accepted How can I add arbitrary code into DefaultKeyTranslations.tr?
Nov
30
answered How can I add arbitrary code into DefaultKeyTranslations.tr?
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[System`FEDump`TransformBoxesToTraditionalFormBoxes[System`FEDump`processBoxe‌​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.