From mboxrd@z Thu Jan 1 00:00:00 1970 From: aditya siram Subject: Re: [Babel] HTML Export has garbage characters ... Date: Sat, 21 Sep 2013 15:53:03 -0500 Message-ID: References: <87hade3qt8.fsf@gmail.com> <87d2o152r7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdc18708498ed04e6eafb1f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNUBW-0000yj-Cy for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 16:53:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNUBU-0002sz-FV for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 16:53:46 -0400 Received: from mail-ie0-x234.google.com ([2607:f8b0:4001:c03::234]:49619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNUBU-0002st-8J for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 16:53:44 -0400 Received: by mail-ie0-f180.google.com with SMTP id u16so3472052iet.25 for ; Sat, 21 Sep 2013 13:53:43 -0700 (PDT) In-Reply-To: <87d2o152r7.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org --047d7bdc18708498ed04e6eafb1f Content-Type: text/plain; charset=ISO-8859-1 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 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 >
> >
test source
>     
>
> > 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 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 >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 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 > --047d7bdc18708498ed04e6eafb1f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
You're right, it's something in my env. I just loa= ded up a vanilla emacs with the latest org-mode and I don't see it eith= er. Sorry for the noise. Any clue what it might be? I don't know a whol= e 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


<= div class=3D"gmail_quote">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. =A0Notice that I don't get any garbage in the=
output.

=A0 =A0 14:35 bagel:/tmp cat garbage.org
=A0 =A0 * Headline
=A0 =A0 =A0 #+BEGIN_SRC sh
=A0 =A0 =A0 test source
=A0 =A0 =A0 #+END_SRC

=A0 =A0 14:35 bagel:/tmp emacs --batch --eval "(progn (add-to-li= st 'load-path \"~/src/org-mode/lisp\") (require 'org))&qu= ot; garbage.org -f org= -html-export-to-html
=A0 =A0 OVERVIEW
=A0 =A0 Cannot fontify src block (htmlize.el >=3D 1.34 required)
=A0 =A0 Saving file /tmp/garbage.html...
=A0 =A0 Wrote /tmp/garbage.html

=A0 =A0 14:35 bagel:/tmp grep -C 2 "test source" garbage.html
=A0 =A0 <div class=3D"org-src-container">

=A0 =A0 <pre class=3D"src src-sh">test source
=A0 =A0 </pre>
=A0 =A0 </div>

=A0 =A0 14:35 bagel:/tmp emacs --batch --eval "(progn (add-to-list = 9;load-path \"~/src/org-mode/lisp\") (require 'org) (message = (org-version)))"
=A0 =A0 8.2

=A0 =A0 14:35 bagel:/tmp emacs --version
=A0 =A0 GNU Emacs 24.3.1
=A0 =A0 Copyright (C) 2013 Free Software Foundation, Inc.
=A0 =A0 GNU Emacs comes with ABSOLUTELY NO WARRANTY.
=A0 =A0 You may redistribute copies of Emacs
=A0 =A0 under the terms of the GNU General Public License.
=A0 =A0 For more information about these matters, see the file named COPYIN= G.

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 see= ing
> 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. =A0Do you still see the proble= m 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 a= t the end of
>> > every line.
>> >
>> > Here's a small org file:
>> > * Headline
>> > =A0 #+BEGIN_SRC sh
>> > =A0 test source
>> > =A0 #+END_SRC
>> >
>> > The resulting HTML is attached.
>> >
>> > Thanks!
>> > -deech
>> >
>> > test-html-export
>> >
>> > Table of Contents
>> >
>> > =A0 =A0 =A0* 1. Headline
>> >
>> > 1 Headline
>> >
>> > test source&#57344;&#57345;&#57345;
>> >
>> > =A0 =A0Author: deech
>> >
>> > =A0 =A0Created: 2013-09-20 Fri 16:49
>> >
>> > =A0 =A0Emacs 24.3.50.1 (Org mode 8.2)
>> >
>> > =A0 =A0Validate
>>
>> --
>> Eric Schulte
>> https:/= /cs.unm.edu/~eschulte
>> PGP: 0x614CA05D
>>

--
Eric Schulte
https://cs.unm.e= du/~eschulte
PGP: 0x614CA05D

--047d7bdc18708498ed04e6eafb1f--