Saturday, April 24, 2010

JPdfBookmars-2.2.1

This release is in response to some complaints about how the user interface of previous versions behaved, especially under Linux or with low screen resolutions, thank you for reporting this problem.

The bookmarks panel on the left was not shrinkable more than the width of the associated toolbar, and the main toolbars took too much space on some platforms.

In this version  the bookmarks toolbar is positioned vertically next to the bookmarks container that is now free to shrink  without problems.

There is also a "Toolbars Manager" accessible from the Options panel in the Tool menu, or right clicking on a free spot of one of the toolbars, from there you can choose which toolbars you want to visualize in the user interface (default setting is to show all toolbars).

Best regards.

20 comments:

Anonymous said...

I'm using version 2.2.1 on Ubuntu Lucid (10.04).
I find that after adding a number of bookmarks, the keyboard stops responding (only within jpdfbookmarks, not ubuntu generally).
I think this happens after using a keyboard shortcut. One example is a pdf file I have that has chapter bookmarks already, but the bookmark has the whole page displayed in the window. When I select display page width with Ctrl-W, and then try to add a child bookmark under the chapter bookmark, the keyboard stops working. I have to then save the pdf using the mouse, exit the program, and then reenter.

flavianopetrocchi said...

Hello, sorry for the delay I was a little busy these days and thank you for your report. Unfortunately I was not able to reproduce the bug on my Ubuntu 10.04 everything is working fine, I need some more information.
Try to post here the java version and the Linux version, and check if this is happening only with certain pdf files or with all of them.
To check the java version use the command
java -version
wich in my case prints
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

for the Linux version use
uname -a
which in my case prints
Linux fla-desktop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 GNU/Linux.

Unknown said...

Thank you for an excellent application.
One feature that I believe would be useful is a dialog where you can view and edit the properities of the current bookmark.

flavianopetrocchi said...

Hello Martin, thank you for your message. I think that the hole application is the dialog you are asking for, in fact the only purpose of jpdfbookmarks is to edit bookmarks, if you want to edit text or style or the target type of the current bookmark you can do it in the main window. This is why I choose not to provide that dialog. Thanks again and best regards.

m.ardito said...

Hi Flaviano, i just used your latest version for my new 1500 pages PDF, and worked lika a charm, it's really good, i like it a lot. I just could not find a way to move more than one page at a time (i could move them if "grouped" on a parent level, though), from the gui, at least. i ended up doing that from a txt dump, easily.

did i miss howto do that from the gui?

Jeff Wallman said...

We are building Tibetan eBooks with bookmarks and want to use your tool. However, we can't seem to get the utility to recognize UTF-8, and therefore the Tibetan. Here is a snippet. Let me know if jpdfbookmarks supports UTF-8 files. Many thanks,
Jeff

བླ་མ་ཡང་ཏིག་ཡིད་བཞིན་ནོར་བུའི་དབང་བསྒྱུར་གྱི་ཟིན་ཐོ་སྐལ་བཟང་དག་/13
ཁ་བྱང་ཉི་མའི་སྙིང་པོ་/87
ཁ་བྱང་ཉི་མའི་སྙིང་པོ་/88
ལོ་རྒྱུས་རིན་པོ་ཆེའི་ཕྲེང་བ་/109
བླ་མ་ཡང་ཏིག་གི་བརྒྱུད་པའི་ཕྱགའ་ཚལ་བྱིན་རླབས་སྤྲིན་ཚོགས/147
ཕྱག་འཚལ་བྱིན་རླབས་སྤྲིན་ཚོགས་/148
བླ་ཡང་ཏིག་གི་གསོལ་འདེབས་བདུད་རྩིའི་སྤྲིན་ཚཨོགས་/173
མཎྜལ་འབུལ་བའི་ཆོ་ག་ཚོགས་གཉིས་སྤྲིན་ཚོགས་/184
སྐུ་གསུང་ཐུགས་ཀྱི་མཎྜལ་/190
སྤྲོས་བཅས་ཀྱི་དབང་ཆོག་ཚངས་པའི་དྲྭ་བ་/187

flavianopetrocchi said...

Hello m.ardito, I'm happy you are using the new version, I'm not sure I have understood your question, if you want to move more than one bookmark with a single drag gesture this is not supported at present, it is only possible to drag a bookmark with its own children. Thank you for your post I will consider this as a feature request.

flavianopetrocchi said...

Hello Jeff Wallman, it's difficult for me to test this in my environment, maybe it would help if you send me a sample pdf file with a UTF-8 text file containing bookmarks to do some experiments, you can use my personal e-mail that you can find in the readme file of the program or in the about box. Thank you for posting best regards.

xristy said...

I work with Jeff Wallman and we have solved the issue by patching line 666 of Bookmark.java with:


BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(bookmarksFile), "UTF-8"));

This way the bookmarks are correctly read as UTF-8 content instead of ISO-8859-1. This will also solve an earlier user's problem with Arabic.

flavianopetrocchi said...

Fantastic xristy I will remember this solution, maybe I could insert a new option to change the encoding in the next version of jpdfbookmarks.

Anonymous said...

Hi Flavian, which is he last version running with jdk5? I use an old Mac with OSX 10.4.11 (Tiger) and there is no Java 6 available...

flavianopetrocchi said...

Sorry but there is no version that you can run with jdk5, only the first non open source versions where compatible with that runtime and they are not available anymore for a number of reasons.

Anonymous said...

Hi Flavian,
another word on the "OSX 10.4.11 (Tiger) is not supported"- problem: I run it now using X11 and soylatte (openjdk 6 port for bsd/osx), it works :-)
Yes it looks old fashioned because of the X11 gui style, but I know, this is not your fault.

flavianopetrocchi said...

Great workaround thank you for sharing it here

Anonymous said...

Wonderful program. I believe there is a "unintended feature":

If the lines in the bookmark specification file trail with some blanks like:

Chapter 1. The Beginning/23

the bookmark gets created with a page number of -1 and doesn't work properly.

Thanks for the program. Cheers.

Anonymous said...

It would seem possible for the program to convert automatically the table of content (if one exists) to bookmark. Wouldn't that be great if it does that?

Right now, I have to copy the toc to a temp file, clean it up with a no brainer program I wrote (less than 10 lines of Python) that converts the toc line to one JPdfBookmars understands (converts the ..... to /).

Cheers.

flavianopetrocchi said...

Thank you for the "unintended feature" report :), I will correct this "bug" :) as soon as I can.

flavianopetrocchi said...

Exporting the table of contents to bookmarks would be a great feature I agree, presently I have other priorities for this project, but thanks a lot for the hint I will try to implement this feature in the future.

Anonymous said...

Hi
I'm using version 2.2.1 on WinxXP SP3 (Traditional Chinese). The jpdbBookmarks can't open any pdf file (including v2.2.0). The java runtime is v1.60 update 20.
In the past, I used v2.2.0 to open pdf successfully.
I wonder whether the version of Java runtime causes the problem?

flavianopetrocchi said...

Hello, can you send me an example pdf file that you cannot open?