LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Proportional Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Thu, 9 Jul 2015 22:38:32 +0200
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID:
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
8bit
In-Reply-To:
Content-Type:
text/plain; charset=utf-8
From:
Stephan Hennig <[log in to unmask]>
Parts/Attachments:
text/plain (22 lines)
Am 07.07.2015 um 11:59 schrieb David Carlisle:
> On 07/07/2015 10:48, √Člie Roux wrote:
>>
>> https://github.com/sh2d/spelling
> 
> Excellent thanks! It's always good to have some real test cases that you
> can try not to break.

FWIW, for those who haven't already looked at the code, the whatsit id
allocation can be found in file spelling_main.lua, function
__allocate_whatsit_ids().  The user ids are then used in file
spelling-stage-2.lua, function __tag_word() to wrap a "word" in a node
list in whatsit nodes.

I haven't look at that (experimental) code for a while, but I think
instead of wrapping words in whatsit nodes I'll rather tag every node
belonging to a word with an attribute in the future.  Because adding
whatsit nodes to a node list does have side effects.

Best regards,
Stephan Hennig

ATOM RSS1 RSS2