Re: Syntax highlighting

2020-01-25 Thread Craig Dabelstein
Hi all, This is what I've been doing to test, after cloning the repo. Instructions start halfway down this page: https://pygments.org/docs/lexerdevelopment/ You probably don;t even have to `make mapfiles` on this LilyPond branch. 1. Run make mapfiles 2. Run the lexer to convert

Re: Syntax highlighting

2020-01-25 Thread Henning Hraban Ramm
> Am 2020-01-25 um 10:45 schrieb Urs Liska : > > Am Samstag, den 25.01.2020, 17:48 +1000 schrieb Craig Dabelstein: >> Hi everyone, >> >> I've written a LilyPond syntax highlighter for pygments. It's not perfect >> but it's mostly working. Is there anyone out there who could test it? >> >>

Re: Syntax highlighting

2020-01-25 Thread Urs Liska
Am Samstag, den 25.01.2020, 17:48 +1000 schrieb Craig Dabelstein: > Hi everyone, > I've written a LilyPond syntax highlighter for pygments. It's not > perfect but it's mostly working. Is there anyone out there who could > test it? > > https://github.com/craigdab/pygments/tree/LilyPond Thank you

Re: Syntax highlighting

2020-01-16 Thread Craig Dabelstein
The pygments LilyPond lexer is actually going ok. I'm still copying over the info from python-ly, but I've worked it out and so far it's working without errors. I will have to learn some regex tricks in the next few days. Perhaps another week and it will be ready for some testing. Craig On Wed.,

Re: Syntax highlighting

2020-01-14 Thread Craig Dabelstein
Federico, Is it just me or is the documentation for Pygments really hard to understand? I can't even find anywhere they discuss the setup.py file. I've opened a repo (https://github.com/craigdab/pygments-lilypond-test) and cut and paste from other peoples repositories as a start, but I really

Re: Syntax highlighting

2020-01-14 Thread Craig Dabelstein
Thank you gentlemen, I'll have a go at taking the python-ly work and seeing if I can use it work to make syntax highlighting with pygments. It's highly possible that I will totally fail, but I'll give it a try. Craig On Tue, 14 Jan 2020 at 23:38, Federico Bruni wrote: > Il giorno mar 14 gen

Re: Syntax highlighting

2020-01-14 Thread Federico Bruni
Il giorno mar 14 gen 2020 alle 12:34, Urs Liska ha scritto: Pygments is also what Pandoc uses for its syntax highlighting, so that would also make sense for that (e.g. generating PDF documentation from Markdown). Are you sure? I think that pygments is the name of the default style in Pandoc,

Re: Syntax highlighting

2020-01-14 Thread Urs Liska
Am Dienstag, den 14.01.2020, 12:27 +0100 schrieb Federico Bruni: > > Il giorno mar 14 gen 2020 alle 09:13, Craig Dabelstein > ha scritto: > > Hi all, > > > > I'd like to add LilyPond syntax highlighting to highlight.js ( > > https://highlightjs.readthedocs.io/en/latest/ ) so that I can > >

Re: Syntax highlighting

2020-01-14 Thread Federico Bruni
Il giorno mar 14 gen 2020 alle 09:13, Craig Dabelstein ha scritto: Hi all, I'd like to add LilyPond syntax highlighting to highlight.js ( https://highlightjs.readthedocs.io/en/latest/ ) so that I can experiment with documentation tools such as mkDocs/readthedocs. Does anyone have any

Re: syntax highlighting in the doc, call for testers

2012-02-05 Thread Thomas Morley
Hi Federico, 2012/2/3 Federico Bruni fedel...@gmail.com: Il 02/02/2012 22:22, Thomas Morley ha scritto: 1. Am I right you resigned of every highlighting within scheme? Yes, almost. I know nothing about Scheme. The only highlighting within Scheme that I'd like to preserve are the strings .

Re: syntax highlighting in the doc, call for testers

2012-02-02 Thread Federico Bruni
Il 02/01/2012 15:58, Thomas Morley ha scritto: I tested a file with a large scheme-definition. In the attached file you may notice some inconsequences: Hi Thomas, I have fixed the error in the scheme definition, so your file is highlighted correctly now. I've done also some other

Re: syntax highlighting in the doc, call for testers

2012-02-02 Thread Thomas Morley
Hi Federico, 2012/2/2 Federico Bruni fedel...@gmail.com: Il 02/01/2012 15:58, Thomas Morley ha scritto: I tested a file with a large scheme-definition. In the attached file you may notice some inconsequences: Hi Thomas, I have fixed the error in the scheme definition, so your file is

Re: syntax highlighting in the doc, call for testers

2012-02-02 Thread Federico Bruni
Il 02/02/2012 22:22, Thomas Morley ha scritto: 1. Am I right you resigned of every highlighting within scheme? Yes, almost. I know nothing about Scheme. The only highlighting within Scheme that I'd like to preserve are the strings . I've just edited the scheme definition and it works. Is

Re: syntax highlighting in the doc, call for testers

2012-01-02 Thread Federico Bruni
Hi Harm, thanks for your feedback. Your example let me notice that I forgot that R (upper case) is a note as well, so I've updated the note_duration regexp. Il 02/01/2012 15:58, Thomas Morley ha scritto: I tested a file with a large scheme-definition. In the attached file you may notice some

Re: Syntax highlighting in LilyPad?

2008-08-04 Thread Mats Bengtsson
Please always keep the discussion on the mailing list lilypond-user@gnu.org, for the benefit of yourself since you get access to the collected expertise on the list and for the benefit of others who experience similar problems. I have never used LilyPond on a Mac. I hope you have read section

Re: Syntax Highlighting / lilypond.words.vim

2004-02-11 Thread Lyle Raymond
I apparently need to find lilypond.words.vim for the operation to be complete. Where can I get it? It should be distributed with LilyPond. You don't say which package you installed so we can't help more; recent Debian packages put it into /usr/share/doc/lilypond. Tell at least a version

Re: Syntax Highlighting / lilypond.words.vim

2004-02-10 Thread Aaron
Hi Lyle, I also use vim (gvim) for lilypond editing. I am looking for others to who use vim to create some sort of group to work on an extented vim mode for lilypond. I made a lilypond ftplugin for vim but it is now out of date and needs much debugging. If you are interested or anyone else let

Re: Syntax Highlighting / lilypond.words.vim

2004-02-10 Thread Ferenc Wagner
Lyle Raymond [EMAIL PROTECTED] writes: I apparently need to find lilypond.words.vim for the operation to be complete. Where can I get it? It should be distributed with LilyPond. You don't say which package you installed so we can't help more; recent Debian packages put it into