emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fletcher Charest <fletcher.charest@gmail.com>
To: Phil Regier <pregier@ittc.ku.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is there an environment for Org syntax?
Date: Mon, 17 Mar 2014 14:58:18 +0100	[thread overview]
Message-ID: <CAGk6a7kBThGihBdvFP-x5vf2i2=mvT3ZncKs+1OF=tCpWEM-4A@mail.gmail.com> (raw)
In-Reply-To: <926970118.636480.1394840068162.JavaMail.zimbra@ittc.ku.edu>


[-- Attachment #1.1: Type: text/plain, Size: 2104 bytes --]

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 <pregier@ittc.ku.edu> 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" <fletcher.charest@gmail.com>
> 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
>

[-- Attachment #1.2: Type: text/html, Size: 3295 bytes --]

[-- Attachment #2: html_output.png --]
[-- Type: image/png, Size: 3363 bytes --]

  reply	other threads:[~2014-03-17 13:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-14 21:41 Is there an environment for Org syntax? Fletcher Charest
2014-03-14 22:13 ` Phil Regier
2014-03-14 22:59   ` Fletcher Charest
2014-03-14 23:04     ` Phil Regier
2014-03-14 23:21       ` Fletcher Charest
2014-03-14 23:34         ` Phil Regier
2014-03-17 13:58           ` Fletcher Charest [this message]
2014-03-18 17:10             ` Phil Regier
2014-03-19 10:09             ` Bastien
2014-03-22 17:36               ` Fletcher Charest
2014-03-15  4:44   ` Kyle Meyer

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='CAGk6a7kBThGihBdvFP-x5vf2i2=mvT3ZncKs+1OF=tCpWEM-4A@mail.gmail.com' \
    --to=fletcher.charest@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pregier@ittc.ku.edu \
    /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).