[NTG-context] context not producing synctex output that my synctex program can use
Hi, I've read the wiki, looked at workflows-synctex.tex, searched the web, and scratched my head, all to no avail. So here I am, cap in hand... When I run context, I get a .synctex file which has some information in it, but I can't find any invocation of synctex to return anything useful. Nor does the okular example in the wiki (https://wiki.contextgarden.net/SyncTeX) work for me. Ocular starts, but always on the first page, regardless of what line number I give it. On the other hand, pdftex creates a .synctex file which my copy of synctex find useful. I am using the synctex from the current version of texlive: This is SyncTeX command line utility, version 1.5 Can anyone either (a) enlighten me on what I am doing wrong; or (b) definitively confirm that context is not currently playing nicely with synctex (the wiki notwithstanding) and I should give up this quest for now. Thanks very much. Jim ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)
On 11 Nov 2023, at 14:52, Aditya Mahajan wrote: > Last time I checked tree-sitter on neovim, there were no good tree-sitters > for context. I'd be interested in testing this out. Happy to have feedback! > Does the parser detect nested metapost and luatex environments? The parser recognizes chunks of metapost and latex code and marks them in the syntax tree, but does nothing else: I figured the best approach here was to let applications call out to various tree-sitter parsers as needed. I don't know of a tree-sitter parser for either metapost or latex. The next one I am going to try to build a parser for is metapost (following the reference material in the back of the manual) but I haven't sat down to that task yet. (Plus, that one's going to need a _lot_ of testing by people other than I; I only use metapost for very simple things, and my understanding is surface level at best.) > Aditya -Paul ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)
On Sat, 11 Nov 2023, Paul Mazaitis wrote: I don't use MacOS, but ... > (As an aside, this extension uses an updated version of the ConTeXt > tree-sitter parser [https://github.com/pmazaitis/tree-sitter-context] that > can now recognize (most) environments and use them to parse out the document > hierarchy.) Last time I checked tree-sitter on neovim, there were no good tree-sitters for context. I'd be interested in testing this out. Does the parser detect nested metapost and luatex environments? Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)
Am 11.11.23 um 18:39 schrieb Paul Mazaitis: Hello, list! I'm working on a ConTeXt language extension for the Nova editor by Panic software (https://nova.app/). The extension is here: https://github.com/pmazaitis/nova-context/releases/tag/0.6.0 ...currently in beta, but fairly functional. This version of the extension supports: * Syntax Highlighting * Folding for (most) environments * Navigating by Symbols (headings: chapter, section, etc.) * Spell-checking of body text and section titles * Managing builds with Nova's tasks system (As an aside, this extension uses an updated version of the ConTeXt tree-sitter parser [https://github.com/pmazaitis/tree-sitter-context] that can now recognize (most) environments and use them to parse out the document hierarchy.) Limitations at the moment: not all environments are supported (only those with \start and \stop commands right now), and the extension only supports English. Happy for any bug reports, etc., -Paul Thank you – would you mind to add it to https://wiki.contextgarden.net/Text_Editors please? Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] ConTeXt support for Nova text editor (MacOS)
Hello, list! I'm working on a ConTeXt language extension for the Nova editor by Panic software (https://nova.app/). The extension is here: https://github.com/pmazaitis/nova-context/releases/tag/0.6.0 ...currently in beta, but fairly functional. This version of the extension supports: * Syntax Highlighting * Folding for (most) environments * Navigating by Symbols (headings: chapter, section, etc.) * Spell-checking of body text and section titles * Managing builds with Nova's tasks system (As an aside, this extension uses an updated version of the ConTeXt tree-sitter parser [https://github.com/pmazaitis/tree-sitter-context] that can now recognize (most) environments and use them to parse out the document hierarchy.) Limitations at the moment: not all environments are supported (only those with \start and \stop commands right now), and the extension only supports English. Happy for any bug reports, etc., -Paul ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: hard clipping in ConTeXt?
On 11/10/2023 6:17 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \setuplayout[page] \starttext \clip[hoffset=5mm, voffset=5mm, width=15mm, height=15mm] {\externalfigure[xml-mkiv.pdf]} \stopnotmode \stoptext Using PDF.js (from current Firefox), xpdf, Evince, mupdf-gl, the viewer is able to find "dealing", altough it cannot be displayed. Okular and Sumatra (with Wine in Linux) are not able to find "dealing". Is there any way to have a hard clipping in ConTeXt? I mean, that only the contents of the clipped section is added to the resulting PDF document? one has to render a document (page stream) in order to wee what end up where .. a viewer has that info so it can decide to act upon it (apart from some gambling with words clipped in the middle of a character) this is not something for context to provide (it would mean keeping track of what gets clipped, and then compensating for it because it can still contribute to placement of following stuff, and then how about half clipped stuff) if i had a lifespan of 1000 years or were on a boring trip to another planet it might make a nice (although pointless) challenge to keep me occupied Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___