[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] how to handle backend-specific types as fuzzy link targets durin
From: |
Eric Schulte |
Subject: |
Re: [O] how to handle backend-specific types as fuzzy link targets during export |
Date: |
Mon, 30 Jun 2014 12:37:42 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Eric Schulte <address@hidden> writes:
>
>> Attached
>
> OK, now I get it.
>
> You're working at the wrong level. `latex-fragment' is an object
> (inline) type, but you're inserting it at the element's level. The
> equivalent (non inline) element is `latex-environment', which is, for
> example:
>
> \begin{equation}
> 1+1=2
> \end{equation}
>
> So you could simply replace `latex-fragment' type with
> `latex-environment', and your example should work properly.
>
Confirmed, using `latex-environment' does give the desired behavior.
A related question. Is there a command to re-number figures in export?
After adding latex-environments in a function added to the
`org-export-filter-parse-tree-functions' hook, all figures are numbered
"1".
Thanks,
>
> HTH,
>
>
> Regards,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D (see https://u.fsf.org/yw)