On 9/3/2021 3:53 PM, Aditya Mahajan via ntg-context wrote:
On Fri, 3 Sep 2021, Thierry Horsin via ntg-context wrote:

Hi everybody

Is there a way to have an automatic access to the current line number of a 
specific place inside a tex file ? To be more precise, here is what I would 
like to do.

Also look at the filter module.

     https://github.com/adityam/filter

Behind the scenes, it works by saving the content in an external file and then
running it through any external program. It also allows for caching the
result, and has many options for customizing the behavior.
you forgot to mention that it also makes sure that you only process when there has been a change (after all calling gcc comes at a price)

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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to