Re: Re: [docbook-apps] spell checking

From
<>
Date
2003-12-06T18:04:34+00:00
ID
Thread
Re: Re: [docbook-apps] spell checking
Bruce D'Arcus wrote:
> 
> On Friday, December 5, 2003, at 03:39  PM, W. Borgert wrote:
> 
>> I just tried nxml-mode with aspell and:
>>
>> (setq ispell-program-name "aspell")
>> (set-default 'ispell-skip-html t)
>> (setq ispell-extra-args '("--mode=sgml"))
> 
> 
> Damn.   I have this too, but I am still getting element and attribute 
> values as "mispelled"!  I see this with ispell too, though.
> 
> Bruce

Hi,

I had this to until I defined the element names as LocalWords on the 
bottom of each file (this list is far from complete):

<!--  LocalWords: sgml Local End para LocalWords left itemizedlist 
varlistentry variablelist figure listitem sect term title indexterm 
primary secondary tertiary insert id imageobject mediaobject imagedata 
contentwidth align center fileref xref -->

This list must be in *one* line otherwise words after the line break are 
ignored and appear as misspelled again ...

HTH
Thomas