Re: [NTG-context] how to hyphenate SHA512?

2017-07-10 Thread Pablo Rodriguez
On 07/08/2017 01:32 PM, Hans Hagen wrote: > On 7/7/2017 10:28 PM, josephcan...@gmail.com wrote: >> A probably quick and dirty « solution », which consists in inserting a >> \discretionary node between each digit using some lua code. There are >> mostly likely better solutions for this. > >

Re: [NTG-context] how to hyphenate SHA512?

2017-07-08 Thread Hans Hagen
On 7/8/2017 10:20 AM, josephcan...@gmail.com wrote: If I am not mistaken SHA is only hexadecimal digits, so you probably need only to have a « language » that hyphenates between any pair of those. Should be much simpler I guess, but I do not really know how to add such setting I am afraid. you

Re: [NTG-context] how to hyphenate SHA512?

2017-07-08 Thread Hans Hagen
t; *Envoyé le :*jeudi 6 juillet 2017 12:00 *À : *mailing list for ConTeXt users <mailto:ntg-context@ntg.nl> *Objet :*[NTG-context] how to hyphenate SHA512? Dear list, I have the following sample: \starttext \hsize\zeropoint hyphenation 8b

Re: [NTG-context] how to hyphenate SHA512?

2017-07-08 Thread josephcanedo
juillet 2017 08:56 À : ntg-context@ntg.nl Objet :Re: [NTG-context] how to hyphenate SHA512? Many thanks for your reply, Joseph. The underscore I want to use should be placed below the previous character, such as in (code from Hans): \startluacode function document.addfunnyhyphen(tfmdata

Re: [NTG-context] how to hyphenate SHA512?

2017-07-08 Thread Pablo Rodriguez
le.concat(out, '\\discretionary{_}{}{}')) > end > > \stopluacode > > \starttext > > \hyphenation > > \ctxlua{sha([[8b2f3c087046c3943ace0dc4f958ef2138e58a51b40eef6fab6fa1aeb845cc257a410ab1b914bc399b4293f31c76fc2c73e5be5ea4d329f9e6820984688efec2]])} > > \stoptext > > > *De : *Pablo Rodriguez <mailto:oi...@gmx.es> > *En

Re: [NTG-context] how to hyphenate SHA512?

2017-07-07 Thread josephcanedo
([[8b2f3c087046c3943ace0dc4f958ef2138e58a51b40eef6fab6fa1aeb845cc257a410ab1b914bc399b4293f31c76fc2c73e5be5ea4d329f9e6820984688efec2]])} \stoptext De : Pablo Rodriguez Envoyé le :jeudi 6 juillet 2017 12:00 À : mailing list for ConTeXt users Objet :[NTG-context] how to hyphenate SHA512? Dear list, I have the following

[NTG-context] how to hyphenate SHA512?

2017-07-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \hsize\zeropoint hyphenation 8b2f3c087046c3943ace0dc4f958ef2138e58a51b40eef6fab6fa1aeb845cc25% 7a410ab1b914bc399b4293f31c76fc2c73e5be5ea4d329f9e6820984688efec2 \stoptext I plan to use underscore hyphenation. How can I