[NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Kalouguine Andre via ntg-context
Hi, I was trying to have my "Acknowledgements" section/chapter before the table of contents but be contained within it. Is it normal that the table of contents is empty if there is a chapter that begins before it? ``` \starttext \chapter{Acknowledgements} Thank you \completecontent \chapt

Re: [NTG-context] Using project-local fonts

2023-04-13 Thread Kalouguine Andre via ntg-context
On 13.04.2023 21:22, Rik Kabel via ntg-context wrote: > EB Garamond is hopelessly broken with respect to hlig and dlig, and has been > for quite a while. > > I reported the problem > (https://github.com/octaviopardo/EBGaramond12/issues/20) over five years ago, > and the maintainer (if there i

Re: [NTG-context] Using project-local fonts

2023-04-13 Thread Kalouguine Andre via ntg-context
Hi, > i'm not familiar with that approach so can't see what interferes The most important change is that I can't update it and I can't put stuff in the system directory nor the user one. So I only have access to the project folder, it has to be self-contained. > \definefontfamily [ebgaramond]

[NTG-context] Using project-local fonts

2023-04-13 Thread Kalouguine Andre via ntg-context
Hi, I'm writing a small report using EB Garamond as the main font. I am sometimes using Overleaf (which has a ConTeXt distribution that is accessible using a latexmkrc file). The problem is, the EB Garamond version that is included seems to have a bug: the c-t and s-t ligatures (and maybe other

Re: [NTG-context] Subject: Leading spaces verbatim

2023-01-29 Thread Kalouguine Andre via ntg-context
On 28.01.2023 22:54, Hans Hagen via ntg-context wrote: > On 1/28/2023 9:26 PM, Kalouguine Andre via ntg-context wrote: On 28.01.2023 > 17:37, Pablo Rodriguez via ntg-context wrote: > > Using Fedora 37 (and having just installed Okular), I see that > annotations are tricky to

Re: [NTG-context] Subject: Leading spaces verbatim

2023-01-28 Thread Kalouguine Andre via ntg-context
On 28.01.2023 17:37, Pablo Rodriguez via ntg-context wrote: > Using Fedora 37 (and having just installed Okular), I see that > annotations are tricky to open in Okular. > > First you have to select the Annotations tab on the left pane, go to the > annotation and then right-click on it to open (th

Re: [NTG-context] Subject: Leading spaces verbatim

2023-01-28 Thread Kalouguine Andre via ntg-context
Hi Pablo, > \showframe > \setupinteraction[state=start] > \starttext > \startbuffer[abc] > def foo(x): > if x == 0: > bar() > else: > baz(x) > foo(x - 1) > \stopbuffer > \comment[location=leftmargin, > space=yes, > buffer=abc, > title={Python code}] > {}\typebuffer[abc] > \stoptext > > This might

[NTG-context] Subject: Leading spaces verbatim

2023-01-27 Thread Kalouguine Andre via ntg-context
Good day to everyone, I'm trying to make a verbatim block of text with copiable leading spaces so that students can just copy my Python code snippets into their IDE. I believe the question has been asked before (though I confess I can't find the right search terms to find the answer again). I get