emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fletcher Charest <fletcher.charest@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org, Phil Regier <pregier@ittc.ku.edu>
Subject: Re: Is there an environment for Org syntax?
Date: Sat, 22 Mar 2014 18:36:42 +0100	[thread overview]
Message-ID: <CAGk6a7mBkFGL6L7AwLi=GHXsjkd4-oxjtrw35jUxBSUw_xX41w@mail.gmail.com> (raw)
In-Reply-To: <87ob12jy8a.fsf@bzg.ath.cx>

[-- Attachment #1: Type: text/plain, Size: 1446 bytes --]

Hi Bastien,

> The indentation of the exported HTML looks correct to me:
> "some text" is right below "*** Third level"

> The HTML color of the leading stars is taken from the org-hide face.
> When your background is black, the org-hide face is black, hence the
> color you see in the HTML output.

Let me reformulate.

I'm looking for a way to tell the HTML exporter how to format Org syntax. I
was expecting it to format it according to my own preferences. For example,
I usually set org-indent-mode to t since it is cleaner. But this is not
taken into account by the HTML exporter: it produces a 'standard' Org
syntax, the one you get by default without any configuration, with visible
leading stars and no indentation. Is it possible to change that?

Two other minor observations.

1. I changed the org-hide face to other colors, like red (just for trying,
since I didn't know about that possibility). As soon as I export an Org
buffer to HTML, the org-hide face comes back to its initial value: the
leading stars are back from red to invisible. This might be anormal.

2. About the black leading stars in my previous posts, I found the problem:
when org-indent-mode is activated by setting org-startup-indented to t, it
produces black leading stars in my HTML output. This doesn't happen when it
is activated using the org-indent-mode function or when '#+STARTUP: indent'
is in the file. This might be a bug too.

Thanks for your time,

FC

[-- Attachment #2: Type: text/html, Size: 1999 bytes --]

  reply	other threads:[~2014-03-22 17:36 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
2014-03-18 17:10             ` Phil Regier
2014-03-19 10:09             ` Bastien
2014-03-22 17:36               ` Fletcher Charest [this message]
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='CAGk6a7mBkFGL6L7AwLi=GHXsjkd4-oxjtrw35jUxBSUw_xX41w@mail.gmail.com' \
    --to=fletcher.charest@gmail.com \
    --cc=bzg@gnu.org \
    --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).