On 11/19/2015 5:16 PM, josephcan...@gmail.com wrote:
Attached simple MWE. The second line has no ligatures/ no glyph
substitution/ kern
use this ...
\startluacode
userdata = userdata or { }
if not nodes.typesetters.tohbox then
function nodes.typesetters.tohbox(...)
I’ll try this in a minute. Thanks a million.
Another bit of complexity, if I have some words in different font (only a few
of them), should I call tohbox for these separately and “chain” the different
hboxes together ? For example the idea is to “emulate” for instance:
The second line has a
On 11/19/2015 8:26 PM, josephcan...@gmail.com wrote:
I’ll try this in a minute. Thanks a million.
Another bit of complexity, if I have some words in different font (only
a few of them), should I call tohbox for these separately and “chain”
the different hboxes together ? For example the idea is
Attached simple MWE. The second line has no ligatures/ no glyph substitution/
kern
Using: ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.11.1
Thanks
Best regards
Joseph
From: josephcan...@gmail.com
Sent: Wednesday, November 18, 2015 10:36 PM
To: ntg-context@ntg.nl
Hi Hans
First of all, thanks a lot for replying.
I tried your suggestion and it does not seem to work at least for fancy
features in EB Garamond (historical liguratures and other features).
I also tried to pass the hbox to tex.linebreak() and got assertion failure in
luatex.
Is there any
> are you sure that you defined that font and that it's the current font?
I’ll double check my code and may I send you a MWE if I can still not see the
ligatures and stuff. I’ll try also with new beta (have not installed yet) just
in case.
> just put stuff in vboxes and loop over that; at
On 11/18/2015 9:49 PM, josephcan...@gmail.com wrote:
Hi Hans
First of all, thanks a lot for replying.
I tried your suggestion and it does not seem to work at least for fancy
features in EB Garamond (historical liguratures and other features).
I also tried to pass the hbox to tex.linebreak()
On 11/17/2015 9:15 AM, josephcan...@gmail.com wrote:
Hello,
I was wondering if someone could have some hints on this question,
anyway, I found the function mknodes() from luaTeX wiki and
nodes.handlers.characters(head) function in ConTeXt (as it seems that
node.ligaturing(head) and
Hello,
I was wondering if someone could have some hints on this question, anyway, I
found the function mknodes() from luaTeX wiki and
nodes.handlers.characters(head) function in ConTeXt (as it seems that
node.ligaturing(head) and node.kerning(head) do not seem to do anything).
It seems to
Just in case it is of interest (and assuming this won’t change in future
versions), after digging again in lua code I replaced
nodes.handlers.characters(head) with
local proc = nodes.tasks.actions('processors') -- not sure finalizers tasks are
needed ?
head = proc(head)
before passing
Dear all,
Is it possible in ConTeXt within lua code to do “trial typesetting” (not sure
that’s best name for what I would like to achieve) ? By this I mean store some
input (with text and macros) in some buffer and do what ConTeXt does normally
(parsing, create nodes …) but instead of
11 matches
Mail list logo