🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2503

Table of Contents with right aligned page numbers

#2503
From: jay_fresno
Date: Sat, 13 Dec 2008 20:17
21 lines
1327 bytes
This problem is a doozie.

In the TOC, the page number must come BEFORE the entry, and I can't figure out how to right align the page numbers. Below is an example of the way the TOC should look:

RIGHT WAY

1 Chapter 1: Making widgets
  23 Second entry
 300 Third entry
 350 Chapter 2: Selling widgets

Due to a limitation of InDesign, tabs cannot be put in front of page numbers -- if they could, I'd use a right-aligned tab for the page numbers and a left aligned tab for the entries. So what happens is that they look like this instead:

WRONG WAY

1 Chapter 1: Making widgets
23 Second entry
300 Third entry
350 Chapter 2: Selling widgets

Is there possibly a GREP search/replace that could be run after the TOC is created in order to fix this problem?
Technical Details
Message-ID: <59b742ef.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,febd1f1957c84d8e,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: jay_fresno@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Table of Contents with right aligned page numbers
Message-ID: <59b742ef.-1@webcrossing.la2eafNXanI>
Date: Sat, 13 Dec 2008 12:17:48 -0800
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit