From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Options for into exporting both LaTeX and HTML Date: Mon, 16 May 2011 09:07:10 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QM38b-0003ht-UE for emacs-orgmode@gnu.org; Mon, 16 May 2011 15:07:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QM38a-0002db-MK for emacs-orgmode@gnu.org; Mon, 16 May 2011 15:07:29 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:49726) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QM38a-0002dK-DC for emacs-orgmode@gnu.org; Mon, 16 May 2011 15:07:28 -0400 In-Reply-To: (ishi soichi's message of "Mon, 16 May 2011 17:54:37 +0900") 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: ishi soichi Cc: emacs-orgmode@gnu.org Aloha ishi soichi, LaTeX probably wants a unit of measure, something like this #+ATTR_LaTeX: width=3D200mm Does this solve your problem? Tom ishi soichi writes: > emacs23.2 > org-mode 7.4 > > I would like to export an org file into both LaTeX and HTML. > In order to do so, it is important to add appropriate options for both. > > #+ATTR_HTML: alt=3D"apples image" title=3D"How many?" align=3D"right" wid= th=3D"200" > #+ATTR_LaTeX: width=3D200 > [[./images/apples.jpg]] > > > The HTML export gives an outcome as I desire. But this does not seem to > work well for LaTeX export. I want to show the image in TeX as similarly= as > HTML. > > First of all, can I simply list the options like this? Should I wrap them > like... > > #+Begin_... > > #+End_... > > ? > > Thank you in advance. > > soichi > emacs23.2org-mode 7.4I would like to export an org file into both LaTeX a= nd HTML.In order to do so, it is important to add appropriate options for b= oth. > #+ATTR_HTML: alt=3D"apples image" title=3D"How many?" align=3D"right" wid= th=3D"200"#+ATTR_LaTeX: width=3D200[[./images/apples.jpg]] > The HTML export gives an outcome as I desire. =C2=A0But=C2=A0this does no= t seem to work well for LaTeX export. =C2=A0I want to show the image in TeX= as similarly as HTML.First of all, can I simply list the options like this= ? =C2=A0Should I wrap them like... > #+Begin_...#+End_...?Thank you in advance.soichi --=20 Thomas S. Dye http://www.tsdye.com