Score.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>Options/Score - XOWA</title>
  6. <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
  7. <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
  8. <style>
  9. .options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:150px;}
  10. .options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
  11. .options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
  12. .options_textbox {padding: 2px; border: 1px solid black;}
  13. .options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
  14. .options_textarea {padding: 2px; border: 1px solid black;}
  15. .options_select {padding: 2px; border: 1px solid black;}
  16. .options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
  17. .options_checkbox {padding: 2px; border: 1px solid black;}
  18. .options_readonly {background-color:#F9F9F9;}
  19. </style>
  20. <style>
  21. .optionsButton
  22. {
  23. width: 100px;
  24. height: 40px;
  25. font-family: 'Segoe UI';
  26. font-size: 12px;
  27. margin-left: -5px;
  28. cursor: pointer;
  29. background-color: lightgray;
  30. text-align: center;
  31. }
  32. .optionsLink
  33. {
  34. color: black !important;
  35. text-decoration: none;
  36. }
  37. .optionsButton.active
  38. {
  39. width: 100px;
  40. height: 40px;
  41. font-family: 'Segoe UI';
  42. font-size: 12px;
  43. margin-left: -5px;
  44. cursor: pointer;
  45. background-color: dimgray;
  46. color: white !important;
  47. border: solid 1px dimgray;
  48. }
  49. .optionsButton.active a
  50. {
  51. color: white !important;
  52. }
  53. .tabs
  54. {
  55. width: 100%;
  56. margin-top: 10px;
  57. }
  58. .tab-links ul
  59. {
  60. margin-left: -40px;
  61. }
  62. .tab-links li
  63. {
  64. margin: 0px 0px 0px 0px;
  65. float: left;
  66. list-style: none;
  67. }
  68. .tab-links a
  69. {
  70. padding: 9px 15px 9px 15px;
  71. border-radius: 3px 3px 0px 0px;
  72. background: #f0f0f0;
  73. font-family: 'Segoe UI';
  74. font-size: 13px;
  75. color: black !important;
  76. text-decoration: none;
  77. border-radius: 3px;
  78. border-top: solid 1px gray;
  79. border-left: solid 1px gray;
  80. border-right: solid 1px gray;
  81. }
  82. .tab-links a:hover
  83. {
  84. background: #B0B0B0;
  85. text-decoration: none;
  86. }
  87. li.active a, li.active a:hover
  88. {
  89. background: #fff;
  90. color: #4c4c4c;
  91. font-weight: bold;
  92. }
  93. .tab-content
  94. {
  95. padding: 15px;
  96. border-radius: 3px;
  97. background: #fff;
  98. border-top: solid 1px gray;
  99. margin-top: 5px;
  100. min-height: 300px;
  101. }
  102. </style>
  103. <style>
  104. .options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:150px;}
  105. .options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
  106. .options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
  107. .options_textbox {padding: 2px; border: 1px solid black;}
  108. .options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
  109. .options_textarea {padding: 2px; border: 1px solid black;}
  110. .options_select {padding: 2px; border: 1px solid black;}
  111. .options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
  112. .options_checkbox {padding: 2px; border: 1px solid black;}
  113. .options_readonly {background-color:#F9F9F9;}
  114. </style>
  115. <style>
  116. .optionsButton
  117. {
  118. width: 100px;
  119. height: 40px;
  120. font-family: 'Segoe UI';
  121. font-size: 12px;
  122. margin-left: -5px;
  123. cursor: pointer;
  124. background-color: lightgray;
  125. text-align: center;
  126. }
  127. .optionsLink
  128. {
  129. color: black !important;
  130. text-decoration: none;
  131. }
  132. .optionsButton.active
  133. {
  134. width: 100px;
  135. height: 40px;
  136. font-family: 'Segoe UI';
  137. font-size: 12px;
  138. margin-left: -5px;
  139. cursor: pointer;
  140. background-color: dimgray;
  141. color: white !important;
  142. border: solid 1px dimgray;
  143. }
  144. .optionsButton.active a
  145. {
  146. color: white !important;
  147. }
  148. .tabs
  149. {
  150. width: 100%;
  151. margin-top: 10px;
  152. }
  153. .tab-links ul
  154. {
  155. margin-left: -40px;
  156. }
  157. .tab-links li
  158. {
  159. margin: 0px 0px 0px 0px;
  160. float: left;
  161. list-style: none;
  162. }
  163. .tab-links a
  164. {
  165. padding: 9px 15px 9px 15px;
  166. border-radius: 3px 3px 0px 0px;
  167. background: #f0f0f0;
  168. font-family: 'Segoe UI';
  169. font-size: 13px;
  170. color: black !important;
  171. text-decoration: none;
  172. border-radius: 3px;
  173. border-top: solid 1px gray;
  174. border-left: solid 1px gray;
  175. border-right: solid 1px gray;
  176. }
  177. .tab-links a:hover
  178. {
  179. background: #B0B0B0;
  180. text-decoration: none;
  181. }
  182. li.active a, li.active a:hover
  183. {
  184. background: #fff;
  185. color: #4c4c4c;
  186. font-weight: bold;
  187. }
  188. .tab-content
  189. {
  190. padding: 15px;
  191. border-radius: 3px;
  192. background: #fff;
  193. border-top: solid 1px gray;
  194. margin-top: 5px;
  195. min-height: 300px;
  196. }
  197. </style>
  198. </head>
  199. <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
  200. <div id="mw-page-base" class="noprint"></div>
  201. <div id="mw-head-base" class="noprint"></div>
  202. <div id="content" class="mw-body">
  203. <h1 id="firstHeading" class="firstHeading"><span>Options/Score</span></h1>
  204. <div id="bodyContent" class="mw-body-content">
  205. <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
  206. <div id="contentSub"></div>
  207. <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
  208. <div>
  209. <table>
  210. <tr>
  211. <td class='optionsButton'>
  212. <a class='optionsLink' href='/wiki/Options/Window'>Apps (basic)</a>
  213. </td>
  214. <td class='optionsButton'>
  215. <a class='optionsLink' href='/wiki/Options/Security'>Apps (advanced)</a>
  216. </td>
  217. <td class='optionsButton'>
  218. <a class='optionsLink' href='/wiki/Options/Import'>Wiki</a>
  219. </td>
  220. <td class='optionsButton'>
  221. <a class='optionsLink' href='/wiki/Options/HTML'>HTML</a>
  222. </td>
  223. <td class='optionsButton'>
  224. <a class='optionsLink' href='/wiki/Options/Content_apps'>External apps</a>
  225. </td>
  226. <td class='optionsButton'>
  227. <a class='optionsLink' href='/wiki/Options/Search_suggest'>Modules</a>
  228. </td>
  229. <td class='optionsButton active'>
  230. <a class='optionsLink' href='/wiki/Options/Math'>Extensions</a>
  231. </td>
  232. <td class='optionsButton'>
  233. <a class='optionsLink' href='/wiki/Options/Dev'>Misc</a>
  234. </td>
  235. </tr>
  236. </table>
  237. </div>
  238. <div class="tabs">
  239. <div>
  240. <ul class='tab-links' style='margin-left:0px;'>
  241. <li class=''>
  242. <a href='/wiki/Options/Math'>Math</a>
  243. </li>
  244. <li class=''>
  245. <a href='/wiki/Options/Scribunto'>Scribunto</a>
  246. </li>
  247. <li class='active'>
  248. <a href='/wiki/Options/Score'>Score</a>
  249. </li>
  250. <li class=''>
  251. <a href='/wiki/Options/Wikibase'>Wikibase</a>
  252. </li>
  253. </ul>
  254. </div><br>
  255. <div class='tab-content'>
  256. <div id="toc" class="toc">
  257. <div id="toctitle">
  258. <h2>
  259. Contents
  260. </h2>
  261. </div>
  262. <ul>
  263. <li class="toclevel-1 tocsection-1">
  264. <a href="#General"><span class="tocnumber">1</span> <span class="toctext">General</span></a>
  265. </li>
  266. <li class="toclevel-1 tocsection-2">
  267. <a href="#Apps"><span class="tocnumber">2</span> <span class="toctext">Apps</span></a>
  268. </li>
  269. <li class="toclevel-1 tocsection-3">
  270. <a href="#Notes"><span class="tocnumber">3</span> <span class="toctext">Notes</span></a>
  271. </li>
  272. </ul>
  273. </div>
  274. <div style='float:right; margin-right:10px; margin-top:5px;'>
  275. <p>
  276. <a href="xowa-cmd:app.user.prefs.save();" accesskey='s'><img src='file:///C:/xowa/bin/any/xowa/file/app.window/save.png' width="16" height="16">Save</a>
  277. </p>
  278. </div><br>
  279. <table class="metadata plainlinks ambox ambox-delete" style="">
  280. <tr>
  281. <td class="mbox-empty-cell">
  282. </td>
  283. <td class="mbox-text" style="">
  284. <p>
  285. <span class="mbox-text-span">ImageMagick must be set up in order for Score to work correctly.</span>
  286. </p>
  287. <p>
  288. <span class="mbox-text-span">See the following pages: <a href="http://xowa.org/wiki/home/page/Dev/File/Setup/Windows.html" id="xolnki_2" title="Dev/File/Setup/Windows" class="xowa-visited">Dev/File/Setup/Windows</a>, <a href="http://xowa.org/wiki/home/page/Dev/File/Setup/Linux.html" id="xolnki_3" title="Dev/File/Setup/Linux" class="xowa-visited">Dev/File/Setup/Linux</a>, <a href="http://xowa.org/wiki/home/page/Dev/File/Setup/Mac_OS_X.html" id="xolnki_4" title="Dev/File/Setup/Mac OS X">Dev/File/Setup/Mac OS X</a></span>
  289. </p>
  290. </td>
  291. </tr>
  292. </table>
  293. <h2>
  294. <span class="mw-headline" id="General">General</span>
  295. </h2>
  296. <table class='options_table'>
  297. <tr>
  298. <td class='options_row_label'>
  299. Enabled: <sup id="cite_ref-enabled_0-0" class="reference"><a href="#cite_note-enabled-0">[1]</a></sup>
  300. </td>
  301. <td>
  302. <input xowa_prop="app.xtns.get('score').enabled" type="checkbox" class='options_checkbox' id='xowa_prop_0' checked='checked'>
  303. </td>
  304. </tr>
  305. </table>
  306. <h2>
  307. <span class="mw-headline" id="Apps">Apps</span>
  308. </h2>
  309. <table class='options_table'>
  310. <tr>
  311. <td class='options_row_label'>
  312. Lilypond:
  313. <p>
  314. <sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[2]</a></sup>
  315. </p>
  316. </td>
  317. <td>
  318. <input xowa_prop="app.fsys.apps.lilypond.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_1' value='C:\xowa\bin\windows_64\lilypond\usr\bin\lilypond.exe'><button id='xowa_prop_1_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_1", "Please select a file.");'>...</button>
  319. <p>
  320. <input xowa_prop="app.fsys.apps.lilypond.args" class="options_textbox" style="width: 380px;" id='xowa_prop_2' value='"-dsafe=#t" -dbackend=ps --png --header=texidoc -dmidi-extension=midi "~{file}"'>
  321. </p>
  322. </td>
  323. </tr>
  324. <tr>
  325. <td class='options_row_label'>
  326. Python:
  327. <p>
  328. <sup id="cite_ref-2" class="reference"><a href="#cite_note-2">[3]</a></sup>
  329. </p>
  330. </td>
  331. <td>
  332. <input xowa_prop="app.fsys.apps.abc2ly.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_3' value='C:\xowa\bin\windows_64\lilypond\usr\bin\python.exe'><button id='xowa_prop_3_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_3", "Please select a file.");'>...</button>
  333. <p>
  334. <input xowa_prop="app.fsys.apps.abc2ly.args" class="options_textbox" style="width: 380px;" id='xowa_prop_4' value='abc2ly.py -s "--output=~{target}" "~{source}"'>
  335. </p>
  336. </td>
  337. </tr>
  338. <tr>
  339. <td class='options_row_label'>
  340. ImageMagick - Trim:
  341. <p>
  342. <sup id="cite_ref-3" class="reference"><a href="#cite_note-3">[4]</a></sup>
  343. </p>
  344. </td>
  345. <td>
  346. <input xowa_prop="app.fsys.apps.trim_img.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_5' value='C:\xowa\bin\windows_64\imagemagick\convert'><button id='xowa_prop_5_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_5", "Please select a file.");'>...</button>
  347. <p>
  348. <input xowa_prop="app.fsys.apps.trim_img.args" class="options_textbox" style="width: 380px;" id='xowa_prop_6' value='-trim "~{source}" "~{target}"'>
  349. </p>
  350. </td>
  351. </tr>
  352. <tr>
  353. <td class='options_row_label'>
  354. Convert midi to ogg
  355. <p>
  356. <sup id="cite_ref-4" class="reference"><a href="#cite_note-4">[5]</a></sup>
  357. </p>
  358. </td>
  359. <td>
  360. <input xowa_prop="app.fsys.apps.convert_midi_to_ogg.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_7' value='C:\xowa\bin\windows_64\timidity\timidity'><button id='xowa_prop_7_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_7", "Please select a file.");'>...</button>
  361. <p>
  362. <input xowa_prop="app.fsys.apps.convert_midi_to_ogg.args" class="options_textbox" style="width: 380px;" id='xowa_prop_8' value='-Ov "--output-file=~{target}" "~{source}"'>
  363. </p>
  364. </td>
  365. </tr>
  366. </table>
  367. <p>
  368. <br>
  369. </p>
  370. <h2>
  371. <span class="mw-headline" id="Notes">Notes</span>
  372. </h2>
  373. <ol class="references">
  374. <li id="cite_note-enabled-0">
  375. <span class="mw-cite-backlink"><a href="#cite_ref-enabled_0-0">^</a></span> <span class="reference-text">Handles &lt;score&gt; tags (default is <code>checked</code>)</span>
  376. <ul>
  377. <li>
  378. <span class="reference-text"><b>checked</b> to process through lilypond binary (lilypond must be installed and its path must be set: <a href="http://xowa.org/wiki/home/page/Options/Apps.html" id="xolnki_5" title="Options/Apps">Options/Apps</a></span>
  379. </li>
  380. <li>
  381. <span class="reference-text"><b>unchecked</b> to render text only</span>
  382. </li>
  383. </ul>
  384. </li>
  385. <li id="cite_note-1">
  386. <span class="mw-cite-backlink"><a href="#cite_ref-1">^</a></span> <span class="reference-text">Converts Lilypond to music scores / midi files . Recommended: <a href="http://www.lilypond.org" rel="nofollow" class="external text">Lilypond</a></span>
  387. </li>
  388. <li id="cite_note-2">
  389. <span class="mw-cite-backlink"><a href="#cite_ref-2">^</a></span> <span class="reference-text">Converts ABC notation to Lilypond . Recommended: <a href="http://www.lilypond.org" rel="nofollow" class="external text">Lilypond</a></span>
  390. </li>
  391. <li id="cite_note-3">
  392. <span class="mw-cite-backlink"><a href="#cite_ref-3">^</a></span> <span class="reference-text">Trims image . Recommended: <a href="http://www.imagemagick.org/" rel="nofollow" class="external text">ImageMagick</a></span>
  393. </li>
  394. <li id="cite_note-4">
  395. <span class="mw-cite-backlink"><a href="#cite_ref-4">^</a></span> <span class="reference-text">Converts midi to ogg . Recommended: <a href="http://timidity.sourceforge.net/" rel="nofollow" class="external text">TiMidity++</a></span>
  396. </li>
  397. </ol>
  398. </div>
  399. </div>
  400. </div>
  401. </div>
  402. </div>
  403. <div id="mw-head" class="noprint">
  404. <div id="left-navigation">
  405. <div id="p-namespaces" class="vectorTabs">
  406. <h3>Namespaces</h3>
  407. <ul>
  408. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  409. </ul>
  410. </div>
  411. </div>
  412. </div>
  413. <div id='mw-panel' class='noprint'>
  414. <div id='p-logo'>
  415. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  416. </div>
  417. <div class="portal" id='xowa-portal-home'>
  418. <h3>XOWA</h3>
  419. <div class="body">
  420. <ul>
  421. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  422. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  423. <li><a href="http://xowa.org/wiki/home/page/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  424. <li><a href="http://xowa.org/wiki/home/page/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  425. </ul>
  426. </div>
  427. </div>
  428. <div class="portal" id='xowa-portal-stargin'>
  429. <h3>Getting started</h3>
  430. <div class="body">
  431. <ul>
  432. <li><a href="http://xowa.org/wiki/home/page/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  433. <li><a href="http://xowa.org/wiki/home/page/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  434. <li><a href="http://xowa.org/wiki/home/page/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
  435. <li><a href="http://xowa.org/wiki/home/page/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
  436. <li><a href="http://xowa.org/wiki/home/page/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
  437. </ul>
  438. </div>
  439. </div>
  440. <div class="portal" id='xowa-portal-help'>
  441. <h3>Help</h3>
  442. <div class="body">
  443. <ul>
  444. <li><a href="http://xowa.org/wiki/home/page/Help/About.html" title='Get more information about XOWA'>About</a></li>
  445. <li><a href="http://xowa.org/wiki/home/page/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  446. <li><a href="http://xowa.org/wiki/home/page/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  447. <li><a href="http://xowa.org/wiki/home/page/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  448. </ul>
  449. </div>
  450. </div>
  451. <div class="portal" id='xowa-portal-blog'>
  452. <h3>Blog</h3>
  453. <div class="body">
  454. <ul>
  455. <li><a href="http://xowa.org/wiki/home/page/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  456. </ul>
  457. </div>
  458. </div>
  459. <div class="portal" id='xowa-portal-links'>
  460. <h3>Links</h3>
  461. <div class="body">
  462. <ul>
  463. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  464. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  465. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  466. </ul>
  467. </div>
  468. </div>
  469. <div class="portal" id='xowa-portal-donate'>
  470. <h3>Donate</h3>
  471. <div class="body">
  472. <ul>
  473. <li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
  474. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  475. <!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
  476. </ul>
  477. </div>
  478. </div>
  479. </div>
  480. </body>
  481. </html>