From: John Hendy <jw.hendy@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>, "Thomas S. Dye" <tsd@tsdye.com>
Subject: Re: Confusion about attr_latex and new exporter
Date: Wed, 20 Mar 2013 12:17:30 -0500 [thread overview]
Message-ID: <CA+M2ft8cV3du306DwKEwfgY++Xm=SQCeG8L=i_qGH_9OjaFO2A@mail.gmail.com> (raw)
In-Reply-To: <87zjxzp6dk.fsf@bzg.ath.cx>
On Tue, Mar 19, 2013 at 1:49 PM, Bastien <bzg@altern.org> wrote:
> Hi John,
>
> John Hendy <jw.hendy@gmail.com> 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
next prev parent reply other threads:[~2013-03-20 17:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-17 21:57 Confusion about attr_latex and new exporter John Hendy
2013-03-17 22:09 ` John Hendy
2013-03-17 22:22 ` Thomas S. Dye
2013-03-18 0:28 ` John Hendy
2013-03-18 0:38 ` Thomas S. Dye
2013-03-19 4:51 ` Aaron Ecay
2013-03-19 5:07 ` Aaron Ecay
2013-03-19 14:49 ` John Hendy
2013-03-19 18:49 ` Bastien
2013-03-20 17:17 ` John Hendy [this message]
2013-03-19 17:52 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+M2ft8cV3du306DwKEwfgY++Xm=SQCeG8L=i_qGH_9OjaFO2A@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=tsd@tsdye.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).