What you ever wanted to do with numbered lists

From time to time, a question surface :
How may I put a word of my choice before the roman number inserted by Pages
or
How may I get rid of the period which Pages inserts just after the roman number ?

At last, here is an answer.

Take your breath and read carefully.

Create a new document with at least one entry in a list numbered with roman digit (I inserted three of them).
Save the document.
Close it (or quit Pages).

If you use the flatfile format introduced by iWork ’09, a preliminary action is required :
Rename the document as xxx.pages.zip

Double click
You will get a new document entitled xxx.pages of kind package as those created with older applications.

ctrl click on the document’s icon to get the contextual menu allowing us to "Reveal package contents".

User uploaded file

When it’s done, if your original document was a package, you must double click index.xml.gz to get the file index.xml (then, move index.xml.gz out of the package).

To apply surgery on the index.xml file, I use the free TextWrangler which highlight the different components of the code.

Use the search tool to find the content of the first item of your list. Mine was "item 1".

You will reach something like :

User uploaded file

Copy the string "ParagraphStyle-68" or the equivalent available in your document.
Use one more time the search tool to find the copied string.

You will reach something like :

User uploaded file

Copy the string "PListStyle-10" or the equivalent available in your document.

and apply a search upon this string.
You will reach this kind of block :

User uploaded file

For see, I edited it this way :

User uploaded file

You may see that I inserted "Plouc " before the "%L" string and replaced the period which was on the right of the same "%L" by a space.
Save the edited index.xml file.
If you didn’t already moved it, move index.xml.gz out of the package.
Close the package
Double click the Pages document.
If you did exactly what I wrote, you will get this beautifyul list :

User uploaded file

Of course, it would be a good idea to capture the page and save the document as a template so you will not be forced to repeat surgery each time you will need such a format.

Yvan KOENIG (VALLAURIS, France) mercredi 19 janvier 2011 14:33:01

To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !, Mac OS X (10.6.6)

Posted on Jan 19, 2011 5:32 AM

Reply
8 replies

Jan 19, 2011 8:38 AM in response to KOENIG Yvan

Thank you to fruhulda and Jim Kahler.

You are free to search by yourself for other kinds of numbered lists.
I'm too busy to scan all of them.

I was at ease when I posted the tip on a French forum (mac4ever) but I was a bit anxious when I translated it in my own English.

Of course, if someone has time available to enhance my explanations (use true English for instance), he would be welcome.

Yvan KOENIG (VALLAURIS, France) mercredi 19 janvier 2011 17:38:28

Jan 24, 2011 7:11 AM in response to fruhulda

As I had some time available, I worked upon several list formats.
Here are their descriptors and the way to customize them.

Format :
1. item 1e
2. item 2e


User uploaded file

We may insert a string before and/or a after the %L representing the number.
CAUTION, don't edit this way : <%L>. It will drop the numbering.

Format :
(1) item 1
(2) item 2


User uploaded file

We may replace the parenthesis enclosing the %L representing the number to come by characters of your choice {%L}, [%L] Don't use <%L> which will drop the numbering.
We may insert a string before and/or a after the main component.

Format :
(I) item 1b
(II) item 2b


User uploaded file

Format :
(A) item 1c
(B) item 2c


User uploaded file

Format :
(a) item 1d
(b) item 2d


User uploaded file

As you may see, there are small differences in the code's structure.
Sometimes it use two different blocks, sometimes it use three ones but it's easy to locate the string to edit.

Yvan KOENIG (VALLAURIS, France) lundi 24 janvier 2011 16:09:30

Jan 24, 2011 1:33 PM in response to fruhulda

fruhulda wrote:
could sf:first ="1" be changed to sf:first ="0" for those who has asked for a list to sat with 0?


I tried but I got no changes in the list behavior.
I was unable to get a list starting from 0.

I was always surprised by that because, in its applications internals, Apple start every numbering from 0.

Internally,
table's row 1 is numbered 0
column 1 is numbered 0
page 1 is numbered 0
picture 1 is numbered 0

I understand why they number this way.
With a single byte we may define 256 values if we start from 0,
only 255 if we start from 1

It must be an explanation but I don't guess which 😟

Yvan KOENIG (VALLAURIS, France) lundi 24 janvier 2011 22:33:04

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

What you ever wanted to do with numbered lists

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.