emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [ox-latex, bug?] :caption forces environment
Date: Tue, 24 Feb 2015 23:49:33 +0100	[thread overview]
Message-ID: <87y4nnq60y.fsf@gmx.us> (raw)
In-Reply-To: <87sidv2hwk.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 24 Feb 2015 21:06:51 +0100")

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Rasmus <rasmus@gmx.us> writes:
>
>> AFAIK, we use float actively at one place, namely ";; Case 1.  No source
>> fontification".  Of org-latex-src-block.  In that particular case I guess
>> we could also use capt-of, actually.
>
> It's worth trying. Do you want to provide a patch?

Yeah, I started already, but so far only tables works, but I'm really busy
ATM with funding applications.

[BTW: For one I need to send a .doc.  I'm getting random crashes with
 ox-odt as well (as Eric), but I haven't been able to track it down...]

>> At some point I wanted to get rid of float, until I became aware that
>> capt-of doesn't ensure that floats/non-floats appear in the right
>> order.
>
> Since we wouldn't use floats anymore, this isn't a problem, is it?

Well the problem is that you can get unorder.  E.g. the following where I
don't know if the syntax is valid.  Table 1 can be printed midway on the
page, and table 2 can be printed on top of the page, but table 2 would
actually be called "Table 2".  I haven't tested this thoroughly though.

Text 

#+Attr_latex:  :float nil
| 1 | 

Text

#+Attr_latex:  :float t :options [t]
| 2  | 

—Rasmus

-- 
El Rey ha muerto. ¡Larga vida al Rey!

      reply	other threads:[~2015-02-24 22:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-19 14:52 [ox-latex, bug?] :caption forces environment Rasmus
2015-02-19 15:13 ` Nicolas Goaziou
2015-02-19 15:19   ` Rasmus
2015-02-19 15:28     ` Nicolas Goaziou
2015-02-19 15:50       ` Rasmus
2015-02-19 16:12         ` Nicolas Goaziou
2015-02-19 16:43           ` Rasmus
2015-02-19 16:49           ` Rasmus
2015-02-24 20:06             ` Nicolas Goaziou
2015-02-24 22:49               ` 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=87y4nnq60y.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).