emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Russell Adams <RLAdams@AdamsInfoServ.Com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Orgmode] TWiki export
Date: Fri, 8 Sep 2006 12:59:51 +0200	[thread overview]
Message-ID: <0a89ebd09ef944d180fb6289c70bcaa0@science.uva.nl> (raw)
In-Reply-To: <20060908084721.GB5901@keroberos>


On Sep 8, 2006, at 10:47, Russell Adams wrote:

> Seems export filters are quick to write, an export to TWiki's heading
> format would be very convenient.
>
> * One
> ** Two
> *** Three
>
> becomes
>
> ---+ One
> ---++ Two
> ---+++ Three

Easy indeed :-)

perl -ape 's/^\*+/"-" x length($&) . "+" x length($&)/e' twiki.org


> Also, is there a way to force <pre> tags around each body after every
> heading in the html mode export? I often have issues with lines
> running together from code samples.

No, there is not, but have a look at the variable 
org-export-preserve-break, does that help?  Otherwise use QUOTE.

- Carsten

      reply	other threads:[~2006-09-08 11:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08  8:47 [Orgmode] TWiki export Russell Adams
2006-09-08 10:59 ` Carsten Dominik [this message]

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=0a89ebd09ef944d180fb6289c70bcaa0@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=RLAdams@AdamsInfoServ.Com \
    --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).