Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Problems trying epub plugin
Avatar
aubreyb #1
Member since Feb 2017 · 17 posts
Group memberships: Members
Show profile · Link to this post
Subject: Problems trying epub plugin
Just trying this which looks very promising

I
a) Installed the plugin
b) Created a page http://localhost:8800/doku.php?id=epub:mybook
c) Put the following in that page

<epub:Book-1>
[[car:disk_electronic|Test]]
</epub>

d) saved page and pressed button

That yields only this error (on the page)

processed: car:disk_electronic
Using LESS: css3.php
A fatal error occured during compilation of the CSS files. If you recently installed a new plugin or template it might be broken and you should try disabling it again. [variable @ini_link is undefined: failed at `color: @ini_link;`  in /lib/plugins/move/style.less at line 73]

It seems independent of which page I choose.

I am using the bootstrap3 template if that makes a difference.

An epub is created at X:\Sync\DokuWikiStick\dokuwiki\data\meta\epub\aubreyb\17b671eb881c2ccf766534afb7730576\my-book.epub
but this is not openable (by Sigl for example)

It may have something to do with https://github.com/michitux/dokuwiki-plugin-move/issues/122 and https://github.com/splitbrain/dokuwiki/issues/1792 -- but I'm not sure why epub would be invoking the move plugin anyway which is mnot listed as a dependency??

Not at all sure where to go from here. Help much appreciated.

as an aside can I ask why the epub output discussed in the plugin page as an example
http://www.mturner.org/fckgLite/doku.php?id=ebook

is not openable in Microsoft Edge. In Sigl it does open but with an error.
Obviously Edge is not  gold standard epub reader, but it is likely to become the route to opening for many people especially when on the web.
This post was edited 2 times, last on 2019-07-12, 16:21 by aubreyb.
Avatar
aubreyb #2
Member since Feb 2017 · 17 posts
Group memberships: Members
Show profile · Link to this post
Update: The problem with epub is resolved by updating the bootstrap3 template to the latest version (the links above give a hint as to why that might be the case).

The produced epub loads nicely in Edge and in Sigl without error. So far so great.
This post was edited on 2019-07-12, 17:03 by aubreyb.
Avatar
turnermm (Moderator) #3
Member since Oct 2009 · 4675 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
The faulty sample epub has been replaced:  https://www.mturner.org/devel/epub_sample
The problem with the original sample is that the one of the pages referenced in the markup had been deleted when I rebuilt the ebook.  This didn't show up as a problem in either Firefox or Calibre.  I'll have to look into this.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-07-23, 01:03:53 (UTC +02:00)