From: S S <super.quazimodo@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
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: Thu, 30 May 2013 12:20:53 +1000 [thread overview]
Message-ID: <CAKnJoB5GWYz_=WXfG2UfqPYayntwTaYzCRcFVtrnh7_YAB0D7A@mail.gmail.com> (raw)
In-Reply-To: <CAKnJoB6rHJ6-m4b-QOKXJw_8o-tQJLEmNHY_G=xPe0VQMJS7rQ@mail.gmail.com>
On Thu, May 30, 2013 at 11:16 AM, S S <super.quazimodo@gmail.com> wrote:
> On Thu, May 30, 2013 at 7:36 AM, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
>> S S <super.quazimodo@gmail.com> 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.
> After fixing up begin_code to begin_src I see that you are right,
> working fine with
> 7.8.11 and no init.el
>>
>>> 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.
> Correct, it was late and I made a mistake, should have put #+BEGIN_SRC.
>>
>>> Do you need more?
>>
>> What happens if you eval (org-element-at-point) with point on the faulty
>> #+begin_example line?
> It returns
> (special-block
> (:type "EXAMPLE\n" :begin 8 :end 178 :hiddenp nil :contents-begin 69
> :contents-end 157 :post-blank 2 :post-affiliated 48 :attr_html
> (":textarea t :width 40")
> :parent nil))
>>
>> Also, what's the value for `org-element-block-name-alist'?
>>
> org-element-block-name-alist is
> (("CENTER" . org-element-center-block-parser)
> ("COMMENT" . org-element-comment-block-parser)
> ("EXAMPLE" . org-element-example-block-parser)
> ("QUOTE" . org-element-quote-block-parser)
> ("SRC" . org-element-src-block-parser)
> ("VERSE" . org-element-verse-block-parser))
>
> Everything looks fine doesn't it...
>>
>> Regards,
>>
>> --
>> Nicolas Goaziou
> I'll remove 8.0.3 and go back to 7.8.11, to see if my init is causing issues and
> update you later today.
Done, everything works fine, I'm starting to think that this is an
issue with the way
that I installed org-mode. Actually I followed
http://orgmode.org/org.html#Installation
using the git method exactly.
Finally, if I reinstall it org-version sends the following message,
which I thought means
that it is correctly installed and using new files only.
Org-mode version 8.0.3 (release_8.0.3-165-g60ca9e @
/home/quazimodo/.emacs.d/vendor/org-mode/lisp/)
next prev parent reply other threads:[~2013-05-30 2:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 18:59 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/)] S.S
2013-05-29 19:10 ` Nicolas Goaziou
[not found] ` <CAKnJoB5cg-7m0qyh2nun5ANMxg=d9tukTrXEg2d8Oo-fXZDWuw@mail.gmail.com>
[not found] ` <871u8ph9r5.fsf@gmail.com>
2013-05-29 19:45 ` S S
2013-05-29 21:36 ` Nicolas Goaziou
2013-05-30 1:16 ` S S
2013-05-30 2:20 ` S S [this message]
2013-05-30 6:34 ` S S
2013-05-30 7:38 ` Nicolas Goaziou
-- strict thread matches above, loose matches on Subject: below --
2013-05-29 18:15 S.S
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKnJoB5GWYz_=WXfG2UfqPYayntwTaYzCRcFVtrnh7_YAB0D7A@mail.gmail.com' \
--to=super.quazimodo@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=n.goaziou@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).