From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Literal Examples are malformed in exports (to html/tex) [8.0.3 (release_8.0.3-165-g60ca9e @ /home/quazimodo/.emacs.d/vendor/org-mode/lisp/)] Date: Wed, 29 May 2013 23:36:36 +0200 Message-ID: <87wqqhfoyj.fsf@gmail.com> References: <87d2s9629y.fsf@gmail.com> <8761y1hab7.fsf@gmail.com> <871u8ph9r5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uho2v-0006TA-JT for emacs-orgmode@gnu.org; Wed, 29 May 2013 17:36:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uho2q-0002oO-Og for emacs-orgmode@gnu.org; Wed, 29 May 2013 17:36:37 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:43181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uho2q-0002oE-FB for emacs-orgmode@gnu.org; Wed, 29 May 2013 17:36:32 -0400 Received: by mail-wg0-f43.google.com with SMTP id x12so4618687wgg.22 for ; Wed, 29 May 2013 14:36:31 -0700 (PDT) In-Reply-To: (S. S.'s message of "Thu, 30 May 2013 05:45:18 +1000") 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: S S Cc: emacs-orgmode@gnu.org S S writes: > I've added test.org and test_no_init.org along with their html exports plus > my init.el > to a gist. > > https://gist.github.com/quazimodo/9055aca6167df1398c94 > > The init.el is long but you'll see from a fast skim there's nothing unusual > there. Indeed. But I suspect something wrong in your config: your example exports correctly here. > 7.8.11 is used with emacs -q and that seems to export the example blocks > properly, > doesn't seem to know what to do with code blocks though. Constructs like #+begin_code are called "special blocks". They are not meant to be used for source code. Use #+begin_src instead. > Do you need more? What happens if you eval (org-element-at-point) with point on the faulty #+begin_example line? Also, what's the value for `org-element-block-name-alist'? Regards, -- Nicolas Goaziou