grahamd@otc.otca.oz.au (Graham Dumpleton) (03/21/90)
A while back I asked if anyone had a inset for producing various types of lists; eg bullet, dashed, enumerated etc, I more or less got a negative response except for a suggestion to look at chlist/chlistv as a starting point. Well I have finally got around to looking at creating one and have come to the conclusion that I would rather not do it as an inset but would rather have it appear as a style. This got me to looking at styles, stylesheets and template files however I found that the documentation did not tell me enough to work out if I could actually do what I want. The problem was that not enough was mentioned about what actually happens when you set various things for the device, context and attr fields of a style defintion. I was able to find out what all the strings which I could supply were by looking at the src for stlye.c but I have no idea what rules there are for the way in which they are combined, and when combined what they do. Is there anyone out there who can enlighten me?? What I would like to be able to achieve is to implement a bullet list by treating each item by itself; ie. type all the text for a single item, select it and then make the style a listitem. Doing this would indent it like a 'leftindent'; maybe not as far though, and if possible even stick in a bullet although this wouldn't be absolutely necessary, when printing though the bullet would definitely have to come out. Is this to complicated for styles and stylesheets, do I have to do it as an inset after all. Graham Dumpleton (grahamd@otc.otca.oz.au)