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 #105708 of 110501 |
Re: Text formatting tools




On Jul 9, 6:40 am, Stahlman Family <brettstahl...@...> wrote:
> Carsten Agger wrote:
> > I've been using vim to write articles and recently started using it for
> > a book as well.
>
...snip...

>
> 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, standout, reverse and undercurl) attributes, as well as 8
> configurable foreground text colors. I'm about to release version 2.0,
> which will additionally support up to 8 configurable background colors.
> I noticed that another user mentioned OTL (TVO - The Vim Outliner)...
> Txtfmt highlighting regions can be nested inside other regions with the
> appropriate option setting, so you could, for example, create Txtfmt
> highlighting regions within TVO's indentation regions.
>
> http://www.vim.org/scripts/script.php?script_id=2208

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, for example, you could create a red, bold-
underline-italic region. Also, one of the things that distinguishes
Txtmft from a traditional markup language is that it is WYSIWYG: i.e.,
you see the text highlighted the way you want it as you type it within
Vim, and you don't see the markup tokens. Txtfmt version 2.0 (soon to
be released) can be made to be even more WYSIWIG, as it can use Vince
Negri's "conceal" patch (when it's applied) to conceal the
highlighting tokens completely. (Currently, Txtfmt simply makes each
highlighting token appear as a single space, which is fine for most
applications, but is less than optimal when you want to put several
tokens back to back (e.g., a red fg color token followed by a bold-
underline-italic format token).

Brett S.

...snip...

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




Thu Jul 9, 2009 5:48 pm

brettstahlman@...
Send Email Send Email

Forward
Message #105708 of 110501 |
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