* [Babel] HTML Export has garbage characters ...
@ 2013-09-21 18:47 aditya siram
2013-09-21 19:41 ` Eric Schulte
0 siblings, 1 reply; 7+ messages in thread
From: aditya siram @ 2013-09-21 18:47 UTC (permalink / raw
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 335 bytes --]
Hi all,
I'm on org-mode version:
Org-mode version 8.2 (release_8.2-8-g16a57e @
/home/deech/EmacsConfig/org-mode/lisp/)
Unfortunately the html exporter has some garbage characters at the end of
every line.
Here's a small org file:
* Headline
#+BEGIN_SRC sh
test source
#+END_SRC
The resulting HTML is attached.
Thanks!
-deech
[-- Attachment #1.2: Type: text/html, Size: 532 bytes --]
[-- Attachment #2: test-html-export.html --]
[-- Type: text/html, Size: 5553 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Babel] HTML Export has garbage characters ...
2013-09-21 18:47 [Babel] HTML Export has garbage characters aditya siram
@ 2013-09-21 19:41 ` Eric Schulte
2013-09-21 20:15 ` aditya siram
0 siblings, 1 reply; 7+ messages in thread
From: Eric Schulte @ 2013-09-21 19:41 UTC (permalink / raw
To: aditya siram; +Cc: emacs-orgmode
I can't reproduce this problem. Do you still see the problem with a
minimal Emacs config starting with "emacs -Q"?
Do you see this on export to other backends?
aditya siram <aditya.siram@gmail.com> writes:
> Hi all,
> I'm on org-mode version:
> Org-mode version 8.2 (release_8.2-8-g16a57e @
> /home/deech/EmacsConfig/org-mode/lisp/)
>
> Unfortunately the html exporter has some garbage characters at the end of
> every line.
>
> Here's a small org file:
> * Headline
> #+BEGIN_SRC sh
> test source
> #+END_SRC
>
> The resulting HTML is attached.
>
> Thanks!
> -deech
>
> test-html-export
>
> Table of Contents
>
> * 1. Headline
>
> 1 Headline
>
> test source
>
> Author: deech
>
> Created: 2013-09-20 Fri 16:49
>
> Emacs 24.3.50.1 (Org mode 8.2)
>
> Validate
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Babel] HTML Export has garbage characters ...
2013-09-21 19:41 ` Eric Schulte
@ 2013-09-21 20:15 ` aditya siram
2013-09-21 20:38 ` Eric Schulte
0 siblings, 1 reply; 7+ messages in thread
From: aditya siram @ 2013-09-21 20:15 UTC (permalink / raw
To: Eric Schulte; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1415 bytes --]
Using the org-mode that ships with Emacs 24.3.50.1 [1] I processed the file
using `org-export-to-html` and could not reproduce the issue.
The org-mode from HEAD doesn't have `org-export-to-html` since the backends
were re-written and I have to use `org-html-export-to-html` and am seeing
this issue.
Thanks for taking the time ...
-deech
[1] Org-mode version 7.9.3f
On Sat, Sep 21, 2013 at 2:41 PM, Eric Schulte <schulte.eric@gmail.com>wrote:
> I can't reproduce this problem. Do you still see the problem with a
> minimal Emacs config starting with "emacs -Q"?
>
> Do you see this on export to other backends?
>
> aditya siram <aditya.siram@gmail.com> writes:
>
> > Hi all,
> > I'm on org-mode version:
> > Org-mode version 8.2 (release_8.2-8-g16a57e @
> > /home/deech/EmacsConfig/org-mode/lisp/)
> >
> > Unfortunately the html exporter has some garbage characters at the end of
> > every line.
> >
> > Here's a small org file:
> > * Headline
> > #+BEGIN_SRC sh
> > test source
> > #+END_SRC
> >
> > The resulting HTML is attached.
> >
> > Thanks!
> > -deech
> >
> > test-html-export
> >
> > Table of Contents
> >
> > * 1. Headline
> >
> > 1 Headline
> >
> > test source
> >
> > Author: deech
> >
> > Created: 2013-09-20 Fri 16:49
> >
> > Emacs 24.3.50.1 (Org mode 8.2)
> >
> > Validate
>
> --
> Eric Schulte
> https://cs.unm.edu/~eschulte
> PGP: 0x614CA05D
>
[-- Attachment #2: Type: text/html, Size: 2240 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Babel] HTML Export has garbage characters ...
2013-09-21 20:15 ` aditya siram
@ 2013-09-21 20:38 ` Eric Schulte
2013-09-21 20:53 ` aditya siram
0 siblings, 1 reply; 7+ messages in thread
From: Eric Schulte @ 2013-09-21 20:38 UTC (permalink / raw
To: aditya siram; +Cc: emacs-orgmode
With the latest Org-mode I don't see the behavior you mention, I suspect
it may be due to something else in your config or environment.
Here's some easily reproducible commands which run export without
loading the local config. Notice that I don't get any garbage in the
output.
14:35 bagel:/tmp cat garbage.org
* Headline
#+BEGIN_SRC sh
test source
#+END_SRC
14:35 bagel:/tmp emacs --batch --eval "(progn (add-to-list 'load-path \"~/src/org-mode/lisp\") (require 'org))" garbage.org -f org-html-export-to-html
OVERVIEW
Cannot fontify src block (htmlize.el >= 1.34 required)
Saving file /tmp/garbage.html...
Wrote /tmp/garbage.html
14:35 bagel:/tmp grep -C 2 "test source" garbage.html
<div class="org-src-container">
<pre class="src src-sh">test source
</pre>
</div>
14:35 bagel:/tmp emacs --batch --eval "(progn (add-to-list 'load-path \"~/src/org-mode/lisp\") (require 'org) (message (org-version)))"
8.2
14:35 bagel:/tmp emacs --version
GNU Emacs 24.3.1
Copyright (C) 2013 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
aditya siram <aditya.siram@gmail.com> writes:
> Using the org-mode that ships with Emacs 24.3.50.1 [1] I processed the file
> using `org-export-to-html` and could not reproduce the issue.
>
> The org-mode from HEAD doesn't have `org-export-to-html` since the backends
> were re-written and I have to use `org-html-export-to-html` and am seeing
> this issue.
>
> Thanks for taking the time ...
> -deech
>
> [1] Org-mode version 7.9.3f
>
>
> On Sat, Sep 21, 2013 at 2:41 PM, Eric Schulte <schulte.eric@gmail.com>wrote:
>
>> I can't reproduce this problem. Do you still see the problem with a
>> minimal Emacs config starting with "emacs -Q"?
>>
>> Do you see this on export to other backends?
>>
>> aditya siram <aditya.siram@gmail.com> writes:
>>
>> > Hi all,
>> > I'm on org-mode version:
>> > Org-mode version 8.2 (release_8.2-8-g16a57e @
>> > /home/deech/EmacsConfig/org-mode/lisp/)
>> >
>> > Unfortunately the html exporter has some garbage characters at the end of
>> > every line.
>> >
>> > Here's a small org file:
>> > * Headline
>> > #+BEGIN_SRC sh
>> > test source
>> > #+END_SRC
>> >
>> > The resulting HTML is attached.
>> >
>> > Thanks!
>> > -deech
>> >
>> > test-html-export
>> >
>> > Table of Contents
>> >
>> > * 1. Headline
>> >
>> > 1 Headline
>> >
>> > test source
>> >
>> > Author: deech
>> >
>> > Created: 2013-09-20 Fri 16:49
>> >
>> > Emacs 24.3.50.1 (Org mode 8.2)
>> >
>> > Validate
>>
>> --
>> Eric Schulte
>> https://cs.unm.edu/~eschulte
>> PGP: 0x614CA05D
>>
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Babel] HTML Export has garbage characters ...
2013-09-21 20:38 ` Eric Schulte
@ 2013-09-21 20:53 ` aditya siram
2013-09-21 22:34 ` aditya siram
0 siblings, 1 reply; 7+ messages in thread
From: aditya siram @ 2013-09-21 20:53 UTC (permalink / raw
To: Eric Schulte; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 3549 bytes --]
You're right, it's something in my env. I just loaded up a vanilla emacs
with the latest org-mode and I don't see it either. Sorry for the noise.
Any clue what it might be? I don't know a whole lot about the new org
exporter. I guess I'll start removing things in my config until I figure it
out.
Thanks for your time!
-deech
On Sat, Sep 21, 2013 at 3:38 PM, Eric Schulte <schulte.eric@gmail.com>wrote:
> With the latest Org-mode I don't see the behavior you mention, I suspect
> it may be due to something else in your config or environment.
>
> Here's some easily reproducible commands which run export without
> loading the local config. Notice that I don't get any garbage in the
> output.
>
> 14:35 bagel:/tmp cat garbage.org
> * Headline
> #+BEGIN_SRC sh
> test source
> #+END_SRC
>
> 14:35 bagel:/tmp emacs --batch --eval "(progn (add-to-list 'load-path
> \"~/src/org-mode/lisp\") (require 'org))" garbage.org -f
> org-html-export-to-html
> OVERVIEW
> Cannot fontify src block (htmlize.el >= 1.34 required)
> Saving file /tmp/garbage.html...
> Wrote /tmp/garbage.html
>
> 14:35 bagel:/tmp grep -C 2 "test source" garbage.html
> <div class="org-src-container">
>
> <pre class="src src-sh">test source
> </pre>
> </div>
>
> 14:35 bagel:/tmp emacs --batch --eval "(progn (add-to-list 'load-path
> \"~/src/org-mode/lisp\") (require 'org) (message (org-version)))"
> 8.2
>
> 14:35 bagel:/tmp emacs --version
> GNU Emacs 24.3.1
> Copyright (C) 2013 Free Software Foundation, Inc.
> GNU Emacs comes with ABSOLUTELY NO WARRANTY.
> You may redistribute copies of Emacs
> under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING.
>
> aditya siram <aditya.siram@gmail.com> writes:
>
> > Using the org-mode that ships with Emacs 24.3.50.1 [1] I processed the
> file
> > using `org-export-to-html` and could not reproduce the issue.
> >
> > The org-mode from HEAD doesn't have `org-export-to-html` since the
> backends
> > were re-written and I have to use `org-html-export-to-html` and am seeing
> > this issue.
> >
> > Thanks for taking the time ...
> > -deech
> >
> > [1] Org-mode version 7.9.3f
> >
> >
> > On Sat, Sep 21, 2013 at 2:41 PM, Eric Schulte <schulte.eric@gmail.com
> >wrote:
> >
> >> I can't reproduce this problem. Do you still see the problem with a
> >> minimal Emacs config starting with "emacs -Q"?
> >>
> >> Do you see this on export to other backends?
> >>
> >> aditya siram <aditya.siram@gmail.com> writes:
> >>
> >> > Hi all,
> >> > I'm on org-mode version:
> >> > Org-mode version 8.2 (release_8.2-8-g16a57e @
> >> > /home/deech/EmacsConfig/org-mode/lisp/)
> >> >
> >> > Unfortunately the html exporter has some garbage characters at the
> end of
> >> > every line.
> >> >
> >> > Here's a small org file:
> >> > * Headline
> >> > #+BEGIN_SRC sh
> >> > test source
> >> > #+END_SRC
> >> >
> >> > The resulting HTML is attached.
> >> >
> >> > Thanks!
> >> > -deech
> >> >
> >> > test-html-export
> >> >
> >> > Table of Contents
> >> >
> >> > * 1. Headline
> >> >
> >> > 1 Headline
> >> >
> >> > test source
> >> >
> >> > Author: deech
> >> >
> >> > Created: 2013-09-20 Fri 16:49
> >> >
> >> > Emacs 24.3.50.1 (Org mode 8.2)
> >> >
> >> > Validate
> >>
> >> --
> >> Eric Schulte
> >> https://cs.unm.edu/~eschulte
> >> PGP: 0x614CA05D
> >>
>
> --
> Eric Schulte
> https://cs.unm.edu/~eschulte
> PGP: 0x614CA05D
>
[-- Attachment #2: Type: text/html, Size: 5275 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Babel] HTML Export has garbage characters ...
2013-09-21 20:53 ` aditya siram
@ 2013-09-21 22:34 ` aditya siram
2013-09-22 5:43 ` Eric Schulte
0 siblings, 1 reply; 7+ messages in thread
From: aditya siram @ 2013-09-21 22:34 UTC (permalink / raw
To: Eric Schulte; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 3999 bytes --]
The problem is fill-column indicator [1]. When I loaded Emacs without it
there were no garbage characters. I'm not sure who I should be reporting
this issue to.
-deech
[1] http://www.emacswiki.org/emacs/FillColumnIndicator
On Sat, Sep 21, 2013 at 3:53 PM, aditya siram <aditya.siram@gmail.com>wrote:
> You're right, it's something in my env. I just loaded up a vanilla emacs
> with the latest org-mode and I don't see it either. Sorry for the noise.
> Any clue what it might be? I don't know a whole lot about the new org
> exporter. I guess I'll start removing things in my config until I figure it
> out.
>
> Thanks for your time!
> -deech
>
>
>
> On Sat, Sep 21, 2013 at 3:38 PM, Eric Schulte <schulte.eric@gmail.com>wrote:
>
>> With the latest Org-mode I don't see the behavior you mention, I suspect
>> it may be due to something else in your config or environment.
>>
>> Here's some easily reproducible commands which run export without
>> loading the local config. Notice that I don't get any garbage in the
>> output.
>>
>> 14:35 bagel:/tmp cat garbage.org
>> * Headline
>> #+BEGIN_SRC sh
>> test source
>> #+END_SRC
>>
>> 14:35 bagel:/tmp emacs --batch --eval "(progn (add-to-list 'load-path
>> \"~/src/org-mode/lisp\") (require 'org))" garbage.org -f
>> org-html-export-to-html
>> OVERVIEW
>> Cannot fontify src block (htmlize.el >= 1.34 required)
>> Saving file /tmp/garbage.html...
>> Wrote /tmp/garbage.html
>>
>> 14:35 bagel:/tmp grep -C 2 "test source" garbage.html
>> <div class="org-src-container">
>>
>> <pre class="src src-sh">test source
>> </pre>
>> </div>
>>
>> 14:35 bagel:/tmp emacs --batch --eval "(progn (add-to-list 'load-path
>> \"~/src/org-mode/lisp\") (require 'org) (message (org-version)))"
>> 8.2
>>
>> 14:35 bagel:/tmp emacs --version
>> GNU Emacs 24.3.1
>> Copyright (C) 2013 Free Software Foundation, Inc.
>> GNU Emacs comes with ABSOLUTELY NO WARRANTY.
>> You may redistribute copies of Emacs
>> under the terms of the GNU General Public License.
>> For more information about these matters, see the file named COPYING.
>>
>> aditya siram <aditya.siram@gmail.com> writes:
>>
>> > Using the org-mode that ships with Emacs 24.3.50.1 [1] I processed the
>> file
>> > using `org-export-to-html` and could not reproduce the issue.
>> >
>> > The org-mode from HEAD doesn't have `org-export-to-html` since the
>> backends
>> > were re-written and I have to use `org-html-export-to-html` and am
>> seeing
>> > this issue.
>> >
>> > Thanks for taking the time ...
>> > -deech
>> >
>> > [1] Org-mode version 7.9.3f
>> >
>> >
>> > On Sat, Sep 21, 2013 at 2:41 PM, Eric Schulte <schulte.eric@gmail.com
>> >wrote:
>> >
>> >> I can't reproduce this problem. Do you still see the problem with a
>> >> minimal Emacs config starting with "emacs -Q"?
>> >>
>> >> Do you see this on export to other backends?
>> >>
>> >> aditya siram <aditya.siram@gmail.com> writes:
>> >>
>> >> > Hi all,
>> >> > I'm on org-mode version:
>> >> > Org-mode version 8.2 (release_8.2-8-g16a57e @
>> >> > /home/deech/EmacsConfig/org-mode/lisp/)
>> >> >
>> >> > Unfortunately the html exporter has some garbage characters at the
>> end of
>> >> > every line.
>> >> >
>> >> > Here's a small org file:
>> >> > * Headline
>> >> > #+BEGIN_SRC sh
>> >> > test source
>> >> > #+END_SRC
>> >> >
>> >> > The resulting HTML is attached.
>> >> >
>> >> > Thanks!
>> >> > -deech
>> >> >
>> >> > test-html-export
>> >> >
>> >> > Table of Contents
>> >> >
>> >> > * 1. Headline
>> >> >
>> >> > 1 Headline
>> >> >
>> >> > test source
>> >> >
>> >> > Author: deech
>> >> >
>> >> > Created: 2013-09-20 Fri 16:49
>> >> >
>> >> > Emacs 24.3.50.1 (Org mode 8.2)
>> >> >
>> >> > Validate
>> >>
>> >> --
>> >> Eric Schulte
>> >> https://cs.unm.edu/~eschulte
>> >> PGP: 0x614CA05D
>> >>
>>
>> --
>> Eric Schulte
>> https://cs.unm.edu/~eschulte
>> PGP: 0x614CA05D
>>
>
>
[-- Attachment #2: Type: text/html, Size: 6024 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Babel] HTML Export has garbage characters ...
2013-09-21 22:34 ` aditya siram
@ 2013-09-22 5:43 ` Eric Schulte
0 siblings, 0 replies; 7+ messages in thread
From: Eric Schulte @ 2013-09-22 5:43 UTC (permalink / raw
To: aditya siram; +Cc: emacs-orgmode, Eric Schulte
This sounds like a conflict between htmlize and fillcolumnindicator.
I'd report it to the author of htmlize (see the comments at the top of
htmlize.el).
Thanks for hunting this down.
Cheers,
aditya siram <aditya.siram@gmail.com> writes:
> The problem is fill-column indicator [1]. When I loaded Emacs without it
> there were no garbage characters. I'm not sure who I should be reporting
> this issue to.
>
> -deech
>
> [1] http://www.emacswiki.org/emacs/FillColumnIndicator
>
>
> On Sat, Sep 21, 2013 at 3:53 PM, aditya siram <aditya.siram@gmail.com>wrote:
>
>> You're right, it's something in my env. I just loaded up a vanilla emacs
>> with the latest org-mode and I don't see it either. Sorry for the noise.
>> Any clue what it might be? I don't know a whole lot about the new org
>> exporter. I guess I'll start removing things in my config until I figure it
>> out.
>>
>> Thanks for your time!
>> -deech
>>
>>
>>
>> On Sat, Sep 21, 2013 at 3:38 PM, Eric Schulte <schulte.eric@gmail.com>wrote:
>>
>>> With the latest Org-mode I don't see the behavior you mention, I suspect
>>> it may be due to something else in your config or environment.
>>>
>>> Here's some easily reproducible commands which run export without
>>> loading the local config. Notice that I don't get any garbage in the
>>> output.
>>>
>>> 14:35 bagel:/tmp cat garbage.org
>>> * Headline
>>> #+BEGIN_SRC sh
>>> test source
>>> #+END_SRC
>>>
>>> 14:35 bagel:/tmp emacs --batch --eval "(progn (add-to-list 'load-path
>>> \"~/src/org-mode/lisp\") (require 'org))" garbage.org -f
>>> org-html-export-to-html
>>> OVERVIEW
>>> Cannot fontify src block (htmlize.el >= 1.34 required)
>>> Saving file /tmp/garbage.html...
>>> Wrote /tmp/garbage.html
>>>
>>> 14:35 bagel:/tmp grep -C 2 "test source" garbage.html
>>> <div class="org-src-container">
>>>
>>> <pre class="src src-sh">test source
>>> </pre>
>>> </div>
>>>
>>> 14:35 bagel:/tmp emacs --batch --eval "(progn (add-to-list 'load-path
>>> \"~/src/org-mode/lisp\") (require 'org) (message (org-version)))"
>>> 8.2
>>>
>>> 14:35 bagel:/tmp emacs --version
>>> GNU Emacs 24.3.1
>>> Copyright (C) 2013 Free Software Foundation, Inc.
>>> GNU Emacs comes with ABSOLUTELY NO WARRANTY.
>>> You may redistribute copies of Emacs
>>> under the terms of the GNU General Public License.
>>> For more information about these matters, see the file named COPYING.
>>>
>>> aditya siram <aditya.siram@gmail.com> writes:
>>>
>>> > Using the org-mode that ships with Emacs 24.3.50.1 [1] I processed the
>>> file
>>> > using `org-export-to-html` and could not reproduce the issue.
>>> >
>>> > The org-mode from HEAD doesn't have `org-export-to-html` since the
>>> backends
>>> > were re-written and I have to use `org-html-export-to-html` and am
>>> seeing
>>> > this issue.
>>> >
>>> > Thanks for taking the time ...
>>> > -deech
>>> >
>>> > [1] Org-mode version 7.9.3f
>>> >
>>> >
>>> > On Sat, Sep 21, 2013 at 2:41 PM, Eric Schulte <schulte.eric@gmail.com
>>> >wrote:
>>> >
>>> >> I can't reproduce this problem. Do you still see the problem with a
>>> >> minimal Emacs config starting with "emacs -Q"?
>>> >>
>>> >> Do you see this on export to other backends?
>>> >>
>>> >> aditya siram <aditya.siram@gmail.com> writes:
>>> >>
>>> >> > Hi all,
>>> >> > I'm on org-mode version:
>>> >> > Org-mode version 8.2 (release_8.2-8-g16a57e @
>>> >> > /home/deech/EmacsConfig/org-mode/lisp/)
>>> >> >
>>> >> > Unfortunately the html exporter has some garbage characters at the
>>> end of
>>> >> > every line.
>>> >> >
>>> >> > Here's a small org file:
>>> >> > * Headline
>>> >> > #+BEGIN_SRC sh
>>> >> > test source
>>> >> > #+END_SRC
>>> >> >
>>> >> > The resulting HTML is attached.
>>> >> >
>>> >> > Thanks!
>>> >> > -deech
>>> >> >
>>> >> > test-html-export
>>> >> >
>>> >> > Table of Contents
>>> >> >
>>> >> > * 1. Headline
>>> >> >
>>> >> > 1 Headline
>>> >> >
>>> >> > test source
>>> >> >
>>> >> > Author: deech
>>> >> >
>>> >> > Created: 2013-09-20 Fri 16:49
>>> >> >
>>> >> > Emacs 24.3.50.1 (Org mode 8.2)
>>> >> >
>>> >> > Validate
>>> >>
>>> >> --
>>> >> Eric Schulte
>>> >> https://cs.unm.edu/~eschulte
>>> >> PGP: 0x614CA05D
>>> >>
>>>
>>> --
>>> Eric Schulte
>>> https://cs.unm.edu/~eschulte
>>> PGP: 0x614CA05D
>>>
>>
>>
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-09-22 5:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-21 18:47 [Babel] HTML Export has garbage characters aditya siram
2013-09-21 19:41 ` Eric Schulte
2013-09-21 20:15 ` aditya siram
2013-09-21 20:38 ` Eric Schulte
2013-09-21 20:53 ` aditya siram
2013-09-21 22:34 ` aditya siram
2013-09-22 5:43 ` Eric Schulte
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.