On 12/8/22 13:14, Hans Hagen via ntg-context wrote:
> [...]
> \setuplanguage
> [explicitrighthyphenchar=-1]
Sorry for insisting, Hans, but many languages (excepting en and uk) seem
nor to recogize this option:
\startluacode
function document.addfunnyhyphen(tfmdata)
local underscore
On 12/8/22 13:14, Hans Hagen via ntg-context wrote:
> On 12/8/2022 12:33 PM, Pablo Rodriguez via ntg-context wrote:
>> [...]
>> What am I missing here?
>
> \setuplanguage
> [explicitrighthyphenchar=-1]
Many thanks for your fast reply, Hans.
I’m afraid it doesn’t work here:
\startluacode
On 12/8/2022 12:33 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\startluacode
function document.addfunnyhyphen(tfmdata)
local underscore = utf.byte("_")
local char = tfmdata.characters[underscore]
if not char then return
Dear list,
I have the following sample:
\startluacode
function document.addfunnyhyphen(tfmdata)
local underscore = utf.byte("_")
local char = tfmdata.characters[underscore]
if not char then return end
tfmdata.characters[0xFE000] = {
width= 0,