Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 11-10-2014, 01:50 AM   #196
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,767
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Toxaris - dunno what you, me, we did... but that curious Menu Commands group has disappeared from the Epub Tools Ribbon

BR
BetterRed is offline   Reply With Quote
Old 11-10-2014, 02:02 AM   #197
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by Tex2002ans View Post
And just to specify exactly what I mean by left-margin blockquotes after import (I should have taken snapshots and done my usual, forgive me!).

..snip...

As you can see, in the third image, the blockquote is much easier to spot when compared to the second.
Hmm, if you didn't create a class for blockquote it will be represented in Word based on its internal style for blockquote. Also, please remember that only HTML4 and CSS1 is supported. Everything else will be ignored. Especially for special selectors in CSS this can be annoying. However, there is a silver lining. As style names will be retained, you can attach the original stylesheet if you export back to ePUB (if that is the goal) and everything should be alright. You have to enable the option 'retain own stylenames' for the HTML export though.
Toxaris is offline   Reply With Quote
Advert
Old 11-10-2014, 02:02 AM   #198
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by BetterRed View Post
@Toxaris - dunno what you, me, we did... but that curious Menu Commands group has disappeared from the Epub Tools Ribbon

BR
Great!
Toxaris is offline   Reply With Quote
Old 11-10-2014, 12:45 PM   #199
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Tex2002ans View Post
My usual workflow is:

PDF -> OCR -> EPUB -> Tweak + Complete EPUB.

When a book needs to not just be converted, but copyedited (changing from British Spelling -> American, etc. etc.), these extra steps get tacked on:

Tweaked/Completed EPUB -> Convert/Import to DOC(X)/ODT -> Copyediting -> Export DOC(X)/ODT to EPUB -> Tweak + Complete (Copyedited) EPUB.

So I am already inputting a perfectly completed/marked up EPUB. Perhaps I am just not understanding you correctly? Are you saying:
  • Do an extra manual pass in Word after the Import, in order to change all blockquote paragraphs to a "Blockquote" style in Word? Then after I can export BACK to EPUB, I can easily see what is a blockquote and what isn't?

... All these fancy Word Processors are definitely not my strong point (I prefer working in straight text/code). And I am not the one doing the Copyediting, so it might be hard for another person to tell exactly what is what (mistakes can easily be made with just the minor margin top/bottom, and no other way to distinguish blockquote from normal text). With a left margin, that would distinctly offset the blockquotes from the normal text.

Meh, maybe I am just going insane, and doing everything all wrong. That could always be possible.

Hmmm...what I mean is, if you have something that is a blockquote, in the Word file, BEFORE you process it out to ePUB, simply create a named style called "Blockquote." You can set the indents, etc., as you will--the naming is the important part. When you export the ePUB, using Tox's mighty ePUBTools, retain the named styles. When you have your ePUB, simply name your blockquote style the same as you have it named in the Word file, (or, for expediency, name the style that way in the Word file in the first place), or regex the Word file so that your blockquote style has the same name as your CSS file.

I guess I should have started by asking: are you exporting your own named styles, from the Word file, with the ePUB, using ePT?

Hitch
Hitch is offline   Reply With Quote
Old 01-15-2015, 09:09 AM   #200
Soxendom
Connoisseur
Soxendom began at the beginning.
 
Soxendom's Avatar
 
Posts: 62
Karma: 10
Join Date: May 2009
Device: Sony PRS T1
I'm not sure what I'm doing wrong. I installed your plugin and tried it on a file that I already had ready.

I have a few styles of my own labelled
author
textauthor
epigraph
sectionbreak
artcentre

For some reason "author" and "artcentre" did not show up even though I clicked them to be retained.
Is there some naming convention that I must follow to enable them to show up?
Soxendom is offline   Reply With Quote
Advert
Old 01-15-2015, 11:30 AM   #201
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 631
Karma: 7544528
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
Word often makes "mixed" styles, that are both, paragraph and character styles. I think the tools only retain pure paragraph styles.
dickloraine is offline   Reply With Quote
Old 01-15-2015, 12:43 PM   #202
Soxendom
Connoisseur
Soxendom began at the beginning.
 
Soxendom's Avatar
 
Posts: 62
Karma: 10
Join Date: May 2009
Device: Sony PRS T1
I've just double checked and they are both paragraph styles
Soxendom is offline   Reply With Quote
Old 01-15-2015, 01:03 PM   #203
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
There is no real naming convention, although styles with spaces and strange characters can cause strange effects. Can you sent me a demo document so I can see why the names are not retained?
Toxaris is offline   Reply With Quote
Old 01-15-2015, 01:19 PM   #204
Soxendom
Connoisseur
Soxendom began at the beginning.
 
Soxendom's Avatar
 
Posts: 62
Karma: 10
Join Date: May 2009
Device: Sony PRS T1
I've uploaded a test doc. This time "artcentre" worked (I don't know why it didn't before) but "author" didn't. I've had to save it as .doc because I can't upload docx.
Attached Files
File Type: epub Test.epub (3.8 KB, 209 views)
File Type: doc Test.doc (35.0 KB, 215 views)
Soxendom is offline   Reply With Quote
Old 01-15-2015, 02:32 PM   #205
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Thanks, will check it out tomorrow morning!
Toxaris is offline   Reply With Quote
Old 01-16-2015, 05:52 PM   #206
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by Soxendom View Post
I'm not sure what I'm doing wrong. I installed your plugin and tried it on a file that I already had ready.

I have a few styles of my own labelled
author
textauthor
epigraph
sectionbreak
artcentre

For some reason "author" and "artcentre" did not show up even though I clicked them to be retained.
Is there some naming convention that I must follow to enable them to show up?
I could reproduce it from your example file and found the cause for the behavior. For some strange reason sometimes Word append codes to the stylenames. Why and when this occurs is not clear at all. I made a fix which checks for this and to properly maintain the class names. It will be in the next release which will probably be released soon.
Toxaris is offline   Reply With Quote
Old 01-27-2015, 04:19 PM   #207
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
New release is out. It solves various bug and delivers updates. For a changelog please see here.

It should also fix the issue from Soxendom.
Toxaris is offline   Reply With Quote
Old 02-28-2015, 10:48 AM   #208
Soxendom
Connoisseur
Soxendom began at the beginning.
 
Soxendom's Avatar
 
Posts: 62
Karma: 10
Join Date: May 2009
Device: Sony PRS T1
I think I've found a bug.
The code for the cover reads:
Code:
<svg xmlns="http://www.w3.org/2000/svg" height="100$" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 599 799" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"><image height="799" width="599" xlink:href="../Images/cover.png" /></svg>
Should this not read:
Code:
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 599 799" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"><image height="799" width="599" xlink:href="../Images/cover.png" /></svg>
Also my endnotes don't seem to be working properly.
I'm making a book with one endnote which shows correctly in word i.e. CATS A[1] to reference Canadian Air Transport Security Authority. In the epub however, the end note shows as <a id="RETN1">CATSA</a><sup><a href="#_EDN1" id="_EDNREF1" title="">[1]</a></sup></span> which takes you to the top of the book and the endnote itself is changed to <p>To See the Face of God</p>

Sorry to bother you. Thanks
Soxendom is offline   Reply With Quote
Old 02-28-2015, 11:25 AM   #209
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
I just tested this myself, because it sounds weird that nobody (including myself) would have caught that. The code generated is as it should, with a percent sign, not a dollar sign. No idea where that might come from at all. Which version are you running and on what OS/Word version?

Also the note is very peculiar which does not make sense. The id name is not coming from the add-in. I would be interested in the Word document (or the relevant part) and your settings file (%appdata%\toxaris\epubtools.cfg) so I can try to reproduce and, if I can reproduce it, solve the error. It might be another strange thing in Word.
Toxaris is offline   Reply With Quote
Old 02-28-2015, 12:27 PM   #210
Soxendom
Connoisseur
Soxendom began at the beginning.
 
Soxendom's Avatar
 
Posts: 62
Karma: 10
Join Date: May 2009
Device: Sony PRS T1
I'm using Windows 7 64bit with epubtools version 1.10.0 and Word 2007.

I don't know whether it's relevant but when I go into the settings for epubtools it comes up with a new version popup for the same version 1.10.0

I've attached the files you wanted along with the cover.
Attached Thumbnails
Click image for larger version

Name:	Cover.png
Views:	232
Size:	390.2 KB
ID:	135433  
Attached Files
File Type: txt ePUBTools.txt (10.7 KB, 308 views)
File Type: doc temp.doc (33.0 KB, 200 views)
Soxendom is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 02:45 AM.


MobileRead.com is a privately owned, operated and funded community.