ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Include section number in reference
@ 2011-10-12 13:49 Marco
  2011-10-13 20:36 ` Marco
  0 siblings, 1 reply; 8+ messages in thread
From: Marco @ 2011-10-12 13:49 UTC (permalink / raw)
  To: ntg-context

Hi,

the example below leads to:

I Foo
A Bar
subsection A

What I need is:

I Foo
A Bar
subsection I.A

How to convince \in… to include the section element?


%%%%%%%%%%%%%%%%%%%%%

\definestructureconversionset [myset]
  [
    Romannumerals,
    Romannumerals,
    Romannumerals,
    Character,
  ]
  [numbers]
\setuphead [sectionconversionset=myset]
\setuphead
  [subsection]
  [sectionsegments=subsection]

\starttext
  \startsection [title=Foo]

    \startsubsection [title=Bar, reference=bar]
    \stopsubsection

    \in{subsection}[bar]

  \stopsection
\stoptext

%%%%%%%%%%%%%%%%%%%%%

Regards
Marco


___________________________________________________________________________________
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] 8+ messages in thread

end of thread, other threads:[~2013-03-16 17:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-12 13:49 Include section number in reference Marco
2011-10-13 20:36 ` Marco
2011-10-13 20:48   ` Wolfgang Schuster
2011-10-14 11:18     ` Marco
2011-10-14 11:28       ` Wolfgang Schuster
2011-10-15 15:03         ` Wolfgang Schuster
2011-10-16 17:00           ` Marco
2013-03-16 17:37     ` Steffen Wolfrum

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