lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reverse Lilypond Book...


From: Jan-Peter Voigt
Subject: Re: Reverse Lilypond Book...
Date: Thu, 21 Jun 2012 09:28:28 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

Hi Sami,

for the purpose of a text at the beginning of a music-book, I created a markup-list command. This command expects some installed commands: pdflatex and/or xelatex, pdftops and pdfinfo. I use ubuntu so this is installed via aptitude and callable on the console. I don't know anything about how this could work on windows ...

These are the function, that I created for my own purposes, so I cannot give any warranty, that they do work as expected! And take care/ATTENTION: This function creates files on your harddisk, processes them with the above mentioned commands *and then removes these working files!*

So this is a proof of concept and the answer to your question: yes it is possible But you (or whoever) might have to tweak this stuff to work as *you* expect ;-)

HTH
cheers, Jan-Peter

On 21.06.2012 01:50, Sami wrote:
Hi all!

This has probably been asked before, but I haven't found it anywhere, so I
ask it myself. Excuse any repetition, and please direct me there if it
exists and you can find it easily.

With lilypond-book and co, what I understood is that one writes a LaTeX
document with lilypond snippets. Essentially, it is a text document, and has
some musical examples. LaTeX is the boss.

What if we want to do the exact opposite? Like, a music book with snippets
of TeX or LaTex-formatted text. An ideal situation would be for prefaces,
contents, etc. to be in LaTex, or TeX or whatever, and then the music in
lilypond, and all of this inside the lilypond file.

I suppose that each LaTeX snippet would be a small LaTeX document with its
own preamble etc, and most page-formatting variables dictated by lilypond,
which would do the analogous of what lilypond-book does, but in reverse.
Such a case would be great if one wants to write a music book, but using the
Tex text functionality for any big chunks of text, like cover pages,
prefaces, contents, etc.

Is any of this possible?


Attachment: latex-include.ly
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]