[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [RFC] Dog food, anyone?

From: Yasushi SHOJI
Subject: Re: [O] [RFC] Dog food, anyone?
Date: Sat, 23 Dec 2017 15:56:24 +0900

Hi Nicolas,

On Sun, Dec 17, 2017 at 7:34 PM, Nicolas Goaziou <address@hidden> 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.


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.

           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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]