From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: LaTeX export with section number, name and page in internal links Date: Thu, 3 Dec 2015 06:31:21 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bb04dc4e8bedc0525fcba59 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4S6g-0000Bi-Q6 for emacs-orgmode@gnu.org; Thu, 03 Dec 2015 06:31:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4S6c-0002VN-FC for emacs-orgmode@gnu.org; Thu, 03 Dec 2015 06:31:26 -0500 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:37435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4S6c-0002VC-5a for emacs-orgmode@gnu.org; Thu, 03 Dec 2015 06:31:22 -0500 Received: by wmww144 with SMTP id w144so17944671wmw.0 for ; Thu, 03 Dec 2015 03:31:21 -0800 (PST) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ilya Cc: "emacs-orgmode@gnu.org" --047d7bb04dc4e8bedc0525fcba59 Content-Type: text/plain; charset=UTF-8 Try this. * Chapter 1 ** Section 1.1 \label{manual-section-1} :PROPERTIES: :CUSTOM_ID: section-1 :END: * Chapter 2 ** Section 2.1 I want reference to Section 1.1 from here (See Section \ref{manual-section-1} on page \pageref{manual-section-1}) John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Thu, Dec 3, 2015 at 6:08 AM, Ilya wrote: > I export my Org-Mode notes with internal links to LaTeX and I want it to > look like this ''Section 1.1 [Section name], page 99'' (Like in the Org > Manual). I use this construction: > > #+BEGIN_EXAMPLE > * Chapter 1 > ** Section 1.1 > :PROPERTIES: > :CUSTOM_ID: section-1 > :END: > * Chapter 2 > ** Section 2.1 > I want reference to Section 1.1 from here (See #section-1) > #+END_EXAMPLE > > But as a result I get only the number of the section ''1.1'', not the > ''Section 1.1 [Section name], page 99''. > What options I need to use? > > Here > ( > http://emacs.stackexchange.com/questions/18547/org-mode-latex-export-with-section-number-name-and-page-in-internal-links > ), > I was advised to use a Fancyref, but I have no idea how I may use it with > Org-Mode syntax. > > > --047d7bb04dc4e8bedc0525fcba59 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Try this.

* Chapter 1
** Section 1.1 =C2=A0\label{manual-section-1}
=C2=A0 =C2= =A0 :PROPERTIES:
=C2=A0 =C2=A0 :CUSTOM_ID: section-1
= =C2=A0 =C2=A0 :END:
* Chapter 2
** Section 2.1
I want reference to Section 1.1 from here (See Section \ref{manual-sectio= n-1} on page \pageref{manual-section-1})



<= div class=3D"gmail_signature">
John
-----------------------------------
Professor John Kitchin=C2=A0Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mell= on University
Pittsburgh, PA 15213
412-268-7803
=

On Thu, Dec 3, 2015 at 6:08 AM, Ilya <fi= lip83pov@yandex.ru> wrote:
= I export my Org-Mode notes with internal links to LaTeX and I want it to look like this ''Section 1.1 [Section name], page 99'' (Lik= e in the Org
Manual). I use this construction:

#+BEGIN_EXAMPLE
=C2=A0* Chapter 1
=C2=A0** Section 1.1
=C2=A0 =C2=A0 :PROPERTIES:
=C2=A0 =C2=A0 :CUSTOM_ID: section-1
=C2=A0 =C2=A0 :END:
=C2=A0* Chapter 2
=C2=A0** Section 2.1
I want reference to Section 1.1 from here (See #section-1)
#+END_EXAMPLE

But as a result I get only the number of the section ''1.1''= ;, not the
''Section 1.1 [Section name], page 99''.
What options I need to use?

Here
(http://emacs.stackexchange.com/questions/18547/org-mod= e-latex-export-with-section-number-name-and-page-in-internal-links), I was advised to use a Fancyref, but I have no idea how I may use it with Org-Mode syntax.



--047d7bb04dc4e8bedc0525fcba59--