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
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
Colons are now allowed in targets.
Thanks for submitting the suggestion.
Regards,
--
Nicolas Goaziou
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
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
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\\
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
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