[luatex] letterspacing in LuaTeX

Pablo Rodríguez oinos at web.de
Mon Jul 26 23:10:39 CEST 2010


On 07/26/2010 05:09 PM, Ulrike Fischer wrote:
> \documentclass[10pt]{book}
> \usepackage{soul}
> \makeatletter
> \showboxdepth=100
> \def\SOUL at doword{%
>      \edef\x{\the\SOUL at word}%
>      \ifx\x\empty
>      \else
>          \SOUL at buffer={}%
>          \setbox\z@\vbox{%
>              \SOUL at tt
>              \hyphenchar\font`\-
>              \hfuzz\maxdimen
>              \hbadness\@M
>              \pretolerance\m at ne
>         %     \tolerance\@M %<--------------
>              \leftskip\z@
>              \rightskip\z@
>              \hsize1sp
>              \everypar{}%
>              \parfillskip\z@\@plus1fil
>              \hyphenpenalty-\@M
>              \noindent
>              \hskip\z@
>              \relax
>              \the\SOUL at word}%
>          \showbox\z@    %<------show
>          \let\SOUL at errmsg\SOUL at error
>          \let\-\relax
>          \count@\m at ne
>          \SOUL at analyze
>          \SOUL at word={}%
>      \fi
> }
>
>
> \begin{document}
> \so{a}
> \end{document}

Ulrike, many thanks again.

If the above document is supposed to work, I'm afraid it doesn't.

Thanks for your help,


Pablo


More information about the luatex mailing list