Automated return reference?

In OO Writer, is there an automated way to have a return reference, which later you make a reference to an earlier section, and you automatically get a reference back to that reference location? Below is an example.

Thank you kindly
= main =

== section B ==
… some sentence [always shown ‘1’, hovering show “annex section 3”, links to immediately before or after the reference to here at “another sentence”] …
== section C ==

= annex =

== section 3 ==
… another sentence [always shown “section B”, hovering does nothing, links to “some sentence”] …
== section 4 ==

What is “automatically”?
You have to specify it.


Use the Insert > Field menu (Ctrl+F2).
You can use “cross-references” and “variables” for that there.


Linking to another part of a document:


PS:

OO Writer

This site and we are with

1 Like

In the example, in the order of the document the 1st reference would be the one automatically made after the 2nd one is made; that is no reference, you place the cursor at the 2nd reference position (another sentence) then refer the previous part (some sentence) then both references are made at a speed humans would call instant (I imagine a fraction of a second later the back reference is made). So a single reference is made by the user, the reference back is not made by the user. Like this:


PS: Often the reference back is only a number, which hovering will indicate what’s the reference is pointing to, so for the sample it would be

some sentence [always shown ‘1’, hovering show “annex section 3”]

There is no automatic “back reference” in Writer. You must manually create it.

Two features compete here: cross-references and hyperlinks.

Cross-references are created with InsertCross-references, Set Reference and will allow to insert properties (page, chapter, text) of this location anywhere in your document. It is purely “visual” or informative.

Hyperlinks allow to jump to a bookmarked location with a Ctrl-click. You must create first a bookmark.

Navigation can also be performed with the Navigator by selecting any “object”: heading, image, frame, bookmark, field, …

But, as already mentioned, once you have jumped to some destination, there no automatic return to the previous location if you have not installed some backlink.

So there’s not even something you could insert like {x} … text … {y|link to x} then you’d trigger something and all the links would be created, including return links?

No. I suppose you mean return link from x to y. The problem here is you are in a one-to-many situation (many y’s point to x). In this case, how would Writer choose which link to implement? Which y should it point to from x? It could of course insert all links to the y’s but this would make a very messy configuration around x for the user.

I don’t think there is a “navigation history stack” (where you would just pop the top item to return to your previous position).

The script or whatever would just increment the return reference, continuing my example

some sentence [always shown ‘1’, hovering show “annex section 3”, link to that] [always shown ‘2’, hovering show another place say “annex section 5”, link to that] [always shown ‘3’, hovering show another place say “annex 2 section 1”, link to that]