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

2023-01-28 Thread Hans Hagen via ntg-context
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 open in Okular. First you have to select the Annotations tab on the left pane, go

Re: [NTG-context] notes by paragraph

2023-01-28 Thread jbf via ntg-context
That solves the problem. Thank you. Julian On 28/1/23 23:22, Pablo Rodriguez via ntg-context wrote: \setupnote[footnote][location=none] might help. ___ If your question is of interest to others as well, please add

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

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

2023-01-28 Thread Pablo Rodriguez via ntg-context
On 1/28/23 14:31, Kalouguine Andre via ntg-context wrote: > Hi Pablo, Hi André, > [...]   > That's actually something I had never thought of, using PDF comments, > thanks!. When I faced a similar task, I thought it could be the way of solving the issue (how to copy and paste ConTeXt code and

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

Re: [NTG-context] footnotes by paragraph?

2023-01-28 Thread Bruce Horrocks via ntg-context
On 28 Jan 2023, at 02:14, jbf via ntg-context wrote: > > Here's a tricky one (for me) that I haven't been able to work out. I am > dealing with a set of constitutions that I am organizing with a paragraph > definition > \defineparagraphs[Two][n=2] >

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

2023-01-28 Thread Pablo Rodriguez via ntg-context
On 1/28/23 03:01, Kalouguine Andre via ntg-context wrote: > 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. Hi André, I wonder whether I’m getting your point with the

Re: [NTG-context] notes by paragraph

2023-01-28 Thread Pablo Rodriguez via ntg-context
On 1/28/23 03:58, jbf via ntg-context wrote: > Re my earlier question on footnotes by defined paragraph: > > \start...stoplocalfootnotes and \placelocalfootnotes largely solves the > issue (had forgotten that option), but I am still getting the footnotes > repeated at the bottom of the page. I am