Syntax highlighting

From ASCEND

Jump to: navigation, search

If you would like to make use of syntax highlighting with ASCEND code, we have a number of options available:

gedit

gedit is the default text editor in GNOME (Linux). We have a syntax definition for gedit to support a4c/a4l files. This file, ascend.lang needs to be placed in /usr/share/gtksourceview-N.0/language-specs/ascend.lang. The exact location where you need to put the file may vary depending on your version of GNOME (check the version fo gtksourceview installed on your system). Note that unless you also follow the instructions in Desktop integration, you will still have to manually specify that you want to apply this syntax highlighting.

TextPad

TextPad is a popular text editor on Windows

highlight

highlight is a syntax highlighting utility that can be used to produce HTML, LaTeX and other forms of highlighted output. It can also be integrated with the scientific wordprocessor LyX.

GNU Emacs

The GNU text editor

listings

Listings is a LaTeX package that performs syntax highlighting. See the latex preamble of our book.lyx file.

Personal tools