Re: [NTG-context] What happened to \reference

2008-07-30 Thread Taco Hoekwater

Hoi Gerben,

Gerben Wierda wrote:
 I have started (after a hiatus) to compile my project again using an  
 updated ConTeXt
 
 ConTeXt  ver: 2008.03.03 00:34 MKII  fmt: 2008.3.4  int: english/english
 
 and something that used to work has stopped working:
 
 \reference[logic:implicationprogram] 
 {\getbuffer[logic:implicationprogram]}
 
 gives an empty result. This used to (say a year ago) get me the  
 contents of the buffer I set up earlier.

I tried with 2007.07.25 (the last pre-mkiv release) and that doesn't
work either. Afaics, in that version (and all versions since) it was
not meant to work.  It could be an ever earlier regression, but I
do not have runnable versions of all those older context releases.

That said, it is easy to get this working (again), just add this
at the start of your document

  \unexpanded\def\GWgetbuffer{\getbuffer}

(and use \GWgetbuffer instead of \getbuffer, of course)

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] What happened to \reference

2008-07-29 Thread Gerben Wierda
I have started (after a hiatus) to compile my project again using an  
updated ConTeXt

ConTeXt  ver: 2008.03.03 00:34 MKII  fmt: 2008.3.4  int: english/english

and something that used to work has stopped working:

\reference[logic:implicationprogram] 
{\getbuffer[logic:implicationprogram]}

gives an empty result. This used to (say a year ago) get me the  
contents of the buffer I set up earlier.

I tried the excursion, manual and wiki but only got very confused. In  
the past I must have concluded that this should work and apparantly it  
did. But rereading everything about \reference (wiki gives me many  
hits and I cannot find the right one) I get completely confused about  
what \reference exactly does with the second argument.

G
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___