01-30-2009, 04:45 AM | #76 |
Member
Posts: 10
Karma: 306
Join Date: Aug 2007
Device: iRex
|
Adjusted merge for the 'for edit' ipdf version
Probably should have posted this before. Attached is a slightly modified IliadPdfScribbleMerger which will paste anything which was originally in grey on the Iliad _behind_ the document in the merge.
Basically the default settings mean that thin black lines will come out as red overtype, and thick light grey lines will come out as yellow highlighting. |
01-30-2009, 05:11 AM | #77 |
Enthusiast
Posts: 26
Karma: 11
Join Date: Jan 2009
Location: Spain
Device: iLiad
|
¡Thank you so much! ¡This is exactly what I needed!
|
Advert | |
|
01-30-2009, 05:18 AM | #78 |
Enthusiast
Posts: 26
Karma: 11
Join Date: Jan 2009
Location: Spain
Device: iLiad
|
BTW ¿would you mind posting the modified sources? I'm sure I'll learn a lot about the program just diffing it against the "original".
and... ¡thanks again! |
02-02-2009, 09:49 AM | #79 |
Addict
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
|
Fix (?) for pages with deleted scribbles
Hi! First of all, thanks for a great tool, it works very well
I have a small issue, however. It seems that my iLiad will retain a <page>-entry in the XML if you make a scribble on a page and then remove it (xml reformatted for clarity): Code:
<page backgroundcolor="#000000" id="1"> <orientation>0</orientation> <height>1024</height> <width>768</width> <strokes/> </page> <page backgroundcolor="#000000" id="2"> <orientation>0</orientation> <height>1024</height> <width>768</width> <strokes/> </page> I don't really want the pages with no scribbles on them. I'm no Java developer, but dived in and made the following change in v1.8-src at ScribbleMerger.java:97 Code:
arrScribblePages.add(sp); mapScribblePages.put(new Integer(sp.nPageId), sp); Code:
// Test for pages with no scribble strokes if(sp.arrStrokes.length > 0) { arrScribblePages.add(sp); mapScribblePages.put(new Integer(sp.nPageId), sp); } @Bert: Maybe you'll want to check that this doesn't break anything, and include it (or something like it) in your next version? It is not extensively tested, though Last edited by Man Eating Duck; 02-02-2009 at 02:58 PM. |
02-02-2009, 04:31 PM | #80 | |
Enthusiast
Posts: 47
Karma: 3090
Join Date: Aug 2008
Device: Cybook Odyssey HD FrontLight
|
Quote:
Lars |
|
Advert | |
|
02-06-2009, 04:22 AM | #81 |
Member
Posts: 10
Karma: 306
Join Date: Aug 2007
Device: iRex
|
Source for edited merger
Source of the edited version (which does highlighting) attached (literally just the source, not the whole build tree). Note that these edits were done on 1.7.5, so if anyone out there has time, the changes should be compared to the original 1.7.5 then patched in to the newer version. Sorry, I don't have time to do this myself.
|
02-06-2009, 06:25 AM | #82 |
Enthusiast
Posts: 26
Karma: 11
Join Date: Jan 2009
Location: Spain
Device: iLiad
|
|
05-06-2009, 11:07 AM | #83 |
Zealot
Posts: 112
Karma: 10
Join Date: Feb 2009
Location: Wiltshire, UK
Device: Kindle Paperwhite 7th gen; Kindle Keyboard; iRex iLiad
|
Just happened on this (i'm not a developer) - fantastic, saves me reinstalling the iLiad companion s/w which i did NOT want to do! Thanx so much.
Is there any way of merging documents more than one at a time? I tend to go through a lot of small documents making quick notes on each, and it's taking more time to merge them than it did to make the notes in the first place. If not i'll just enjoy your wonderful bit of software while i wait... |
05-08-2009, 12:39 PM | #84 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2009
Device: iliad
|
Hi -
Your java tool would convert my iliad into something really useful. But, I havent been able to get it to work, and I hope you might have some insight. I downloaded the .jar and launched it with java -jar. I get a nice window with two dialog boxes on top and bottom and the color mapping console. However, if I browse to the directory that contains the irx files it does not show that directory in the text box "IRex pdf directory". It will display the directory if I manually enter the full path. On the other hand the browse option works for the destination path Anyway, if I fill both boxes, and then click merge nothing happens - no error messages, no files generated, just nothing. Anyhelp on how to debug this would be appreciated. |
05-31-2009, 11:05 AM | #85 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2009
Device: iLiad
|
How to set up the Bert's Merge utility - for Windows users.
The more I read up running Bert's very nice utility (all about installing Java, i-text, all the scripts, etc, etc), the more despondent I became and the less I understood what was involved.
So, instead, do this: 1) Install Java: That's probably already done - check your Control Panel for the Java icon. If not, go to http:\\java.com. It's very easy. 2) Make a folder for the utility: ..called, for example, "C:\Program Files\iRex Utilities\iLiad PDF Scribble Merger". If you don't know how to do this, find a 12-year-old to help you. 3) Extract Bert's latest version into this folder: You don't need the source files, just get the latest 'compiled' version. For this example, I used ILiadPdfScribbleMerger v1.8.zip - see the first page in this discussion. Use the 'extract here' option for whatever unzip utility you use. You should end up with something like the following files and folders in your newly created folder: dist\ dist\ILiadPdfScribbleMerger.jar dist\README.TXT dist\lib dist\lib\itext-1.4.8.jar dist\lib\swing-layout-1.0.jar 3) Create a batch file: Right-click while in the folder and select 'New .. Text Document". Rename the document to "iLiad Scribble Merge.bat" [or whatever you want to call it, but make sure the '.bat' is at the end] and click OK. Click Yes at the 'Rename' warning. 4) Edit the batch file: Right-click on the batch file and select 'Edit'. Copy and paste the text between the *****'s below into the batch file: ***** cd "C:\Program Files\iRex Utilities\iLiad PDF Scribble Merger\dist" java -jar "ILiadPdfScribbleMerger.jar" "***** [Note: if you installed Bert's utility somewhere else, that first line HAS TO MATCH!] Click on the upper-right 'X' to close Notepad, click on Yes to save the changes. [Note: the batch file changes to the folder so the jar file can find the lib(rary) files.] 5) Create a shortcut wherever/if you want one: Right-click-drag the batch file to, say, your desktop and select 'Create Shortcut'. When you double-click on the shortcut (or the batch file) a DOS box will open, then a second or two later, Bert's ILiadPdfScribbleMerger utility will appear. It's pretty self-explanatory. When you click on the 'Exit' button, the DOS box will disappear. |
06-03-2009, 11:38 AM | #86 |
Enthusiast
Posts: 32
Karma: 10
Join Date: May 2009
Location: Heidelberg, Germany
Device: iLiad (broken screen! cry), x61t tablet
|
Just posting to say this utility is awesome. Thanks so so much!
|
06-22-2009, 04:59 PM | #87 |
Member
Posts: 14
Karma: 10
Join Date: Jul 2006
Location: Amsterdam, the Netherlands
Device: iRex iLiad since 2006
|
not compatible with Java 12.3.0 under Mac OS X 10.5.7
Warning, on Mac OS X 10.5.7, don't update your Java to version 12.3.0. This was suggested to me today by Software Update and out of a habit I accepted. But now ILiadPdfScribbleMerger does not work anymore.
In the attached png you can see what it looks like now. No dialogue anymore to save the merged PDF: |
07-23-2009, 10:47 AM | #88 |
Member
Posts: 10
Karma: 10
Join Date: Jan 2009
Device: Iliad or DS?
|
Just ran into the same problem as rrusterna, with the scribblemerger window messing up. Anyone got a fix for this? I need to merge something asap, so I can send my iLiad in for repair.
|
07-24-2009, 03:09 AM | #89 |
Member
Posts: 14
Karma: 10
Join Date: Jul 2006
Location: Amsterdam, the Netherlands
Device: iRex iLiad since 2006
|
Hi senseabove,
Downgrading to 10.5.6 seems to be the only fix so far. Which is a bit difficult, because you have to get your original 10.5.x disk and then get the combo-installer from Apple to go to 10.5.6. A lot of trouble. If anyone has a better solution, I would be very grateful! |
07-24-2009, 06:27 PM | #90 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2009
Device: iLiad
|
Possible fix for Mac users?
rrustema et al:
Date a PC/Windows user? (I keed!) |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Merge part I & II of downloaded pdf book | swaneelee | Calibre | 4 | 07-01-2010 10:21 PM |
DR800 PDF annotation merge tool? | CoolDragon | iRex | 1 | 06-21-2010 02:56 PM |
Merge feature request (different merge) | Tarran | Calibre | 1 | 05-24-2010 10:57 AM |
Problem with merging scribbles to PDF file | MikeTr | iRex | 2 | 01-15-2010 03:45 AM |
Merging Scribbles with Pdf | jæd | iRex | 15 | 12-20-2006 04:40 AM |