Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

spell checking in latex files

0 views
Skip to first unread message

Martin Barth

unread,
Jun 16, 2007, 5:33:32 AM6/16/07
to help-gn...@gnu.org
hi there,

i am writing a large text in latex with my emacs. and I want to use
ispell to check the text.

Since I am German I use "a, "o, "u or "s for Umlauts and sz, so the
spell checking isn't working for words with umlauts, etc. Is there a
solution for this problem?


Regards Martin


Sven Bretfeld

unread,
Jun 16, 2007, 5:41:42 AM6/16/07
to help-gn...@gnu.org
Hi Martin

On Sat, Jun 16, 2007 at 11:33:32AM +0200, Martin Barth wrote:

> Since I am German I use "a, "o, "u or "s for Umlauts and sz, so the
> spell checking isn't working for words with umlauts, etc. Is there a
> solution for this problem?

Have you considered switching to utf-8? You can use it very
comfortably with the utf8 (or utf8x) option of LaTeX's inputenc package.

Spell checking works without this problem then.

Greetings,

Sven


Eli Zaretskii

unread,
Jun 16, 2007, 7:09:01 AM6/16/07
to help-gn...@gnu.org
> Date: Sat, 16 Jun 2007 11:33:32 +0200
> From: Martin Barth <mar...@senfdax.de>

>
> i am writing a large text in latex with my emacs. and I want to use
> ispell to check the text.
>
> Since I am German I use "a, "o, "u or "s for Umlauts and sz, so the
> spell checking isn't working for words with umlauts, etc. Is there a
> solution for this problem?

What dictionary did you tell Ispell to use? Can you try other
variants of the German dictionary?

Type "M-x ispell-change-dictionary RET", then a question mark will
show you the list of available dictionaries; pick up those which are
for German, and see if they solve your problem.


Martin Barth

unread,
Jun 16, 2007, 7:16:36 AM6/16/07
to help-gn...@gnu.org
Hi,

> What dictionary did you tell Ispell to use? Can you try other
> variants of the German dictionary?
>
> Type "M-x ispell-change-dictionary RET", then a question mark will
> show you the list of available dictionaries; pick up those which are
> for German, and see if they solve your problem.

I am using the german dict. but is there a dict with:

Kr"ahe

instead of:

Krähe

(german word for crow)

next latex projekt will be in utf8, thank you sven :-)


Peter Dyballa

unread,
Jun 16, 2007, 7:49:39 AM6/16/07
to Martin Barth, help-gn...@gnu.org

Am 16.06.2007 um 11:33 schrieb Martin Barth:

> Since I am German I use "a, "o, "u or "s for Umlauts and sz, so the
> spell checking isn't working for words with umlauts, etc. Is there a
> solution for this problem?

There are two:

• ispell can use 7-bit and 8-bit dictionaries, although I think it
usually prefers sS for ß, which can be easily created from sz
• your LaTeX source can be b-bit:

\documentclass[a4paper,11pt]{article}
\usepackage{ifpdf}
\ifpdf
\immediate\write16{\jobname: Bonjour, PDF!}
\usepackage{cmap}
\usepackage[pdftex]{graphicx}
% \DeclareGraphicsExtensions{.png,.gif,.tif,.jpeg}
\usepackage[activate={true,nocompatibility}]{microtype}
\else % for non-pdfTeX
\immediate\write16{¡Hola \jobname: DVI!}
% \DeclareGraphicsExtensions{.eps,.ps}
\usepackage[dvips]{graphicx}
\usepackage[protrusion=true,expansion=false]{microtype}
\fi
\usepackage[ngerman,UKenglish]{babel}
%\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[full]{textcomp}
\usepackage[latin9]{inputenc}

--
Mit friedvollen Grüßen

Pete

Es macht schon Spaß, Leute zu hassen: nie gehen die Ideen aus!


Peter Dyballa

unread,
Jun 16, 2007, 7:56:57 AM6/16/07
to Martin Barth, help-gn...@gnu.org

Am 16.06.2007 um 13:16 schrieb Martin Barth:

> I am using the german dict. but is there a dict with:

Look at http://lasr.cs.ucla.edu/geoff/ispell-dictionaries.html.

If there's nothing in 7 bit anymore, then modernise your source ...

--
Mit friedvollen Grüßen

Pete

Nazionalismus ist die Religion der armen Schweine


Peter Dyballa

unread,
Jun 16, 2007, 8:16:19 AM6/16/07
to Martin Barth, help-gn...@gnu.org

Am 16.06.2007 um 13:16 schrieb Martin Barth:

> Kr"ahe

I think it's not the question whether a 7-bit dictionary exists, it's
a question of choice/setup and style. The ispell-dictionary-alist
contains setups for "deutsch" and "deutsch8", and when you choose
"deutsch" then you'd need to write a", O", sS – I actually can't
remember more details, I was a child when I used such nonsense with
TeX 2.x (and then TeX had a file similiar to ~/.inputrc that
translated the ispell notation into TeX macros).

--
Mit friedvollen Grüßen

Pete

Eine Fehlentscheidung auf Anhieb spart immerhin Zeit.
(Helmar Nahr)


Christian Herenz

unread,
Jun 16, 2007, 8:28:56 AM6/16/07
to Martin Barth, help-gn...@gnu.org
Martin Barth schrieb:
> hi there,

>
> i am writing a large text in latex with my emacs. and I want to use
> ispell to check the text.
>
> Since I am German I use "a, "o, "u or "s for Umlauts and sz, so the
> spell checking isn't working for words with umlauts, etc. Is there a
> solution for this problem?
>
With emacs you do not have to use these codes for umlauts, you can use
them directly and use an appropriate inputenc encoding in your Latex
document.
Are you working on an system which supports UTF-8?
Greetz,
Christian


Martin Barth

unread,
Jun 16, 2007, 9:13:46 AM6/16/07
to help-gn...@gnu.org
Hi,

thx everyone for helping me.

Martin


0 new messages