[NTG-context] How to get info about current [sub-...]section?

Procházka Lukáš Ing. - Pontex s. r. o. LPr at pontex.cz
Tue Apr 17 08:53:50 CEST 2012


Hello,

one more question - is there a way how to get values of \structurenumber and \structuretitle in the Lua scope?

TIA.

Best regards,

Lukas


On Mon, 16 Apr 2012 12:26:52 +0200, Wolfgang Schuster <schuster.wolfgang at googlemail.com> wrote:

> \defineconversionset[default][n,n,a,r,n][n]
>
> \starttext
>
> \section{A}
>
> \starttabulate
> \NC Number \EQ \structurenumber \NC\NR
> \NC Title  \EQ \structuretitle  \NC\NR
> \stoptabulate
>
> \subsection{Aa}
>
> \starttabulate
> \NC Number \EQ \structurenumber \NC\NR
> \NC Title  \EQ \structuretitle  \NC\NR
> \stoptabulate
>
> \subsubsection{Aaa}
>
> \starttabulate
> \NC Number \EQ \structurenumber \NC\NR
> \NC Title  \EQ \structuretitle  \NC\NR
> \stoptabulate
>
> \stoptext
>
> Wolfgang


-- 
Ing. Lukáš Procházka [mailto:LPr at pontex.cz]
Pontex s. r. o.      [mailto:pontex at pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038



More information about the ntg-context mailing list