From mjw@... Thu Jul 09 20:10:52 2009
Received: (qmail 19425 invoked from network); 10 Jul 2009 03:10:51 -0000
Received: from unknown (69.147.108.202)
by m8.grp.re1.yahoo.com with QMQP; 10 Jul 2009 03:10:51 -0000
Received: from unknown (HELO ice.42.org) (194.77.85.2)
by mta3.grp.re1.yahoo.com with SMTP; 10 Jul 2009 03:10:51 -0000
Received: from mail-yx0-f159.google.com (mail-yx0-f159.google.com [209.85.210.159])
by ice.42.org (Postfix) with ESMTP id 526D42288E
for <vim-to-yahoogroups@...>; Fri, 10 Jul 2009 05:10:17 +0200 (CEST)
Received: by yxe31 with SMTP id 31so682670yxe.23
for <vim-to-yahoogroups@...>; Thu, 09 Jul 2009 20:10:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=beta;
h=domainkey-signature:received:received:x-sender:x-apparently-to
:received:received:received-spf:authentication-results:received
:dkim-signature:domainkey-signature:mime-version:content-type
:received:in-reply-to:references:date:message-id:subject:from:to
:reply-to:sender:precedence:x-google-loop:mailing-list:list-id
:list-post:list-help:list-unsubscribe:x-beenthere-env:x-beenthere;
bh=RPlVgxlIjqYDrmHAsBYURrQIiE0909IMatI6n1HkA2o=;
b=Z156dg8gSIVNU8Hhis0hJZ2KH4rMJM7ilP9jYIi5BrgSYwVnR2IJ1/a3B3KVpT66aY
/swkS6ln071pVZunrY4wOsDQk3SlCGQDrpgyihmZkASR1RYq+OlLwx8wzfvyONTJO9PB
ygfIva8GByhoqSGwKrN3GB7HzkAqOs09X+7oo=
Received: by 10.151.141.2 with SMTP id t2mr407337ybn.1.1247195414893;
Thu, 09 Jul 2009 20:10:14 -0700 (PDT)
Received: by 10.177.123.11 with SMTP id a11gr25175yqn.0;
Thu, 09 Jul 2009 20:10:07 -0700 (PDT)
X-Sender: godlygeek@...
X-Apparently-To: vim_use@googlegroups.com
Received: by 10.223.112.135 with SMTP id w7mr22112fap.19.1247195406156; Thu, 09 Jul 2009 20:10:06 -0700 (PDT)
Received: from mail-fx0-f220.google.com (mail-fx0-f220.google.com [209.85.220.220]) by gmr-mx.google.com with ESMTP id e3si27446fga.1.2009.07.09.20.10.05; Thu, 09 Jul 2009 20:10:05 -0700 (PDT)
Received-SPF: pass (google.com: domain of godlygeek@... designates 209.85.220.220 as permitted sender) client-ip=209.85.220.220;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of godlygeek@... designates 209.85.220.220 as permitted sender) smtp.mail=godlygeek@...; dkim=pass (test mode) header.i=@...
Received: by fxm20 with SMTP id 20so572458fxm.23 for <vim_use@googlegroups.com>; Thu, 09 Jul 2009 20:10:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Z4jvImHpPIoR4JQIRW9rZSiLzDeMYSfXKxU1T4O730A=; b=nBUNWwdJ1TyA5ejONmhFHZ0XhukZq+G/QJZDL+yv/7zhq/orE9xsVqz3RKGuEKcQIh gbPaSyLgYRXWcmCWBgRjxJ07KRanRg7WUmq6I2bCqqPOY6xch4Iqe4whTTDUiEVEEuiJ fbaLoVsd4ejfUweb6CUTwETaQn2Sdx2UFlcFE=
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Received: by 10.239.168.15 with SMTP id i15mr147899hbe.169.1247195404076; Thu, 09 Jul 2009 20:10:04 -0700 (PDT)
In-Reply-To: <ba759b100907090919q181b821r50ecc3acd1eff3cd@...>
References: <1247131056.22524.14.camel@lakshmi> <ba759b100907090919q181b821r50ecc3acd1eff3cd@...>
Date: Thu, 9 Jul 2009 23:10:04 -0400
Message-ID: <17393e3e0907092010x26adc7b3g3f7419f2699f6957@...>
Subject: Re: Text formatting tools
From: Matt Wozniski <mjw@...>
To: vim_use@googlegroups.com
Reply-To: vim_use@googlegroups.com
Precedence: bulk
X-Google-Loop: groups
Mailing-List: list vim_use@googlegroups.com;
contact vim_use+owner@googlegroups.com
List-Id: <vim_use.googlegroups.com>
List-Post: <mailto:vim_use@googlegroups.com>
List-Help: <mailto:vim_use+help@googlegroups.com>
List-Unsubscribe: <http://googlegroups.com/group/vim_use/subscribe>,
<mailto:vim_use+unsubscribe@googlegroups.com>
X-BeenThere-Env: vim_use@googlegroups.com
X-BeenThere: vim_use@googlegroups.com
On Thu, Jul 9, 2009 at 12:19 PM, Xavier de Gaye wrote:
>
> On Thu, Jul 9, 2009 at 11:17 AM, Carsten Agger wrote:
>> ...
>> This script allows simple formatting like *italics* and _underline_, but
>> I'd like something a but more "shiny", which would e.g. also recognize
>> chapter and section headings and maybe even generate a TOC.
>>
>> Does anybody have any recommendations? There's txt2tags, which I just
>> found (http://txt2tags.sourceforge.net/writing-book.html), and I suppose
>> one could write something similar to easily convert a text file to a
>> LaTex file, but as I said - do anyone have any experience using such
>> tools?
>
>
> You may want to have a look at docutils, http://docutils.sourceforge.net/
>
> "Docutils is an open-source text processing system for processing
> plaintext documentation into useful formats, such as HTML or LaTeX. It
> includes reStructuredText, the easy to read, easy to use,
> what-you-see-is-what-you-get plaintext markup language."
>
> reStructuredText handles TOC, headings, lists, tables. The markup
> is such that the original text can be easily read as a plain text.
>
> reStructuredText is used for the Python documentation.
>
> I am using docutils and reStructuredText in a moinmoin wiki and find
> it very useful.
+1 for reStructuredText. Easy to write, readable in source form, and
looks good both in html and as latex converted to pdf.
~Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
I've been using vim to write articles and recently started using it for a book as well. I prefer to write everything as a text file w. textwidth=80 and have ...
Carsten Agger
agger@...
Jul 9, 2009 9:29 am
Saluton Carsten :) ... Don't know about the TOC, but a time ago I heard from a tool called "otl" that does more or less what you want. Anyway, if your plan is...
Raúl Núñez d...
raulnac@...
Jul 9, 2009 9:51 am
... Carsten, It doesn't do table of contents or chapter/section headings, but the Txtfmt plugin provides bold, underline, italic (and if you enable the option,...
Stahlman Family
brettstahlman@...
Jul 9, 2009 11:46 am
... You could try (multi) markdown (extended): http://en.wikipedia.org/wiki/Markdown Relatively simple syntax (I use it, though I don't really like the syntax)...
J.A.J. Pater
jajpater@...
Jul 9, 2009 1:26 pm
... Thanks for all the tips - I'll check all of your suggestions out! It seems there are quite a few ways of doing this. :-) ...
Carsten Agger
agger@...
Jul 9, 2009 1:46 pm
... I may not have made it clear in my original post, but Txtfmt permits not just bold, underline, italic, etc..., but also all the permutations thereof. So,...
Brett Stahlman
brettstahlman@...
Jul 9, 2009 5:53 pm
... You may want to have a look at docutils, http://docutils.sourceforge.net/ "Docutils is an open-source text processing system for processing plaintext...
Xavier de Gaye
xdegaye@...
Jul 9, 2009 4:20 pm
... +1 for reStructuredText. Easy to write, readable in source form, and looks good both in html and as latex converted to pdf. ~Matt ...
Matt Wozniski
mjw@...
Jul 10, 2009 3:10 am
... I'm fond of reStructuredText as well. The Python project uses Sphinx (http://sphinx.pocoo.org/): "Sphinx uses reStructuredText as its markup language,...
Michael Henry
vim@...
Jul 10, 2009 5:36 am
... Hash: SHA256 ... Hi Carsten, Another good almost-plain-text format is AsciiDoc [1] which I really like. It's similar to reStructuredText and is easy to ...
Simon Ruderich
simon@...
Jul 10, 2009 5:02 pm
... Call me old-school -- heh, I'm a *vi* user for crying out loud! -- but I use groff with the mdoc or the newer mom macros. I figure that if you're already...