From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] Extend :float attribute to src blocks and normalize syntax
Date: Fri, 31 May 2013 16:47:34 -0400 [thread overview]
Message-ID: <877gie98rd.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: 878v2v17pj.fsf@gmail.com
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> The following patch extends :float attribute to src blocks (so they are
> on par with tables and images). It also slightly changes syntax for this
> attribute:
>
> | | Old | New |
> |--------+---------------+----------|
> | Tables | :float table | :float t |
> | Images | :float figure | :float t |
>
> With this patch :float attribute also accepts a nil value in all cases,
> preventing any floating mechanism, even if a caption is provided. In
> particular, it replaces :long-listing attribute for src blocks:
>
> | | Old | New |
> |------------+-----------------+------------|
> | Src blocks | :long-listing t | :float nil |
>
> Overall, it makes :float syntax a bit more regular, but it implies some
> gotchas.
>
> WDYT?
>
Is a binary value for :float enough? I thought (maybe incorrectly)
that the value of :float would determine (at least for latex export)
the floating environment for the table, giving one the option to use
longtable or sidewaystable e.g. Is that the case? If so, how would you
handle it in the new regime?
--
Nick
next prev parent reply other threads:[~2013-05-31 20:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-31 15:37 [RFC] Extend :float attribute to src blocks and normalize syntax Nicolas Goaziou
2013-05-31 19:09 ` Sebastien Vauban
2013-05-31 19:51 ` Nicolas Goaziou
2013-05-31 20:47 ` Nick Dokos [this message]
2013-06-01 6:25 ` Nicolas Goaziou
2013-06-01 14:25 ` Nick Dokos
2013-06-01 6:31 ` Carsten Dominik
2013-06-01 6:44 ` Nicolas Goaziou
2013-06-01 8:37 ` Carsten Dominik
2013-06-01 13:29 ` Nicolas Goaziou
2013-06-01 16:00 ` Carsten Dominik
2013-06-02 7:36 ` 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=877gie98rd.fsf@pierrot.dokosmarshall.org \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).