From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ox-latex] Bad default value for image width? Date: Tue, 09 Apr 2013 23:08:51 +0200 Message-ID: <87a9p79zto.fsf@gmail.com> References: <87haji85a7.fsf@pank.iue.private> <87ehekyfwa.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPfmj-0003Ru-Eb for emacs-orgmode@gnu.org; Tue, 09 Apr 2013 17:08:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPfmi-0006cI-3g for emacs-orgmode@gnu.org; Tue, 09 Apr 2013 17:08:57 -0400 In-Reply-To: <87ehekyfwa.fsf@bzg.ath.cx> (Bastien's message of "Mon, 08 Apr 2013 21:35:33 +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: Bastien Cc: emacs-orgmode@gnu.org, Rasmus Hello, Bastien writes: > Rasmus writes: > >> And I can't seem to set width to nothing. . . > > The attached patch should fix at least one problem: you should be > able to set the width manually now. > > As for the default value of `org-latex-image-default-width' I tend > to agree, but maybe there are side-effects when setting this to nil. > > Nicolas, what do you think? `org-latex-image-default-width' has a good default value because it will make sure that all images fit on the page, no matter their size. I personally set it to "", but I wouldn't recommend it as a default value. As for the patch, I doubt it has any impact, since (cond ((a))) is equivalent to (cond ((a a))). Regards, -- Nicolas Goaziou