Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-04 Thread Hans Hagen
On 8/3/2020 10:10 PM, Otared Kavian wrote: Hi Hans, A file which used to be typeset correctly with the previous versions of lmtx, now produces an error. Despite the error message being extremely cryptic: Error ! Missing number, treated as zero I could guess the origin of the bug, which

Re: [NTG-context] \emph not working in LMTX (bug?)

2020-08-04 Thread Hans Hagen
On 8/4/2020 3:37 AM, Jairo A. del Rio wrote: The following crashes with LMTX (current version: 2020.08.03 14:25): \starttext \emph{Hola} \stoptext Log: \emphasiscorrection ->\ifhmode \ifnum \currentgrouptype =\aligngroupcode looks like some mismatch between the format and the engine as it

Re: [NTG-context] \fontdimen in LuaMetaTeX

2020-08-04 Thread Hans Hagen
On 8/3/2020 7:57 PM, Marcel Fabian Krüger wrote: Hi, recent LuaMetaTeX versions no longer automatically resize the fontdimen arrays on assignments. indeed, using font dimens for other purposes than fonts is pre-etex hackery that (c|sh)ould have been abandoned decades ago Is there a way to

Re: [NTG-context] bug in current latest (2019.10.11 15:57)?

2020-08-04 Thread Hans Hagen
On 8/3/2020 7:26 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 03.08.2020 um 19:06: Hi Hans, the following sample complains about an undefined command with ConTeXt latest (2019.10.11 15:57):     \starttext     {\em æb}     \stoptext I think this might be a bug in LMTX. The

Re: [NTG-context] About vertical typesetting in ConTeXt

2020-08-04 Thread Jairo A. del Rio
Hi, list. I've found a (sort of) way to do LTL typesetting in Lua(La)TeX based on "chickenize", a LuaTeX package. The font used is available here; http://www.mongolfont.com/en/font/mnglwhiteotf.html %Just for testing in LaTeX \documentclass{article} \usepackage{luacode} \usepackage{fontspec}

Re: [NTG-context] \emph not working in LMTX (bug?)

2020-08-04 Thread Hans Hagen
On 8/4/2020 5:48 AM, Wolfgang Schuster wrote: Yes and it was already reported by Pablo but don't hesitate report future bugs. Indeed. I really appreciate the fast testing of context lmtx updates because that way we can move on fast and in steps.

[NTG-context] check if inside footnote

2020-08-04 Thread Henning Hraban Ramm
Hi, me again... Is there a check if a macro is called from inside of a footnote, like a system mode *footnote? (Same with captions?) In my current project, index entries should get italic page numbers if they occurr inside of a footnote (or a caption, but that is rare). I’m using different

[NTG-context] Placing a section ending depending on odd/even sectionnumber

2020-08-04 Thread Willi Egger
Hi, now I have another hurdle to be taken :-) — Depending on the odd or even number of the section I have to place an ornament at the end of the section. I have sofar the following setup: \define\stopmysection {\setups{endsection}} \startsetups endsection \doifelse

Re: [NTG-context] Placing a section ending depending on odd/even sectionnumber

2020-08-04 Thread Wolfgang Schuster
Willi Egger schrieb am 04.08.2020 um 18:56: Hi, now I have another hurdle to be taken :-) — Depending on the odd or even number of the section I have to place an ornament at the end of the section. I have sofar the following setup: [...] However the the evaluation of the sectionnumber

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Hans Hagen
On 8/4/2020 11:04 AM, Henning Hraban Ramm wrote: Hi, me again... Is there a check if a macro is called from inside of a footnote, like a system mode *footnote? (Same with captions?) In my current project, index entries should get italic page numbers if they occurr inside of a footnote (or a

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-04 Thread Otared Kavian
Hi Hans, Thanks for the hint which consists in adding an \ifmmode to the definition of \qed. However, as you suggest, one needs some other mechanism in math mode, since with your new definition of \qed the alignment of the formula changes when one adds this close symbol:

Re: [NTG-context] Installing VSCode extension?

2020-08-04 Thread Mikael Sundqvist
On Thu, Jul 30, 2020 at 12:25 PM Henning Hraban Ramm wrote: > > > Am 30.07.2020 um 07:52 schrieb Jeong Dal : > > > > Dear Alasdair McAndrew, > > > > I am using vscode in iMac, so my setting may not work for you. > > > > > > > > 1. First, find files for vscode in your TeX folder. > > > > In my

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Henning Hraban Ramm
> Am 04.08.2020 um 13:20 schrieb Hans Hagen : > > On 8/4/2020 11:04 AM, Henning Hraban Ramm wrote: >> Hi, me again... >> Is there a check if a macro is called from inside of a footnote, like a >> system mode *footnote? >> (Same with captions?) >> In my current project, index entries should get

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Hans Hagen
On 8/4/2020 1:47 PM, Henning Hraban Ramm wrote: Am 04.08.2020 um 13:20 schrieb Hans Hagen : On 8/4/2020 11:04 AM, Henning Hraban Ramm wrote: Hi, me again... Is there a check if a macro is called from inside of a footnote, like a system mode *footnote? (Same with captions?) In my current

Re: [NTG-context] About vertical typesetting in ConTeXt

2020-08-04 Thread Hans Hagen
On 8/4/2020 10:32 AM, Jairo A. del Rio wrote: http://www.mongolfont.com/en/font/mnglwhiteotf.html hm, only for testing, not for use I can rotate boxes in ConTeXt using other methods than those used in LaTeX. However, my main concern is about "translating" the Lua(La)TeX piece to be used in

Re: [NTG-context] About vertical typesetting in ConTeXt

2020-08-04 Thread Jairo A. del Rio
Thank you a lot, Hans. Indeed, the second solution seems to correctly put text into a vertical flow. However, a serious issue with Mongolian script is the horizontal direction: unlike CJK vertical typesetting, the text columns go from left to right, and the following almost works (\definefont