What I try to achieve
I need to review a bunch of C source code spread out into dozen of directories. I already have a bash script which does the following: It searches for all source codes in the directory I'm interested in. For each code found, it generates a pdf (where the source file is) using the following command:
a2ps $source -R --columns=1 --prologue='color' --line-numbers=1 -T2 -M A4 \
--chars-per-line=100 --borders=no --encoding=iso1 -o - | \
ps2pdf -sPAPERSIZE=a4 - $dest
Then it opens this generated pdf with a PDF viewer to let me review it using sticky notes. I then save it, close it and the script do the same for the next c source code, etc.
This way I can review all the source codes in an automatic way and distribute the review back in a handy pdf format.
Where it fails
I can't find a proper PDF reader which allows me to do exactly what I've mentioned above. Basically what I've tried :
Evince
Don't allow to save the sticky notes in the same file, I need to "Save as..." and evince then open the previous location used and not the location of the current pdf. This force me to manually navigates trought the directories to find the source pdf to override it.
Xournal
It don't have sticky notes and this is mandatory for me.
Okular
The sticky notes are not visible into Adobe Reader which is mandatory for me too.
Adobe Reader 9
This old version for Linux (thanks Adobe) don't support sticky notes.
Therefore what I need
To summarize what I've said above, I need a PDF reader that is :
- able to save the annotated pdf directly or at least save as it in the same directory directly
- using official pdf sticky notes
- creates sticky notes that are visible into, at least, Adobe Reader and evince
Your help is much appreciated has it could save me a lot of time! Also feel free to suggest a whole different workflow idea if it's matching my requirement.