ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* urgent reference problem (full path)
@ 2008-04-24  8:51 Steffen Wolfrum
  2008-04-24 12:55 ` Steffen Wolfrum
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2008-04-24  8:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

my current project is set up like shown below.

A serious problem is the section-reference: while section numbering  
should be in general (text and TOC) without previous number, it must  
show the full path when referenced (otherwise nobody will find "2").

Is there help?


Thank you very much,

Steffen


\definehead[EbeneEins]	[chapter]

\setupsection[section-3][conversion=Characters,previousnumber=no]
\setupsection[section-4][conversion=Romannumerals,previousnumber=no]
\setupsection[section-5][conversion=numbers,previousnumber=no]
%
%\setupsection[section-3][conversion=Characters,previousnumber=yes]
%\setupsection[section-4][conversion=Romannumerals,previousnumber=yes]
%\setupsection[section-5][conversion=numbers,previousnumber=yes]	

%\def\NummerGewStyle{\switchtobodyfont[rm,10pt] 
\setupinterlinespace[line=12pt]\mr}
\def\KapitelZweiCommand#1#2%
  {\vbox \bgroup
     \framed[align=middle,frame=off,offset=0pt,width=\textwidth] 
{Abschnitt  #1\blank [6pt]}%
     \framed[align=middle,frame=off,offset=0pt,width=\textwidth]{#2}%
   \egroup}
\setuphead[EbeneEins]
[header=empty,page=yes,command= 
\KapitelZweiCommand 
,style 
=,alternative=paragraph,before={\blank[24pt]},after={\blank[14pt]}]

\starttext
\EbeneEins{Eins}
\subsection{Zuerst}
\subsubsection{Test}
\subsubsection[MyRef]{Here reference test}
\subsubsection{Test}
\subsection{Danach}
\subsubsection{Test}
\subsubsection{Test}
\section{Zwei}
\subsection{Und dann}
\subsubsection{Test}
In \in[MyRef] % should be: Abschnitt 1 I.2
\stoptext




___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-24 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-24  8:51 urgent reference problem (full path) Steffen Wolfrum
2008-04-24 12:55 ` Steffen Wolfrum
2008-04-24 14:32   ` Wolfgang Schuster
2008-04-24 17:38   ` Hans Hagen

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