From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: unfrostedpoptart Newsgroups: gmane.emacs.help Subject: Alignment of HTML export in org-mode with babel/ditaa-generated image Date: Mon, 25 Nov 2013 12:36:34 -0800 (PST) Message-ID: <64727468-71f6-4bc6-b919-6cf035a30bd3@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1385412020 10255 80.91.229.3 (25 Nov 2013 20:40:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 20:40:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 25 21:40:25 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 1Vl2xF-0002BI-2m for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Nov 2013 21:40:25 +0100 Original-Received: from localhost ([::1]:54935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl2xE-0007r8-5G for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Nov 2013 15:40:24 -0500 X-Received: by 10.58.198.116 with SMTP id jb20mr9372174vec.4.1385411795383; Mon, 25 Nov 2013 12:36:35 -0800 (PST) X-Received: by 10.50.2.74 with SMTP id 10mr358349igs.15.1385411795332; Mon, 25 Nov 2013 12:36:35 -0800 (PST) Original-Path: usenet.stanford.edu!i2no5802612qav.0!news-out.google.com!9ni2879qaf.0!nntp.google.com!dz2no5801250qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=198.70.193.19; posting-account=S61AnQkAAADt4_PSYpI-Tm-z1E4cd7xa Original-NNTP-Posting-Host: 198.70.193.19 User-Agent: G2/1.0 Injection-Date: Mon, 25 Nov 2013 20:36:35 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:202356 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:94624 Archived-At: 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. 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? Thanks, David