emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus Pank Roulund <rasmus.pank@gmail.com>
To: Lawrence Mitchell <wence@gmx.li>, e.fraga@ucl.ac.uk
Cc: emacs-orgmode@gnu.org
Subject: Re: Questions on LaTeX Exporter
Date: Mon, 07 Mar 2011 12:11:22 +0100	[thread overview]
Message-ID: <87ipvvp4md.fsf@gmail.com> (raw)
In-Reply-To: <m3y64rp8j0.fsf@e4300lm.epcc.ed.ac.uk> (Lawrence Mitchell's message of "Mon, 07 Mar 2011 09:46:59 +0000")


> (setq org-export-latex-hyperref-format "\\ref{%s}") then you can
> refer to sections by their numbers with "as we see in section
> [[section]]" and it works nicely.

Wow; it works! Lawrence, in your experience, how fragile is this? The
bliss of LaTeX labels is that they are independent of the printed
headings so I can change the title and retain a sensible \ref.

Eric, thanks for your point. I still think it less than ideal, as
illustrate by this snip.

,----
| \section{Introduction}
| \label{sec-1}
|
| \label{sec:into}
`----

Org has a /really/ bad habit of inserting blank lines! Here is an
example of a "fix" from a beamer presentation:

,----
| *** Stiglitz							:B_quotation:
|     :PROPERTIES:
|     :BEAMER_env: quotation
|     :END:
|     \noindent
|     Social capital is a concept with a short and already confused history.
| #+latex:  \\\hfill\citep[pp. 59]{stiglitz99}
`----

And the output:

,----
| \begin{quotation} % Stiglitz
| \label{sec-2_1_1}
|
|     \noindent
|     Social capital is a concept with a short and already confused history.
| \\\hfill\citep[pp. 59]{stiglitz99}
| \end{quotation}
`----

--
Thanks,
Rasmus

  reply	other threads:[~2011-03-07 11:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-05 20:50 Questions on LaTeX Exporter Rasmus
2011-03-05 23:25 ` Thomas S. Dye
2011-03-06 13:21   ` Rasmus
2011-03-06 22:39     ` Thomas S. Dye
2011-03-07  9:46       ` Lawrence Mitchell
2011-03-07 11:11         ` Rasmus Pank Roulund [this message]
2011-03-07 11:50           ` Eric S Fraga
2011-03-07 12:10             ` Rasmus Pank Roulund
2011-03-07 12:30               ` suvayu ali
2011-03-07 12:49                 ` Rasmus Pank Roulund
2011-03-07 13:01                   ` Suvayu Ali
2011-03-07 16:30         ` Thomas S. Dye
2011-03-07  9:25     ` Eric S Fraga
2011-03-07 14:00 ` Lawrence Mitchell
2011-03-07 16:18   ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ipvvp4md.fsf@gmail.com \
    --to=rasmus.pank@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=wence@gmx.li \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).