ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Managing prefixes in section references
@ 2012-11-14 18:54 Jean-Philippe Rey
  0 siblings, 0 replies; only message in thread
From: Jean-Philippe Rey @ 2012-11-14 18:54 UTC (permalink / raw)
  To: ConTeXt ML

Hi all,

I am trying to convince \in to build up a full reference (<chapter number>.<section number>) but can not work it out.

Here is my minimal example :

% ConTeXt 2012.11.08 MKIV

\setuphead[section][sectionsegments=section]
\setupreferencestructureprefix[section][number][prefixsegments=2:*]

\starttext
\chapter{Chapter one}

\section[S1]{Section one}

This is \in{section}[S1]   % displays 1 instead of 1.1

\stoptext


What am I doing wrong ?

Thanks for your answers.

-- 
Jean-Philippe Rey                 Professeur - École Centrale Paris
jean-philippe.rey@ecp.fr          92295 Châtenay-Malabry Cedex - France



___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2012-11-14 18:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-14 18:54 Managing prefixes in section references Jean-Philippe Rey

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).