|
From: | Simon Albrecht |
Subject: | Re: Scheme void function problems |
Date: | Wed, 25 Mar 2015 19:29:03 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
Hello, thanks a lot for your thoughts, David. Am 25.03.2015 um 16:33 schrieb David
Nalesnik:
From the design point of view I think it’s necessary to have it first: it’s much more intuitive to write \language output "deutsch" than \language "deutsch" output. I don’t quite get why having the optional argument first doesn’t work: after all, this is commonly used in music functions and scheme functions. But apparently define-void-function is implemented differently. This would then mean that one has to always specify the first argument, which is not the most elegant form. I’ll probably switch to using three distinct functions \language, \inputLanguage and \outputLanguage (with the names being subject to discussion of course). Right you are. I attach another state of work, which now works fine. It will have to be extended by solutions for tocTitleMarkup and eventually tocItemMarkup and then perhaps I’ll even make a patch myself. We’ll see :-) Yours, Simon |
tagline-c.ly
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |