Hi and thanks in advance for your help. I have a big document in Indesign (3000+ page) about Italian civil code: the text is composed of the articles of the laws. For example: Art. 12 - Temporary job ... some paragraph text Art. 13 - Business trip ... some paragraph text I must put an header on each page to tell to reader what articles are on the page: "Art. 12" if in the page there is only the text of article #12 or "Art. 12-14" if in the page are the articles #12 to #14. The numbers are with ad hoc character style (ArtNumber) I can use 2 master pages with some Text Variables: - the MasterA for the first case: "Art." + FirstArt (Text Variable, style ArtNumber, running header, first on page) - the MasterB for the second case: "Art." + FirstArt (Text Variable, style ArtNumber, running header, first on page) + " - " + LastArt (Text Variable, running header, style ArtNumber, last on page) The BIG problem for 3000+ pages is: if I modify some text and on the page with only one article now there are 2 articles, I must change the master page and check 3000+ pages! I'm searching for some "if statement" like: if FirstArt == LastArt then "Art." + FirstArt else "Art." + FirstArt + "-" + LastArt, but this solution can't be implemented. How can I solve this situation and how can I write an header text in a text box that can change related to the quantity of articles in the corresponding page? Thanks again. Andrea Treggia - Italia
... View more