Dear Hans, subject says it all: when I use \synctex=1 in mkiv, I don't get any .synctex.gz file. The --synctex switch works however (which is exactly the opposite of what used to be the case a while ago :). In MKII both works. Mojca
2011/3/11 Mojca Miklavec
Dear Hans,
subject says it all: when I use \synctex=1 in mkiv, I don't get any .synctex.gz file. The --synctex switch works however (which is exactly the opposite of what used to be the case a while ago :).
Hi Mojca, \enabledirectives[system.synctex] is instead of \synctex=1 in mkiv. -- Best regards, Li Yanrui (李延瑞)
On 11-3-2011 3:38, Mojca Miklavec wrote:
Dear Hans,
subject says it all: when I use \synctex=1 in mkiv, I don't get any ..synctex.gz file. The --synctex switch works however (which is exactly the opposite of what used to be the case a while ago :).
\synctex is a nop in mkiv, use a proper directive instead: \enabledirectives[system.synctex] ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, Mar 11, 2011 at 18:31, Hans Hagen wrote:
On 11-3-2011 3:38, Mojca Miklavec wrote:
Dear Hans,
subject says it all: when I use \synctex=1 in mkiv, I don't get any ..synctex.gz file. The --synctex switch works however (which is exactly the opposite of what used to be the case a while ago :).
\synctex is a nop in mkiv, use a proper directive instead:
\enabledirectives[system.synctex]
Thank you. What exactly was the reason to disable the old syntax? Why not maybe defining it to give at least a warning (or even error) printing out a message saying what to do. It is a bit weird to see the code compile fine without ever noticing that something went wrong. Is there any chance that a single command would be provided that would work both in mkii and mkiv (in mkii it would call \synctex=1 and in mkiv it would call \enabledirectives[system,synctex])? Mojca
On 11-3-2011 7:12, Mojca Miklavec wrote:
Thank you. What exactly was the reason to disable the old syntax? Why not maybe defining it to give at least a warning (or even error) printing out a message saying what to do. It is a bit weird to see the code compile fine without ever noticing that something went wrong.
there are a few more primitives disabled (and an overload with message is no option as there is no way to intercept the parser) reasons: more consistency, less error prone, better tracing etc
Is there any chance that a single command would be provided that would work both in mkii and mkiv (in mkii it would call \synctex=1 and in mkiv it would call \enabledirectives[system,synctex])?
^ period ! i'm not going to bother about mkii in this respect, in mkiv we move away from variables in favor of directives, trackers and experiments Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Li Yanrui (李延瑞)
-
Mojca Miklavec