08-05-2016, 02:20 AM | #541 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I got a question today about Mac support for this add-in. The question was if Word 2016 for Mac could be supported. I will also place my answer here.
This add-in uses VSTO and produces COM based add-ins. Those are not supported on Mac and, as far as I know and understood, Microsoft will not create the libraries to enable that. Now, that being said, as of Word 2016 there is a new manner of creating add-ins. Those can run on all types of Word 2016 (web, desktop) for both Windows and Mac. There are however a number of issues with that: * No backwards compatibility, it will only work for Word 2016. This is a big issue! * As it is relatively new, documentation and experience is scarce * No idea yet if this will catch on, it could be phased out quickly * It would mean a complete rewrite of the add-in, as it is based on web-technologies. Nothing can be reused as of now, I hope this will change in the future when this new method is more mature. * It would require the need of a web-server to host the add-in, for example on Azure. That would effectively mean that the add-in would no longer be free to use. That is not what I want. So, in short. No add-in for Mac, also not in Word 2016. |
09-11-2016, 09:36 PM | #542 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
I was recently discussing EPUB Tools and the Symbol Font -> Unicode functionality.
It made me think of Webdings + Wingdings + Wingdings 2/3. When I tested with those four fonts, EPUB Tools exported the characters as your basic "abc" instead of converting to the Unicode equivalent glyphs:
Here is the Unicode 7.0 documents when they introduced all of the glyphs: http://std.dkuug.dk/jtc1/sc2/wg2/docs/n4022.pdf http://std.dkuug.dk/jtc1/sc2/wg2/docs/n4115.pdf http://std.dkuug.dk/jtc1/sc2/wg2/docs/n4239.pdf These have tables listing the Wingdings/Webdings IDs -> Unicode #. I also found this site which lists the HTML equivalent for Wingdings + Wingdings 2: http://www.alanwood.net/demos/wingdings.html http://www.alanwood.net/demos/wingdings-2.html although that HTML site seems to be be dated. He says many of the Wingdings don't have an equivalent UTF-8... even though they are all spelled out in the documentation (as far as I can see). Side Note: I was also able to use BabelMap to generate a giant list of characters added in Unicode 7.0 (see attachment) + the Symbola font here: http://users.teilar.gr/~g1951d/ Maybe that might help in some way. Side Note #2: Maybe you could subset/embed those symbols if needed. Many of those more obscure symbols don't even appear in most fonts (many don't even appear for me in Firefox. I shudder to think of their support in most ereaders). But converting them to actual UTF-8 will be infinitely more useful than the current "abc"s. Last edited by Tex2002ans; 09-12-2016 at 12:37 AM. |
Advert | |
|
09-12-2016, 02:23 AM | #543 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
At the moment the font's are ignored, so I am not surprised by this. Although, there is a setting in which the used fonts are referenced and, if possible, embedded in the ePUB. It should do the trick I think. That being said, embedding is usually not allowed for most commercial fonts, that would include webdings.
One of the issues is that the support for these characters in the default fonts on the readers are probably non-existing. So the references would be there, but rendered as a question mark or box usually. That all being said, I do see added value in this. In fact, at the moment I am working on a grand overhaul of the whole 'convert to html' part. It is being rewritten from the ground up using totally different techniques and methods. It should be a lot faster and better portable to other applications. This topic actually came up in my notes several times (both fonts specific and symbols specifically), so it is something I am addressing there. The prep-work you did will probably help me a lot, so thanks! The new library that I am building will feature support for both fonts and symbols in some form. It is nowhere near from finished yet, as I want to have at least support the same Word functions as I do now. The basics work, but currently I am working on more complex tables (row and column spans) and lists. Work is slow, especially since my laptop decided to end his life after four years and I have no replacement. |
09-12-2016, 03:38 AM | #544 |
null operator (he/him)
Posts: 20,651
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
09-12-2016, 04:44 AM | #545 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Also, it seems like Unicode already did all the hard work by absorbing those 4 dingbat fonts completely. Side Note: From what I could tell, the guy who created Symbola released it for anyone to use for any use. Straight from his site: "In lieu of a licence; fonts and documents in this site are free for any use". According to fileformat.info, it is one of the very few fonts that actually has a bunch of the more obscure symbols like: No Piracy: http://www.fileformat.info/info/unic...f572/index.htm Right Speech Bubble: http://www.fileformat.info/info/unic...f5e9/index.htm Capitulum: http://www.fileformat.info/info/unic...2e3f/index.htm Side Note #2: Here is the topic that spawned this discussion, "Problem with inline image": https://www.mobileread.com/forums/sho...d.php?t=278187 eggheadbooks1 was working on a book with a Musical Note in Webdings:
I was just saying to use the UTF-8 and embed a font, which lead me down this whole researching rabbit hole. Quote:
I suspect more common symbols like: Lock: http://www.fileformat.info/info/unic...F512/index.htm Open Lock: http://www.fileformat.info/info/unic...F513/index.htm are going to be added into fonts in phones, and that stuff will propagate into usage elsewhere. Next thing you know, all those new amazing Unicode smilies are going to be creeping into books too! Might as well stay ahead of the curve! Last edited by Tex2002ans; 09-12-2016 at 04:56 AM. |
||
Advert | |
|
09-12-2016, 12:38 PM | #546 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
There is quite a bit of this information in our wiki, special characters, HTML 5 Named character references, and other places. Of course more complete data could always be added there for reference. Anyone can add to our wiki to make it more useful to others.
Dale |
09-12-2016, 03:29 PM | #547 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
The symbol font is usually not the issue anyway, those should render allright already. I have thought a bit more about this and did some prepwork (slow day at work). I will use the unicode characters, but with a warning about characters that might not be supported. I will also put in a reference to the symbola font since it seems complete.
|
09-15-2016, 02:25 AM | #548 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
In the new HTML engine there will be a conversion from the Symbol/Webdings/Wingdings/Wingdings2/Wingdings3 glyph(s) to their corresponding Unicode glyph, even for the most obscure. I made the mapping (the links helped but were nowhere near complete) and the tests work.
On my site I will place a page that shows the complete mapping for all of these 5 symbol fonts to their unicode glyphs (including hex and decimal code) for reference. I hope to do that today. |
09-16-2016, 02:52 AM | #549 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
So another potential enhancement that I just ran into today.
1. (See attached EPUB) Create an EPUB that was given metadata: "dc:language en-GB" and this HTML: Code:
<p>colour rumour programme</p> <p><span lang="en-US" xml:lang="en-US">color rumor program</span></p> 3. The DOCX language is set to (I assume the user's default language?). In my case, in Microsoft Word, all of the text is marked as "English (U.S.)", so words like "colour" + "rumour" + "programme" are marked as "misspelled"... even though it SHOULD be a British-spelled book. Expected Functionality Import EPUB should look at the EPUB Language Metadata, and make the DOCX Language = EPUB Language. Potential Side Functionality On Import it could transfer the HTML lang + xml:lang as well? Maybe this could be an option buried in the Preferences (default to Off). That would be helpful for properly marked up multi-language EPUBs. Quote:
Definitely link it when you complete it. I didn't have time to look much further since I made the post here, but thanks for saving me all that legwork. Last edited by Tex2002ans; 09-16-2016 at 02:55 AM. |
|
09-16-2016, 06:01 AM | #550 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
There are two situations where the language setting is changed: 1. When the preparation/preprocess procedure is run AND this is specified in the settings 2. Upon running the alternative spelling control. The language of the setting in step 1 is used. The alternative spelling control is not multilingual for several reasons (performance a very big one!) Described above is the designed situation. Of course, if no language is specified in the imported HTML, Word will use its general setting. A special mention for the settings for the ePUB export. The generic language for the ePUB can be specified there. During the export to HTML (and thus ePUB) the language setting for specific words/sentences are ignored I think. I would have to check to be certain, but I am pretty sure. There is hope though! With the new HTML conversion engine this would no longer be the case. It will be an option, but the language settings of specific words/sentences will be retained there during the export. It is one more reason why I am working on this. I will. I forgot to do it yesterday... |
|
09-16-2016, 01:27 PM | #551 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
The mapping of the 5 symbol fonts to their unicode counterparts can be found here: http://www.toxaris.nl/glyphs/symbols.html
|
09-16-2016, 05:55 PM | #552 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
09-16-2016, 06:02 PM | #553 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
"Wingding 3" -> "Wingdings 3" |
|
09-17-2016, 04:27 AM | #554 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
|
09-17-2016, 04:28 AM | #555 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Save any Document from Microsoft Word 2007 to EPUB using a Free Add-in from Aspose | romeok | ePub | 45 | 05-03-2017 03:33 PM |
Automatically add tag if word/phrase found in ebook? | eosrose | Calibre | 3 | 11-16-2011 06:48 AM |
Doc Splitter-Macro or Add-in For Word 2003 | konrad | Workshop | 0 | 03-08-2011 03:43 PM |
Can't see lit add in for MS Word | ray100 | Reading and Management | 3 | 08-12-2009 02:59 AM |