<div dir="ltr">I don't think I have the time to test now, but it does sound interesting.<br><br>Throw it up as a cookbook recipe and mark it "beta"<br></div><div class="gmail_extra"><br clear="all"><div>-Michael Paulukonis<br>
<a href="http://www.xradiograph.com" target="_blank">http://www.xradiograph.com</a><br><a href="http://goog_2112721603" target="_blank"></a><a href="http://www.xradiograph.com%5Cinterference" target="_blank">Interference Patterns (a blog)</a><br>
<a href="https://twitter.com/XraysMonaLisa" target="_blank">@XraysMonaLisa</a><br><a href="http://michaelpaulukonis.com" target="_blank">http://michaelpaulukonis.com</a><br><a href="http://www.BestAndroidResources.com" target="_blank"></a><br>
<br>Sent from somewhere in the Cloud<br>(hearthrug, by the fender)<br></div>
<br><br><div class="gmail_quote">On Thu, Mar 6, 2014 at 6:03 PM, John Rankin <span dir="ltr"><<a href="mailto:john.rankin@affinity.co.nz" target="_blank">john.rankin@affinity.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
I have been experimenting with a recipe to produce ebooks from
pmwiki. In essence:<br>
<br>
- add (:epub:) to a trail page and save<br>
<br>
- press the resulting EPUB button and wait a few seconds<br>
<br>
- the recipe assembles the trail pages into an ebook<br>
<br>
- the page refreshes with a link beside the button to an EPUB in the
group's uploads directory<br>
<br>
- click the link and if the browser supports EPUB (eg via a FireFox
add-on), the ebook opens in a new tab<br>
<br>
- pressing the EPUB button again over-writes the ebook with the
latest pmwiki content<br>
<br>
Is this of interest to others and if so, would anyone like to help
test it? In particular, the CSS needs testing and refining with a
range of inputs. Testers would need:<br>
<br>
- time and patience (it's experimental and not as plug-and-play as
one would like)<br>
<br>
- <a href="http://manual.calibre-ebook.com/cli/ebook-convert.html" target="_blank">calibre</a>
(it uses the ebook-convert command line capability)<br>
<br>
- if the book includes maths, LaTeX with the svg converter (people
recommend svg for equations in EPUB)<br>
<br>
- pmwiki 2.2.56 or above and php 5.3 or above<br>
<br>
- a skin tweak to show the EPUB icon next to the link (optional)<br>
<br>
In theory, it will also be possible to produce an ebook from a
(:pagelist:). The resulting EPUB can be opened, debugged, and edited
in tools such as <a href="https://code.google.com/p/sigil/" target="_blank">Sigil</a>.<span class="HOEnZb"><font color="#888888"><br>
<br>
JR<br>
<pre cols="72">--
John Rankin
</pre>
</font></span></div>
<br>_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
<br></blockquote></div><br></div>