Share

Xournal

Tracker: Patches

5 When loading a foo.pdf and foo.pdf.xoj exists, load it - ID: 2774731
Last Update: Comment added ( auroux )

Since xournal saves its annotations by default to *.pdf.xoj files, this
small patch will load the .pdf.xoj file corresponding to the .pdf file, if
passed on the command line. This is useful for third-party tools which
load .pdf files. For instance if you browse pdf's in nautilus and open
them with xournal, you will see your annotations.

I use Zotero for managing my references, which also keeps a database of
papers. So papers I've read collect annotations inside this database, and
when I load the pdf files from within Zotero, this patch makes it so I
automatically see my annotations. (I've configured xournal as the pdf
viewer used by firefox)


Bob McElrath ( mcelrath ) - 2009-04-19 18:43

5

Closed

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )

Date: 2009-10-03 02:11
Sender: aurouxProject Admin

Included in release 0.4.5 (as an optional feature, controlled by "Autoload
.pdf.xoj" in Options menu). Thanks!
Denis


Date: 2009-04-19 18:46
Sender: mcelrath

The second patch, xournal_save_default_path.patch will save the path from
which a file was loaded on the command line. So when you save-as it will
show you the directory that the file on the command line lives in, rather
than your default path. Very useful in combination with
xournal_load_pdf_xoj_for_pdf.patch.


Attached Files ( 2 )

Filename Description Download
xournal_load_pdf_xoj_for_pdf.patch Load .pdf.xoj when loading .pdf from command line Download
xournal_save_default_path.patch Save path that initial file was loaded from Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-10-03 02:11 auroux
allow_comments 1 2009-10-03 02:11 auroux
close_date - 2009-10-03 02:11 auroux
File Added 323518: xournal_save_default_path.patch 2009-04-19 18:44 mcelrath
File Added 323517: xournal_load_pdf_xoj_for_pdf.patch 2009-04-19 18:43 mcelrath