[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Piping contents of SVG directly to stdout
From: |
Henning Hraban Ramm |
Subject: |
Re: Piping contents of SVG directly to stdout |
Date: |
Mon, 18 Jul 2022 08:44:06 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:102.0) Gecko/20100101 Thunderbird/102.0.2 |
Am 18.07.22 um 06:39 schrieb William:
Felix, I’m curious what you mean by cropping the file. Sounds to me like
you are trying to just write a small snippet of music, maybe a few
measures, and not have the output flooded by whitespace all around the
size of an A4 paper? This is also similar to what I was using lilypond
for and there are ways to do this without any external apps.
I never used the SVG backend, but maybe the lilypond-book header works
with it, too?
It helps to create small snippets, I used the following settings in my
LilyPond setup for ConTeXt:
% --- start of setup for single-line output files ---
#(define default-toplevel-book-handler
print-book-with-defaults-as-systems )
#(define toplevel-book-handler
(lambda ( . rest)
(set! output-empty-score-list #f)
(apply print-book-with-defaults rest)))
#(define toplevel-music-handler
(lambda ( . rest)
(apply collect-music-for-book rest)))
#(define toplevel-score-handler
(lambda ( . rest)
(apply collect-scores-for-book rest)))
#(define toplevel-text-handler
(lambda ( . rest)
(apply collect-scores-for-book rest)))
#(set! output-empty-score-list #t)
% --- stop single-line setup ---
Hraban
Re: Piping contents of SVG directly to stdout, William, 2022/07/18
- Re: Piping contents of SVG directly to stdout,
Henning Hraban Ramm <=
- Re: Piping contents of SVG directly to stdout, DoubleFelix, 2022/07/18
- Re: Piping contents of SVG directly to stdout, David Wright, 2022/07/18
- Re: Piping contents of SVG directly to stdout, DoubleFelix, 2022/07/18
- Re: Piping contents of SVG directly to stdout, William, 2022/07/18
- Re: Piping contents of SVG directly to stdout, Jean Abou Samra, 2022/07/19
- Re: Piping contents of SVG directly to stdout, DoubleFelix, 2022/07/19
- Re: Piping contents of SVG directly to stdout, Jean Abou Samra, 2022/07/19
- Re: Piping contents of SVG directly to stdout, DoubleFelix, 2022/07/19
Re: Piping contents of SVG directly to stdout, Silvain Dupertuis, 2022/07/18
Re: Piping contents of SVG directly to stdout, DoubleFelix, 2022/07/18