From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89294 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Reference text differing from title Date: Mon, 24 Nov 2014 14:00:56 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1229006440==" X-Trace: ger.gmane.org 1416834128 4700 80.91.229.3 (24 Nov 2014 13:02:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2014 13:02:08 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 24 14:02:04 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XstHI-0000yK-8w for gctc-ntg-context-518@m.gmane.org; Mon, 24 Nov 2014 14:02:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E2F9210225 for ; Mon, 24 Nov 2014 14:02:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id A5neKJz3IxzR for ; Mon, 24 Nov 2014 14:02:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AAC6610236 for ; Mon, 24 Nov 2014 14:01:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1CE65101FE for ; Mon, 24 Nov 2014 14:01:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5oRgbQS95kNt for ; Mon, 24 Nov 2014 14:01:23 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 6CBBD101E8 for ; Mon, 24 Nov 2014 14:01:23 +0100 (CET) Original-Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sAOD15Jd017843 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 24 Nov 2014 14:01:06 +0100 Original-Received: by mail-ig0-f174.google.com with SMTP id hn15so3049219igb.1 for ; Mon, 24 Nov 2014 05:01:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=YnOsuoc4+P24O0FRW2FBAU41nEo1qwPjASAIKB+Hah8=; b=Ar2OGMQbQtKeoRKKQzEZerSxJTRUPeLQUzBlp2mXFSosjc8RZJ0vcC8S1KESbeTHWM 1D/zNFFCiWVwqPIYL5TxsK+Ga8HfLbfwTzfo45ZtJ1S3SN09FdrESG7oLJQBkAe293dH hv5V6cYMjjsQ3p/+N9mHzHMshmZxLqyosSTZhyfBlTB1oLnDfx9JHGbWrnx2xJtcun9G dFSPtsNHI6uweoZVbTJVoVcRaZ8SnSBVu5q7aUXHleR91q54NQfv6GPD06qYs+/pcYVA LbufkYhjJQOn42cNoQ/ENTIj6yciNtZGSWdlnZGrZt5pHAq/gr/W6XNykf5XrHhUPay0 PjVQ== X-Received: by 10.107.15.226 with SMTP id 95mr17928275iop.12.1416834076999; Mon, 24 Nov 2014 05:01:16 -0800 (PST) Original-Received: by 10.107.165.143 with HTTP; Mon, 24 Nov 2014 05:00:56 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::22e; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Njp16bC - 4aa00d9d4950 - 20141124 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89294 Archived-At: --===============1229006440== Content-Type: multipart/alternative; boundary=001a113fe428dd881d05089a632e --001a113fe428dd881d05089a632e Content-Type: text/plain; charset=UTF-8 Hi, Is it possible to change the text shown in \about[...] to be something else than the text given to the titel key of \startsection? \starttext \startsection[ title={Very Long}, % referencetext={Short}, % <- is there something like this? reference=mysec] We are now in \about[mysec]. % <- should render as "Short" \stopsection \stoptext I have tried the following, but it introduces vertical white space: \starttext \startsection[title={Very Long}] \reference[mysec]{Short} %<- introduces white space We are now in \about[mysec]. \stopsection \stoptext Thank you for any help, Christoph --001a113fe428dd881d05089a632e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Is it possible to change the text s= hown in \about[...] to be something else than the text given to the titel k= ey of \startsection?

\starttext
\startse= ction[
=C2=A0 title=3D{Very Long},
% =C2=A0referencetex= t=3D{Short}, % <- is there something like this?
=C2=A0 referen= ce=3Dmysec]
=C2=A0 We are now in \about[mysec]. % <- should re= nder as "Short"
\stopsection
\stoptext
<= div>
I have tried the following, but it introduces vertical w= hite space:

\starttext
\startsection[tit= le=3D{Very Long}]
=C2=A0 \reference[mysec]{Short} %<- introduc= es white space
=C2=A0 We are now in \about[mysec].
\sto= psection
\stoptext

Thank you for any hel= p,

Christoph
--001a113fe428dd881d05089a632e-- --===============1229006440== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1229006440==--