From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yasushi SHOJI Subject: Re: [RFC] Dog food, anyone? Date: Sat, 23 Dec 2017 15:56:24 +0900 Message-ID: References: <87efntod73.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSdjQ-0000gg-B8 for emacs-orgmode@gnu.org; Sat, 23 Dec 2017 01:56:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSdjP-00049J-9l for emacs-orgmode@gnu.org; Sat, 23 Dec 2017 01:56:28 -0500 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:34331) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSdjP-00048z-3Q for emacs-orgmode@gnu.org; Sat, 23 Dec 2017 01:56:27 -0500 Received: by mail-wm0-x232.google.com with SMTP id y82so27002829wmg.1 for ; Fri, 22 Dec 2017 22:56:26 -0800 (PST) In-Reply-To: <87efntod73.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: Org Mode List Hi Nicolas, On Sun, Dec 17, 2017 at 7:34 PM, Nicolas Goaziou wrote: > The task started by Thomas S. Dye a couple years ago is now complete. > The "manual.org" file in "contrib/" directory is an up-to-date, > sometimes enhanced, version of the Org manual. Org can now eat its own > dog food. This is at great news!! I remember a thread on the emacs-devel saying that texinfo html exporter doesn't render as cute as the current standard (whatever that is). But now we have the manual in org, and we can convert it to many format. I just tried rst exporter, which I just happen to be using, and it works great, with the following tiny patch. And the results is this. http://org-manual.readthedocs.io/en/latest/ Info and orgmode.org/org.html is already super useful so this doesn't gain much for me. but someone might like the way it renders. regards, -- yashi (now on to fix my own exporters ;-p) --- ox-rst.el~ 2017-11-22 21:01:58.503667382 +0900 +++ ox-rst.el 2017-11-22 21:52:31.213331562 +0900 @@ -1086,7 +1086,7 @@ ;; Protect .. (setq text (replace-regexp-in-string "^[\s-]*\\.\\. [^\\[]" "\\\\.. " text)) ;; Protect ^\d+. - (setq text (replace-regexp-in-string "^\\([[:digit:]]\\)+\\." "\\1\\." text)) + (setq text (replace-regexp-in-string "^\\([[:digit:]]\\)+\\." "\\\\\\1." text)) ;; Return value. text)