Am Sat, 28 Jan 2023 03:01:24 +0100 schrieb Kalouguine Andre via
ntg-context:
> 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.
This basically doesn't work (quite unrelated to the tex code).
The PDF
On 1/29/23 17:58, Kalouguine Andre via ntg-context wrote:
> On 28.01.2023 22:54, Hans Hagen via ntg-context wrote:
>> […]
>> so: this is all very viewer dependent! (The suggested comment method
>> is more reliable.)
>
> Unfortunately as I just found out, comments are also viewer dependent...
> Fo
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 open in Okular.
>
>
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 t
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
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 con
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
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 follo
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