From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Cross references that output both section number and section name Date: Fri, 26 May 2017 09:20:26 +0200 Message-ID: <87shjs84p1.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dE9Y0-0006Qe-4X for emacs-orgmode@gnu.org; Fri, 26 May 2017 03:20:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dE9Xz-0008Vv-6T for emacs-orgmode@gnu.org; Fri, 26 May 2017 03:20:32 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:44843) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dE9Xy-0008Ua-WD for emacs-orgmode@gnu.org; Fri, 26 May 2017 03:20:31 -0400 In-Reply-To: (Aaron Wenner's message of "Thu, 25 May 2017 14:18:37 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Aaron Wenner Cc: emacs-orgmode@gnu.org Hello, Aaron Wenner writes: > Does anyone know if it=E2=80=99s possible to create cross-references to s= ections in org-mode that contain (or export as) both the section number and= the link text? For example:=20=20 > > * This is heading 1 > ** This is heading 1.1 > > * New heading > [[*This is heading 1.1]] # Outputs as 1.1 > [[*This is heading 1.1][This is heading 1.1]] # Outputs as "This is h= eading 1.1" > Is there any way to create a link that outputs both examples at the > same time: Eg: 1.1 This is heading 1.1 [[*This is heading 1.1]] [[*This is heading 1.1][This is heading 1.1]] Regards, --=20 Nicolas Goaziou