Re: [NTG-context] circuitikz module seems broken
I tested with my course assignments (simple tikz block diagrams, lots of pgdplots code) and everything works correctly. I haven't tested circuitikz; the simple example fails and I am trying to understand why that is happening. > Aditya: can you check if we load enough? I believe so. This is what my notes say (it is no fun to trace down these files): % Order in which files are loaded % 1. t-tikz % 1.1 t-pgf % 1.1.1 t-pgfcor % 1.1.1.1 t-pgfsys % 1.1.1.1.1 t-pgfrcs % 1.1.1.1.1.1 t-pgfmod % Ignore % 1.1.1.1.1.2 pgfutil-common.tex(1) % 1.1.1.1.1.3 pgfutil-context.def (2) % 1.1.1.1.1.4 pgfrcs.code.tex (3) % 1.1.1.1.2 pgfsys.code.tex (4) % 1.1.1.1.3 pgfsyssoftpath.code.tex (5) % 1.1.1.1.4 pgfsysprotocol.code.tex (6) % 1.1.1.2 pgfcore.code.tex (7) % 1.1.2 \usepgfmodule[shapes,plot] (8) % 1.2 t-pgffor % 1.2.1 t-pgfrcs (already loaded) % 1.2.2 t-pgfkey % 1.2.2.1 pgfkeys.code.tex (9) % 1.2.3 pgffor.code.tex(10) % 1.3 tikz.code.tex(11) You also have pgfmoduleplot.code.tex, which I had missed. > We really need to get rid of all > these (kind of strange) t-* modules that somehow ended up in tikz and it's way > easier and robust to occasionally add something needed to m-tikz than to try > to catch hard-to-locate-and-fix stuff in the tikz distribution. If needed we > can apply runtime patches too. Agreed. I believe that the pgf module provides so many modules as a means to be modular. For example, it possible to use `pgffor` module to get the for loop syntax; or load `pgfkey` to get the key-value arguments, etc. But each of these t-* files has so much boilerplate code, so I like your method better. > (nyw, it looks like tikz creates empty pfg files during a run but that's > probbably has a reason) tikz's ChangeLog has the following entries: 2007-01-18: - Fixed .aux problems in plain and ConTeXt mode. Using .pgf as extension now. Grepping the source for `.pgf` gives: tex/generic/pgf/utilities/pgfutil-context.def: \pgfutil@IfFileExists{\jobname.pgf}{\input \jobname.pgf\relax}{} tex/generic/pgf/utilities/pgfutil-context.def: \immediate\csname openout\endcsname\pgfutil@auxout\jobname.pgf\relax tex/generic/pgf/utilities/pgfutil-plain.def: \pgfutil@IfFileExists{\jobname.pgf}{\input \jobname.pgf\relax}{} tex/generic/pgf/utilities/pgfutil-plain.def: \immediate\csname openout\endcsname\pgfutil@auxout\jobname.pgf The file handle \pgfutil@auxout is used in the macro \pgfutil@writetoaux which gets used in the driver files to write absolute positioning stuff to file. For example, pgfsys-luatex.def has: \def\pgfsys@markposition#1{% \savepos% \edef\pgf@temp{#1}% \expandafter\pgfutil@writetoaux\expandafter{% \expandafter\noexpand\expandafter\pgfsyspdfmark\expandafter{\pgf@temp}{\the\lastxpos}{\the\lastypos}}% } This can easily be stored in the tuc file using two-pass data, but I don't use this feature of tikz, so don't have examples to test this. @HenriMenke: Do you know if it is save to not create the `.pgf` file and rewrite the above macro to read store the \pgfsyspdfmark table in the `.tuc` file? ___ 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] TeXWorks and synctex SOLVED
For those searching in future, the minimum needed to make synctex work with ConTeXt and TeXShop on macOS Monterey is: 1) Reasonably new LMTX. I have version 2021.12.10 11:41. (It might well work going back a few versions but not too far.) 2) TeXShop version 4.68 3) TeXShop -> Preferences -> Engines -> Alternate path *must* be set to your LMTX installation. For me on an Intel Mac that is: /Users/bruce/Applications/context-osx-64/tex/texmf-osx-64/bin TeXShop uses this path to launch the program it needs to convert a synctex location into a file name and line number. If this path is wrong then the editor just does nothing. 4) These two lines at the top of each source file you want to sync to/from: % !TEX useAlternatePath % !TEX useConTeXtSyncParser 5) Either --synctex="1" on the command line in the .engine file or \setupsynctex [state=start, method=max] somewhere in your source (which can be in the current file or in an environment file). 6) Most times you will need to quit and restart TeXShop when you change any of the above. You *do not* need: 1) You do not need the "ConTeXt2021.engine" file: you can use your own engine file as long as it invokes your local LMTX. So, for me, the two key commands in the .engine file are: set path=(/Users/bruce/Applications/context-osx-64/tex/texmf-osx-64/bin $path /Library/TeX/texbin /usr/texbin /usr/local/bin) mtxrun --script context --autogenerate "$1" 2) You do not need the following magic line: % !TEX TS-program = ConTeXt2021 If you do include it then it will override the engine you select from the drop down. Hopefully this answer will help others with this problem:- at least until the version of ConTeXt shipped with TexShop is new enough to support the new synctex and then there won't be any need to configure anything. > On 13 Dec 2021, at 09:45, Bruce Horrocks via ntg-context > wrote: > > I'm having trouble getting the new synctex to work on a Mac. I've completely > re-installed MacTeX and TeXWorks and synctex works fine for LaTeX documents. > But for ConTeXt no combination of magic lines etc will work for me. The > symptoms are... nothing - no errors but no synching, either way. > > Q1: is there a log file created somewhere or a debugging flag that can be > turned on which will tell me what is happening when I try to jump from PDF to > editor or vice versa? > > Q2: Is this the same error as reported at the bottom of > https://wiki.contextgarden.net/SyncTeX ? Or has that been fixed? > > PS: \enabletrackers[system.synctex.visualize] works as expected - i.e. the > .synctex file seems to be correct. — Bruce Horrocks Hampshire, UK ___ 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] circuitikz module seems broken
Hi, This works here: \usemodule[circuitikz] \starttext \startcircuitikz \draw (0,2) to[I] (2,2); \stopcircuitikz \startcircuitikz \draw (0,2) to[I] (2,2); \stopcircuitikz \stoptext with the attached. Make sure to put it in the regular context base path and run mtxrun --generate. Aditya: can you check if we load enough? We really need to get rid of all these (kind of strange) t-* modules that somehow ended up in tikz and it's way easier and robust to occasionally add something needed to m-tikz than to try to catch hard-to-locate-and-fix stuff in the tikz distribution. If needed we can apply runtime patches too. (nyw, it looks like tikz creates empty pfg files during a run but that's probbably has a reason) 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 -%D \module %D [ file=m-tikz, %Dversion=2021.07.12, %D title=\CONTEXT\ Extra Modules, %D subtitle=TIKZ support, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. %D A fixed variant of the t-tikz module distributed with tikz. For practical reasons %D per 2021 we split the module for \MKIV\ and \LMTX. (Maybe some day I'll optimize %D TIKZ a bit.) %D %D All these t-* modules in the tikz distribution make no sense as we can just load %D them here which is way cleaner. There is also some mkii filename mapping going on %D that is not needed on todays systems (windows has no 8.3 limitation and on unix %D tds finally adopted a case insensitive approach.) %D Just in case someone does a hard input ... \ifdefined\pgfdefined\endinput \fi \ifdefined\pgfcoredefined\endinput \fi %D ... but normally we end up here: \startmodule[tikz] \ifdefined\pdflastxpos \else \unprotect \frozen\overloaded\protected\def\pdflastxpos{\numexpr\clf_lastxpos\relax} \frozen\overloaded\protected\def\pdflastypos{\numexpr\clf_lastypos\relax} \protect \fi \permanent\protected\def\starttikzinput {\pushoverloadmode \pushcatcodetable \setcatcodetable\texcatcodes \catcode`\@=11 \catcode`\|=12 \catcode`\!=12 \autoparagraphmode\zerocount} \permanent\protected\def\stoptikzinput {\autoparagraphmode\plusone \popcatcodetable \popoverloadmode} \permanent\protected\def\tikzinputfile#1% {\starttikzinput \input{#1}\relax \stoptikzinput} \permanent\protected\def\tikzerrormessage#1#2#3% {\writestatus{#1}{#2}} % For now we need this but we need to educate the user to wrap settings in the % wrappers. So some day the next line will go. I need to check what commands are % possible outside a picture. \overloadmode\zerocount \permanent\protected\def\starttikzsettings {\pushoverloadmode \autoparagraphmode\zerocount} \permanent\protected\def\stoptikzsettings {\autoparagraphmode\plusone \popoverloadmode} \permanent\protected\def\starttikzpicture {\dontleavehmode \hcontainer\bgroup \autoparagraphmode\zerocount % \pushoverloadmode \ifdefined\PackageError\else \let\PackageError\tikzerrormessage \fi \tikzpicture} \permanent\protected\def\stoptikzpicture {\endtikzpicture % \popoverloadmode \egroup} \let\pgfdefined\relax \let\pgfcoredefined\relax \tikzinputfile{pgfutil-common.tex} \tikzinputfile{pgfutil-context.def} \tikzinputfile{pgfrcs.code.tex} \tikzinputfile{pgfsys.code.tex} \tikzinputfile{pgfkeys.code.tex} \tikzinputfile{pgfsyssoftpath.code.tex} \tikzinputfile{pgfsysprotocol.code.tex} \tikzinputfile{pgfcore.code.tex} \tikzinputfile{pgffor.code.tex} \tikzinputfile{pgfmoduleplot.code.tex} \tikzinputfile{tikz.code.tex} \let\startpgfpicture \pgfpicture \let\stoppgfpicture \endpgfpicture \let\startpgfscope \pgfscope\let\stoppgfscope \endpgfscope \let\startpgflowlevelscope \pgflowlevelscope \let\stoppgflowlevelscope \endpgflowlevelscope \let\startpgfinterruptpath \pgfinterruptpath \let\stoppgfinterruptpath \endpgfinterruptpath \let\startpgfinterruptpicture\pgfinterruptpicture \let\stoppgfinterruptpicture \endpgfinterruptpicture \let\startpgfinterruptboundingbox\pgfinterruptboundinbox \let\stoppgfinterruptboudingbox\endpgfinterruptboundingbox \let\normalusepgfmodule\usepgfmodule \let\normalusepgflibrary\usepgflibrary \tolerant\protected\def\usepgfmodule[#1]#;#2% somehow both variants are used {\starttikzinput \normalusepgfmodule[#1#2]% \stoptikzinput} \tolerant\protected\def\usepgflibrary[#1]#;#2% someh
Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?
let g:context_mtxrun = 'PATH=$HOME/context/context-osx-64/tex/texmf-osx-64/bin:$PATH mtxrun' nnoremap å :ConTeXt nnoremap ö :call tex#preview() nnoremap ä \ :call tex#goto_texshop(expand("%:p"), line('.'), col('.'), 1, 1) Here is my snippet from my personal context.vim file I see that you have :! and that means that you instruct vim to execute a shell command. Just write :ConTeXt and it should work fine > 13 dec. 2021 kl. 14:30 skrev Jeong Dal via ntg-context : > > Dear John, Nicola, > > I created a file context.vim under the folder ~/.vim/after/ftplugin/ which > contains > > map > :w:!ConTeXt > let g:context_mtxrun = 'PATH=$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH > mtxrun' > let g:tex_flavor = "context" > > The result is > 1. using “:ConTeXt” issued an error message: “E492: not an editor command: > ConTeXt > 2. using “make” issued an error message: "No targets specified and no > makefile found. …" > Pressing C-h, compiling started and succesfully ended. However, it use > /usr/local/texlive/… not LMTX tex folder. > > Without context.vim, “:ConTeXt" and “:make" worked fine. > > I’ll do more test. > > Thank you. > Best regards, > > Dalyoung > > ___ > 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 > ___ ___ 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] circuitikz module seems broken
Seems to not solve my issue but i’m supplying my logs.I did update tikz and circuitikz and the whole LMTX refresh and new.Tested the code belowCheck my logs whats wrong.Giving up on this oneThanks in advanceJan-Erik test-error.log Description: Binary data test.log Description: Binary data test.tex Description: Binary data 13 dec. 2021 kl. 21:14 skrev Jan-Erik Hägglöf:Good work and thank you very much. I dig in to it and try it outSincerelyJan-Erik Den mån 13 dec. 2021 21:09Aditya Mahajan via ntg-context skrev:On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > > Something is still not working correctly though. With the simple example that Hans sent, I get error messages: > > > > tex error > tex error on line 76 in file m-circuitikz.mkxl: Package pgfkeys Error: I do not know the key '/tikz/resistor', to which you passed 'american', and I am going to ignore it. Perhaps you misspelled it > > > > which are weird because tikz is looking at keys tikz/resistor rather than tikz/circuittikz/resistor. But I don't understand why this is the case. > > Here is a minimal example to show the error. There was an error in circuitikz, which is now fixed in the latest version: https://github.com/circuitikz/circuitikz/pull/600 So, the following works (with latest circuittiz from ctan): \usemodule[t][circuitikz] \starttext \startcircuitikz \draw (0,2) to[I] (2,2); \stopcircuitikz \stoptext But fails with m-circuitikz (even after I remove \unprotect ... \protect from \starttikzinput as in the other thread). So, I don't know what is going wrong with the catcodes in m-circuitikz. Aditya ___ 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 ___ ___ 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] Switching to righttoleft without changing margins of delimited text
On 12/13/2021 8:27 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi, On Mon, 13 Dec 2021 12:06:33 -0700, Hans Hagen via ntg-context wrote: i'll also add it to mkiv By about when do you expect mkiv to become frozen a la mkii? It is already sort of frozen in the sense that new features and/or mechanisms will end up in lmtx. But of course when we find serious bugs they can get solved. If it works for you it likely will keep working (assuming that luatex keeps working as it does). 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] circuitikz module seems broken
Good work and thank you very much. I dig in to it and try it out Sincerely Jan-Erik Den mån 13 dec. 2021 21:09Aditya Mahajan via ntg-context skrev: > On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > > > > Something is still not working correctly though. With the simple > example that Hans sent, I get error messages: > > > > > > tex error > tex error on line 76 in file m-circuitikz.mkxl: > Package pgfkeys Error: I do not know the key '/tikz/resistor', to which you > passed 'american', and I am going to ignore it. Perhaps you misspelled it > > > > > > which are weird because tikz is looking at keys tikz/resistor rather > than tikz/circuittikz/resistor. But I don't understand why this is the case. > > > > Here is a minimal example to show the error. > > There was an error in circuitikz, which is now fixed in the latest > version: > > https://github.com/circuitikz/circuitikz/pull/600 > > So, the following works (with latest circuittiz from ctan): > > \usemodule[t][circuitikz] > > \starttext > > \startcircuitikz > \draw (0,2) to[I] (2,2); > \stopcircuitikz > > \stoptext > > But fails with m-circuitikz (even after I remove \unprotect ... \protect > from \starttikzinput as in the other thread). So, I don't know what is > going wrong with the catcodes in m-circuitikz. > > Aditya > > ___ > 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 > > ___ > ___ 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] circuitikz module seems broken
On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > > Something is still not working correctly though. With the simple example > > that Hans sent, I get error messages: > > > > tex error > tex error on line 76 in file m-circuitikz.mkxl: Package > > pgfkeys Error: I do not know the key '/tikz/resistor', to which you passed > > 'american', and I am going to ignore it. Perhaps you misspelled it > > > > which are weird because tikz is looking at keys tikz/resistor rather than > > tikz/circuittikz/resistor. But I don't understand why this is the case. > > Here is a minimal example to show the error. There was an error in circuitikz, which is now fixed in the latest version: https://github.com/circuitikz/circuitikz/pull/600 So, the following works (with latest circuittiz from ctan): \usemodule[t][circuitikz] \starttext \startcircuitikz \draw (0,2) to[I] (2,2); \stopcircuitikz \stoptext But fails with m-circuitikz (even after I remove \unprotect ... \protect from \starttikzinput as in the other thread). So, I don't know what is going wrong with the catcodes in m-circuitikz. Aditya ___ 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] Switching to righttoleft without changing margins of delimited text
Hi, On Mon, 13 Dec 2021 12:06:33 -0700, Hans Hagen via ntg-context wrote: i'll also add it to mkiv By about when do you expect mkiv to become frozen a la mkii? Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80512 ___ 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] Typo in m-tikz
On Mon, 13 Dec 2021, Hans Hagen wrote: > On 12/13/2021 7:19 PM, Aditya Mahajan via ntg-context wrote: > > On Mon, 13 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > > > Hi, > > > > > > There is a typo in m-tikz.mkxl (possibly a carry-over from t-tikz.tex). > > > The module ends with a spurious `\stopmodule`: > > > > > > https://github.com/contextgarden/context-mirror/blob/fe714093ebb95e4a870282782e2124cff2e546e5/tex/context/modules/mkxl/m-tikz.mkxl#L113 > > > > > > (Or rather, the corresponding `\startmodule` is missing). > > > [...] > > > And since tikz is a latex module, in the true LaTeX spirit, the error goes > > > away (for obvious reasons) if I move the \usemodule[tikz] to after the > > > font definitions. It took quite a while to figure out what is happening. > > > > Actually, the missing \startmodule is not a culprit for this error. Even > > after fixing that, something goes wrong. Here is a minimal example: > > > > \permanent\protected\def\starttikzinput > >{\pushoverloadmode > > \pushcatcodetable > > \setcatcodetable\texcatcodes > > \unprotect > > \catcode`\@=11 > > \catcode`\|=12 > > \catcode`\!=12 > > \autoparagraphmode\zerocount} > > > > \permanent\protected\def\stoptikzinput > >{\autoparagraphmode\plusone > > \protect > > \popcatcodetable > > \popoverloadmode} > > > > \starttikzinput > > \input t-pgf > > \stoptikzinput > > > > > > \usetypescriptfile[euler] > > \definetypeface[mainfont][rm][serif][pagella][default] > > \definetypeface[mainfont][mm][math] [pagellaovereuler][default] > > \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, > > features=none] > > \setupbodyfont[mainfont,11pt] > > > > \starttext > > $\dfrac{1}{2}$ > > \stoptext > > > > which gives the same error: parameter 'fractionrule' in style 2 is not set > > > > Not sure what is happening here. > > can you test with the \protect \unprotect removed from these definitions? That fixes the issue, both in the test file and in my bigger document. Thanks, Aditya ___ 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] Typo in m-tikz
On 12/13/2021 7:19 PM, Aditya Mahajan via ntg-context wrote: On Mon, 13 Dec 2021, Aditya Mahajan via ntg-context wrote: Hi, There is a typo in m-tikz.mkxl (possibly a carry-over from t-tikz.tex). The module ends with a spurious `\stopmodule`: https://github.com/contextgarden/context-mirror/blob/fe714093ebb95e4a870282782e2124cff2e546e5/tex/context/modules/mkxl/m-tikz.mkxl#L113 (Or rather, the corresponding `\startmodule` is missing). [...] And since tikz is a latex module, in the true LaTeX spirit, the error goes away (for obvious reasons) if I move the \usemodule[tikz] to after the font definitions. It took quite a while to figure out what is happening. Actually, the missing \startmodule is not a culprit for this error. Even after fixing that, something goes wrong. Here is a minimal example: \permanent\protected\def\starttikzinput {\pushoverloadmode \pushcatcodetable \setcatcodetable\texcatcodes \unprotect \catcode`\@=11 \catcode`\|=12 \catcode`\!=12 \autoparagraphmode\zerocount} \permanent\protected\def\stoptikzinput {\autoparagraphmode\plusone \protect \popcatcodetable \popoverloadmode} \starttikzinput \input t-pgf \stoptikzinput \usetypescriptfile[euler] \definetypeface[mainfont][rm][serif][pagella][default] \definetypeface[mainfont][mm][math] [pagellaovereuler][default] \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,11pt] \starttext $\dfrac{1}{2}$ \stoptext which gives the same error: parameter 'fractionrule' in style 2 is not set Not sure what is happening here. can you test with the \protect \unprotect removed from these definitions? -- - 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] Nested $$ in inline math
On 12/13/2021 6:57 PM, Aditya Mahajan via ntg-context wrote: On Mon, 13 Dec 2021, Hans Hagen via ntg-context wrote: which indeed makes \starttext \mathematics{$text$} \stoptext a puzzle Isn't that effectively: $\relax$text$\relax$ which prevents the $$ lookup. Indeed, you solved it. 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] Switching to righttoleft without changing margins of delimited text
On 12/13/2021 6:19 PM, denis.ma...@unibe.ch wrote: Great, thanks, I'll wikify. Is that lmtx-only or will it work in mkiv? i'll also add it to mkiv 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] Location for require(...) files
On Mon, 13 Dec 2021, Aditya Mahajan via ntg-context wrote: > Hi, > > I am not trying to install tikz related modules from ctan rather than copying > them from the minimals. I notice that the latest version of pgfplot now gives > an error: > > token call, execute: > ...etatex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: module > 'prepcontour' not found: > no field package.preload['prepcontour'] > no file '/usr/local/share/lua/5.4/prepcontour.lua' > no file '/usr/local/share/lua/5.4/prepcontour/init.lua' > no file '/usr/local/lib/lua/5.4/prepcontour.lua' > no file '/usr/local/lib/lua/5.4/prepcontour/init.lua' > no file './prepcontour.lua' > no file './prepcontour/init.lua' > > pgfplots has a line which is essentially equal to > > \directlua{require(prepcontour);} > > So, the above file should have been found, but it isn't. How can I fix this. This turned out to be a packaging issue. The file did not have read permissions. Sorry for the noise. Aditya ___ 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] Location for require(...) files
Hi, I am not trying to install tikz related modules from ctan rather than copying them from the minimals. I notice that the latest version of pgfplot now gives an error: token call, execute: ...etatex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: module 'prepcontour' not found: no field package.preload['prepcontour'] no file '/usr/local/share/lua/5.4/prepcontour.lua' no file '/usr/local/share/lua/5.4/prepcontour/init.lua' no file '/usr/local/lib/lua/5.4/prepcontour.lua' no file '/usr/local/lib/lua/5.4/prepcontour/init.lua' no file './prepcontour.lua' no file './prepcontour/init.lua' pgfplots has a line which is essentially equal to \directlua{require(prepcontour);} https://github.com/pgf-tikz/pgfplots/blob/da2acbe847db88d1b916b324562161a1c8a3d36a/tex/generic/pgfplots/libs/tikzlibrarypgfplots.contourlua.code.tex#L27 It also ships with a prepcontour.lua file: $mtxrun prepcontour.lua /opt/luametatex/texmf-modules/tex/generic/pgfplots/lua/prepcontour.lua However, it is not found by the require(...) file. The value of my LUAINPUTS variable is: mtxrun --expand-var LUAINPUTS .;.;{home:texmf,!!selfautoparent:texmf-project,!!selfautoparent:texmf-fonts,!!selfautoparent:texmf-local,!!selfautoparent:texmf-modules,!!selfautoparent:texmf-context,!!selfautoparent:texmf-linux-64,!!selfautoparent:texmf}/tex/{context,plain/base,generic}//;{home:texmf,!!selfautoparent:texmf-project,!!selfautoparent:texmf-fonts,!!selfautoparent:texmf-local,!!selfautoparent:texmf-modules,!!selfautoparent:texmf-context,!!selfautoparent:texmf-linux-64,!!selfautoparent:texmf}/scripts/context/lua// So, the above file should have been found, but it isn't. How can I fix this. FWIW, here is a minimal example: \directlua{require("prepcontour");} Thanks, Aditya ___ 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] Typo in m-tikz
On Mon, 13 Dec 2021, Aditya Mahajan via ntg-context wrote: > Hi, > > There is a typo in m-tikz.mkxl (possibly a carry-over from t-tikz.tex). The > module ends with a spurious `\stopmodule`: > > https://github.com/contextgarden/context-mirror/blob/fe714093ebb95e4a870282782e2124cff2e546e5/tex/context/modules/mkxl/m-tikz.mkxl#L113 > > (Or rather, the corresponding `\startmodule` is missing). > [...] > And since tikz is a latex module, in the true LaTeX spirit, the error goes > away (for obvious reasons) if I move the \usemodule[tikz] to after the font > definitions. It took quite a while to figure out what is happening. Actually, the missing \startmodule is not a culprit for this error. Even after fixing that, something goes wrong. Here is a minimal example: \permanent\protected\def\starttikzinput {\pushoverloadmode \pushcatcodetable \setcatcodetable\texcatcodes \unprotect \catcode`\@=11 \catcode`\|=12 \catcode`\!=12 \autoparagraphmode\zerocount} \permanent\protected\def\stoptikzinput {\autoparagraphmode\plusone \protect \popcatcodetable \popoverloadmode} \starttikzinput \input t-pgf \stoptikzinput \usetypescriptfile[euler] \definetypeface[mainfont][rm][serif][pagella][default] \definetypeface[mainfont][mm][math] [pagellaovereuler][default] \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,11pt] \starttext $\dfrac{1}{2}$ \stoptext which gives the same error: parameter 'fractionrule' in style 2 is not set Not sure what is happening here. Aditya ___ 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] Typo in m-tikz
Hi, There is a typo in m-tikz.mkxl (possibly a carry-over from t-tikz.tex). The module ends with a spurious `\stopmodule`: https://github.com/contextgarden/context-mirror/blob/fe714093ebb95e4a870282782e2124cff2e546e5/tex/context/modules/mkxl/m-tikz.mkxl#L113 (Or rather, the corresponding `\startmodule` is missing). This causes an interesting error message on the following test file: \usemodule[tikz] \usetypescriptfile[euler] \definetypeface[mainfont][rm][serif][pagella][default] \definetypeface[mainfont][mm][math] [pagellaovereuler][default] \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,11pt] \starttext $\dfrac{1}{2}$ \stoptext which gives: system > module wrapping error in 'tikz' close source> level 2, order 67, name '/opt/luametatex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' open source > level 2, order 68, name '/opt/luametatex/texmf-context/tex/context/fonts/mkiv/type-imp-euler.mkiv' open source > level 3, order 69, name '/opt/luametatex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' close source> level 3, order 69, name '/opt/luametatex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' open source > level 3, order 70, name '/opt/luametatex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv' close source> level 3, order 70, name '/opt/luametatex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv' suggestion > use \withcedilla instead of \c suggestion > use \withcaron instead of \v close source> level 2, order 70, name '/opt/luametatex/texmf-context/tex/context/fonts/mkiv/type-imp-euler.mkiv' open source > level 2, order 71, name '/opt/luametatex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' close source> level 2, order 71, name '/opt/luametatex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' fonts > typescripts > unknown library 'pagellaovereuler' open source > level 2, order 72, name '/opt/luametatex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv' close source> level 2, order 72, name '/opt/luametatex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv' fonts > defining > font with asked name 'unknown' is not found using lookup 'file' fonts > defining > unable to define 'unknown' as 'mainfont-11pt-rm-tf-0--0' fonts > defining > unable to define 'unknown' as 'mainfont-11pt-mm-mr--3' fonts > defining > unable to define 'unknown' as 'mainfont-11pt-mm-mr--2' fonts > defining > unable to define 'unknown' as 'mainfont-11pt-mm-mr--1' fonts > defining > unable to define 'unknown' as 'mainfont-11pt-mm-mb--3' fonts > defining > unable to define 'unknown' as 'mainfont-11pt-mm-mb--2' fonts > defining > unable to define 'unknown' as 'mainfont-11pt-mm-mb--1' tex error > tex error on line 10 in file ./test.tex: Math error: parameter 'fractionrule' in style 2 is not set $\dfrac{1}{2}$ And since tikz is a latex module, in the true LaTeX spirit, the error goes away (for obvious reasons) if I move the \usemodule[tikz] to after the font definitions. It took quite a while to figure out what is happening. Aditya ___ 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] Nested $$ in inline math
On Mon, 13 Dec 2021, Hans Hagen via ntg-context wrote: > which indeed makes > > \starttext > \mathematics{$text$} > \stoptext > > a puzzle Isn't that effectively: $\relax$text$\relax$ which prevents the $$ lookup. Aditya ___ 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] Switching to righttoleft without changing margins of delimited text
Great, thanks, I'll wikify. Is that lmtx-only or will it work in mkiv? Denis Von: Hans Hagen Gesendet: Montag, 13. Dezember 2021 17:42:52 An: mailing list for ConTeXt users Cc: Maier, Denis Christian (UB) Betreff: Re: [NTG-context] Switching to righttoleft without changing margins of delimited text On 12/13/2021 5:25 PM, Denis Maier via ntg-context wrote: > Hi, > > I have the following example: > > % > > \setupdelimitedtext[blockquote] > > [leftmargin=1.5em,rightmargin=0em,] > > \starttext > > \input knuth > > \startblockquote > > \input knuth > > \stopblockquote > > \startblockquote > > \righttoleft > > \input knuth > > \stopblockquote > > \input knuth > > \stoptext > > % > > \righttext seems to change the locations of the margins, i.e. leftmargin > becomes rightmargin and vice-versa. That may be nice in some situations, > but I need to keep the margins where they are. Is there a way to do > this? (Maybe \righttoleft is the wrong command?) I thought I could > define a new rtlblockquote with appropriate settings, like so: > > \definedelimitedtext[rtlblockquote] > > \setupdelimitedtext[rtlblockquote] > > [leftmargin=0em,rightmargin=1.5em,before={\righttoleft}] > > But maybe there’s a better way. Any hints? You switch directions when we're still in vertical mode, so you need: \startblockquote \dontleavehmode\righttoleft\ignorespaces \input knuth \stopblockquote I can add this: \permanent\protected\def\rtltext {\groupedcommand{\dontleavehmode\righttoleft\ignorespaces}\removeunwantedspaces} \permanent\protected\def\ltrtext {\groupedcommand{\dontleavehmode\lefttoright\ignorespaces}\removeunwantedspaces} but only when you wikify it \startblockquote \rtltext{\input{knuth}} \stopblockquote - 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] Nested $$ in inline math
On 12/13/2021 4:35 PM, Taco Hoekwater via ntg-context wrote: On 13 Dec 2021, at 16:15, Jack Hill via ntg-context wrote: Dear list, I was playing around and found that nesting $$s inside of \m blocks typesets the code as text. I can't find anything about this on the wiki or in the math-mkiv manual, so I'm asking whether this is supported behaviour or just a bug? I would say that this is unsupported expected behaviour ;) It is better not to use $ at all (except when using it as a dollar sign when \asciimode is active). \starttext % All the same \mathematics{math $text here$ math} \\ \math{math $text here$ math} \\ \m{math $text here$ math} \\ \m{math \text{text here} math} \\ A bit over-precise maybe, but while the first three are the same, the last line is actually very subtly different. The first three lines are essentially this in TeX82 : $math $text here$ math\hfill\break while that last line is $math \hbox{text here} math\hfill\break which indeed makes \starttext \mathematics{$text$} \stoptext a puzzle 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] Switching to righttoleft without changing margins of delimited text
On 12/13/2021 5:25 PM, Denis Maier via ntg-context wrote: Hi, I have the following example: % \setupdelimitedtext[blockquote] [leftmargin=1.5em,rightmargin=0em,] \starttext \input knuth \startblockquote \input knuth \stopblockquote \startblockquote \righttoleft \input knuth \stopblockquote \input knuth \stoptext % \righttext seems to change the locations of the margins, i.e. leftmargin becomes rightmargin and vice-versa. That may be nice in some situations, but I need to keep the margins where they are. Is there a way to do this? (Maybe \righttoleft is the wrong command?) I thought I could define a new rtlblockquote with appropriate settings, like so: \definedelimitedtext[rtlblockquote] \setupdelimitedtext[rtlblockquote] [leftmargin=0em,rightmargin=1.5em,before={\righttoleft}] But maybe there’s a better way. Any hints? You switch directions when we're still in vertical mode, so you need: \startblockquote \dontleavehmode\righttoleft\ignorespaces \input knuth \stopblockquote I can add this: \permanent\protected\def\rtltext {\groupedcommand{\dontleavehmode\righttoleft\ignorespaces}\removeunwantedspaces} \permanent\protected\def\ltrtext {\groupedcommand{\dontleavehmode\lefttoright\ignorespaces}\removeunwantedspaces} but only when you wikify it \startblockquote \rtltext{\input{knuth}} \stopblockquote - 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 ___
[NTG-context] Switching to righttoleft without changing margins of delimited text
Hi, I have the following example: % \setupdelimitedtext[blockquote] [leftmargin=1.5em,rightmargin=0em,] \starttext \input knuth \startblockquote \input knuth \stopblockquote \startblockquote \righttoleft \input knuth \stopblockquote \input knuth \stoptext % \righttext seems to change the locations of the margins, i.e. leftmargin becomes rightmargin and vice-versa. That may be nice in some situations, but I need to keep the margins where they are. Is there a way to do this? (Maybe \righttoleft is the wrong command?) I thought I could define a new rtlblockquote with appropriate settings, like so: \definedelimitedtext[rtlblockquote] \setupdelimitedtext[rtlblockquote] [leftmargin=0em,rightmargin=1.5em,before={\righttoleft}] But maybe there's a better way. Any hints? Denis ___ 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] Nested $$ in inline math
> On 13 Dec 2021, at 16:15, Jack Hill via ntg-context > wrote: > > Dear list, > > I was playing around and found that nesting $$s inside of \m blocks typesets > the code as text. > I can't find anything about this on the wiki or in the math-mkiv manual, so > I'm asking whether this is supported behaviour or just a bug? I would say that this is unsupported expected behaviour ;) It is better not to use $ at all (except when using it as a dollar sign when \asciimode is active). > > \starttext > % All the same > \mathematics{math $text here$ math} \\ > \math{math $text here$ math} \\ > \m{math $text here$ math} \\ > \m{math \text{text here} math} \\ A bit over-precise maybe, but while the first three are the same, the last line is actually very subtly different. The first three lines are essentially this in TeX82 : $math $text here$ math\hfill\break while that last line is $math \hbox{text here} math\hfill\break Best wishes, Taco — Taco Hoekwater E: t...@bittext.nl genderfluid (all pronouns) ___ 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] Nested $$ in inline math
Dear list, I was playing around and found that nesting $$s inside of \m blocks typesets the code as text. I can't find anything about this on the wiki or in the math-mkiv manual, so I'm asking whether this is supported behaviour or just a bug? Jack \starttext % All the same \mathematics{math $text here$ math} \\ \math{math $text here$ math} \\ \m{math $text here$ math} \\ \m{math \text{text here} math} \\ \stoptext ___ 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] how to setup path of ConTeXtLMTX for MacVim?
Dear John, Nicola, I created a file context.vim under the folder ~/.vim/after/ftplugin/ which contains map > :w:!ConTeXt let g:context_mtxrun = 'PATH=$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH mtxrun' let g:tex_flavor = "context" The result is 1. using “:ConTeXt” issued an error message: “E492: not an editor command: ConTeXt 2. using “make” issued an error message: "No targets specified and no makefile found. …" Pressing C-h, compiling started and succesfully ended. However, it use /usr/local/texlive/… not LMTX tex folder. Without context.vim, “:ConTeXt" and “:make" worked fine. I’ll do more test. Thank you. Best regards, Dalyoung ___ 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] how to setup path of ConTeXtLMTX for MacVim?
Dear John, Nicola, Thank you for your help. I have to check the wiki carefully first. I’ll do what you said and report it later. Thank you again. Best regards, Dalyoung ___ 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] TeXWorks and synctex
I'm having trouble getting the new synctex to work on a Mac. I've completely re-installed MacTeX and TeXWorks and synctex works fine for LaTeX documents. But for ConTeXt no combination of magic lines etc will work for me. The symptoms are... nothing - no errors but no synching, either way. Q1: is there a log file created somewhere or a debugging flag that can be turned on which will tell me what is happening when I try to jump from PDF to editor or vice versa? Q2: Is this the same error as reported at the bottom of https://wiki.contextgarden.net/SyncTeX ? Or has that been fixed? PS: \enabletrackers[system.synctex.visualize] works as expected - i.e. the .synctex file seems to be correct. — Bruce Horrocks Hampshire, UK ___ 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 ___