lilypond-user
[Top][All Lists]
Advanced

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

Re: Snippet only as PDF


From: Henning Hraban Ramm
Subject: Re: Snippet only as PDF
Date: Sun, 27 Feb 2022 13:05:56 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0) Gecko/20100101 Thunderbird/91.6.1

Hi Bophead,

welcome, fellow ConTeXt user!
Do you know https://wiki.contextgarden.net/LilyPond ?
I’m using only parts of lilypond-book-preamble.ly

Maybe we can improve the ConTeXt-LilyPond integration together.

Hraban

Am 27.02.22 um 10:40 schrieb Bophead 2000:
Hello all,

I want to produce lilypond snippets to be used within a text – but only in one graphics file format (PDF, EPS or SVG).

In the moment I am using a method I copied from the examples in the HTML-manuals putting the following in front of the music:

%%%%%%%%

\include "lilypond-book-preamble.ly <http://lilypond-book-preamble.ly>"

\paper {
   indent = 0\mm
   line-width = 160\mm
   line-width = #(- line-width (* mm  3.000000) (* mm 1))
   line-width = 160\mm - 2.0 * 10.16\mm
   line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {}

%%%%%%%%

So far everything is working but what annoys me are all those files that I don’t need: tex, texi etc. (I am not using LaTeX) cluttering my folders. (Don’t get me wrong – those files may be useful and necessary if using LaTeX, but I am using ConTeXt so I have no use for them.)

So my question is:

What is the simplest way to get snippets cut down to only content as only one file – be it PDF, EPS or SVG?

Thanks in advance
Bophead




reply via email to

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