Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

automatic numbering

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Does anyone know if there is any way to make an auto number list (or auto bulleted list) in Quark? If you are familiar with Framemaker, this is available under the Numbering tab in the paragraph designer. These options are also available in Microsoft Word and other such programs.
 
Have never managed it myself!!

There could be an Xtension maybe. If you can't fix it in 20 minutes call someone who can.
 
If you're on a Mac you can write an AppleScript that will put a bullet in front of every selected paragraph.

I don't have Quark open right now, but I think mine goes something like this (excuse my memory):

tell application "QuarkXPress™ 4.11"
tell document 1
tell selection -- just highlighted text! Very useful!
repeat with i from 1 to (count paragraphs)
set paragraph i to "• " & paragraph i
end repeat
end tell
end tell
end tell

Simple enough, yes? And you can use
set paragraph i to "" & i & ". " & paragraph i
to number instead.

Drawbacks:

1) the final return may make the script apply to an extra paragraph, where you will need to remove the extra bullet. Haven't yet cleaned that up because it seems to happen only occasionally and I haven't had enough of a problem to take the time to chase it down.

2) the bullets won't hang unless you define a separate paragraph style with hanging indent, and apply by adding a line in the repeatsuch as

set style sheet of paragraph i to "bullet hang para"

But this makes the script limited to a particular document, rather than being general usage, so I just apply the style manually, unless for some reason it's in the middle of a bigger automated project that deserves a custom script.

3) it won't work if you have soft returns instead of true paragraph returns (as I sometimes do to control space afters etc.) In this case you would need to change the soft returns to hard ones, apply the style sheet and add the bullets/numbering, at the risk of picking up any manual soft returns you used to clean up line wraps. Your style sheet can then deal with the spacing issues as well.
 
This is a great tip - however (there's always one, isn't there!) if you have ANY sort of character styling applied to your text, it will be lost. If anyone knows of a script to retain the character styling, please let me know. We work on journals that use hundreds of references and I thought I had found THE ultimate way of numbering!
gkimber@hbase.com
 
Try this: Example -- use CRTL vertical bar where ever the indent needs to be EVEN after a tab has been set. Then use SHIFT RETURNS (SOFT RETURN) when ever the line returns to the next line. A real return or (HARD RETURN)tells Quark this is the end of the line. The indent is reset to zero. This is a take off on the AUTO TAB feature of the OLD Compugraphis machines. Yes I am of that vintage. Freeking OLD! Let freedom ring!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top