[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Header fields in custom footer
From: |
Noeck |
Subject: |
Re: Header fields in custom footer |
Date: |
Wed, 30 Nov 2016 23:31:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Hi,
I have one more question on this topic:
How can I check whether a header field is present at all?
(Or my main goal: how can I avoid that the code fails?)
This works:
\version "2.19.50"
\header {
title = "ABC"
}
\paper {
oddFooterMarkup = #(module-ref $defaultheader 'title)
}
{ a }
This does not for obvious reasons:
oddFooterMarkup = #(module-ref $defaultheader 'maintainer)
Instead of putting all possible headers in a default header like
maintainer = ##f
I would like to check the presence, sth like this pseudocode:
oddFooterMarkup = #(if (in? 'maintainer $defaultheader)
(module-ref $defaultheader 'maintainer)
"")
Cheers,
Joram
- Re: Header fields in custom footer, (continued)
- Re: Header fields in custom footer, Noeck, 2016/11/24
- RE: Header fields in custom footer, Andrew Bernard, 2016/11/24
- Re: Header fields in custom footer, Noeck, 2016/11/25
- Re: Header fields in custom footer, Noeck, 2016/11/25
- RE: Header fields in custom footer, Andrew Bernard, 2016/11/25
- Re: Header fields in custom footer, Thomas Morley, 2016/11/26
- Re: Header fields in custom footer, Noeck, 2016/11/26
- Re: Header fields in custom footer, Noeck, 2016/11/26
- Re: Header fields in custom footer, Thomas Morley, 2016/11/26
- Re: Header fields in custom footer, Noeck, 2016/11/27
- Re: Header fields in custom footer,
Noeck <=