On Jul 9, 6:40 am, Stahlman Family <[email protected]> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to