emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien Guerry <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: [Accepted] [O, 2/5] Added trac-wiki and tikiwiki export settings.
Date: Sat, 22 Oct 2011 11:39:45 +0200 (CEST)	[thread overview]
Message-ID: <20111022093945.BEEE5A976@myhost.localdomain> (raw)
In-Reply-To: 1319213609-40770-3-git-send-email-rpgoldman@real-time.com

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 <rpgoldman@real-time.com>
> 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" <rpgoldman@real-time.com>
> 
> ---
>  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         "<secprefix>\n"
>       :body-section-suffix         "</secsuffix>\n"
> -;	 :body-section-prefix         ("<sec1>\n" "<sec2>\n" "<sec3>\n")
> -;	 :body-section-suffix         ("</sec1>\n" "</sec2>\n" "</sec3>\n")
> +					;	 :body-section-prefix         ("<sec1>\n" "<sec2>\n" "<sec3>\n")
> +					;	 :body-section-suffix         ("</sec1>\n" "</sec2>\n" "</sec3>\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 "<t>\n"
> -;	 :body-text-suffix "</t>\n"
> +					;	 :body-text-prefix "<t>\n"
> +					;	 :body-text-suffix "</t>\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         "<secprefix>\n"
>       :body-section-suffix         "</secsuffix>\n"
> -;	 :body-section-prefix         ("<sec1>\n" "<sec2>\n" "<sec3>\n")
> -;	 :body-section-suffix         ("</sec1>\n" "</sec2>\n" "</sec3>\n")
> +					;	 :body-section-prefix         ("<sec1>\n" "<sec2>\n" "<sec3>\n")
> +					;	 :body-section-suffix         ("</sec1>\n" "</sec2>\n" "</sec3>\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 "</p>\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 	       "<t>%s</t>\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"
>  )
> 

  reply	other threads:[~2011-10-22  9:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-21 16:13 Patches for org-generic-export Robert P. Goldman
2011-10-21 16:13 ` [PATCH 1/5] bind org-export-current-backend in generic exporter Robert P. Goldman
2011-10-22  9:38   ` [Accepted] [O, " Bastien Guerry
2011-10-22  9:40   ` [PATCH " Bastien
2011-10-21 16:13 ` [PATCH 2/5] Added trac-wiki and tikiwiki export settings Robert P. Goldman
2011-10-22  9:39   ` Bastien Guerry [this message]
2011-10-22  9:40   ` Bastien
2011-10-21 16:13 ` [PATCH 3/5] Kill the HTML exporter Robert P. Goldman
2011-10-21 16:13 ` [PATCH 4/5] Fixed section-header-prefix for trac wiki Robert P. Goldman
2011-10-21 16:13 ` [PATCH 5/5] Fix header prefixes " Robert P. Goldman
2011-10-21 17:06 ` OPatches for org-generic-export Wes Hardaker
2011-10-21 17:23   ` Bastien
2011-10-24 14:44     ` Wes Hardaker
2011-10-24 15:06       ` Robert Goldman
2011-10-21 17:29   ` Robert Goldman
2011-10-21 17:34     ` Jambunathan K
2011-10-22  9:50       ` Bastien
2011-10-22  9:54     ` Bastien

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=20111022093945.BEEE5A976@myhost.localdomain \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /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).