emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Bastien <bzg@gnu.org>, emacs-orgmode@gnu.org
Subject: Re: Attributes on HTML tables?
Date: Thu, 11 Apr 2013 14:14:33 +0200	[thread overview]
Message-ID: <m2zjx5uuvq.fsf@christianmoe.com> (raw)
In-Reply-To: <87hajds5f5.fsf@gmail.com>


Nicolas Goaziou writes:
> I prefer not to mix the two methods as it would be fragile (e.g. what
> happens if an attribute is defined both outside and inside the :options
> keyword?).

Perhaps not much. As I reported (the reason :options wasn't working), in
Firefox the second definition of the attribute is simply quietly ignored.
But if you prefer to keep it clean, I'm fine with that.

>> to batch convert files from verbatim html attributes to plist syntax with
>> something like the following  -- USE AT OWN RISK, NO WARRANTY IMPLIED:
>>
>> : perl -i.bak -pe 's/([a-z]+)=([\"\'])(.*?)\2/:\1 \2/g if
>> /^#\+attr_html/i' *.org

Oops, in that message I accidentally copy-pasted a WRONG
version. Hopefully didn't work at all, or it would mess things
up. Sorry. This seems to work well:

: perl -i.bak -pe "s/([a-z]+)=(\"|')(.*?)\2/:\1 \3/g if /^#\+attr_html/i" filename.org

>  Would you mind adding it to Worg section about the migration to
> Org 8.0? It would be quite useful.

Will do.

Yours,
Christian

  reply	other threads:[~2013-04-11 12:12 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
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 [this message]
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=m2zjx5uuvq.fsf@christianmoe.com \
    --to=mail@christianmoe.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.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).