Search the web
Sign In
New User? Sign Up
vim · Vim (Vi IMproved) text editor users list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Text formatting tools   Message List  
Reply | Forward Message #105687 of 110403 |
Re: Text formatting tools


Saluton Carsten :)

Carsten Agger <a...@...> dixit:
> 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.

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 to publish the book as HTML, I would use some
almost-plain-text format that already had some kind of powerful HTML
converter/generator. Like, for example, POD (maybe a bit limited for
what you want) or the Python tools (Docutils, reStructuredText and
Sphinx).

I have no big experience with those tools, though, and myself I would
write directly using HTML and will generate the TOC with a hand made
script, probably. Nonetheless Sphinx sounds promising for your needs, or
even otl.

--
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---




Thu Jul 9, 2009 9:50 am

raulnac@...
Send Email Send Email

Forward
Message #105687 of 110403 |
Expand Messages Author Sort by Date

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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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...
Charlie Kester
corky1951@...
Send Email
Jul 10, 2009
7:22 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help