plugin:abc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:abc [2013-07-14 01:23] – [Requirements] 85.186.41.249 | plugin:abc [2023-10-30 22:41] (current) – Klap-in | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : anika@selfthinker.org | email : anika@selfthinker.org | ||
type : syntax | type : syntax | ||
- | lastupdate : 2008-08-17 | + | lastupdate : 2021-01-05 |
- | compatible : 2005-07-01 - 2007-06-26, 2008-05-05, 2009-02-14, 2009-12-25 "Lemming", 2010-11-07 "Anteater", 2011-05-25 "Rincewind", 2012-01-25 "Angua", 2012-10-13 "Adora Belle", "Weatherwax" | + | compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun |
depends | depends | ||
- | conflicts | + | conflicts |
- | similar | + | similar |
tags : music, markup_language, | tags : music, markup_language, | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : http:// | + | bugtracker : https:// |
- | sourcerepo : http:// | + | sourcerepo : https:// |
donationurl: | donationurl: | ||
---- | ---- | ||
+ | |||
+ | There is a successor to this plugin which is much easier to install, the **[[plugin: | ||
===== What is ABC? ===== | ===== What is ABC? ===== | ||
- | abc is a musical notation language and " | + | ABC is a musical notation language and " |
- | See http:// | + | See http:// |
- | ===== Attempts by other Wikis ===== | + | ===== Implementations in other Wikis ===== |
* [[http:// | * [[http:// | ||
- | * one attempt to implement ABC is the [[http://10pouces.homelinux.net/phpwiki/index.php/AbcPlugin|ABC plugin | + | * one attempt to implement ABC is the [[http://www.pmwiki.org/wiki/Cookbook/AbcMusic|AbcMusic recipe |
- | * another attempt is an [[http:// | + | * another attempt is the [[http:// |
- | * there is also the [[http://www.pmwiki.org/wiki/Cookbook/AbcMusic|AbcMusic recipe for PmWiki]] | + | * not a wiki, but other PHP implementations are available for WordPress: |
- | * and finally | + | * not a wiki either, but you can write ABC collaboratively in [[https://stackedit.io/ |
- | * not a wiki, but another PHP implementation is the [[http://scorerender.abelcheung.org/|ScoreRender Plugin for WordPress]] | + | |
===== Implementing in DokuWiki ===== | ===== Implementing in DokuWiki ===== | ||
Line 38: | Line 40: | ||
==== Requirements ==== | ==== Requirements ==== | ||
- | * '' | + | * '' |
- | * which (should) use **[[http:// | + | * **[[http:// |
- | * ImageMagick-6.8.6-Q16, Win 32, for example, will not work without **Ghostscript** (you can get it and install from the link above). | + | * needed by '' |
- | | + | * '' |
- | | + | * **'' |
- | * '' | + | * '' |
* '' | * '' | ||
- | * [[http:// | ||
==== Download and Install ==== | ==== Download and Install ==== | ||
- | Download | + | Search |
- | + | ||
- | {{plugin: | + | |
==== Configuration ==== | ==== Configuration ==== | ||
- | |||
- | === For the latest plugin versions (2007-06-03, | ||
Please use the [[plugin: | Please use the [[plugin: | ||
- | (If you want to change these manually, you can edit '' | ||
^config variable^description | ^config variable^description | ||
^'' | ^'' | ||
- | ^'' | + | ^'' |
^'' | ^'' | ||
^'' | ^'' | ||
Line 75: | Line 71: | ||
^'' | ^'' | ||
- | == style.css and file icons == | + | === style.css and file icons === |
- | Since version 2006-12-09 a file icon for midi files was added. | + | If you want to allow midi files to be uploaded by the media manager and want them to be automatically recognized by DokuWiki, you should take the steps [[: |
You can do the same with a possible abc icon ... | You can do the same with a possible abc icon ... | ||
- | |||
- | |||
- | === For older versions (2006-02-27a and earlier) === | ||
- | |||
- | Please read the README that comes with the zip file! | ||
- | |||
==== Probable alteration of ./ | ==== Probable alteration of ./ | ||
Line 118: | Line 108: | ||
==== Transposition ==== | ==== Transposition ==== | ||
- | < | + | It is possible to let the plugin transpose for you by extra parameters (separated by spaces; only 7 different values allowed). These parameters have to be numbers between -23 and 23, which is the amount of semitones that the tune will be transposed up (if positive) or down (if negative). E.g. |
- | + | ||
- | Since version 2006-02-21 it is possible to let the plugin transpose for you by extra parameters (separated by spaces; only 7 different values allowed). These parameters have to be numbers between -23 and 23, which is the amount of semitones that the tune will be transposed up (if positive) or down (if negative). E.g. | + | |
< | < | ||
Line 141: | Line 129: | ||
- Make sure the involved programmes work properly (by testing e.g. "''/ | - Make sure the involved programmes work properly (by testing e.g. "''/ | ||
- | - There is an internal debug variable, which can be turned | + | - Enable the [[config: |
- Add a [[devel: | - Add a [[devel: | ||
Line 147: | Line 135: | ||
===== Important notes ===== | ===== Important notes ===== | ||
- | * I only just began to learn PHP, so please feel free to make improvements! | ||
* Any kind of error handling or other measures to provide security may not have been cared for satisfyingly. So any usage at your own risk. | * Any kind of error handling or other measures to provide security may not have been cared for satisfyingly. So any usage at your own risk. | ||
- | | + | * You can test the plugin |
- | | + | |
===== Version history ===== | ===== Version history ===== | ||
- | * **2008-08-17**: | + | {{rss> |
- | * made abc media namespace configurable (if your wiki closed, this could fix a security issue) | + | |
- | * added the option to display the error logs of abcm2ps and abc2midi (only once when the page is saved or previewed) | + | |
- | * fixed browser caching for changed media files | + | |
- | * fixed preview of a revision | + | |
- | * improved error messages | + | |
- | * **2007-06-03**: | + | |
- | * support for (many) UTF-8 characters, which will be automatically converted into their equivalent escape sequence | + | |
- | * formerly nothing was displayed when the image failed to be generated, now an error is displayed instead | + | |
- | * two config options were added for the possibility of changing the abcm2ps parameters for the image and ps/pdf generation | + | |
- | * **2006-12-09**: | + | |
- | * support for PDF file creation | + | |
- | * for the list of abc, midi, PS/PDF files corresponding file icons for different media types are used | + | |
- | * when doing a " | + | |
- | * a simple (hidden) way to debug was added | + | |
- | * the style.css was changed (so was a bit of the HTML output) | + | |
- | * **2006-07-23**: | + | |
- | * no more usage of the .trans file | + | |
- | * if transposition parameters have changed, only the necessary files are parsed again | + | |
- | * old transposed files will now be deleted | + | |
- | * upgraded for ability to use the config manager for configuration | + | |
- | * from now on the abc source is always in the HTML source (for search engine optimization) | + | |
- | * rough error handling | + | |
- | * **2006-02-27a**: | + | |
- | * **2006-02-27**: | + | |
- | * **2006-02-21**: | + | |
- | * **2005-11-21**: | + | |
- | * **2005-11-20**: | + | |
- | * **2005-10-23**: | + | |
- | * **2005-07-04**: | + | |
+ | ===== Feedback ===== | ||
+ | ==== Rendering ==== | ||
+ | Please include http:// | ||
- | + | > There is now a new ABC Plugin which includes abcjs and other similar JS libraries. The implementation is too different from this plugin, that's why I created a new one, see [[plugin: | |
- | ===== Feedback ===== | + | |
==== Output tabs ==== | ==== Output tabs ==== | ||
Line 236: | Line 195: | ||
I'm not too sure what to put when setting ps2pdf. I've tried putting '' | I'm not too sure what to put when setting ps2pdf. I've tried putting '' | ||
--- ty // | --- ty // | ||
+ | |||
+ | ==== Understanding Transposition ==== | ||
+ | I understood that I have to put the following in the plugin beginning to obtain a transposition: | ||
+ | < | ||
+ | Do I need to do something else to obtain a transposition? | ||
+ | // | ||
+ | |||
+ | > You only need to make sure '' | ||
==== Error messages ==== | ==== Error messages ==== | ||
Line 252: | Line 219: | ||
>>> | >>> | ||
>>>> | >>>> | ||
+ | >So, please tell me where exactly should I post this debugging code '' | ||
+ | >> | ||
+ | >> | ||
+ | >For test I made myself via notepad an ABC File with this content:\\ | ||
+ | > | ||
+ | > <abc 5> | ||
+ | >X:42 | ||
+ | >T:Test | ||
+ | >M:4/4 | ||
+ | >K:C | ||
+ | >" | ||
+ | >w:This is just a test. | ||
+ | ></ | ||
+ | >>ABC files shouldn' | ||
+ | >>> | ||
+ | |||
+ | > | ||
+ | >Win server 2003. Run, cmd: | ||
+ | > | ||
+ | > | ||
+ | >-In tune: | ||
+ | >Error: ' | ||
+ | >Output written on test001.eps | ||
+ | |||
+ | > | ||
+ | > | ||
+ | > | ||
+ | >>You are probably missing the Ghostscript delegate library. Install it from here: [[http:// | ||
+ | >>> | ||
+ | >>> | ||
+ | |||
+ | ==== Multiple abc section on the same page ==== | ||
+ | |||
+ | Hi Anika and thanks for this plugin. | ||
+ | |||
+ | I recently installed it on a 2014-09-29d " | ||
+ | |||
+ | Just one question, is there is a way to have multiple <abc> section on the same page? | ||
+ | |||
+ | When I'm doing it, I'm getting multiple image of the last section instead of 2 distinct section. | ||
+ | |||
+ | Thanks - Thomas. | ||
+ | |||
+ | > Yes, having multiple abc section on the same page is no problem. The problem you're having sounds like it's because your sections have the same titles and IDs/ | ||
+ | |||
+ | >> Great. This is working as you mentioned. Thanks again Anika! | ||
+ | |||
+ | >>> |
plugin/abc.1373757801.txt.gz · Last modified: 2013-07-14 01:23 by 85.186.41.249