Bad_Wolf Posted September 28, 2022 Share Posted September 28, 2022 Hi All, Please, can you help me again solving my problem with referencing pages within a document? On one page I have the text "Solution on page 20". But I want the page number (20) be dynamic. So when I insert a new page before page 20 (lets say "page 20" becomes then "page 21", the reference text on the earlier page should read "Solution on page 21" automaticly. This document will be used for printing on paper. So an URL or bookmark will not be possible. I appreciate your help very much. Chris Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted September 28, 2022 Share Posted September 28, 2022 You can get a dynamic page number, but it's a bit complicated. Create a new pair of text frames. Link the first to the second. Size the first frame appropriately to be Pinned in-line with your normal text. In that frame, type "page " and then Text > Insert > Fields > Next Frame Page Number. In your normal text, you'll then have "Solution on " and immediately follow it with the first frame, pinned in-line. Leave the second frame you created in step 1 empty, and drag it to the text you want to link to. Pin it in-line at the front or end of that text, or replacing a blank in the text. At that point, the normal text will have "Solution on page n" where n is the page number where you've put the second frame from step 1. Sample: cross-reference-example.afpub All-in-all, it's easier to use a different style where you can simply use an anchor, and forget about displaying the page number in the text that's referencing it. But if you really need the number, this is the only approach I now of that will work, currently. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
Bad_Wolf Posted September 28, 2022 Author Share Posted September 28, 2022 Hi @N.P.M. and @walt.farrell, Thank you both so much for your help. Now it is late here and I have to go to bed. Tomorrow evening, I will try out your suggestions. Your help is much appreciated. Chris walt.farrell 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.