From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: Alignment of HTML export in org-mode with babel/ditaa-generated image Date: Tue, 26 Nov 2013 02:15:44 +0530 Message-ID: <87pppogqh3.fsf@gmail.com> References: <64727468-71f6-4bc6-b919-6cf035a30bd3@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385412609 17176 80.91.229.3 (25 Nov 2013 20:50:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 20:50:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: unfrostedpoptart Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 25 21:50:16 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vl36l-0006bB-MZ for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Nov 2013 21:50:15 +0100 Original-Received: from localhost ([::1]:54971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl36l-00048i-Bu for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Nov 2013 15:50:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl36W-00046t-UT for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 15:50:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vl36S-0003r1-Ij for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 15:50:00 -0500 Original-Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]:40114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl36S-0003qw-BV for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 15:49:56 -0500 Original-Received: by mail-pd0-f178.google.com with SMTP id y10so6254965pdj.37 for ; Mon, 25 Nov 2013 12:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=cEyaKGBqCNnKPAD6HZsgGz0fE20FvsE+TZDu/qBY4uA=; b=cVUtL20iwkMIwQxh/Gg4xB9fprCphuqscHgaz7x7IsID0544knIj56D42D4hYMj9KA Uo5G8VpAlHUEu0JTYpP8QN1GrR5MkjcprcQP822KjPWVqHPyIdk+jg4ISvrzzsab90ny L0U3jrZop1/jRXYUQvSxdiWtjt/JaWDMG0Kf+dmk68WreQJ7Wu0nj5MWaLowwemDpVSv +hvlr/1VDbC03ShkV/JuytM55VzzY3dPQ9IldV048kPEAnKuRZx2kFhW1KaCG+uEnQJa qowx4w2VLn561nfrxZzcBoQn9IVoTYTnIoe/8thKyuUCmGBYP1dkoz/Nc7mZ90jdvJXm Mcgw== X-Received: by 10.68.218.165 with SMTP id ph5mr28893410pbc.11.1385412595264; Mon, 25 Nov 2013 12:49:55 -0800 (PST) Original-Received: from debian-6.05 ([115.242.195.187]) by mx.google.com with ESMTPSA id ef10sm85382514pac.1.2013.11.25.12.49.52 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 25 Nov 2013 12:49:54 -0800 (PST) In-Reply-To: <64727468-71f6-4bc6-b919-6cf035a30bd3@googlegroups.com> (unfrostedpoptart's message of "Mon, 25 Nov 2013 12:36:34 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94628 Archived-At: Orgmode has it's own list. http://lists.gnu.org/archive/html/emacs-orgmode/ Look at the documents in http://orgmode.org/worg/ Starting with sitemap is a good idea. There is a "Show Org source" link which will show you the Org markup for the HTML page. I have a feeling that you need to spend some time looking at sample Org files or the manual. unfrostedpoptart writes: > There's way too much going on here for me to follow with my limited > knowledge of babel, ditaa, and org-mode export. > > I created a block diagram in a babel source block in my org-mode > document. I then export as HMTL. babel runs java on the code which > create a png file. Then the HTML file is created, which references and > displays this png image. So far, so good. > > However, the image is always centered in the HTML. I want it > left-aligned but can't figure out who I tell (html export?) and where > I put it so get this passed into the HTML. M-x customize-group org-export-html Search for css or style. > Any pointers? > > Also, how do I get babel not to ask me every single time I export to > HTML if it's OK to run the java code? M-x customize-group org-babel. Search for custom. > Thanks, > > David