lilypond-user
[Top][All Lists]
Advanced

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

Snippet only as PDF


From: Bophead 2000
Subject: Snippet only as PDF
Date: Sun, 27 Feb 2022 10:40:19 +0100

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"

\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]