emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: ishi soichi <soichi777@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Options for into exporting both LaTeX and HTML
Date: Mon, 16 May 2011 09:07:10 -1000	[thread overview]
Message-ID: <m1zkmmh3c1.fsf@tsdye.com> (raw)
In-Reply-To: <BANLkTi=VC4HP-6ueyNWY2Tfk=T0UZFEazA@mail.gmail.com> (ishi soichi's message of "Mon, 16 May 2011 17:54:37 +0900")

Aloha ishi soichi,

LaTeX probably wants a unit of measure, something like this

#+ATTR_LaTeX: width=200mm

Does this solve your problem?

Tom

ishi soichi <soichi777@gmail.com> 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="apples image" title="How many?" align="right" width="200"
> #+ATTR_LaTeX: width=200
> [[./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 and HTML.In order to do so, it is important to add appropriate options for both.
> #+ATTR_HTML: alt="apples image" title="How many?" align="right" width="200"#+ATTR_LaTeX: width=200[[./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

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2011-05-16 19:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-16  8:54 Options for into exporting both LaTeX and HTML ishi soichi
2011-05-16 19:07 ` Thomas S. Dye [this message]
2011-05-16 23:38   ` ishi soichi

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=m1zkmmh3c1.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=soichi777@gmail.com \
    /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).