Sunday, June 19, 2011

Re: Vim lines… and poetry

Hi,

* ThG <tguillemin@gmail.com> [110619 12:08]:
> I use Vim to write a book.
> Each Vim line ended by a carriage return will be a paragraph of the
> book. Thus a single Vim line (which is wrapped, e.g. with a 80
> character screen in 10 screen lines) can end as a 15 line paragraph in
> the book. But I have one problem : I want to make quotes of poetry,
> such as (Coleridge RAM.2)
>
> The fair breeze blew, the white foam flew,
> The furrow followed free;
> We were the first that ever burst
> Into that silent sea.
> [...]

I'm not sure what typsetting system(s) you are using/considering, but
if you'd like to typset a book from the comfort of your text editor,
I'd suggest taking a look at ConTeXt [1] and Pandoc [2]. ConTeXt is a
very capable document processor and Pandoc is a tool that can convert
from a simple format like Markdown [3] to a variety of other formats,
including HTML and ConTeXt. Not sure how possible it would be to make
these tools do exactly what you're looking for or how much work might
be involved...but I do know there are templates in Pandoc that make
it possible to customize the ConTeXt it will output. Here's a thread
from the ConTeXt mailing list [4] discussing specifically how to
typeset poetry. Both of these projects are actively maintained by very
knowledgeable communities.

[1] http://wiki.contextgarden.net/What_is_ConTeXt
http://en.wikipedia.org/wiki/ConTeXt

[2] http://johnmacfarlane.net/pandoc/

[3] http://en.wikipedia.org/wiki/Markdown

[4] http://www.ntg.nl/pipermail/ntg-context/2010/052369.html

HTH,

John

--
John Magolske
http://B79.net/contact

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: