I'm writing a document in LyX which I will add to over time, adding a new section on each edit. I have enabled hyperref in the pdf properties and have a table of contents which correctly links to each section. However, for convenience I'd like to have a link before the toc which jumps directly to the start of the most recent (i.e. last) section.
Is it possible to access the variables used in generating the toc for this purpose? Alternatively, can I just put a label at the very end of the document (which would be a reference to a subsection) and do some maths to find the section itself? If so, how would I then link to it?
lastsection
or similar manually always to the last section? I don't see too much benefit in automating this.