Re: [NTG-context] No inverse Search when using \usepath
On 7/22/2020 9:03 AM, Aradenatorix Veckhôm Avecælus wrote: I think so. In fact, I have this doubt, can you use synctex with ConTeXt or do you have something that works like it? You have to enable it: \setupsynctex[state=start] because it adds quite some overhead. 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 ___
Re: [NTG-context] No inverse Search when using \usepath
I think so. In fact, I have this doubt, can you use synctex with ConTeXt or do you have something that works like it? ___ 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 ___
Re: [NTG-context] No inverse Search when using \usepath
> Am 11.07.2020 um 18:08 schrieb Hans Hagen : >> I can compile and I get a nice PDF, but the inverse search is not possible. >> (I use Sumatra and Notepad++) >> NPP only looks at the path after\input... /techdaten/Ang_techdaten.tex >> Do any of you know a workaround for this? >> Is \usepath the suited command? > What do you mean with 'inverse search'? He probably means SyncTeX. Hraban ___ 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 ___
[NTG-context] No inverse Search when using \usepath
Hello List, Greetings to all members! This is my first post here... Relatively new in Context, I've loved it since the first minute! I write technical manuals with Context. Some chapters of the manuals are depending on the type of the machine which are described in the manual. I try to use \usepath to load the right texfile from different folders. My variable for searching the correct folder is \machinename. \machinename is set before compiling The folders are: /MakeText/Ang/machineA/techdaten/Ang_techdaten.tex /MakeText/Ang/machineB/techdaten/Ang_techdaten.tex ... /MakeText/Ang/machineX/techdaten/Ang_techdaten.tex Tex example: \usepath[/MakeText/Ang/\machinename/] \input /techdaten/Ang_techdaten.tex \input /otherfolder/otherfile.tex \input... I can compile and I get a nice PDF, but the inverse search is not possible. (I use Sumatra and Notepad++) NPP only looks at the path after \input... /techdaten/Ang_techdaten.tex Do any of you know a workaround for this? Is \usepath the suited command? Thank you in advance! Gerhard ___ 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 ___
Re: [NTG-context] No inverse Search when using \usepath
On 7/11/2020 5:22 PM, Gerhard Schramm wrote: Hello List, Greetings to all members! This is my first post here... Relatively new in Context, I've loved it since the first minute! I write technical manuals with Context. Some chapters of the manuals are depending on the type of the machine which are described in the manual. I try to use \usepath to load the right texfile from different folders. My variable for searching the correct folder is \machinename. \machinename is set before compiling The folders are: /MakeText/Ang/machineA/techdaten/Ang_techdaten.tex /MakeText/Ang/machineB/techdaten/Ang_techdaten.tex ... /MakeText/Ang/machineX/techdaten/Ang_techdaten.tex You can also do this (thatfile.tex): \starttext \usepath[/foo/\getdocumentargument{machine}/whatever] see what we have: /foo/\getdocumentargument{machine}/whatever \stoptext run as: context thatfile.tex --machine=mymachine or maybe context thatfile.tex --path=mymachine is also sufficient Tex example: \usepath[/MakeText/Ang/\machinename/] \input /techdaten/Ang_techdaten.tex \input /otherfolder/otherfile.tex \input... I can compile and I get a nice PDF, but the inverse search is not possible. (I use Sumatra and Notepad++) NPP only looks at the path after \input... /techdaten/Ang_techdaten.tex Do any of you know a workaround for this? Is \usepath the suited command? What do you mean with 'inverse search'? 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 ___