Homepage of Claus Dethlefsen Intro Prepare Download Install Tune Test Uninstall Info

Tuning

The following is not neccesary for getting a running system. It should not be carried out if your system cannot go through the test after the installation. It is a more experimental section, and is is biased towards my preferences, so you should pick the steps you like. I have not documented the intructions in great detail, so you will need to be an advanced user of windows. If you think I can improve then instructions, feel free to contact me.

The uninstall instructions do not cover all of the additions described here.

Adding packages to Miktex

The intention is that the localtexmf directory be the root of the place where all local files (e.g., .sty and .bib files) (as opposed to Miktex package distributions) live. So local
.bib files go in localtexmf\bibtex
.sty files go in localtexmf\miktex\tex\latex
Each time you add a file to one of those directories, you must run Miktex Options and select "Refresh Now" under file name database on the general tab.

An example .emacs

This assumes that you have installed everything to c:\ as described and have gone through most of the steps below. I have tried to write explanations to most of the content, so you should be able to edit it to your own needs. If you copy it, you will not need to do the 'insert the following lines into your c:\.emacs' instructions below. Since emacs will not startup properly with this .emacs until all the packages are installed, some of the tests will fail.

Gnuserv

Emacs shortcut (gnuserv)

The "Start in" sets the initial directory for Emacs. You can have several shortcuts to Emacs with different "Start in" directories. Note that ~/ will always be HOME.
The "Send to" enables rightclicking on any file and choosing "send to" Emacs, which will cause the file to be opened by emacs.

File Associations (gnuserv)

Define or edit associations/actions for other file types, e.g. .bib, .txt. The Edit action for the existing file type .html (called "Microsoft HTML document 5.0" on my system) can be used by Internet Explorer, so that when you choose "edit" from within IE, the file opens in Emacs. After creating the edit action, open Internet explorer, click Tools/Internet options. Choose the Programs tab and gnuclientw should be in the list of HTML editors.

Inverse search in YAP

Letter paper

To get dvips to use letter-paper instead of A4, insert the following line in the file c:\program files\texmf\dvips\config\config.ps
t letter

Lacheck 1.20

Test: At a DOS prompt, run "lacheck file.tex", where file.tex is a latex-file. It should spit out some suggestions. In Emacs in latex-mode, choose the "Check" command from the Command menu.

Html-helper-mode

Header

Info manuals for AUCTeX and Ispell

When running 'info'-mode (C-h i) the entry 'AUCTeX' appears with the AUCTeX manual.

Speeding up lisp

BIBINPUTS

The BIBINPUTS is used by bib-cite which comes with auctex. Reftex also uses it. However, Bibtex does not use it, so check the miktex local guide for setting the searchpath for bibtex. (In a personal miktex.ini file).

Math stuff

ESS (Emacs Speaks Statistics)

(to speed up ess, in Emacs, call C-u 0 M-x byte-recompile-directory and choose c:\program files\emacs\site-lisp\ess\lisp).

Matlab mode


Support for Danish

Hyphenation

Danish characters

Aalborg University Logo

Danish dictionary for ispell

Test: In Emacs choose Edit/Spell/Select Dansk, and then Edit/spell/check buffer.
Claus Dethlefsen
Last modified: Fri Sep 27 11:11:04 Romance Daylight Time 2002