From mboxrd@z Thu Jan 1 00:00:00 1970 From: alban bernard Subject: resize multiple image within a row or paragraph Date: Thu, 18 Sep 2014 16:13:38 +0100 Message-ID: <1411053218.81009.YahooMailNeo@web172803.mail.ir2.yahoo.com> Reply-To: alban bernard Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="-510768873-2071235824-1411053218=:81009" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUdP6-0001Xe-4N for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 11:13:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUdOz-0005Gd-8N for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 11:13:52 -0400 Received: from nm14-vm7.bullet.mail.ir2.yahoo.com ([212.82.96.195]:32991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUdOy-0005G2-T2 for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 11:13:45 -0400 References: 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: "emacs-orgmode@gnu.org" ---510768873-2071235824-1411053218=:81009 Content-Type: text/plain; charset=us-ascii Hi Folks, My wife and I use the marvelous org-mode to design a complete set of student courses. These courses are first written in org-mode then exported to html to ease distribution to students (and save some paper). We wonder what is the correct way to resize multiple images those links are within a single paragraph: "This is a phrase with [[./image1.png]] and [[./image2.png]] inline images." With the following, the only first image is resized (as expected): #+ATTR_HTML: :width 50% This is a phrase with [[./image1.png]] and [[./image2.png]] inline images. The tutorial about caption in a row shows what is possible while working only with images http://orgmode.org/worg/org-tutorials/images-and-xhtml-export.html#sec-5-2: #+HTML_HEAD: #+CAPTION: #+ATTR_HTML: :width 10% [[./image1.png]] #+CAPTION: #+ATTR_HTML: :width 10% [[./image2.png]] Here, image1 and image2 are displayed and resized in a single row. But we don't know how to mix text within this block so that all is displayed as a single paragraph with resized images. I tested all of this with the following version combos: Debian Jessie/Emacs 24.3.1/Orgmode 8.2.5h-1 (debian) Debian Jessie/Emacs 24.3.1/Orgmode latest git Thanks for any hint that could help. ~Alban. PS: the "Show the source" button of http://orgmode.org/worg/org-tutorials/images-and-xhtml-export.html redirects to: http://orgmode.org/worg/org-tutorials/images-and-xorg.html-export.org.html rather than: http://orgmode.org/worg/org-tutorials/images-and-xhtml-export.org.html ---510768873-2071235824-1411053218=:81009 Content-Type: text/html; charset=us-ascii
Hi Folks,

My wife and I use the marvelous org-mode to design a complete set
of student courses. These courses are first written in org-mode then
exported to html to ease distribution to students (and save some paper).

We wonder what is the correct way to resize multiple images those links
are within a single paragraph:

"This is a phrase with [[./image1.png]] and [[./image2.png]] inline images."
 
With the following, the only first image is resized (as expected):

 #+ATTR_HTML: :width 50%
 This is a phrase with [[./image1.png]] and [[./image2.png]] inline images.
&n bsp;
The tutorial about caption in a row shows what is possible while working
only with images
http://orgmode.org/worg/org-tutorials/images-and-xhtml-export.html#sec-5-2:

 #+HTML_HEAD: <style type="text/css">
 #+HTML_HEAD:<!--/*--><![CDATA[/*><!--*/
 #+HTML_HEAD: div.figure { float:left; }
 #+HTML_HEAD: /*]]>*/-->
 #+HTML_HEAD: </style>

 #+CAPTION:
 #+ATTR_HTML: :width 10%
 [[./image1.png]]
 #+CAPTION:
 #+ATTR_HTML: :width 10%
 [[./image2.png]]

Here, image1 and image2 are displayed and resized in a single row.
But we don't know how to mix text within this block so that all is
displayed as a single paragraph with resized images.

I tested all of this with the following version combos:
Debian Jessie/Emacs 24.3.1/ Orgmode 8.2.5h-1 (debian)
Debian Jessie/Emacs 24.3.1/Orgmode latest git

Thanks for any hint that could help.

~Alban.

PS: the "Show the source" button of http://orgmode.org/worg/org-tutorials/images-and-xhtml-export.html
redirects to:
http://orgmode.org/worg/org-tutorials/images-and-xorg.html-export.org.html
rather than:
http://orgmode.org/worg/org-tutorials/images-and-xhtml-export.org.html

---510768873-2071235824-1411053218=:81009--