unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* spell checking in latex files
@ 2007-06-16  9:33 Martin Barth
  2007-06-16  9:41 ` Sven Bretfeld
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Martin Barth @ 2007-06-16  9:33 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: spell checking in latex files
  2007-06-16  9:33 spell checking in latex files Martin Barth
@ 2007-06-16  9:41 ` Sven Bretfeld
  2007-06-16 11:09 ` Eli Zaretskii
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Sven Bretfeld @ 2007-06-16  9:41 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: spell checking in latex files
  2007-06-16  9:33 spell checking in latex files Martin Barth
  2007-06-16  9:41 ` Sven Bretfeld
@ 2007-06-16 11:09 ` Eli Zaretskii
  2007-06-16 11:16   ` Martin Barth
  2007-06-16 11:49 ` Peter Dyballa
  2007-06-16 12:28 ` Christian Herenz
  3 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2007-06-16 11:09 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Sat, 16 Jun 2007 11:33:32 +0200
> From: Martin Barth <martin@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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: spell checking in latex files
  2007-06-16 11:09 ` Eli Zaretskii
@ 2007-06-16 11:16   ` Martin Barth
  2007-06-16 11:56     ` Peter Dyballa
  2007-06-16 12:16     ` Peter Dyballa
  0 siblings, 2 replies; 9+ messages in thread
From: Martin Barth @ 2007-06-16 11:16 UTC (permalink / raw)
  To: help-gnu-emacs

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 :-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: spell checking in latex files
  2007-06-16  9:33 spell checking in latex files Martin Barth
  2007-06-16  9:41 ` Sven Bretfeld
  2007-06-16 11:09 ` Eli Zaretskii
@ 2007-06-16 11:49 ` Peter Dyballa
  2007-06-16 12:28 ` Christian Herenz
  3 siblings, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2007-06-16 11:49 UTC (permalink / raw)
  To: Martin Barth; +Cc: help-gnu-emacs


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!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: spell checking in latex files
  2007-06-16 11:16   ` Martin Barth
@ 2007-06-16 11:56     ` Peter Dyballa
  2007-06-16 13:13       ` Martin Barth
  2007-06-16 12:16     ` Peter Dyballa
  1 sibling, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2007-06-16 11:56 UTC (permalink / raw)
  To: Martin Barth; +Cc: help-gnu-emacs


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: spell checking in latex files
  2007-06-16 11:16   ` Martin Barth
  2007-06-16 11:56     ` Peter Dyballa
@ 2007-06-16 12:16     ` Peter Dyballa
  1 sibling, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2007-06-16 12:16 UTC (permalink / raw)
  To: Martin Barth; +Cc: help-gnu-emacs


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)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: spell checking in latex files
  2007-06-16  9:33 spell checking in latex files Martin Barth
                   ` (2 preceding siblings ...)
  2007-06-16 11:49 ` Peter Dyballa
@ 2007-06-16 12:28 ` Christian Herenz
  3 siblings, 0 replies; 9+ messages in thread
From: Christian Herenz @ 2007-06-16 12:28 UTC (permalink / raw)
  To: Martin Barth; +Cc: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: spell checking in latex files
  2007-06-16 11:56     ` Peter Dyballa
@ 2007-06-16 13:13       ` Martin Barth
  0 siblings, 0 replies; 9+ messages in thread
From: Martin Barth @ 2007-06-16 13:13 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

thx everyone for helping me.

Martin

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-06-16 13:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-16  9:33 spell checking in latex files Martin Barth
2007-06-16  9:41 ` Sven Bretfeld
2007-06-16 11:09 ` Eli Zaretskii
2007-06-16 11:16   ` Martin Barth
2007-06-16 11:56     ` Peter Dyballa
2007-06-16 13:13       ` Martin Barth
2007-06-16 12:16     ` Peter Dyballa
2007-06-16 11:49 ` Peter Dyballa
2007-06-16 12:28 ` Christian Herenz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).