Recent Changes · Search:

Support the Project

Wikipublisher

PmWiki

edit SideBar

 
Summary
How do we create page cross-references?
Type
Question
Raised by
John Rankin
Date opened
Monday, 20 June 2005
Description
If a typeset page collection contains inter-page references, we want the link to be shown with a page number reference. We know what the link text format needs to look like; we need the link processor to scan the list of pages being typeset to see if the current reference is in the list, but only for pdf output. See cross-references?.
Importance
4
Proposed solution
It should be a matter of invoking a different $LinkFunctions[‘<:page>’] function that looks to see of the page name in the $path is in the list of pages and if so set the appropriate $LinkPageExistsFmt. This needs to handle references to page anchors as well. If these are within the collection, the anchor needs to be disambiguated by adding the page name to it.

See also issue 00026.

Urgency
3
Status
Closed
Resolution
Cross-references within and between pages are now supported. It adds a pagename qualifier to avoid errors if authors use the same anchor name on different pages. It recognises cross-references created by the publish script, which are unique. It ignores trivial cross-references, such as a reference to the current line. The reference is of the form “(p i)” where i is the page number.
Date closed
Tuesday, 16 August 2005

« 00019 · Edit Form · 00021 »

Creative Commons License
Edit · History · Print · Recent Changes · Search · Links
Page last modified on 16 August 2005, at 07:09 PM