Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 11-08-2011, 02:13 AM   #16
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Quote:
Originally Posted by julo View Post
I need to maintain the txt file and I consider it worse having:which is what it will then also look in the ePub file. Now you really can't read it.

I do not see a way to edit ePub within Calibre, and if I understand you right I should make an html file first and from that the ePub. That is what I have been doing all along, not using Calibre though, but I thought Calibre could go direct from a txt file to ePub.

Am I wrong?
You missed off the semi-colons.

Your text should read: This is a test text using »guillemets«.
(Conversion test and result attached).

Converting this to ePub in calibre does result in the correct symbols.

You can also edit the ePub directly in calibre after conversion, (thus preserving your original text file), using the Tweak ePub option, from where you could do a global find/replace of your incorrect symbols.
Attached Thumbnails
Click image for larger version

Name:	guillemets.gif
Views:	205
Size:	21.5 KB
ID:	78762  
Attached Files
File Type: txt guillemets.txt (95 Bytes, 185 views)
Agama is offline   Reply With Quote
Old 11-15-2011, 10:23 AM   #17
julo
Connoisseur
julo began at the beginning.
 
Posts: 72
Karma: 12
Join Date: Apr 2010
Location: Pittsburgh area
Device: prs-505,900,T2
@ ldolse:
I do not have a preference for anything. The files are not of my doing and the vast majority is in latin-1 (iso-8859-1). I have to live with that, very few in utf-8. Those files are still work in progress, and I have been doing some conversion for my part of the work. I just wanted to minimize the conversion work.
(In case you are interested it is for 'Smooth Reading' for PGDP, see here: http://www.pgdp.net/c/tools/post_pro...th_reading.php)

@ Agama:
You are so right, I did indeed miss the semi-colons.
I did not know about the Tweak feature. I have to try that. I was looking for some kind of edit in the top icon row.

In regard to Calibre I stumbled across this table (http://en.wikipedia.org/wiki/ISO/IEC_8859#Table). Note that the two characters I have problems with are (hex) code point AB and BB.[*] They show correct in 8859-1, but what I am getting is the characters from 8859-2. So I think that Calibre is defaulting to 8859-2. I can understand that now because of the programmers home country, but still didn't expect it for an English program.

The other thing I noticed, is that just changing to latin-1 and then running the conversion appears to be not sufficient. I had to quit Calibre before the change to latin-1 'takes'. Something else I did not know, but need to confirm.

[*] I tried a few other characters and they changed also in the same way.
julo is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Txt->EPUB Conversion Issue nrich61 Conversion 7 07-07-2011 06:03 PM
TXT to EPUB conversion issue rockeh Conversion 2 03-18-2011 10:50 AM
Preserving <br /> on epub -> txt conversion billingd Calibre 1 08-11-2010 06:24 AM
Conversion: EPUB to TXT Starson17 Calibre 11 05-29-2010 12:31 PM
TXT conversion to ePub or LRF - paragraph formatting Zapped Calibre 6 10-23-2009 05:06 PM


All times are GMT -4. The time now is 09:01 AM.


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