[NTG-context] getting number from context.figurewidth

2021-10-26 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode document.sample = "xml-mkiv.pdf" context.getfiguredimensions({ document.sample }) context(context.figureheight) context.par() context(tex.dimen.paperheight) \stopluacode \stoptext Is there a way that I

Re: [NTG-context] [Solved] Line breaks, \wordright and hyphenation

2021-10-26 Thread kauśika cittūr via ntg-context
On Monday, October 25, 2021 7:34:06 AM IST kauśika cittūr wrote: > On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote: > > Dear list, > > > > In short, my question is: why does \wordright cause a line-break when the > > line preceding it breaks with hyphenation and does not

Re: [NTG-context] Romanization of ancient greek

2021-10-26 Thread Marcus Vinicius Mesquita via ntg-context
Thank you, Jairo. It helped, the hack worked for what I needed. I'll mail Philipp and ask him to fix the module. Best regards Marcus Vinicius On Tue, Oct 26, 2021 at 7:25 AM Jairo A. del Rio wrote: > Ugly hack: add this before loading transliterator: > > \startluacode > unicode = unicode and

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
Thanks to Wolfgang Schuster and Bruce Horrocks I have now a working solution. I ended up following Bruce’s suggestion of doing a left hand side (LHS) page opposite the first (RHS) chapter or part page differently than using after/before modifications of the \chapter and \part setups as I had

Re: [NTG-context] Romanization of ancient greek

2021-10-26 Thread Jairo A. del Rio via ntg-context
Ugly hack: add this before loading transliterator: \startluacode unicode = unicode and unicode or _G \stopluacode I get the following output: kakon anagkē, all' udemia anagkē zēn meta anagkēs I hope this helps. I also think you should mail Philipp so that he fixes it (the Lua code looks pretty

Re: [NTG-context] Romanization of ancient greek

2021-10-26 Thread Marcus Vinicius Mesquita via ntg-context
I tried the MWE example below with the transliterator module, but context throws an error: token call, execute: ...ules/tex/context/third/transliterator/transliterator.lua:20: attempt to index a nil value (global 'unicode') \usemodule[transliterator] \starttext \transliterate[mode=gr]{κακὸν

Re: [NTG-context] Romanization of ancient greek

2021-10-26 Thread Marcus Vinicius Mesquita via ntg-context
Thank you, Wolfgang. I'll look into it. Regards Marcus Vinicius On Tue, Oct 26, 2021 at 1:22 AM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Marcus Vinicius Mesquita via ntg-context schrieb am 26.10.2021 um 00:38: > > Dear list, > > > > Is there anything in ConTeXt that