On 09/04/2025 12:14, damianlegassick wrote:
Hi all
If I wanted do something equivalent to this (which I know does not
work) - what's the best way to go about it?
\tag #'landscape #(set-default-paper-size "a4" 'landscape)
\tag #'portrait #(set-default-paper-size "a4" )
You could set the orientation with a Guile variable
\version "2.24.0"
#(define orientation 'landscape)
% #(define orientation 'portrait)
#(set-default-paper-size "a4" orientation)
{ c''1 }
You could set this variable on the command line. Note the use-modules
command.
\version "2.24.0"
#(use-modules (guile-user))
#(set-default-paper-size "a4" orientation)
{ c''1 }
lilypond -e "(define-public orientation 'landscape)" foo.ly
--
Timothy Lanfear, Bristol, UK.