From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Witte Subject: Section of Org manual on images in latex export Date: Tue, 17 Jun 2014 16:35:39 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11381400c6b4b704fc090e5b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwuUG-0001r1-PD for emacs-orgmode@gnu.org; Tue, 17 Jun 2014 10:35:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwuUA-0004iG-1u for emacs-orgmode@gnu.org; Tue, 17 Jun 2014 10:35:48 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:47047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwuU9-0004i9-N3 for emacs-orgmode@gnu.org; Tue, 17 Jun 2014 10:35:41 -0400 Received: by mail-pb0-f41.google.com with SMTP id ma3so5793519pbc.0 for ; Tue, 17 Jun 2014 07:35:39 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --001a11381400c6b4b704fc090e5b Content-Type: text/plain; charset=UTF-8 Hi all, After quite a bit of mucking around and finally resorting to checking the source code, I worked out how to wrap an image in a figure environment without a caption. The final solution #+ATTR_LATEX: :float figure was trivial, but the manual wasn't too helpful on this particular subject. So others don't have to go through the same troubles I think the manual could be slightly reworded. In the section "Images in Latex export" http://orgmode.org/manual/LaTeX-specific-attributes.html#LaTeX-specific-attributes I think the following sentence: "You can also ask Org to export an image as a float without specifying caption by setting the :float attribute." should be change to: "You can also ask Org to export an image as a float without specifying a caption by setting the :float attribute *to figure*." Also a summary of the the attributes and their valid values, as is done for Latex tables would be useful. Cheers, Chris. ps. I tried to find out if I could make those changes myself, but after much clicking and searching, I could only find: http://orgmode.org/worg/org-contribute.html but that doesn't say anything about contributing to the documentation. --001a11381400c6b4b704fc090e5b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi all,

After quite a bit of mucking around and f= inally resorting to checking the source code, I worked out how to wrap an i= mage in a figure environment without a caption.=C2=A0 The final solution

#+ATTR_LATEX: :float figure

was trivial, but the manual wasn'= t too helpful on this particular subject.

So others don't hav= e to go through the same troubles I think the manual could be slightly rewo= rded. In the section "Images in Latex export" http://orgmode.org/manual/LaTeX-specific-attributes.html= #LaTeX-specific-attributes I think the following sentence:

"You can also ask Org to export an image as a float without specifying caption by setting the :float attribute.&qu= ot;

should be change to:

"You can also ask Org to export a= n image as a float without specifying a caption by setting the :float attribute <= b>to figure."

Also a summary of the the attribu= tes and their valid values, as is done for Latex tables would be useful.


Cheers,

Chris.

ps. I tried to find out if I could m= ake those changes myself, but after much clicking and searching, I could on= ly find: http://orgmode.org/worg/org-contribute.html but that doesn'= t say anything about contributing to the documentation.
--001a11381400c6b4b704fc090e5b-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Section of Org manual on images in latex export Date: Tue, 17 Jun 2014 11:25:30 -0400 Message-ID: <878uovwob9.fsf@alphaville.bos.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwvGm-00058l-BH for emacs-orgmode@gnu.org; Tue, 17 Jun 2014 11:26:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwvGf-00076T-9W for emacs-orgmode@gnu.org; Tue, 17 Jun 2014 11:25:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:44124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwvGe-00076K-Kj for emacs-orgmode@gnu.org; Tue, 17 Jun 2014 11:25:48 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WwvGZ-0008Ni-3d for emacs-orgmode@gnu.org; Tue, 17 Jun 2014 17:25:43 +0200 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jun 2014 17:25:43 +0200 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jun 2014 17:25:43 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Christopher Witte writes: > ps. I tried to find out if I could make those changes myself, but > after much clicking and searching, I could only find: > http://orgmode.org/worg/org-contribute.html but that doesn't say > anything about contributing to the documentation. Even so, it does apply to the documentation as well. Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Section of Org manual on images in latex export Date: Thu, 19 Jun 2014 00:20:12 +0200 Message-ID: <87egylvp0j.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxOCl-00035f-HJ for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 18:19:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxOCd-0002kn-1B for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 18:19:43 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:60312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxOCc-0002kF-RC for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 18:19:34 -0400 In-Reply-To: (Christopher Witte's message of "Tue, 17 Jun 2014 16:35:39 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christopher Witte Cc: Org Mode Hello, Christopher Witte writes: > After quite a bit of mucking around and finally resorting to checking the > source code, I worked out how to wrap an image in a figure environment > without a caption. The final solution > > #+ATTR_LATEX: :float figure Actually, it is #+ATTR_LATEX: :float t > was trivial, but the manual wasn't too helpful on this particular > subject. According to the manual, the first described value for :float is: =E2=88=92 =E2=80=98t=E2=80=99: if you want to use the standard =E2=80= =98figure=E2=80=99 environment. It is used by default if you provide a caption to the image. > "You can also ask Org to export an image as a float without specifying > caption by setting the :float attribute." > > should be change to: > > "You can also ask Org to export an image as a float without specifying a > caption by setting the :float attribute *to figure*." That's not quite true. It can be anything but nil, depending on what you want (e.g., :float wrap). > Also a summary of the the attributes and their valid values, as is done f= or > Latex tables would be useful. Patches welcome. Regards, --=20 Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Witte Subject: Re: Section of Org manual on images in latex export Date: Thu, 19 Jun 2014 11:23:24 +0200 Message-ID: References: <87egylvp0j.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b86ee18c21e1e04fc2cedc9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxYZ9-0000E9-Nb for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 05:23:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxYZ4-0004NP-Q1 for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 05:23:31 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:47495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxYZ4-0004MQ-Km for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 05:23:26 -0400 Received: by mail-pa0-f52.google.com with SMTP id eu11so1711198pac.25 for ; Thu, 19 Jun 2014 02:23:24 -0700 (PDT) In-Reply-To: <87egylvp0j.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christopher Witte , Org Mode --047d7b86ee18c21e1e04fc2cedc9 Content-Type: text/plain; charset=UTF-8 On 19 June 2014 00:20, Nicolas Goaziou wrote: > > Actually, it is > > #+ATTR_LATEX: :float t > > hmmm, I'm sure I tried that and it didn't work, but I just tested it again and now it is working. I'm not sure what I did wrong before. Thanks for clarifying that for me. Cheers Chris. --047d7b86ee18c21e1e04fc2cedc9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 1= 9 June 2014 00:20, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

Actually, it is

=C2=A0 #+ATTR_LATEX: :float t


hmmm, I'm sure I tried that and it didn't work, but I just tested = it again and now it is working. I'm not sure what I did wrong before.
Thanks for clarifying that for me.
=
Cheers
Chris.
--047d7b86ee18c21e1e04fc2cedc9-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Section of Org manual on images in latex export Date: Wed, 25 Jun 2014 11:23:55 +0200 Message-ID: <87ha39jqac.fsf@bzg.ath.cx> References: <878uovwob9.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzjR4-0001mT-FC for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 05:24:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzjQu-0003Tv-9C for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 05:24:10 -0400 Received: from mail-s76.mailgun.info ([184.173.153.204]:33306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzjQu-0003Tm-6D for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 05:24:00 -0400 In-Reply-To: <878uovwob9.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Tue, 17 Jun 2014 11:25:30 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org Hi Christopher, Nick Dokos writes: > Christopher Witte writes: > >> ps. I tried to find out if I could make those changes myself, but >> after much clicking and searching, I could only find: >> http://orgmode.org/worg/org-contribute.html but that doesn't say >> anything about contributing to the documentation. > > Even so, it does apply to the documentation as well. Yes, exactly. The basic workflow is pretty simple. C-x C-f ~/org-from-git/doc/org.texi RET [hack hack hack] C-x v = C-x s enhance-documentation-for-x.patch then send the patch to the list. Other workflows (with git-format-patch) are preferred but this is the simplest one. Thanks in advance for the patch! -- Bastien