From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fletcher Charest Subject: Re: Is there an environment for Org syntax? Date: Mon, 17 Mar 2014 14:58:18 +0100 Message-ID: References: <1187822931.636304.1394835216554.JavaMail.zimbra@ittc.ku.edu> <1681130543.636394.1394838254099.JavaMail.zimbra@ittc.ku.edu> <926970118.636480.1394840068162.JavaMail.zimbra@ittc.ku.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c12d08cfe78604f4cdcff7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPY3Z-00068s-EE for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 09:58:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPY3Y-0005N5-3w for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 09:58:21 -0400 Received: from mail-qc0-x234.google.com ([2607:f8b0:400d:c01::234]:55922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPY3X-0005Mt-UW for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 09:58:20 -0400 Received: by mail-qc0-f180.google.com with SMTP id x3so5872260qcv.39 for ; Mon, 17 Mar 2014 06:58:19 -0700 (PDT) In-Reply-To: <926970118.636480.1394840068162.JavaMail.zimbra@ittc.ku.edu> 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: Phil Regier Cc: emacs-orgmode@gnu.org --001a11c12d08cfe78604f4cdcff7 Content-Type: multipart/alternative; boundary=001a11c12d08cfe78104f4cdcff5 --001a11c12d08cfe78104f4cdcff5 Content-Type: text/plain; charset=ISO-8859-1 Hello Phil, When I use the edit buffer (by pressing C-c '), my Org syntax is indented properly (in accordance with org-indent-mode, which is set to t). The code block itself looks like this after editing: #+BEGIN_SRC org :exports code ,* Top level headline ,** Second level ,*** Third level some text ,*** Third level more text #+END_SRC As you can see, the text ('some text' and 'more text') is not indented. This is a little bit annoying, but not too much - I can add the spaces myself. The problem is with the HTML export: I can't see the HTML output as I would see it in my Emacs buffer, that is to say, without the leading stars. In my output (see attached), leading stars are visible, although not colored. I would like them to be completely invisible. Do you observe the same thing? My org-version is 8.2.5h-30-gdd810b-elpaplus under GNU Emacs 24.3.1. Thanks, FC On Sat, Mar 15, 2014 at 12:34 AM, Phil Regier wrote: > I'm not sure whether I follow you here, because I'm accustomed to seeing > indents passed through. If I export the following: > > #+begin_src org :exports code > ,#+begin_src org :exports code > indented text > ,#+end_src > #+end_src > > ...then my HTML export adds as many spaces as there are in the block edit > buffer. Is that not what you see, or are you looking for something more > sophisticated? > > Phil > > ----- Original Message ----- > From: "Fletcher Charest" > To: emacs-orgmode@gnu.org > Sent: Friday, March 14, 2014 6:21:35 PM > Subject: Re: [O] Is there an environment for Org syntax? > > Thank you, this sounds interesting; I'm not very good either, but I will > have a look at this. And I actually have a related question (I hope it's > not in the manual this time): is it possible to indent the Org syntax in > the HTML export as it is indented in an Emacs buffer when > org-indent-modeis activated? The indentation in the HTML file looks > like the one you get > in Org by default, even if my org-indent-mode variable is set to t in my > Org buffer. > > Thank you, > > FC > --001a11c12d08cfe78104f4cdcff5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello Phil,

When I use the edit buffer (by pressing C-c &#= 39;), my Org syntax is indented properly (in accordance with org-indent-mod= e, which is set to t). The code block itself looks like this after editing:=

#+BEGIN_SRC org :exports code
=A0 ,* Top level headline
=A0 ,** S= econd level
=A0 ,*** Third level
=A0 some text
=A0 ,*** Third leve= l
=A0 more text
#+END_SRC

As you can see, the text ('some text' an= d 'more text') is not indented. This is a little bit annoying, but = not too much - I can add the spaces myself.

The prob= lem is with the HTML export: I can't see the HTML output as I would see= it in my Emacs buffer, that is to say, without the leading stars. In my ou= tput (see attached), leading stars are visible, although not colored. I wou= ld like them to be completely invisible.

Do you o= bserve the same thing? My org-version is 8.2.5h-30-gdd810b-elpaplus under G= NU Emacs 24.3.1.

Thanks,

FC


On= Sat, Mar 15, 2014 at 12:34 AM, Phil Regier <pregier@ittc.ku.edu&g= t; wrote:
I'm not sure whether I follow you here, = because I'm accustomed to seeing indents passed through. =A0If I export= the following:

#+begin_src org :exports code
=A0 ,#+begin_src org :exports code
=A0 =A0 =A0 indented text
=A0 ,#+end_src
#+end_src

...then my HTML export adds as many spaces as there are in the block edit b= uffer. =A0Is that not what you see, or are you looking for something more s= ophisticated?

Phil

----- Original Message -----
From: "Fletcher Charest" <fletcher.charest@gmail.com>
To: emacs-or= gmode@gnu.org
Sent: Friday, March 14, 2014 6:21:35 PM
Subject: Re: [O] Is there an environment for Org syntax?

Thank you, this sounds interesting; I'm not very = good either, but I will
have a look at this. And I actually have a related question (I hope it'= s
not in the manual this time): is it possible to indent the Org syntax in the HTML export as it is indented in an Emacs buffer when
org-indent-modeis activated? The indentation in the HTML file looks
like the one you get
in Org by default, even if my org-indent-mode variable is set to t in my Org buffer.

Thank you,

FC

--001a11c12d08cfe78104f4cdcff5-- --001a11c12d08cfe78604f4cdcff7 Content-Type: image/png; name="html_output.png" Content-Disposition: attachment; filename="html_output.png" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hsvthupc0 iVBORw0KGgoAAAANSUhEUgAAAPIAAACKCAYAAACQGRcIAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gMRDTg2mxgn5AAAAB1pVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIEdJTVBkLmUHAAAMh0lEQVR42u2dX2gbRx7Hv+vGuBdCgh9TiE9yHtoDuznsQh8S HxKBY0WJoYnbh1ChgHTgtvfSY9W7ljQPbmhJHO4oNE2gK7ArWkjjEOqQk1/CCst5OIjC1TZcjyOW 7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