[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: markup to string function?
From: |
Reinhold Kainhofer |
Subject: |
Re: markup to string function? |
Date: |
Mon, 31 Jan 2011 21:33:28 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.6.0; i686; ; ) |
Am Donnerstag, 27. Januar 2011, um 12:09:09 schrieb Boris Shingarov:
> On 11-01-26 10:32 AM, Reinhold Kainhofer wrote:
> > I need a function that extracts only the text (in this
> > case "Title of the piece").
>
> Many times, I also find myself in need of such function -- it would be
> absolutely awesome to have one. I have never gotten around to actually
> implementing one; but maybe now is the time. Maybe attach an
> object-property to the markup, called 'text, and then in
> interpret-markup-list, concatenate them?
Actually, I chose a much simpler (and less fexible) route:
http://codereview.appspot.com/4094045/diff/1/scm/markup.scm
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org