[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [FR new exporter] NAME and label
From: |
Rasmus |
Subject: |
[O] [FR new exporter] NAME and label |
Date: |
Sat, 17 Nov 2012 14:34:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Hi,
I rely on org-special-blocks.el to provide easy access to the LaTeX
proof environment and such. Up till now I have been placing LaTeX
labels in them manually, but I would like to #+NAME them.
Here's an example
#+begin_src org
* section two
#+NAME:p1
#+BEGIN_PROPOSITION
1+1=2
#+END_PROPOSITION
By [[p1]] ...
#+end_src
This results in
#+begin_src latex
\section{section two}
\label{sec-1}
\label{p1}
\begin{proposition}
1+1=2
\end{proposition}
By \ref{p1} \ldots{}
#+end_src
Basically, I would like to have the label inside the proposition.
Also, I think it might be nicer to use \dots as oppose to \ldots, as
it is slightly more intelligent.
Thanks,
Rasmus
--
When in doubt, do it!
- [O] [FR new exporter] NAME and label,
Rasmus <=