Re: Thijs Kinkhorst 2007-12-01 <[EMAIL PROTECTED]>
> > But the feature seems to be a little bit broken if there is more than
> > one photo ID on a key, because gpgsigs shows the last image for this
> > key on all photo IDs of this key.
> 
> The issue here is that gnupg, when invoked with show-photos, shows all 
> photoids on that key. gpgsigs then overwrites the earlier photo with the 
> latter one.

The implementation as a whole is still quite ugly. The photo ids
should go besides the rest of the listing. Also, there's probably
other ways to typeset graphics besides latex. (hmm... cairo?)

> The solution is twofold:
> 
> 1)  The command calling gpg needs to do a test to create a unique filename, 
> for example something like this:
> 
> system "gpg --photo-viewer 'NUM=0; while [ -e %k.\$NUM.eps ]; do 
> NUM=\$((\$NUM+1)); done; convert - %k.\$NUM.eps' --list-options 
> show-photos --list-key $key > /dev/null";
> 
> This is not quite beautiful code. Are there ideas for a better solution?

Maybe the following helps:

| If neither %i or %I are present, then the photo will be supplied to
| the viewer on standard input.

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to