From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70785 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: Lilypond Date: Fri, 19 Aug 2011 22:18:08 +0200 Message-ID: <61F3C339-8949-48E3-97DD-8C6071958B29@fiee.net> References: <53762C1C-F3B2-4627-8A45-0EAB68CBDC73@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="windows-1252"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1313785125 18827 80.91.229.12 (19 Aug 2011 20:18:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2011 20:18:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 19 22:18:40 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QuVWZ-0005aZ-LE for gctc-ntg-context-518@m.gmane.org; Fri, 19 Aug 2011 22:18:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1D14CAEAA; Fri, 19 Aug 2011 22:18:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HOyIbCt3oT81; Fri, 19 Aug 2011 22:18:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF4D0CAED0; Fri, 19 Aug 2011 22:18:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD82DCAED0 for ; Fri, 19 Aug 2011 22:18:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id srGosm+bFnjp for ; Fri, 19 Aug 2011 22:18:11 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id C970FCAEAA for ; Fri, 19 Aug 2011 22:18:11 +0200 (CEST) Original-Received: from thesan.fiee.net (thesan.fiee.net [178.77.74.245]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7JKIAV6014355 for ; Fri, 19 Aug 2011 22:18:11 +0200 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=fiee.net; b=p22gfOeoZW9zMp39upw+67/0NAf8I/HemTLbDxqE5LrnUBw318J4yOYT3+fBtu2BB0ePqjOY5z4XDzb/Sr9U6/MkQS3NAY1q0u74Xi/BAQzehNaC71qO/+u2y9u+nR2u; h=Received:Received:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; Original-Received: (qmail 12150 invoked from network); 19 Aug 2011 22:18:10 +0200 Original-Received: from 109-54.79-83.cust.bluewin.ch (HELO ?10.128.9.9?) (83.79.54.109) by thesan.fiee.net with ESMTPSA (AES128-SHA encrypted, authenticated); 19 Aug 2011 22:18:10 +0200 In-Reply-To: X-Mailer: Apple Mail (2.936) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=178.77.74.245; country=DE; region=07; city=Host; latitude=51.6500; longitude=6.1833; http://maps.google.com/maps?q=51.6500,6.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05FmkiaVP - 2a6a2996af73 - 20110819 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70785 Archived-At: Am 2011-08-19 um 17:08 schrieb Aditya Mahajan: >> I don't understand what you're planning, > > I am planning to add features so that you can say: > > \startlilypondpreamble > global settings > \stoplilypondpreamble Ah, that's great - at the moment I just import the same settings.ly = file into every score of a songbook. But - can you even support different setups, say \startlilypondpreamble global settings for everything \stoplilypondpreamble \startlilypondpreamble[snippet] global settings for snippets \stoplilypondpreamble \startlilypondpreamble[fullscore] global settings for full scores \stoplilypondpreamble \startlilypond[setup=3Dfullscore] the score \stoplilypond etc. > The other thing is to be able to change linespace, papersize, = > offset, etc using parameters, so that one can say: > \startlilypond[linespace=3D...] > ... > \stoplilypond > This will require some lua side processing. You mean, translate ConTeXt-style settings to LilyPond settings, like = we did with the old module? That wouldn=92t make much sense. LilyPond just has too much settings. = And most of them you can set in different ways. To fully support this, = you=92d need a complete LilyPond parser including Scheme. And a small = set of settings is never the right set for everyone. Ok, there are a few settings that we could translate, e.g. set = ConTeXt=92s main fonts also for LilyPond. We don=92t need LilyPond's layout settings, as long as we go the = \externalfigure path. I don=92t know a solution for line breaking of scores - if you=92d set = LilyPond=92s page size to ConTeXt=92s remaining space, it would stay the = same for the second page. Perhaps we can get single lines (systems) = and let ConTeXt to the page breaking. I=92ll look into that. But I don=92t know how we can make it "right" WRT LilyPond snippets - = I=92d want to align a note systems=92s base line with ConTeXt=92s text = baseline, but the height and clipping of a snippet depends on the = visible elements. Without some picture analysis (or runtime data from = LilyPond, that doesn=92t exist AFAIK) you need to adjust your snippets = manually. > Do you know how lilypond numbers its output files. In some cases I = > get filename-1.pdf sometimes not. Can I force it to always give = > filename-1.pdf or always give filename.pdf LilyPond adds a number to EPS, if there=92s more that one page. But in my songbook setup, I always get a filename-temp-lilypond-##.eps = plus an identical filename-temp-lilypond-##-1.eps When you order more than one \midi{} in several \score blocks, the = first MIDI file is unnumbered, the second gets number 1 etc.; didn=92t = try with different \layout blocks yet. Seems like I must do some tests with multipage scores. > Which OSes do you have access to? Normally I work on OSX Intel 10.5.8; I've access to Windows 7/64 and = Ubuntu/Debian machines. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________