SciTE with LaTeX/ConTeXt and Synctex

137 views
Skip to first unread message

Alain Delmotte

unread,
Oct 23, 2009, 9:04:55 AM10/23/09
to scite-interest
Hi!

I am discovering SciTE and, if possible, I would switch to it for all my
editing.
I am running under Windows XP SP3.

I will use it for simple text editing, but also for editing Lua scripts
and the different kind of TeX system (LaTeX, XeLaTeX, ConTeXt; in
different locations on the disk).
I have some questions to which I didn't find answer in the archives
(could just be that I didn't formulate the search properly).

1) To modify the behaviour of SciTE for the different systems, I'll have
to define .properties files for each system and also use the language
menu (all TeX family files end with .tex, but the actions are different
-- like place of the compilers, compile commands,...).
The version of SciTE I am using now came with the Lua distribution and
is in the Lua directory of Program Files.
Could the distribution for SciTE be on its own (how to install: with the
installer?) and still (automatically) load the correct .properties files?

2) For compiling the TeX documents, I can define where the programs are
and the execution commands.
For viewing the .pdf result, I'll have to define the command to open the
.pdf in SumatraPDf, Adobe Reader, or...
I would also like to have the "Synctex" possibility to have forward and
inverse search. It uses, if I understood well, DDE command. Is this
possible with SciTE?

3) To simplify typing, I'd like to have kind of auto-completion. I am
sure it is possible; is this linked to "lexer" or abbreviations?

Thanks for your help,

Alain Delmotte

scitefan

unread,
Oct 23, 2009, 1:19:36 PM10/23/09
to scite-interest
Dear Alain Delmotte,

> 1) To modify the behaviour of SciTE for the different systems, I'll have
> to define .properties files for each system and also use the language
> menu (all TeX family files end with .tex, but the actions are different
> -- like place of the compilers, compile commands,...).

The latex.properties file can be modified to suit your requirement.
Since all Latex files end with .tex, you have the following choices
(IMHO):

SciTe comes with 'compile ' command(in Tools Menu)--You can use it for
Leslie Lamports Latex.

For XeLatex (in Windows) :you can use the "command.name.0.$(tex.files)
and other options.
Similarly , for 'Context' use 'command.name.1.$(......' .

one latex.properties is enough for all the above. No individual props
files required.

In this way ,
you can compile a latex file with-
ctrl-F7 for LaTex,
ctrl-0 for XeTeX
ctrl-1 for ConTeXt..

The formats of this 0 ,1 etc is in 'Scite-Doc.html'
I hope this suits your requirement.
scitefan
23rdoct2009

Pedro Andres Aranda Gutierrez

unread,
Oct 24, 2009, 2:10:46 AM10/24/09
to scite-i...@googlegroups.com
Hi,

I'm using SciTE for LaTEX, C, Java, Text, Lua, you name it :-)
Many of the customisations you want to do can be done with
the Lua startup script as well as on the different language specific
properties...

I can only encourage you to follow this path. SciTE has a low resource
footprint, which makes it a perfect candidate, even on smaller machines.

Cheers,/PA

Neil Hodgson

unread,
Oct 24, 2009, 2:14:28 AM10/24/09
to scite-i...@googlegroups.com
Alain Delmotte:

> I would also like to have the "Synctex" possibility to have forward and
> inverse search. It uses, if I understood well, DDE command. Is this
> possible with SciTE?

SciTE does not support DDE. You could write an external tool that
performs the DDE and bind that into the Tools menu.

Neil

ADelmotte

unread,
Oct 24, 2009, 4:30:08 AM10/24/09
to scite-interest
Thanks for all the answers. I'll go on and come back here if I find
unsolved questions.

Thanks again,

Alain
Reply all
Reply to author
Forward
0 new messages