I don't know how the section number (with/without previous number) is build internally, but I hope there could be a hack, with ... setupsection[...][previousnumber=yes]% so that referencing gets the full path ... but a section-design like "previousnumber=no", made with ... \setuphead[...][command=\PreviousNumberNo] Could this be done? Steffen Am 24.04.2008 um 10:51 schrieb Steffen Wolfrum:
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 ___________________________________________________________________________________