--- modules/damieng/doc/graphical_editor.tex 2015/04/27 18:12:47 1.2 +++ modules/damieng/doc/graphical_editor.tex 2015/05/14 15:18:58 1.3 @@ -62,6 +62,11 @@ The Dart editor, while not necessary, is Other Linux distros are not officially supported. While it is possible to compile the Dart SDK, compiling Dartium is a lot harder and it is harder to debug without Dartium. +There is an unofficial PPA to install it on Ubuntu: + \texttt{https://launchpad.net/~hachre/+archive/dart} +For other platforms, a package can be downloaded from + \texttt{https://www.dartlang.org/downloads/} + Once Dart Editor is started, the directories \texttt{loncapa/modules/damieng/graphical_editor/daxe} and \texttt{loncapa/modules/damieng/graphical_editor/loncapa\_daxe} should be opened with the menu \texttt{File-Open existing Folder...}. They will reopen automatically the next time Dart Editor is opened. The \texttt{Run-Manage Launches...} menu can be used to configure launches with Dartium and other browsers (Dartium is a version of Chromium with an enabled Dart VM). Dartium is good for development, but testing with other browsers (which requires an automatic conversion into Javascript) is also necessary. @@ -70,6 +75,8 @@ The following text should be used in the This will start the editor with an empty file. A file can also be edited by specifying its relative path (from the web directory) in the \\* URL: \texttt{/loncapa\_daxe/web/loncapa\_daxe.html?file=templates/problems/numerical.problem.xml\&config=config/loncapa\_config.xml} +For JSME to work, it should be uncompressed from \texttt{loncapa\_daxe/JSME_2015-03-03_xsiframe.zip}, and the \texttt{jsme} directory should be moved to \texttt{loncapa\_daxe/web}. + Note that was a bug in the Dart SDK 1.5 that prevented the use of Daxe in Javascript (Dart Issue 19888). It is fixed in v1.6. Since early 2013 (before version 1), there has been some issues with the conversion from Dart to Javascript, but Google has been fast to fix them when they were reported at \url{https://code.google.com/p/dart/issues/list}. \subsection{Export to Javascript}