From: Bastien <bzg@altern.org>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>, "Thomas S. Dye" <tsd@tsdye.com>
Subject: Re: Confusion about attr_latex and new exporter
Date: Tue, 19 Mar 2013 19:49:43 +0100 [thread overview]
Message-ID: <87zjxzp6dk.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CA+M2ft91-bnwJ=FRny3NGU63up87ngp1sJNm8y6UT4pZTBHWGg@mail.gmail.com> (John Hendy's message of "Tue, 19 Mar 2013 09:49:17 -0500")
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.
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-19 18:55 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 [this message]
2013-03-20 17:17 ` John Hendy
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=87zjxzp6dk.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@gmail.com \
--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).