On Fri, Aug 21, 2020 at 09:26:07AM +0200, Pavel Sanda wrote: > 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.
Sounds good. Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-devel
