emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] [PATCH] ox-latex: support :float no with	caption	for minted listings
Date: Sun, 28 Sep 2014 14:00:54 +0200	[thread overview]
Message-ID: <87bnq0t0nd.fsf@gmx.us> (raw)
In-Reply-To: 87wq8ol76d.fsf@gmail.com

Aaron Ecay <aaronecay@gmail.com> writes:

>>> Merging the functions might only be worth doing if there were any more
>>> places where \captionof needed to be used.
>> 
>> That's the intent, yes. It would be a waste not to use a package now
>> residing in the default list. Among the transcoders where
>> `org-latex--wrap-label' is used, some could probably benefit from
>> a non-float caption, if requested by the user.
>
> OK.  I’ll think about this.  One question is what type of caption this
> should be.  (i.e. \captionof{what?}{the caption}).  Using the catch-all
> figure caption type seems most sensible to me, but feedback from other
> latex users is welcome.

One goal that should be archivable is to get rid of the (horrible)
float package in org-latex-default-packages-alist¹ .  In other words
(I'm guessing here), reinterpret [H] placement instructions and do it
the "capt-of" way.

—Rasmus


Footnotes: 
¹   float rewrites the float mechanism which can cause trouble.  I
    personally never use it.

-- 
Enough with the bla bla!

      parent reply	other threads:[~2014-09-28 12:01 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
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 [this message]

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=87bnq0t0nd.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).