DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:abc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:abc [2015-11-28 21:21] Aleksandrplugin: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 : 2015-04-19 +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""Binky""Ponder Stibbons""Hrun"+compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun
 depends    :  depends    : 
-conflicts  :  +conflicts abc2 
-similar    : +similar    : abc2
 tags       : music, markup_language, media, export tags       : music, markup_language, media, export
  
Line 18: Line 18:
 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11071728 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11071728
 ---- ----
 +
 +There is a successor to this plugin which is much easier to install, the **[[plugin:abc2|ABC2 Plugin]]**.
  
 ===== What is ABC? ===== ===== What is ABC? =====
Line 23: Line 25:
 ABC is a musical notation language and "designed to notate tunes in plain text format." ABC is a musical notation language and "designed to notate tunes in plain text format."
  
-See http://abcnotation.org.uk/ for more information.+See http://abcnotation.com/ for more information.
  
-===== Attempts by other Wikis =====+===== Implementations in other Wikis =====
  
   * [[http://www.wikisophia.org/wiki/Wikitex#Music|WikiSophia]] does not use ABC but [[http://www.lilypond.org|lilypond]]   * [[http://www.wikisophia.org/wiki/Wikitex#Music|WikiSophia]] does not use ABC but [[http://www.lilypond.org|lilypond]]
-  * one attempt to implement ABC is the [[http://10pouces.homelinux.net/phpwiki/index.php/AbcPlugin|ABC plugin for  PhpWiki]] FIXME Link does not work +  * one attempt to implement ABC is the [[http://www.pmwiki.org/wiki/Cookbook/AbcMusic|AbcMusic recipe for PmWiki]] 
-  * another attempt is an [[http://www.soe.ucsc.edu/cgi-bin/cgiwrap/nwhitehe/moin.cgi/MusicWiki|ABC plugin for MoinMoin]] +  * another attempt is the [[http://www.mediawiki.org/wiki/Extension:Score|Score extension for MediaWiki]] 
-  * 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: the [[https://wordpress.org/plugins/music-sheet-viewer/|Music Sheet Viewer Plugin]]the [[https://wordpress.org/plugins/abc-notation/|ABC Notation Plugin]] and the [[https://wordpress.org/plugins/choon-player/|Choon Player Plugin]] 
-  * and finally the "big one" got a [[http://www.mediawiki.org/wiki/Extension:Score|Score extension for MediaWiki]] (and an older [[http://www.mediawiki.org/wiki/Extension:ABC|ABC extension]] and an even older [[http://www.mediawiki.org/wiki/Extension:AbcMusic|AbcMusic extension]]) +  * not a wiki either, but you can write ABC collaboratively in [[https://stackedit.io/|StackEdit]] because it has implemented [[https://www.abcjs.net/|abcjs]] 
-  * not a wiki, but another PHP implementation is the [[http://scorerender.abelcheung.org/|ScoreRender Plugin for WordPress]]+
  
 ===== Implementing in DokuWiki ===== ===== Implementing in DokuWiki =====
Line 48: Line 50:
 ==== Download and Install ==== ==== Download and Install ====
  
-Download and install the latest version of the plugin using the [[plugin:extension|Extension Manager]] using the URL given above. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ==== Configuration ==== ==== Configuration ====
Line 144: Line 146:
  
 ==== Rendering ==== ==== Rendering ====
 +
 Please include http://code.google.com/p/abcjs/ for rendering. Please include http://code.google.com/p/abcjs/ for rendering.
 +
 +> 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:abc2|ABC2 Plugin]]. --- [[user>ach|ach]] //2021-01-11 19:21//
  
 ==== Output tabs ==== ==== Output tabs ====
Line 228: Line 233:
 ></abc> ></abc>
 >>ABC files shouldn't have <abc></abc> in them. That's only meant for DokuWiki to know that the content can be rendered by the ABC plugin. >>ABC files shouldn't have <abc></abc> in them. That's only meant for DokuWiki to know that the content can be rendered by the ABC plugin.
->>>Good to know. +>>>Good to know.\\ 
->**1.**This is my first manual testing steps:+ 
 +>**1.**This is my first manual testing steps:\\
 >Win server 2003. Run, cmd: >Win server 2003. Run, cmd:
 >C:\Utile\abcm2ps>C:\Utile\abcm2ps\abcm2ps.exe test.abc -s 1 -w 600 -E -O test. 2>&1 >C:\Utile\abcm2ps>C:\Utile\abcm2ps\abcm2ps.exe test.abc -s 1 -w 600 -E -O test. 2>&1
 >abcm2ps-6.6.22 (November 28, 2012) >abcm2ps-6.6.22 (November 28, 2012)
-  - In tune ''+>-In tune: 
->Error : 'staffwidth' too big +>Error: 'staffwidth' too big 
->Output written on test001.eps\\+>Output written on test001.eps 
 >**2.**C:\Utile\ImageMagick-6.8.6-Q8\convert.exe C:\Utile\abcm2ps\test001.eps -flatten test.png >**2.**C:\Utile\ImageMagick-6.8.6-Q8\convert.exe C:\Utile\abcm2ps\test001.eps -flatten test.png
 >convert: Postscript delegate failed `rrr.eps': No such file or directory @ error/ps.c/ReadPSImage/837. >convert: Postscript delegate failed `rrr.eps': No such file or directory @ error/ps.c/ReadPSImage/837.
 >convert: no images defined `rrr.png' @ error/convert.c/ConvertImageCommand/3106. >convert: no images defined `rrr.png' @ error/convert.c/ConvertImageCommand/3106.
->>You are probably missing the Ghostscript delegate library. Install it from here: [[http://www.imagemagick.org/script/binary-releases.php]] +>>You are probably missing the Ghostscript delegate library. Install it from here: [[http://www.imagemagick.org/script/binary-releases.php]]  [[user>ach|Anika Henke]]
->>[[user>ach|Anika Henke]]+
 >>>It works! My advice is to open the **imdisplay.exe** inside ImageMagick folder and try to  open manually test001.eps. If you see the image the converter is working. (to me it did not work before installing GhostScript application!)\\ >>>It works! My advice is to open the **imdisplay.exe** inside ImageMagick folder and try to  open manually test001.eps. If you see the image the converter is working. (to me it did not work before installing GhostScript application!)\\
->>>Pay attention too to the apache error.log. It seems that for some reasons the path to im_converter (set in Configuration Manager DW) to not be recognized because of the space between C:\Program(space)files\path. For me it worked installing it outside the ''Program Files'' folder.//[[partenery ate gmail point com|Florin]]//\\+>>>Pay attention too to the apache error.log. It seems that for some reasons the path to im_converter (set in Configuration Manager DW) to not be recognized because of the space between C:\Program(space)files\path. For me it worked installing it outside the ''Program Files'' folder (I have Windows 2003 and I installed it in the ''C:\Util\''. //[[partenery ate gmail point com|Florin]]//\\ 
 + 
 +==== Multiple abc section on the same page ==== 
 + 
 +Hi Anika and thanks for this plugin. 
 + 
 +I recently installed it on a 2014-09-29d "Hrun" and it works great. 
 + 
 +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/reference number (''X:''). The media files which get created all follow a pattern for the file name which first has the ID and then the title. So, when both are the same, the previous files get overwritten. Just make sure you use different reference numbers. --- [[user>ach|Anika Henke]] //2017-01-23 00:19//
  
 +>> Great. This is working as you mentioned. Thanks again Anika!
  
 +>>> This does not happen with the new [[plugin:abc2|ABC2 Plugin]]. --- [[user>ach|ach]] //2021-01-11 19:21//
plugin/abc.1448742113.txt.gz · Last modified: 2015-11-28 21:21 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki