From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?Ik1hcnRpbiBHLiBTa2rDpnZlbGFuZCI=?= Subject: [babel] bug, exporting scrname source blocks html Date: Wed, 03 Feb 2010 10:55:12 +0100 Message-ID: <4B694800.8000608@ifi.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcbvB-0004yJ-9P for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 04:53:17 -0500 Received: from [199.232.76.173] (port=56407 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcbvA-0004xU-9T for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 04:53:16 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ncbv8-0004lf-3i for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 04:53:15 -0500 Received: from mail-out1.uio.no ([129.240.10.57]:55461) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ncbv7-0004l3-Gk for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 04:53:13 -0500 Received: from mail-mx5.uio.no ([129.240.10.46]) by mail-out1.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1Ncbv4-0000PF-AD for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 10:53:10 +0100 Received: from 1x-193-157-204-137.uio.no ([193.157.204.137]) by mail-mx5.uio.no with esmtpsa (TLSv1:AES256-SHA:256) user martige (Exim 4.69) (envelope-from ) id 1Ncbv3-0008IT-QI for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 10:53:10 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, when I export the following to html -------------------------------------start * test #+srcname: test1 #+begin_src n3 -n subject predicate object #+end_src #+begin_src n3 -n subject predicate object #+end_src -------------------------------------end the two source blocks are exported as (spacing removed) -------------------------------------start

A

1:
2:  subject predicate object

B

1:  subject 
predicate object
-------------------------------------end which in a browser looks like -------------------------------------start A test1 ≡ 1: 2: subject predicate object B 1: subject predicate object -------------------------------------end In my opinion it should be exported to look like this -------------------------------------start A 1: subject predicate object B 1: subject predicate object -------------------------------------end Thanks! Martin ------------------------------------------------------------------------ Emacs : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0) of 2009-09-27 on palmer, modified by Debian Package: Org-mode version 6.34trans (release_6.34c.40.g2cd16.dirty) current state: ============== (setq org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-interpreters '("makefile" "tex" "n3" "xml" "java" "python" "dot" "css" "sh" "emacs-lisp") org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-src-preserve-indentation t org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-latex-classes '(("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ) org-publish-project-alist '(("vortex" :base-directory "~/exercises/" :publishing-directory "~/exercises/" :base-extension "org" :publishing-function org-publish-org-to-html :preamble "${resource:breadcrumb}" :skip-before-1st-heading nil) ) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-use-speed-commands t org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local)) ) org-babel-result-hide-spec org-babel-hide-all-hashes #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] ) org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash-at-point org-babel-execute-src-block-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-occur-hook '(org-first-headline-recenter) org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) )