* Options for into exporting both LaTeX and HTML
@ 2011-05-16 8:54 ishi soichi
2011-05-16 19:07 ` Thomas S. Dye
0 siblings, 1 reply; 3+ messages in thread
From: ishi soichi @ 2011-05-16 8:54 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 582 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 910 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Options for into exporting both LaTeX and HTML
2011-05-16 8:54 Options for into exporting both LaTeX and HTML ishi soichi
@ 2011-05-16 19:07 ` Thomas S. Dye
2011-05-16 23:38 ` ishi soichi
0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2011-05-16 19:07 UTC (permalink / raw)
To: ishi soichi; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Options for into exporting both LaTeX and HTML
2011-05-16 19:07 ` Thomas S. Dye
@ 2011-05-16 23:38 ` ishi soichi
0 siblings, 0 replies; 3+ messages in thread
From: ishi soichi @ 2011-05-16 23:38 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1613 bytes --]
Thanks! It did solve the problem.
soichi
2011/5/17 Thomas S. Dye <tsd@tsdye.com>
> 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
>
[-- Attachment #2: Type: text/html, Size: 2382 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-16 23:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-16 8:54 Options for into exporting both LaTeX and HTML ishi soichi
2011-05-16 19:07 ` Thomas S. Dye
2011-05-16 23:38 ` ishi soichi
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).