Re: [Orgmode] adding a style to individual images

2011-02-28 Thread soichi i
It did work as I wished!  Thanks!

soichi

2011/2/28 Aankhen aank...@gmail.com:
 On Mon, Feb 28, 2011 at 12:00, ishi soichi soichi...@gmail.com wrote:
 My org is 7.01 and Emacs23.2
 #+ATTR_HTML: alt=apples image title=How many? align=right
 width=100px
 [[images/apples6.jpeg]]
 produced this.
 a href=#sec-1_1alt=apples image title=How many? align=right
 width=100pximg src=images/apples6.jpeg//a

 Try changing that to ‘[[./images/apples6.jpeg]]’ (add ./ to the
 beginning).  Not sure what else it might be—my Org experience is still
 in a nascent stage.

 By the way, the ‘width’ attribute already uses pixels for its units,
 so ‘width=100’ would be enough.

 Aankhen


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] adding a style to individual images

2011-02-27 Thread ishi soichi
Hi.  I would like to specify the widths and heights of images inserted in
org-file, which will be exported as html.

There are several images in the original org-file, and each of those needs
to be shown differently.
So I tried putting

#+ATTR_HTML: alt=... width=100px
[[imageURL]]

But it does not do anything.

Changing

Could anyone help me out?

soichi
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] adding a style to individual images

2011-02-27 Thread Aankhen
Hi soichi,

On Mon, Feb 28, 2011 at 06:26, ishi soichi soichi...@gmail.com wrote:
 So I tried putting
 #+ATTR_HTML: alt=... width=100px
 [[imageURL]]
 But it does not do anything.
 Changing
 Could anyone help me out?

With Org from git (2–3 days old) on Emacs 24, given this text in my Org file:

 ,
 | #+ATTR_HTML: alt=Gogola! width=100
 | [[./Gogola.gif]]
 `

I get this in the exported version:

 ,
 | img src=./Gogola.gif alt=Gogola! width=100 /
 `

Which versions of Emacs  Org are you using?  Could you give an
example of the text in your Org file and the resultant HTML?

Aankhen

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] adding a style to individual images

2011-02-27 Thread ishi soichi
My org is 7.01 and Emacs23.2

#+ATTR_HTML: alt=apples image title=How many? align=right
width=100px
[[images/apples6.jpeg]]

produced this.

a href=#sec-1_1alt=apples image title=How many? align=right
width=100pximg src=images/apples6.jpeg//a

soichi



2011/2/28 Aankhen aank...@gmail.com

 Hi soichi,

 On Mon, Feb 28, 2011 at 06:26, ishi soichi soichi...@gmail.com wrote:
  So I tried putting
  #+ATTR_HTML: alt=... width=100px
  [[imageURL]]
  But it does not do anything.
  Changing
  Could anyone help me out?

 With Org from git (2–3 days old) on Emacs 24, given this text in my Org
 file:

  ,
  | #+ATTR_HTML: alt=Gogola! width=100
  | [[./Gogola.gif]]
  `

 I get this in the exported version:

  ,
  | img src=./Gogola.gif alt=Gogola! width=100 /
  `

 Which versions of Emacs  Org are you using?  Could you give an
 example of the text in your Org file and the resultant HTML?

 Aankhen

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] adding a style to individual images

2011-02-27 Thread Aankhen
On Mon, Feb 28, 2011 at 12:00, ishi soichi soichi...@gmail.com wrote:
 My org is 7.01 and Emacs23.2
 #+ATTR_HTML: alt=apples image title=How many? align=right
 width=100px
 [[images/apples6.jpeg]]
 produced this.
 a href=#sec-1_1alt=apples image title=How many? align=right
 width=100pximg src=images/apples6.jpeg//a

Try changing that to ‘[[./images/apples6.jpeg]]’ (add ./ to the
beginning).  Not sure what else it might be—my Org experience is still
in a nascent stage.

By the way, the ‘width’ attribute already uses pixels for its units,
so ‘width=100’ would be enough.

Aankhen

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] adding a style to individual images

2011-02-27 Thread Aankhen
On Mon, Feb 28, 2011 at 12:00, ishi soichi soichi...@gmail.com wrote:
 My org is 7.01 and Emacs23.2

You might also want to try a newer version.  If you don’t want to use
the development version, you should probably at least upgrade to 7.4
(the most recent release).  See http://orgmode.org/index.html#sec-3
for more.

Aankhen

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode