Skip navigation

What you ever wanted to do with numbered lists

2556 Views 8 Replies Latest reply: Jan 24, 2011 1:33 PM by KOENIG Yvan RSS
Level 8 Level 8 (41,760 points)
Currently Being Moderated
Jan 19, 2011 5:33 AM
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".



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 :



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 :



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 :



For see, I edited it this way :



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 :



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)
  • fruhulda Level 6 Level 6 (14,740 points)
    Currently Being Moderated
    Jan 19, 2011 6:20 AM (in response to KOENIG Yvan)
    Good job Yvan!
    PPC MMD (10.5.8), MBP 15", Mac OS X (10.6.6), 4 GB DRAM
  • Jim Kahler Level 1 Level 1 (35 points)
    Currently Being Moderated
    Jan 19, 2011 8:05 AM (in response to KOENIG Yvan)
    Bloody well done, old man! (fake English accent)

    This one goes into my permanent "How to" folder.

    Thanks for sharing.

    Jim
    mac Pro, iMac, iPad, Ipod touch, Mac OS X (10.6.5)
  • Jim Kahler Level 1 Level 1 (35 points)
    Currently Being Moderated
    Jan 19, 2011 8:54 AM (in response to KOENIG Yvan)
    I found your English quite easy to understand.

    Jim

    BTW what does "Plouc" mean? Just curious.

    Message was edited by: Jim Kahler
    mac Pro, iMac, iPad, Ipod touch, Mac OS X (10.6.5)
  • fruhulda Level 6 Level 6 (14,740 points)
    Currently Being Moderated
    Jan 19, 2011 9:09 AM (in response to Jim Kahler)
    Google translation says
    slob
    bumpkin
    yokel
    PPC MMD (10.5.8), MBP 15", Mac OS X (10.6.6), 4 GB DRAM
  • fruhulda Level 6 Level 6 (14,740 points)
    Currently Being Moderated
    Jan 24, 2011 7:46 AM (in response to KOENIG Yvan)
    could sf:first ="1" be changed to sf:first ="0" for those who has asked for a list to sat with 0?
    PPC MMD (10.5.8), MBP 15", Mac OS X (10.6.6), 4 GB DRAM

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.