Crimson Editor – Help Topics – How-TosGeneral Task
C/C++ Task
Java Task Perl Task LaTeX Task
How to use context helpIf you have a help file (*.hlp) or a html help file (*.chm) which explains something based on keyword index, then you can set up user tools to look up keyword you just have typed in without escaping from Crimson Editor. The following example shows how to set up 'User Tools' to use LaTeX help file. We assume that you have LaTeX help file (LATEX2E.HLP) in the following directory. C:\texmf\doc\latex\help\LATEX2E.HLP
After that, you can press F1 to see the search index when the caret is on the word you want to look up. How to use Yahoo! online dictionaryIf you want to use online dictionary (Yahoo!: American Heritage) to look-up a word which you have just typed in without escaping from Crimson Editor, then
How to execute binary executable fileIf you have finished editing 'test.c', and you already compiled this file into binary executable file named 'test.exe', then you can use user tools to execute this binary file to see the result without escaping from Crimson Editor.
After that, you can press Ctrl+F5 while editing 'test.c' to execute 'test.exe'. How to install C/C++ compilerIf you want to learn how to write C/C++ program, you may want to install a C/C++ compiler first of all. Here is a guideline you can follow to install a compiler. In this example, we assume that you install Borland C++ compiler which is free to use. Of course, there are more compilers available (Cygnus, DJGPP for example). It is up to you which compiler to use.
How to compile C/C++ source codeIf you have finished writing C/C++ program, then you can use user tools to compile this program into binary file without escaping from Crimson Editor. The following example assume that you already installed C++ Builder in 'C:\Borland\BCC55' directory. (ref: How to install C/C++ compiler)
After that, you can press Ctrl+F7 while editing 'test.c' to compile this source code. How to install Java 2 SDKIf you want to learn how to write Java program, you need to install Java 2 SDK first of all. Here is a guideline you can follow to install Java 2 SDK.
How to compile Java source codeIf you have finished writing Java program, then you can use user tools to compile this program into byte code without escaping from Crimson Editor. The following example assume that you already installed Java 2 SDK in 'C:\jdk1.3.1' directory. (ref: How to install Java 2 SDK)
After that, you can press Ctrl+F7 while editing 'test.java' to compile this source code. How to execute Java byte codeIf you have finished editing 'test.java', and you already compiled this file into byte code named 'test.class', then you can use user tools to execute this byte code to see the result without escaping from Crimson Editor. The following example assume that you already installed Java 2 SDK in 'C:\jdk1.3.1' directory. (ref: How to install Java 2 SDK)
After that you can press Ctrl+F5 while editing 'test.java' to execute 'test.class'. How to install Perl interpreterIf you want to learn how to write Perl script, you need to install Perl interpreter first of all. Here is a guideline you can follow to install Perl interpreter. In this example, we assume that you install ActivePerl which is free to use. Of course there are more Perl interpreters you can use. It is up to you which interpreter to use.
How to execute Perl scriptIf you have finished writing Perl program, then you can use user tools to run this program without escaping from Crimson Editor. The following example assume that you already installed Perl interpreter in 'C:\Perl' directory. (ref: How to install Perl interpreter)
After that, you can press Ctrl+F5 while editing 'test.pl' to execute this script. How to install LaTeX compilerIf you want to learn how to write LaTeX document, you need to install LaTeX compiler first of all. Here is a guideline you can follow to install LaTeX compiler. In this example, we assume that you install MiKTeX which is implementation of TeX and related programs for Windows
How to compile LaTeX documentIf you have finished writing LaTeX document, then you can use user tools to compile this document into dvi file without escaping from Crimson Editor. The following example assume that you already installed MiKTeX in 'C:\texmf' directory. (ref: How to install LaTeX compiler)
After that, you can press Ctrl+F7 while editing 'test.tex' to compile this document. How to view dvi file with YapIf you have finished writing LaTeX document, and also have compiled this document into dvi file already, then you can use user tools to view this dvi file with Yap without escaping from Crimson Editor. The following example assume that you already installed MiKTeX in 'C:\texmf' directory. (ref: How to install LaTeX compiler)
After that, you can press Ctrl+F5 while editing 'test.tex' to view 'test.dvi' with Yap. How to convert dvi file into PostScript with dvipsIf you have a dvi file named 'test.dvi' compiled from 'test.tex', then you can use user tools to convert this file into PostScript file 'test.ps' without escaping from Crimson Editor. The following example assume that you already installed MiKTeX in 'C:\texmf' directory. (ref: How to install LaTeX compiler)
After that, you can press F7 while editing 'test.tex' to convert 'test.dvi' into 'test.ps'. |
Copyright © 1999-2006 by Ingyu Kang, Copyright © 2006-2007 by Emerald Editor Community. All rights reserved. |