On 7/25/2008 11:30 AM, Matthias Wächter wrote:
On 7/24/2008 9:49 PM, Peter Münster wrote:
On Thu, Jul 24 2008, Matthias Wächter wrote:
What am I doing wrong? \Word, \Words and \WORDS cannot be applied to synonyms, they are displayed unmodified which is a pity as these words should be capitalized at the beginning of a sentence. Is there a solution? Try "texexec --luatex file" (luatex has to be installed).
Wow, it's always impressive to see what difference luatex makes … :-)
Only problem: \Word does the same as \Words (checked on live.contextgarden). Any hints?
This is the respective code from core-spa.mkiv, and it is obviously broken as it defines \Words to be the same as \Word (and it defines \Word wrongly in the first place). […] \def\WORD{\groupedcommand{\setcharactercasing[\plusone ]}{}} \def\word{\groupedcommand{\setcharactercasing[\plustwo ]}{}} \def\Word{\groupedcommand{\setcharactercasing[\plusthree]}{}} % \plusfour \let\WORDS\WORD \let\words\word \let\Words\Word […] I just played a little bit with the lua code but get lost miserably considering all those nodes, linked lists etc. It seems to be the hard part to skip the remaining words properly, so its implementation was postponed. Is this correct? Hans, do you feel something about the issue? Thanks, - Matthias