|
From: | Jan-Peter Voigt |
Subject: | Re: srfi-1 not available in \layout |
Date: | Fri, 08 May 2015 09:37:46 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
Hi Harm,I think, its a matter of scope. You have to "import" srfi via use-modules, but you can't do that inside \layout{} (IIUC).
You can use a self-defined wrapper-command, to access the needed functions: \version "2.19.18" #(use-modules (srfi srfi-1)) #(define-public (disp-append-map a b)(display (append-map a b))) \layout { #(disp-append-map identity '((1) (2))) } { c''1 } HTH Cheers, Jan-Peter Am 08.05.2015 um 02:49 schrieb Thomas Morley:
\version "2.19.18" \layout { #(display (append-map identity '((1) (2)))) } { c''1 }
[Prev in Thread] | Current Thread | [Next in Thread] |