emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Attributes on HTML tables?


From: Christian Moe
Subject: Re: [O] Attributes on HTML tables?
Date: Sun, 07 Apr 2013 16:42:04 +0200
User-agent: mu4e 0.9.9.5-dev6; emacs 24.3.1

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">

and on Firefox, at least, the values defined the second time are
ignored.

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. 

Yours,
Christian








reply via email to

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