emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Strange newline characters in org-export-as-html


From: Nick Dokos
Subject: Re: [O] Strange newline characters in org-export-as-html
Date: Mon, 10 Mar 2014 01:14:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Grant Rettke <address@hidden> writes:

> This is the simplest example:
>
> #+BEGIN_SRC emacs-lisp
> (message "Hello, world.")
> #+END_SRC
>

This  gives me:

<pre class="src src-emacs-lisp">(message <span style="color: #ffa07a;">"Hello, 
world."</span>)
</pre>

so it's probably some setting of yours. Try with emacs -q and a minimal
.emacs file perhaps?

> On Sun, Mar 9, 2014 at 11:09 PM, Grant Rettke <address@hidden> wrote:
>> Hi,
>>
>> Org version 7.9.3f with Emacs version 24. Running org-export-as-html.
>> Have these options:
>>
>> #+TITLE: Creation and conservation of computer files (C3F)
>> #+AUTHOR: Grant Rettke
>> #+EMAIL: address@hidden
>> #+DESCRIPTION: A literate programming style exposition of my Emacs 
>> configuration
>> #+KEYWORDS: Literate Programming, Reproducible Research, Programming
>> Language, Lisp, Elisp, IDE, Emacs, Babel, org-mode
>> #+LANGUAGE: en
>>
>> Just noticed tonight that in my exported source blocks, mostly
>> emacs-lisp, wherever there is a newline in the code, I get the
>> following
>> sequence exported for example this:
>>
>>   (setq auto-mode-alist
>>         (append
>>          '(("\\.scm\\'" . scheme-mode)
>>
>> becomes
>>
>> <pre class="src src-emacs-lisp">(setq auto-mode-alist&#57344;&#57345;&#57345;
>>       (append&#57344;&#57345;&#57345;
>>        '((<span style="color: #2aa198;">"\\.scm\\'"</span> .
>> scheme-mode)&#57344;&#57345;&#57345;
>>
>> which looks like this
>>
>> Auto Modes 83
>> (setq auto-mode-alist
>>       (append
>>        '(("\\.scm\\'" . scheme-mode)
>>          ("\\.rkt\\'" . scheme-mode)
>>
>> In a web browser, those block line things are not what I expect.
>>
>> Thoughts:
>> 1. My org document is using unicode symbols. Perhaps this is a bad thing.
>> 2. I have wrong export as html settings.
>> 3. I'm missing something.
>>
>> Thoughts?
>>
>> Regards,
>>
>> --
>> Grant Rettke | ACM, AMA, COG, IEEE
>> address@hidden | http://www.wisdomandwonder.com/
>> “Wisdom begins in wonder.” --Socrates
>> ((λ (x) (x x)) (λ (x) (x x)))
>> “Life has become immeasurably better since I have been forced to stop
>> taking it seriously.” --Thompson

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]