emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Confusion about attr_latex and new exporter


From: John Hendy
Subject: Re: [O] Confusion about attr_latex and new exporter
Date: Wed, 20 Mar 2013 12:17:30 -0500

On Tue, Mar 19, 2013 at 1:49 PM, Bastien <address@hidden> wrote:
> Hi John,
>
> John Hendy <address@hidden> writes:
>
>> Thanks for the clarification, though regardless of the current
>> state... what is the consensus on what it *should* be? The old lingo
>> was:
>> - #+attr_latex: width=Xcm
>> - #+attr_html: width="Xpx"
>
> ... and the new lingo is
>
>   #+attr_latex: :width Xcm
>   #+attr_html: :width Xpx
>
> for images.  Images allow :width :height :alt attributes, while other
> elements like links and tables allow only the :options attribute.

Upon fresh pull to Org-mode version 8.0-pre
(release_8.0-pre-146-g73fe0a), I confirm that =#+attr_html: :width
value= works as described above.

Thanks!
John

>
> I updated ox-html.el so that it respects this syntax.
>
> Nicolas, would it be okay to make
>
>   (org-export-read-attribute :attr_html element)
>
> return "title=\"Title\"" instead of nil when the element's attributes
> are like this
>
>   #+attr_html: title="Title"
>
> ?
>
> Thanks,
>
> --
>  Bastien



reply via email to

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