From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] [PATCH] ox-latex: support :float no with caption for minted listings
Date: Thu, 28 Aug 2014 11:19:25 +0200 [thread overview]
Message-ID: <87oav5eztu.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87r401tdc7.fsf@gmail.com> (Aaron Ecay's message of "Thu, 28 Aug 2014 01:03:52 -0400")
Hello,
Aaron Ecay <aaronecay@gmail.com> writes:
> The other application I can think of is to allow captioned images and
> tables not to float. The LaTeX world is full of tutorials on how to
> un-float floating images and tables, but IME the org community doesn’t
> ask for this. (perhaps they implement their own solutions in latex.)
>
> Given that the capt-of package is just two lines of code, defines just
> one new command, and doesn’t modify any existing code, I’m inclined to
> the belief that adding it to the default packages list is tolerable.
> If capt-of is added to the default packages, then <caption, non-float,
> org-latex-listing = nil> source blocks can also be handled.
I agree. Do you want to take care of this? This requires an entry in
ORG-NEWS and some documentation changes too.
>> Note there is also :caption attribute which is used in tables and
>> special blocks, but not in source blocks, which may come handy
>> here.
>
> I can’t tell what this is for. It looks like merely a backend-specific
> alternative to specifying the caption using org syntax (#+caption:). Am
> I missing something?
It permits to use a different caption command (e.g., \bicaption{}{}). It
is similar to using \captionof instead of \caption. But I think adding
"capt-of" to default packages list is better.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2014-08-28 9:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-23 7:36 [RFC] [PATCH] ox-latex: support :float no with caption for minted listings Aaron Ecay
2014-08-23 19:47 ` Nicolas Goaziou
2014-08-23 20:27 ` Aaron Ecay
2014-08-23 23:56 ` Nicolas Goaziou
2014-08-24 0:44 ` Aaron Ecay
2014-08-24 6:51 ` Nicolas Richard
2014-08-24 19:54 ` Nicolas Goaziou
2014-08-28 5:03 ` Aaron Ecay
2014-08-28 9:19 ` Nicolas Goaziou [this message]
2014-09-19 19:04 ` Aaron Ecay
2014-09-19 20:13 ` Nicolas Goaziou
2014-09-23 3:09 ` Aaron Ecay
2014-09-23 19:48 ` Nicolas Goaziou
2014-09-28 4:07 ` Aaron Ecay
2014-09-28 7:09 ` Nicolas Goaziou
2014-09-28 12:00 ` Rasmus
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=87oav5eztu.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--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).