From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Christian Moe <mail@christianmoe.com>
Cc: Bastien <bzg@gnu.org>,
"François Pinard" <pinard@iro.umontreal.ca>,
emacs-orgmode@gnu.org
Subject: Re: Attributes on HTML tables?
Date: Sun, 07 Apr 2013 20:46:29 +0200 [thread overview]
Message-ID: <878v4uxjp6.fsf@gmail.com> (raw)
In-Reply-To: <m2ppy6xv0j.fsf@christianmoe.com> (Christian Moe's message of "Sun, 07 Apr 2013 16:42:04 +0200")
Hello,
Christian Moe <mail@christianmoe.com> writes:
> Bastien writes:
>> You need to use :options now:
>>
>> #+CAPTION: This is a table with lines around and between cells
>> #+ATTR_HTML: :options border="2" rules="all" frame="border"
>
> Oddly, this doesn't work for me at the moment. I'm running
> release_8.0-pre-344-g882454, pulled this morning. (It /could/ be just
> me; I seem to have some unresolved installation issues.)
>
> When I export, both the defaults /and/ the "options" are applied,
> resulting in duplicated attributes, like this:
>
> <table border="2" cellspacing="0" cellpadding="6" rules="groups"
> frame="hsides" border="2" rules="all" frame="border">
This is a bug.
> The documentation currently up on Worg
> (http://orgmode.org/worg/org-8.0.html#sec-8-3), which seems to say we
> should now use plists for HTML attributes. But that currently doesn't
> work for me either.
>
> Sorry if you've heard this before, but this doesn't make sense to me as
> a new syntax:
>
> #+ATTR_HTML: :options attribute="value"
>
> It's not just more verbose than the old way, it's redundant to say both
> "attr" and "options", since all it does is set attributes.
Actually, that's not the spirit. The idea is to define some widely used
attributes that will be written directly like:
#+attr_html: :border 0 :width 400
Then, :options attribute is used as a bucket for every other attribute,
since we cannot support all of them.
Unfortunately, no attribute is current recognized in table HTML
transcoder. It needs to be improved.
If Someone provides a list of such attributes, I can implement it.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2013-04-07 18:46 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-07 2:55 Attributes on HTML tables? François Pinard
2013-04-07 6:27 ` Bastien
2013-04-07 14:42 ` Christian Moe
2013-04-07 18:46 ` Nicolas Goaziou [this message]
2013-04-07 20:39 ` Christian Moe
2013-04-07 20:48 ` Nicolas Goaziou
2013-04-08 21:09 ` Christian Moe
2013-04-10 17:44 ` François Pinard
2013-04-12 2:06 ` Eric Abrahamsen
2013-04-12 5:42 ` Bastien
2013-04-12 6:01 ` Eric Abrahamsen
2013-04-12 8:46 ` Bastien
2013-04-12 14:36 ` François Pinard
2013-04-13 3:38 ` Eric Abrahamsen
2013-04-13 5:31 ` Eric Abrahamsen
2013-04-13 20:42 ` Rick Frankel
2013-04-14 10:13 ` Eric Abrahamsen
2013-04-14 18:01 ` Rick Frankel
2013-04-15 18:03 ` Rick Frankel
2013-04-13 17:10 ` Rick Frankel
2013-04-14 8:41 ` Bastien
2013-04-10 19:37 ` Nicolas Goaziou
2013-04-11 8:28 ` Christian Moe
2013-04-11 10:55 ` Nicolas Goaziou
2013-04-11 12:14 ` Christian Moe
2013-04-11 15:34 ` Bastien
2013-04-11 17:29 ` Nicolas Goaziou
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=878v4uxjp6.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=mail@christianmoe.com \
--cc=pinard@iro.umontreal.ca \
/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).