LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< 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: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
In-Reply-To: <[log in to unmask]>
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:
> 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