Autonumbering and Power Headers Power Headers Forum

 
You must be logged in to post Login Register
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Autonumbering and Power Headers

UserPost

11:39 am
11/03/2011


niftyix

Member

posts 8

Post edited 11:52 am – 11/03/2011 by niftyix


I have a document that has autonumbering for the Aheads. The style is set up with the number having a character style of "h1num" and there is a tab inserted between the number and the actual head.

 

When I use Power Headers, it is reading the tab so it puts the number on the left and the text on the right with the tab in between. 

 

I tried to set up 2 separate variables: one that would read just the number (maybe the h1num style) and one that would read just the text. I thought I could insert the first, add an em space, and insert the second, but it didn't work.

 

Do you know of a way to maybe remove the tab character and replace it with an emspace, or another work around?

12:01 pm
11/03/2011


Harbs

Admin

posts 80

You can do this with a single variable using a GREP Processor:

 

Find: \t

Change: ~m

12:14 pm
11/03/2011


niftyix

Member

posts 8

Thanks. I was just going to post that I had figured it out. I was using ^t instead of \t.

8:18 am
11/04/2011


niftyix

Member

posts 8

Post edited 9:35 am – 11/04/2011 by niftyix


Just one more problem. When the header first appears on the page the tab is included in the header. On all subsequent pages, it's correct. Do you know what would cause this?

You can see samples here:

http://www.necomp.us/pics/sample1.jpg

http://www.necomp.us/pics/sample2.jpg

 

By the way, I'm using InDesign CS3. I also tried "Remove overrides" thinking something was left over, but that didn't help.

1:44 am
11/06/2011


Harbs

Admin

posts 80

It's hard to say what the problem would be without seeing the file. If you'd like to send me the file I can take a look.

One workaround you can try would be to use a Global Grep Processor rather than a regular one.

7:07 am
11/06/2011


niftyix

Member

posts 8

Post edited 7:09 am – 11/06/2011 by niftyix


Thanks. That is what I just did and it seems to work. I had nothing in Global Greps; just in the "More Options." After including it in the Global, it seems to work. One thing I noticed that was strange is: If I call the frame "recto" and use "Variable name" as "rectohead," when I ran Power Headers, it would insert the word "head" after the text. I had to change the variable name to something that didn't include the frame name. By the way, this extension is a life saver.


About the in-tools.com Forum

Forum Timezone: America/New_York

Most Users Ever Online: 22

Currently Online: vihanvilletere
10 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 22
Topics: 57
Posts: 175

Membership:

There are 2013 Members

There are 2 Admins

Top Posters:

niftyix – 8
Adrian – 8
Jahrod – 6
Mirek – 3
Saramax – 3
Artograph – 2

Recent New Members: Harbs, in-tools.com

Administrators: Harbs (80 Posts), dlandlenn (11 Posts)