10-29-2011, 01:54 PM | #406 |
Addict
Posts: 300
Karma: 1006538
Join Date: Jul 2008
Device: Kindle Paperwhite (11th Gen)
|
Yes to the tune of over 2000 books in my current Calibri library =)
Its a fantastic product, however, when tring to convert PDF to another format you need to do a lot of preprocessing first. Thats just the nature of PDFs, need to form up split paragraphs, remember page numbers etc etc etc I LOVE Calibri tho, I use it to convert everything over to ePub for my reader. I also use it to coughstripdrmcough using 3rd party plugin so that I can have backups incase of publishers whims ... |
12-02-2011, 06:18 PM | #407 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2008
Device: sony reader
|
I downloaded BookCreator yesterday, still getting the hang of it. I used it to format a book from a txt file and figured out how to use this:
Italic converter, converts txt with underscore _My Text_ to italics But can it do something about indentation? Some parts are between these brackets <My Text> and those are supposed to be quotations. |
Advert | |
|
12-06-2011, 04:57 PM | #408 | |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
To add indents that is done on a style just modify an existing style or use your own. To remove indents there is a macro called remove white space. That will remove indents. Can you post an example of the broken text here. This way I can take a look at it. It looks the like there is something in the "_" that is causing the macro to fail. =X= |
|
12-28-2011, 01:55 PM | #409 | |
Addict
Posts: 208
Karma: 582
Join Date: Aug 2006
Device: Zire71
|
Quote:
Anyway you may want a quick note in the instructions where toolbar may be located in the latest WinXP/Word version. Looking forward to using it, thanks a bunch |
|
12-29-2011, 02:48 PM | #410 |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
LOL, it's MS Word fault really!
Part of the problem is the tool was written for word 2003. In that version a new toolbar is created and easy to see. Word 2007 and up moved to what they call a ribbon and no longer uses tool bars. For backwards compatibility they stuffed all macro and addins in the addins ribbon. I'm working on a port to 2007 and it uses the ribbons technology so it will be more initiative. I'm just having problems with some features so I haven't released it yet. |
Advert | |
|
01-20-2012, 03:40 PM | #411 | |
Addict
Posts: 300
Karma: 1006538
Join Date: Jul 2008
Device: Kindle Paperwhite (11th Gen)
|
Quote:
I use bookcreator a TON and think its one of the best things ive found on the net for editing etc. I hope things go smoothly and you can get the new version out sometime soon. Thank you again for all your hard work. |
|
01-24-2012, 08:02 AM | #412 |
Enthusiast
Posts: 25
Karma: 10000
Join Date: Jan 2012
Device: kindle
|
Using Word 2010 64bit Edition
May I suggest the following changes: In vbaKernelStuff Code:
#If VBA7 Then Private Declare PtrSafe Function WaitForSingleObject Lib "kernel32" ( _ ByVal hHandle As LongPtr, _ ByVal dwMilliseconds As Long) As Long Private Declare PtrSafe Function OpenProcess Lib "kernel32.dll" ( _ ByVal dwDesiredAccess As Long, _ ByVal bInheritHandle As LongPtr, _ ByVal dwProcessId As LongPtr) As LongPtr Private Declare PtrSafe Function CloseHandle Lib "kernel32" ( _ ByVal hObject As LongPtr) As Long #Else Private Declare Function WaitForSingleObject Lib "kernel32" ( _ ByVal hHandle As Long, _ ByVal dwMilliseconds As Long) As Long Private Declare Function OpenProcess Lib "kernel32.dll" ( _ ByVal dwDesiredAccess As Long, _ ByVal bInheritHandle As Long, _ ByVal dwProcessId As Long) As Long Private Declare Function CloseHandle Lib "kernel32" ( _ ByVal hObject As Long) As Long #End If Code:
#If VBA7 Then Dim TaskID As LongPtr Dim ProcHandle As LongPtr #Else Dim TaskID As Long Dim ProcHandle As Long #End If In datBookCreatorProperties, Sub INITIALIZE() Code:
#If Win64 Then setCalibrePath "C:\Program Files (x86)\calibre" #Else setCalibrePath "C:\Program Files\calibre" #End If Not sure how to correct it for 32bit word on Win64. In eBookCreatorCalibre Sub html2any Adding a bit of diagnostic on the calibre path, otherwise, it fails silently Code:
' Prepare to create the eBook szHTML2ANY = Replace(szPathCalibre, """", "") + "\ebook-convert.exe" If Not IsFileExists(szHTML2ANY) Then MsgBox "Calibre Path Incorrect" Exit Sub End If szHTML2ANY = """" + szHTML2ANY + """" AnyToHMTLToTarget szHTML2ANY, szFilepath, szFilename, szParam, True, eEBookFormat Also the BrowserFileSystem need a bit of improvement. |
01-24-2012, 05:43 PM | #413 | |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
The last poster provided some nice feedback that I think I will included for the 2007/2003 code so the update will come out say Wed/Fri of this week. =X= |
|
01-24-2012, 06:22 PM | #414 | |||
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Hi Gauthier
Great tips I'll include the win64 changes in the word 2003/2007 port. I'll post them here shortly see if the changes work for both win32/win64 for both word2003/2007. Some of my comments below Quote:
Quote:
I'll update the code to say Code:
setCalibrePath Environ("AppData") + "\calibre" Quote:
No worries. I've dropped IMP support, I created a poll some time ago asking if folks still used the IMP feature. Zero people responded so I took that as a "No body uses BC for IMP". Going forward there will be a 2003/2007 version only. =X= |
|||
01-24-2012, 09:27 PM | #415 |
Enthusiast
Posts: 25
Karma: 10000
Join Date: Jan 2012
Device: kindle
|
Another possible improvement:
In the custom menu you have "Import File" linked to your macro, you could instead link it directly to the word text Import command. The macro version is limited to selecting One File (multiple selection explode) while the word command would accept multiple file selection. Regarding Word < 2003 conditional compile compatibility, you may receive compile error but only in the VBA editor, according to M$ you can safely ignore them, the macro should run, need to test of course... |
01-24-2012, 09:37 PM | #416 |
Enthusiast
Posts: 25
Karma: 10000
Join Date: Jan 2012
Device: kindle
|
Environ("AppData") would not gives the good value
need Code:
If getCalibrePath() = "" Then Path = Environ("ProgramFiles(x86)") If Path = "" Then Path = Environ("ProgramFiles") End If setCalibrePath Path + "\Calibre" End If Last edited by Gauthier; 01-24-2012 at 11:23 PM. |
01-24-2012, 10:07 PM | #417 |
Enthusiast
Posts: 25
Karma: 10000
Join Date: Jan 2012
Device: kindle
|
The calibre path saved by setCalibrePath
is machine dependent and not really a document Property thus use: and of course also do the verification there Code:
Sub setCalibrePath(szPath As String) SaveSetting "BookCreator", "Calibre", "CalibrePath", szPath If Not IsFileExists(Replace(szPath , """", "") + "\ebook-convert.exe") Then MsgBox "Calibre ebook-converter Not Found there" End If End Sub Function getCalibrePath() As String getCalibrePath = GetSetting("BookCreator", "Calibre", "CalibrePath") End Function Last edited by Gauthier; 01-24-2012 at 10:51 PM. Reason: added path verfication on save |
01-24-2012, 10:38 PM | #418 |
Enthusiast
Posts: 25
Karma: 10000
Join Date: Jan 2012
Device: kindle
|
Browsing for Calibre, current version always goes to the parent.
don't know why really... Correction, pick the dir of the executable using a file picker instead: in frmCalibreAllFormat Add: Code:
Private Function BrowserCalibre() On Error GoTo Err_Clr Dim bDisplayVal As Boolean Dim szDocName As String Dim szPath As String Dim defpath As String bDisplayVal = False With Application.FileDialog(msoFileDialogFilePicker) .AllowMultiSelect = False .Title = "Please select The Calibre Executable" .Filters.Clear .Filters.Add "Applications", "*.EXE" bDisplayVal = .Show szPath = CurDir End With If bDisplayVal = -1 Then BrowserCalibre = szPath End If Exit Function Err_Clr: If Err <> 0 Then Err.Clear Resume Next End If End Function Code:
Private Sub cmdPathtoCalibre_Click() txtCalibrePath.Text = BrowserCalibre End Sub Last edited by Gauthier; 01-24-2012 at 11:25 PM. |
01-25-2012, 04:00 PM | #419 | |||
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
Quote:
Also I've found in the registry calibre does list the install path. I wonder how reliable that entry in the registry is. It's under "HKEY_LOCAL_MACHINE\SOFTWARE\calibre\Installer\Ins tallPath" Quote:
Are you suggesting something different? |
|||
01-25-2012, 08:48 PM | #420 |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
location of calibre "ebook-convert.exe"
Don't know if that path to calibre is really necessary or not for BC to function properly, but couldn't "ebook-convert.exe" just be called without a path and then the OS will find it using the "path" env variable. The calibre path was already set upon calibre's installation to point to the correct directory.
Does Word really need the absolute path address to "ebook-convert.exe"? In my GuteBook software, I just call "ebook-convert.exe" and the OS locates it for me using the path env variable. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bookcreator | MalcolmFranks | Introduce Yourself | 8 | 10-13-2010 10:49 PM |
BookCreator 3.0 Beta | =X= | Workshop | 43 | 11-21-2009 12:08 AM |
New Update BookCreator v2.6 | =X= | Workshop | 2 | 09-22-2009 06:04 AM |
BookCreator v2.5: Just Released | =X= | Workshop | 0 | 09-28-2008 06:40 PM |
BookCreator v2.0 Released (Book Creating tool) | =X= | Workshop | 1 | 09-15-2008 06:01 PM |