Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-07 Thread Nicolas Goaziou
One problem I am having is that the exported LaTeX replaces the : with a - to become \ref{tab-niceone} which precludes the use of (e.g.) \autoref which would need to know that the thing being referenced was a table by recognising the tab:, no? I am sure there is a good reason for this, can

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-07 Thread Myles English
Nicolas Goaziou writes: One problem I am having is that the exported LaTeX replaces the : with a - to become \ref{tab-niceone} which precludes the use of (e.g.) \autoref which would need to know that the thing being referenced was a table by recognising the tab:, no? I am sure there is a

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-07 Thread Nicolas Goaziou
Colons are now allowed in targets. Thanks for submitting the suggestion. Regards, -- Nicolas Goaziou

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-07 Thread Myles English
Nicolas Goaziou writes: Colons are now allowed in targets. Thanks for submitting the suggestion. Thanks a lot Nicolas. In case anyone else finds this useful, here is the filter I'll use to replace \ref with \autoref: (defun my-autoref-filter-link-func (output backend info) (when

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-06 Thread Myles English
Hi Nicolas, Nicolas Goaziou writes: Myles English mylesengl...@gmail.com writes: [..] So, the label tab:niceone exports as \label{tab-niceone}. Is that right or am I using the wrong syntax somewhere? The correct syntax is: [[tab:niceone]] It will allow to move back and forth

[O] [new exporter] what is the label syntax for LaTeX export?

2012-11-05 Thread Myles English
Hi, If my org file has: #+CAPTION[Here is a table]: A nice table #+NAME: tab:niceone | a | Look at my \ref{tab:niceone}. then M-x org-export-dispatch l L gives me: \begin{table}[htb] \caption[Here is a table]{\label{tab-niceone}A nice table} \begin{center} \begin{tabular}{l} a\\

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-05 Thread Nicolas Goaziou
Hello, Myles English mylesengl...@gmail.com writes: If my org file has: #+CAPTION[Here is a table]: A nice table #+NAME: tab:niceone | a | Look at my \ref{tab:niceone}. then M-x org-export-dispatch l L gives me: \begin{table}[htb] \caption[Here is a table]{\label{tab-niceone}A

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-05 Thread Carsten Dominik
On 5 nov. 2012, at 23:18, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Myles English mylesengl...@gmail.com writes: If my org file has: #+CAPTION[Here is a table]: A nice table #+NAME: tab:niceone | a | Look at my \ref{tab:niceone}. then M-x org-export-dispatch l L