|
From: | Mats Bengtsson |
Subject: | Re: latex, newcommand and lilypond-book |
Date: | Mon, 14 Jan 2008 10:31:11 +0100 |
User-agent: | Thunderbird 2.0.0.5 (X11/20070716) |
does not understand your \newcommand trick. If you have a reasonably goodtext editor, you can probably use that to replace all occurences of \lily{...} by the block of code you wrote (for example in Emacs, you can use query-replace-regexp).
/Mats Joe Mc Cool wrote:
Please, in my latex file I have: \newcommand{\lily }[1]{\lilypondfile{#1}{#1}} but, lilypond-book then complains: lilypond-book: error: file not found: #1 Again in my niavete, I had hoped to use blocks of latex code like: \begin{figure}[h] \index{over the ocean} \lily{lilys/over.the.ocean.ly} % current implementation of newcommand \end{figure} I am using a figure environment to ensure that no tune involves a page turn. I have googled and googled and noticed that this issue has come up before, but I do not see a work around.
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: address@hidden WWW: http://www.s3.kth.se/~mabe =============================================
[Prev in Thread] | Current Thread | [Next in Thread] |