From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fletcher Charest Subject: Re: Is there an environment for Org syntax? Date: Sat, 22 Mar 2014 18:36:42 +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> <87ob12jy8a.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c1198a16d93a04f53572e4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRPqe-0006FD-PM for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 13:36:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRPqd-0007lD-Op for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 13:36:44 -0400 In-Reply-To: <87ob12jy8a.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org, Phil Regier --001a11c1198a16d93a04f53572e4 Content-Type: text/plain; charset=ISO-8859-1 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 --001a11c1198a16d93a04f53572e4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Bastien,

> The indentation of the exported HTML looks cor= rect to me:
> "some text" is right below "*** Third level"
> The H= TML color of the leading stars is taken from the org-hide face.
> Whe= n your background is black, the org-hide face is black, hence the
> color you see in the HTML output.

Let me reformulate.

I'm lookin= g for a way to tell the HTML exporter how to format Org syntax. I was expec= ting it to format it according to my own preferences. For example, I usuall= y 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 othe= r 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. Thi= s might be anormal.

2. About the black leading stars in my previous posts, I found the prob= lem: 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 happe= n when it is activated using the org-indent-mode function or when '#+ST= ARTUP: indent' is in the file. This might be a bug too.

Thanks f= or your time,

FC
--001a11c1198a16d93a04f53572e4--