* \synctex=1 ignored in mkiv
@ 2011-03-11 14:38 Mojca Miklavec
2011-03-11 16:00 ` Li Yanrui (李延瑞)
2011-03-11 17:31 ` Hans Hagen
0 siblings, 2 replies; 5+ messages in thread
From: Mojca Miklavec @ 2011-03-11 14:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \synctex=1 ignored in mkiv
2011-03-11 14:38 \synctex=1 ignored in mkiv Mojca Miklavec
@ 2011-03-11 16:00 ` Li Yanrui (李延瑞)
2011-03-11 17:31 ` Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Li Yanrui (李延瑞) @ 2011-03-11 16:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
2011/3/11 Mojca Miklavec <mojca.miklavec.lists@gmail.com>:
> 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 (李延瑞)
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \synctex=1 ignored in mkiv
2011-03-11 14:38 \synctex=1 ignored in mkiv Mojca Miklavec
2011-03-11 16:00 ` Li Yanrui (李延瑞)
@ 2011-03-11 17:31 ` Hans Hagen
2011-03-11 18:12 ` Mojca Miklavec
1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-03-11 17:31 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Mojca Miklavec
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
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \synctex=1 ignored in mkiv
2011-03-11 17:31 ` Hans Hagen
@ 2011-03-11 18:12 ` Mojca Miklavec
2011-03-11 18:27 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2011-03-11 18:12 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
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
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \synctex=1 ignored in mkiv
2011-03-11 18:12 ` Mojca Miklavec
@ 2011-03-11 18:27 ` Hans Hagen
0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-03-11 18:27 UTC (permalink / raw)
To: Mojca Miklavec; +Cc: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-11 18:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-11 14:38 \synctex=1 ignored in mkiv Mojca Miklavec
2011-03-11 16:00 ` Li Yanrui (李延瑞)
2011-03-11 17:31 ` Hans Hagen
2011-03-11 18:12 ` Mojca Miklavec
2011-03-11 18:27 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).