The Shoebox. A place for lil' apps to live in peace and harmony.

Works on MS-OSs and requires Win32OLE.

First of all, a short lesson in German: “Abbildungsverzeichnis” means “List of Illustrations”. Sorry for that, but initially I had not planned to go so far as to publish the script here.

This program was meant to help circumnavigate yet another shortcoming of my office-software. I love SoftMaker Office, do not get me wrong.

This time, I was missing a way to add a “List of Illustrations” to a document which contains lots of graphics. While creating a list of contents is no problem in the text-processor component, almost no other kind of index is currently possible.

This script will create such a list of illusttrations AND attach it at the end of the current document.

Now you know, what Abbildungsverzeichnis means and should immediately forget it, because for my program, it is of no importance, what kind of numbered text you wish to list. The preset default is a regular expression ^Abbildung \d+ which describes the captions I use for my images, most of the time. But you can choose almost anything, there, as long as a number-expression \d+ is included.

Another caveat: The script cannot find the number of any page and needs some help to create the proper references. Do that by attaching a page-field to each line of text, which shall be indexed. This data-field should be written in white on white background, so that it will not show, and be separated from the text by a ‘%’ (percent). If such a page-reference is found by the script, it will be used to attach page-numbers in the index. An image-caption could thus be (in English):
diagram #3: What it shows%6 (the %6 being invisible).

The Shoes-dialog just calls one function, which does the rest. You will be able to call it directly from a console-window (i.e. DOS or Cygwin).
Adaptions to your own office-software should be necessary to make the script work. And as you are at it, also change the default regular expression.

This may all look over-complicated and utterly useless, at first. But it saves me currently 1.) a lot of trouble and 2.) money. Apart from that, it is fun until my office-software will be able to create such indices on its own and more elegantly.

Versions:
.zip
ZERO


Speak now or forever hold your peace:

AugustusCaesar
January 22, 2009

I was about to create a Screenshot of the Shoes-dialog and the resulting index but found a bug that might restrict the use of the script.
PSE be a little patient, but I would not like to present you my documents and my indices for my images that noone else would not have any use for. ;-)

AugustusCaesar
January 29, 2009

Okay, the script works as is. There seems to be a bug in my office-software, which affects results.

I cannot test with MS-Office or OO but tend to say, that all is perfect.

Should there be a bugfix or work-around for my little problem, I will deliver a screenshot and link it here. Have fun.


How do I use this?