On Wed, Aug 19, 2020 at 10:04:36AM +0200, Jürgen Spitzmüller wrote:
> > > > +               Item "Open citation content|O" "inset-edit"
> > > 
> > > This should be an OptItem, and the function should be disabled if
> > > the
> > > citation in question does not have a target to follow.
> > 
> > Not easy, you don't know the result of external script. Calling it
> > by default and implementing return values looks like going too far.
> 
> I meant if getLocators() return nothing for all fields (if the
> citation[s] in question neither has url nor another field which is
> considered).

I know, but in that case external script still might be still succesfull.
The only option how to make it disabled for uninterested parties is
to put lyxpaperview script into configure script.

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to