Re: [O] LaTeX export with section number, name and page in internal links

2015-12-09 Thread Richard Lawrence
John Kitchin writes: >> I do something like this with custom link types. > Aha! I am not the only one ;) > >> >> First of all, have a look at the variable >> >> org-latex-prefer-user-labels > > Is this a new 8.3 variable? It doesn't seem to be in my 8.2.10 MELPA >

Re: [O] LaTeX export with section number, name and page in internal links

2015-12-08 Thread Ken Mankoff
> 03.12.2015, 16:31, "John Kitchin" : > > 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

Re: [O] LaTeX export with section number, name and page in internal links

2015-12-08 Thread Richard Lawrence
Hi Ilya, Ilya writes: > 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 >

Re: [O] LaTeX export with section number, name and page in internal links

2015-12-08 Thread John Kitchin
> I do something like this with custom link types. Aha! I am not the only one ;) > > First of all, have a look at the variable > > org-latex-prefer-user-labels Is this a new 8.3 variable? It doesn't seem to be in my 8.2.10 MELPA version. > > if you haven't already. Setting it will cause Org

Re: [O] LaTeX export with section number, name and page in internal links

2015-12-07 Thread Ilya Filippov
Thank you, it is work, but I hope to use something like (setq org-export-latex-hyperref-format "\\ref{%s}") for hyperref customization. (I want join \\ref{%s} and \\pageref{%s} for org-export-latex-hyperref-format). If it will be work we may simple use [[#section-1]] to different templates for

Re: [O] LaTeX export with section number, name and page in internal links

2015-12-03 Thread John Kitchin
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