plugin:xhtmlruby
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
plugin:xhtmlruby [2013-09-16 04:58] – [Download and Installation] 61.93.201.254 | plugin:xhtmlruby [2018-05-31 00:40] – Klap-in | ||
---|---|---|---|
Line 15: | Line 15: | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | To install the plugin manually, download the source to your plugin folder, '' | ||
- | |||
- | * style.css - CSS styling for the ruby markup | ||
- | * conf.ini - an ini file for setting whether to parse wiki text or not, and TOC text or not. | ||
- | * script.js - a script that ensures the CSS styling is correct for the browser that's loading the page | ||
- | * action.php - the plugin | ||
- | |||
- | The plugin is now installed. | ||
===== Important installation note ===== | ===== Important installation note ===== | ||
Line 99: | Line 91: | ||
===== Bugs ===== | ===== Bugs ===== | ||
- | None known at the time of writing. | + | <del>None known at the time of writing.</ |
+ | |||
+ | Unfortunately, | ||
+ | ReferenceError: | ||
+ | addInitEvent(function(){ fixRubyAlignment(); | ||
+ | js.php? | ||
+ | |||
+ | I have changed '' | ||
+ | |||
+ | So finally I decided to: | ||
+ | - remove script.js in the plugin folder | ||
+ | - disable the plugin | ||
+ | - re-enable it again | ||
+ | -> seems no problem so far, the action.php and the CSS file still do their jobs. I know that script.js can deal some compatibility problems across browsers, but I don't have the ability to debug it. --- [[user> | ||
===== Source ===== | ===== Source ===== | ||
Line 285: | Line 290: | ||
* Postprocesses the HTML that was built from that, to rubify kanji that have associated furigana. | * Postprocesses the HTML that was built from that, to rubify kanji that have associated furigana. | ||
*/ | */ | ||
- | function register(&$controller) | + | function register(Doku_Event_Handler |
{ | { | ||
// initialise variables | // initialise variables |
plugin/xhtmlruby.txt · Last modified: 2023-10-30 23:26 by Klap-in