emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [FR new exporter] NAME and label


From: Nicolas Goaziou
Subject: Re: [O] [FR new exporter] NAME and label
Date: Sat, 17 Nov 2012 14:55:08 +0100

Hello,

Rasmus <address@hidden> writes:

> Hi,
>
> I rely on org-special-blocks.el to provide easy access to the LaTeX
> proof environment and such.

org-export.el supersedes org-special-blocks.el: don't use the latter.

> 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.

Indeed. That should now be the case.

> Also, I think it might be nicer to use \dots as oppose to \ldots, as
> it is slightly more intelligent.

I thought \dots was an alias for \ldots. Isn't there any drawback to
replace \ldots with \dots (i.e. when amsmath isn't used)?


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]