From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: [Accepted] [O, 2/5] Added trac-wiki and tikiwiki export settings. Date: Sat, 22 Oct 2011 11:39:45 +0200 (CEST) Message-ID: <20111022093945.BEEE5A976@myhost.localdomain> References: <1319213609-40770-3-git-send-email-rpgoldman@real-time.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHY2Z-0004eE-UG for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 05:38:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHY2Y-0004Lc-6h for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 05:38:55 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:55082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHY2X-0004Kb-Q3 for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 05:38:54 -0400 Received: by wyg34 with SMTP id 34so5600832wyg.0 for ; Sat, 22 Oct 2011 02:38:53 -0700 (PDT) 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: emacs-orgmode@gnu.org Patch 999 (http://patchwork.newartisans.com/patch/999/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C1319213609-40770-3-git-send-email-rpgoldman%40real-time.com%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [O,2/5] Added trac-wiki and tikiwiki export settings. > Date: Fri, 21 Oct 2011 21:13:26 -0000 > From: Robert P. Goldman > X-Patchwork-Id: 999 > Message-Id: <1319213609-40770-3-git-send-email-rpgoldman@real-time.com> > To: emacs-orgmode@gnu.org > Cc: "Robert P. Goldman" > > --- > contrib/lisp/org-export-generic.el | 107 +++++++++++++++++++++++++++++++----- > 1 files changed, 93 insertions(+), 14 deletions(-) > > > diff --git a/contrib/lisp/org-export-generic.el b/contrib/lisp/org-export-generic.el > index 29e90b8..e3a8680 100644 > --- a/contrib/lisp/org-export-generic.el > +++ b/contrib/lisp/org-export-generic.el > @@ -187,8 +187,8 @@ in this way, it will be wrapped." > ; section prefixes/suffixes can be direct strings or lists as well > :body-section-prefix "\n" > :body-section-suffix "\n" > -; :body-section-prefix ("\n" "\n" "\n") > -; :body-section-suffix ("\n" "\n" "\n") > + ; :body-section-prefix ("\n" "\n" "\n") > + ; :body-section-suffix ("\n" "\n" "\n") > > > ; if preformated text should be included (eg, : prefixed) > @@ -263,28 +263,28 @@ in this way, it will be wrapped." > :body-header-section-numbers 3 > :body-section-prefix "\n" > > -; :body-section-header-prefix "\n" > -; :body-section-header-format "%s\n" > -; :body-section-header-suffix (?\$ ?\# ?^ ?\~ ?\= ?\-) > + ; :body-section-header-prefix "\n" > + ; :body-section-header-format "%s\n" > + ; :body-section-header-suffix (?\$ ?\# ?^ ?\~ ?\= ?\-) > > :body-section-header-prefix ("" "" "" "* " " + " " - ") > :body-section-header-format "%s\n" > :body-section-header-suffix (?~ ?= ?- "\n" "\n" "\n") > > -; :body-section-marker-prefix "" > -; :body-section-marker-chars (?\$ ?\# ?^ ?\~ ?\= ?\-) > -; :body-section-marker-suffix "\n" > + ; :body-section-marker-prefix "" > + ; :body-section-marker-chars (?\$ ?\# ?^ ?\~ ?\= ?\-) > + ; :body-section-marker-suffix "\n" > > :body-line-export-preformated t > :body-line-format "%s\n" > :body-line-wrap 75 > > -; :body-text-prefix "\n" > -; :body-text-suffix "\n" > + ; :body-text-prefix "\n" > + ; :body-text-suffix "\n" > > > :body-bullet-list-prefix (?* ?+ ?-) > -; :body-bullet-list-suffix (?* ?+ ?-) > + ; :body-bullet-list-suffix (?* ?+ ?-) > ) > > ;; > @@ -350,8 +350,8 @@ in this way, it will be wrapped." > > :body-section-prefix "\n" > :body-section-suffix "\n" > -; :body-section-prefix ("\n" "\n" "\n") > -; :body-section-suffix ("\n" "\n" "\n") > + ; :body-section-prefix ("\n" "\n" "\n") > + ; :body-section-suffix ("\n" "\n" "\n") > > :body-line-export-preformated t > :body-line-format "%s\n" > @@ -360,7 +360,7 @@ in this way, it will be wrapped." > :body-text-suffix "

\n" > > :body-bullet-list-prefix (?* ?+ ?-) > -; :body-bullet-list-suffix (?* ?+ ?-) > + ; :body-bullet-list-suffix (?* ?+ ?-) > ) > > ;; > @@ -429,6 +429,85 @@ in this way, it will be wrapped." > :body-list-format "%s\n" > > ) > + ("trac-wiki" > + :file-suffix ".txt" > + :key-binding ?T > + > + ;; lifted from wikipedia exporter > + :header-prefix "" > + :header-suffix "" > + > + :title-format "= %s =\n" > + > + :date-export nil > + > + :toc-export nil > + > + :body-header-section-numbers nil > + :body-section-prefix "\n" > + > + :body-section-header-prefix ("== " "=== " "==== " > + "===== " "====== " "======= ") > + :body-section-header-suffix (" ==\n\n" " ===\n\n" " ====\n\n" > + " =====\n\n" " ======\n\n" " =======\n\n") > + > + :body-line-export-preformated t ;; yes/no/maybe??? > + :body-line-format "%s\n" > + :body-line-wrap 75 > + > + :body-line-fixed-format " %s\n" > + > + :body-list-format " * %s\n" > + :body-number-list-format " # %s\n" > + ;; :body-list-prefix "LISTSTART" > + ;; :body-list-suffix "LISTEND" > + > + ;; this is ignored! [2010/02/02:rpg] > + :body-bullet-list-prefix ("* " "** " "*** " "**** " "***** ") > + ) > + ("tikiwiki" > + :file-suffix ".txt" > + :key-binding ?U > + > + ;; lifted from wikipedia exporter > + :header-prefix "" > + :header-suffix "" > + > + :title-format "-= %s =-\n" > + > + :date-export nil > + > + :toc-export nil > + > + :body-header-section-numbers nil > + :body-section-prefix "\n" > + > + :body-section-header-prefix ("! " "!! " "!!! " "!!!! " > + "!!!!! " "!!!!!! " "!!!!!!! ") > + :body-section-header-suffix (" \n" " \n" " \n" > + " \n" " \n" " \n") > + > + > + :body-line-export-preformated t ;; yes/no/maybe??? > + :body-line-format "%s " > + :body-line-wrap nil > + > + :body-line-fixed-format " %s\n" > + > + :body-list-format "* %s\n" > + :body-number-list-format "# %s\n" > + ;; :body-list-prefix "LISTSTART" > + ;; :body-list-suffix "LISTEND" > + :blockquote-start "\n^\n" > + :blockquote-end "^\n\n" > + :body-newline-paragraph "\n" > + :bold-format "__%s__" > + :italic-format "''%s''" > + :underline-format "===%s===" > + :strikethrough-format "--%s--" > + :code-format "-+%s+-" > + :verbatim-format "~pp~%s~/pp~" > + ) > ) > "A assoc list of property lists to specify export definitions" > ) >