On 9-2-2012 19:32, Wolfgang Schuster wrote:
Hi,

the command “\strc_constructions_initialize\currentnote” is here necessary to 
ensure \currentconstructionhandler etc. are set when 
\strc_constructions_stored_start is called.

\def\handlenoteitself#1#2% tg, id
   {\edef\currentnote{#1}%
    \edef\currentnotenumber{#2}%
    
\edef\currentconstructionlistentry{\ctxlua{tex.write(structures.notes.listindex("#1",#2))}}%
 index in list cache
    % as we can have collected notes (e.g. in tables) we need to recover
    % \currentdescriptionattribute and \currentdescriptionsynchronize
    %
   %\reinstateconstructionnumberentry\currentconstructionlistentry % we could 
store the number in the entry
    %
    \dontcomplain
%  \begingroup
    \strc_notes_interaction_check_display
    \strc_notes_set_reference_attribute_text
+  \strc_constructions_initialize\currentnote
    \strc_constructions_stored_start
    \begstrut
    \strc_notes_set_destination_attribute_text
    \strc_notes_inject_text
    \endstrut
    \strc_constructions_stored_stop
%  \endgroup
    }

indeed, and also in an earlier command (and also a move if the increment)

(i'll make a beta .. also with a change in fonts ... x|xx and a|b|c|d decoupled so that they can be combined)


-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to