02-18-2012, 06:51 PM | #16 | |
Wizard
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
I don't know anything about HTML5, so I wonder if it can handle equations? |
|
02-19-2012, 05:06 AM | #17 | |
Wizard
Posts: 2,824
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
Quote:
I haven't been able to find a quick way of converting a latex document while turnign equations into SGV images. I can get to an HTML file that will display properly in a browser, but this uses mathml - I see Bluegriffon has an html extension and can handle svg files, but I do not know whether it can turn mathml into svg, and given that the manual costs €5, the mathml extension about €4 and that I am a cheap bastard, as a matter of principle I don't want to pay for something that may not work at all for me. yep, I guess palatino pdf will have to do for now... |
|
02-19-2012, 01:44 PM | #18 | |
Wizard
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
Edit: I shouldn't have been so lazy, and googled before I asked my question. Here's a link within MR that answers some of my questions:https://wiki.mobileread.com/wiki/SVG#..._Usage_in_ePUB Last edited by rkomar; 02-19-2012 at 01:47 PM. |
|
02-20-2012, 03:25 AM | #19 |
Wizard
Posts: 2,824
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
thanks for the link - I confess I never actually tried to read a file that I knew had SVG graphics/formulas, as I always took it for granted it would work from what I had read superficially on the forum as suggestions to read/convert latex files - but in fairness I searched some more, and it looks like it is not a forgone conclusion - so I should really try on the machine. Even if it did work, though, what I found at the moment are procedures that I would not be able to automate, and that would only allow conversion of one piece of math at a time by hand, for which life is simply too short on my book
Still, I will verify how the pro behaves with those files, and report back! |
02-20-2012, 09:11 PM | #20 |
Wizard
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
It looks like neither CoolReader nor fbreader can handle SVG in epubs, but AdobeViewer can! There is an epub file with SVG equations and a figure available at: http://www.hindawi.com/journals/jece/2008/421650/ (click on the "Full-Text ePUB" link near the upper right). It displays beautifully in AdobeViewer. The problem is that the actual code for the formulae in the XHTML file looks fiendishly complicated. Still, there is hope that it can be done.
|
02-21-2012, 09:10 AM | #21 | |
Wizard
Posts: 2,824
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
Quote:
I've only experimented with a single page file. To me, teh ideal is some routine exporting text to html and maths to svg, but I couldn't find it! |
|
02-21-2012, 01:01 PM | #22 |
Wizard
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
I tried out a dvi2svg perl script yesterday and found out pretty much what you did (except that my test EPUB didn't work well in AdobeViewer). The SVG files did look good in my browser, though.
More hopefully, I also tried out LaTeXML, a program to convert LaTeX to XML, and that XML to another format (HTML, XHTML, XML). The HTML works if converted to an EPUB, but the equations are in the form of images, which are hard to read and usually displayed too small on the reader. The XHTML contains MathML by default, so it won't work in any of the EPUB readers. The XML->XHTML process allows for a number of types of math markup in the output (Presentation MathML, Content MathML, and OpenMath). They already have preliminary support for converting LaTeX pictures to SVG, so I would guess that it would be possible to convert the math XML to SVG at that stage, as well. I noticed that someone already brought up that suggestion on the project's mailing list. So, although it doesn't work at present, that may be the best option in the future. I tried some MathML->SVG converters (SVGMath and pMML2SVG) on the XHTML output by LaTeXML, but neither worked, unfortunately. It's not clear that they can't work (the errors were hard to interpret for me), but I have the feeling that neither converter is meant to work on MathML embedded in arbitrary documents. To me, a modified LaTeXML seems to be the best option. |
Tags |
912, calibre, fonts, japanese, labels |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pocketbook Pro 912 Ibs rebranded | dany13 | PocketBook | 8 | 12-23-2012 12:28 PM |
PB 912: Need help with three problems | ChristianReader | PocketBook | 0 | 01-14-2012 05:29 PM |
Pocktbook 912,is it going to released or not! | fsvum | PocketBook | 25 | 12-16-2011 01:02 PM |
EU based online shop that sells PB 912? | martienne | PocketBook | 0 | 11-13-2011 08:46 AM |
PocketBook 912 display partnumber | alexandel | PocketBook | 10 | 10-24-2011 06:02 PM |