On 30.04.2016 18:10, Richard Heck wrote:
On 04/30/2016 11:55 AM, racoon wrote:
On 30.04.2016 16:56, Richard Heck wrote:
On 04/30/2016 10:00 AM, racoon wrote:
Thanks Jürgen. I guess your reply implies that there is no special
function for this in LyX.

No, but it would not be hard to create a simple module that did this.

I'll give it a try. Two things are holding me a bit back though

1. The code by Jürgen does not work in environments.

May need to use \csgdef or something. It's possible the defintion is
being made local to the environment. But I'm not sure.

Well, if it is without LyX help then there are the necessary commands already in the hyperref package: \hypertarget and \hyperref.

https://en.wikibooks.org/wiki/LaTeX/Hyperlinks#Hyperlink_and_Hypertarget

They uglify the text though.

Daniel


2. The Customization documentation seems a bit on the short side when
it comes to examples.

All the layout and module files that LyX ships are examples, e.g.,
enumitem.module.

Richard




Reply via email to