[LyX/master] Example script for looking up the citation pdfs.

Pavel Sanda sanda at lyx.org
Fri Aug 21 07:26:07 UTC 2020


On Thu, Aug 20, 2020 at 09:34:51PM -0400, Scott Kostyshak wrote:
> I wonder if it would be helpful to pass the path to the .lyx file as an
> argument to lyxpaperview. This would help users that store PDF files in
> a directory relative to their .lyx files. They wouldn't need to rely on
> locate.

Not helpful in my case but might be in yours. If you want pass it as an 
argument you need to take care of possible whitespaces in path and
following proper parsing of arguments in the script.
The cheaper solution seem to me to to change VC_COMMAND starting
path from '.' to document directory and use standard find.
Feel free to add your lyxpaperview version once the version is functional.

Pavel


More information about the lyx-devel mailing list