Permalink
Browse files

version 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 "?purge=1", the behaviour for not parsing unchanged source again, is avoided
* a simple (hidden) way to debug was added
* the style.css was changed (so was a bit of the HTML output)
  • Loading branch information...
1 parent 3f051ab commit 72583f8dba307d9c1d755cace14c36a0197b1320 @selfthinker committed Aug 30, 2009
Showing with 421 additions and 352 deletions.
  1. +2 −2 README
  2. +8 −7 conf/default.php
  3. +8 −7 conf/metadata.php
  4. +9 −8 lang/en/settings.php
  5. BIN mid.png
  6. +28 −8 style.css
  7. +366 −320 syntax.php
View
@@ -1,5 +1,5 @@
ABC Plugin (http://wiki.splitbrain.org/plugin:abc)
-for DokuWiki (http://www.splitbrain.org/dokuwiki/wiki:dokuwiki) devel version
+for DokuWiki (http://www.splitbrain.org/dokuwiki/wiki:dokuwiki) version 2006-11-06
-version: 2006-07-23
+version: 2006-12-09
author: Anika Henke <a.c.henke@arcor.de>
View
@@ -4,11 +4,12 @@
*
*/
-$conf['abcok'] = 1;
-$conf['displayType'] = 0;
-$conf['displaySource'] = 0;
+$conf['abcok'] = 1;
+$conf['displayType'] = 0;
+$conf['displaySource'] = 0;
-$conf['abc2ps'] = '';
-$conf['abc2midi'] = '';
-$conf['abc2abc'] = '';
-$conf['fmt'] = '';
+$conf['abc2ps'] = '';
+$conf['abc2midi'] = '';
+$conf['ps2pdf'] = '';
+$conf['abc2abc'] = '';
+$conf['fmt'] = '';
View
@@ -4,11 +4,12 @@
*
*/
-$meta['abcok'] = array('onoff');
-$meta['displayType'] = array('multichoice','_choices' => array(0,1,2));
-$meta['displaySource'] = array('onoff');
+$meta['abcok'] = array('onoff');
+$meta['displayType'] = array('multichoice','_choices' => array(0,1,2));
+$meta['displaySource'] = array('onoff');
-$meta['abc2ps'] = array('string');
-$meta['abc2midi'] = array('string');
-$meta['abc2abc'] = array('string');
-$meta['fmt'] = array('string');
+$meta['abc2ps'] = array('string');
+$meta['abc2midi'] = array('string');
+$meta['ps2pdf'] = array('string');
+$meta['abc2abc'] = array('string');
+$meta['fmt'] = array('string');
View
@@ -4,16 +4,17 @@
*
*/
-$lang['abcok'] = 'May ABC be embedded?';
-$lang['displayType'] = 'How to display the output';
-$lang['displaySource'] = 'Shall the abc source be shown as well?';
+$lang['abcok'] = 'May ABC be embedded?';
+$lang['displayType'] = 'How to display the output';
+$lang['displaySource'] = 'Shall the abc source be shown as well?';
-$lang['abc2ps'] = 'Where to find abcm2ps (or abc2ps or jcabc2ps or jaabc2ps or yaps)';
-$lang['abc2midi'] = 'Where to find abc2midi (optional if the output is "image only")';
-$lang['abc2abc'] = 'Where to find abc2abc (leave blank for disallowing transposition)';
-$lang['fmt'] = 'Where to find an abcm2ps format file (e.g. "foo.fmt") to format the PS file (optional)';
+$lang['abc2ps'] = 'Where to find abcm2ps (or abc2ps or jcabc2ps or jaabc2ps or yaps)';
+$lang['abc2midi'] = 'Where to find abc2midi (optional if the output is "image only")';
+$lang['ps2pdf'] = 'Where to find ps2pdf (optional, only needed if the output is "image with list of abc, midi, ps/pdf" and if a pdf file instead of a ps file shall be generated)';
+$lang['abc2abc'] = 'Where to find abc2abc (leave blank for disallowing transposition)';
+$lang['fmt'] = 'Where to find an abcm2ps format file (e.g. "foo.fmt") to format the PS/PDF file (optional)';
/* displayType options */
$lang['displayType_o_0'] = 'image only';
$lang['displayType_o_1'] = 'image linked to midi';
-$lang['displayType_o_2'] = 'image with list of abc, midi, ps';
+$lang['displayType_o_2'] = 'image with list of abc, midi, ps/pdf';
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -1,12 +1,32 @@
div.abc {
- padding: 0.5em 0 1.0em 0;
- margin: 0 0 0.5em 0;
- background-color: #fff;
- color: #000;
+ padding: 0.5em;
+ margin: 0 0 0.5em 0;
+ background-color: #fff;
+ color: #000;
+ border-top: 1px solid #ccc;
+ border-right: 2px solid #aaa;
+ border-bottom: 2px solid #aaa;
+ border-left: 1px solid #ccc;
+ text-align: center;
}
-div.abc pre {
- display: none;
+div.abc_src {
+ display: none;
+ padding: 0.5em;
+ margin: 0 0 0.5em 0;
+ border: none;
}
-div.visible pre {
- display: block !important;
+div.visible {
+ display: block !important;
+ border: 1px solid #ccc;
+}
+div.abc ul {
+ border-bottom: 1px dotted #ccc;
+ text-align: left;
+}
+div.abc li {
+ list-style: none;
+}
+/* if you allow midi files per mime(.local).conf, you should comment the follow lines out */
+a.mf_mid {
+ background-image: url(mid.png);
}
Oops, something went wrong.

0 comments on commit 72583f8

Please sign in to comment.