From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40667 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: urgent reference problem (full path) Date: Thu, 24 Apr 2008 14:55:33 +0200 Message-ID: <98D0571D-4D69-44A6-BEB1-1E67DAB947F2@st.estfiles.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209041787 11777 80.91.229.12 (24 Apr 2008 12:56:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2008 12:56:27 +0000 (UTC) Cc: Taco Hoekwater To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 24 14:57:02 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Jp10I-0007vD-He for gctc-ntg-context-518@m.gmane.org; Thu, 24 Apr 2008 14:56:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E28821FBB9; Thu, 24 Apr 2008 14:56:04 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01418-04-4; Thu, 24 Apr 2008 14:55:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A067F1FB49; Thu, 24 Apr 2008 14:55:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B980F1FB49 for ; Thu, 24 Apr 2008 14:55:44 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00074-05-19 for ; Thu, 24 Apr 2008 14:55:35 +0200 (CEST) Original-Received: from smtprelay09.ispgateway.de (smtprelay09.ispgateway.de [80.67.29.23]) by ronja.ntg.nl (Postfix) with ESMTP id 9382D1FA4C for ; Thu, 24 Apr 2008 14:55:35 +0200 (CEST) Original-Received: from [89.247.49.104] (helo=[192.168.1.4]) by smtprelay09.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Jp0z8-0007Nq-Mp; Thu, 24 Apr 2008 14:55:35 +0200 In-Reply-To: X-Mailer: Apple Mail (2.919.2) X-Df-Sender: 698580 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40667 Archived-At: 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________