From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Re: LaTeX export of images Date: Fri, 02 Oct 2009 10:04:59 -0300 Message-ID: <4ac5fa81.47c2f10a.45ee.0746@mx.google.com> References: <87pr9jf68i.fsf@missioncriticalit.com> <87d45hoizp.fsf@mundaneum.com> <878wg5mkq1.fsf@mundaneum.com> <0782250F-567A-4B4A-82D5-EE1EF8FE65A7@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mthou-0002Vn-09 for emacs-orgmode@gnu.org; Fri, 02 Oct 2009 09:05:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mthop-0002SJ-AO for emacs-orgmode@gnu.org; Fri, 02 Oct 2009 09:05:11 -0400 Received: from [199.232.76.173] (port=51959 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mthop-0002S8-5R for emacs-orgmode@gnu.org; Fri, 02 Oct 2009 09:05:07 -0400 Received: from mail-qy0-f196.google.com ([209.85.221.196]:56577) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mthoo-0005Fi-I4 for emacs-orgmode@gnu.org; Fri, 02 Oct 2009 09:05:06 -0400 Received: by qyk34 with SMTP id 34so843261qyk.14 for ; Fri, 02 Oct 2009 06:05:06 -0700 (PDT) In-Reply-To: <0782250F-567A-4B4A-82D5-EE1EF8FE65A7@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: =?UTF-8?B?U8OpYmFzdGllbg==?= Vauban , emacs-orgmode@gnu.org At Fri, 2 Oct 2009 08:55:22 +0200, Carsten Dominik wrote: > > > On Sep 23, 2009, at 11:09 PM, Sébastien Vauban wrote: > > > Jeff Kowalczyk wrote: > >> Sébastien Vauban writes: > >>> Francesco Pizzolante wrote: > >>>> In this case, we should just generate \includegraphics{myimage} > >>>> without > >>>> the centerline command. > >>> > >>> Given the output of the `\centerline' command, I guess that the > >>> inlining of > >>> an image inside a line of text is not supported as is by Org. I > >>> can second > >>> such a choice. > >> > >> +1 for default to inline graphics. When using Org for How-To and > >> project > >> documentation delivered as PDF, floating screenshot-size images > >> typically > >> situate far from the descriptive text. > > > > My point was mainly that, IMHO, floating or not should not be tied > > to the > > presence or absence of caption/label. > > I don't understand why not. Can you try to explain again? > > Thanks. > > - Carsten > > > > > > Your problem with screenshots far away should be solved by putting > > the H > > specifier to the float environment and loading the `float' package. > > Maybe we need a way to specify the figure placement argument in # > +LaTeX_ATTR: > > Do we need to implement a way so that text can be made to flow around > a figure, just as it is possible in HTML export? What would be the > right LaTeX package to use for this purpose? > > Thanks. > > - Carsten > > > > > > > >> I would prefer inline images by default (or option), and a file/ > >> subtree > >> level option to use LaTeX floating layout. > > > > That'd be a great way to be able to specify which type of "inlining" > > we want. > > On a per file basis seems sufficient for me. > > > > Best regards, > > Seb > > > > -- > > Sébastien Vauban > > > > > > > > _______________________________________________ > > Emacs-orgmode mailing list > > Remember: use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode The Latex wikibook http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions#Wrapping_text_around_figures suggests the wrapfigure package, but it also warns that some manual adjustments is often required. Therefore, if this is implemented in the latex exporter it is probably a good idea to provide options to include latex commands that will be put before and after the \includegraphics command. See the example in the section "Tip for figures with too much white space" of the wikibook where some \vspace were used to adjust white space around the figure. -- Darlan Cavalcante Moreira darcamo@gmail.com