Changes

From SME Server
Jump to navigationJump to search
446 bytes added ,  01:04, 26 August 2007
m
no edit summary
Line 34: Line 34:     
* Install MediaWiki <br>
 
* Install MediaWiki <br>
Thank you dietmar for the pre-prepared rpm http://wiki.contribs.org/Mediawiki
+
Thank you Dietmar for the prepared rpm http://wiki.contribs.org/Mediawiki
    
* Install the Lilypond Extension
 
* Install the Lilypond Extension
For the extension and it's announcement see  
+
For the extension announcement see  
 
http://bugzilla.wikipedia.org/show_bug.cgi?id=189#c12  
 
http://bugzilla.wikipedia.org/show_bug.cgi?id=189#c12  
 +
 +
    
  cd /opt/mediawiki/
 
  cd /opt/mediawiki/
  cp LilyPond.php (to the extensions directory)
+
  cp LilyPond.php extensions/Lilypond.php
 +
 
 +
Add the extension to the Local settings config file
 
  nano -w LocalSettings.php
 
  nano -w LocalSettings.php
 
  require_once("extensions/LilyPond.php");
 
  require_once("extensions/LilyPond.php");
    
* Usage
 
* Usage
 +
=====<lilypond>=====
 
You place special tags in your wiki article, in a nutshell,
 
You place special tags in your wiki article, in a nutshell,
   Line 59: Line 64:  
[[Image:LilypondScale.png|Lilypond Scale]]
 
[[Image:LilypondScale.png|Lilypond Scale]]
    +
=====<lilybook>=====
 +
 +
<lilymidi>
 +
  c, d e f
 +
</lilymidi>
 +
 +
Produces: The above image plus makes it a clickable link to a .midi file
 +
 +
=====<lilybook>=====
 +
 +
<lilymidi>
 +
  lots of code...
 +
</lilybook>
 +
 +
Produces: same as <lilymidi>
 +
 +
For this method you enter the text of an entire .ly file
 +
 +
For all three methods, macro code is disabled for security reasons
 +
 +
 +
=====Further Information=====
 
The [http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Cheat-sheet Lilypond syntax cheat sheet] may be less daunting for wiki users then the full manual.   
 
The [http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Cheat-sheet Lilypond syntax cheat sheet] may be less daunting for wiki users then the full manual.   
    
<noinclude>[[Category:Howto]]</noinclude>
 
<noinclude>[[Category:Howto]]</noinclude>

Navigation menu