Publishing a Dictionary

I have compiled a bilingual dictionary and am having lots of trouble trying to format it in LO Writer as well as in AOO Writer. What I want to accomplish is having a field at the top of the page, left justified on left pages (even numbered) and right justified on right pages (odd numbered). On left pages, this field would contain the first word on that page and on right pages, this field would contain the last word on that page. This is quite common for dictionaries of all types.

Unfortunately, the header cannot be used for this short of having a separate style for every page in the book (over 300). I have also tried putting these search words on the first text line of the page and then beginning the text two or three lines below that. Then, if any modification results in an additional line, every subsequent page must be modified.

Maybe I'm missing something. If anyone knows of a solution to this, I would certainly appreciate knowing about it.

What I want to accomplish is having a field at the top of the page,

left justified on left pages (even numbered) and right justified on
right pages (odd numbered). On left pages, this field would contain the
first word on that page and on right pages, this field would contain the
last word on that page.

Create a page style for the left hand page, and a different page style
for the right hand page.

To get the first word defined on the page into the header, requires:
* The defined word to be the only word on the line;
* The defined word is on the first line of the new page;

If it is acceptable to have the last defined word of the previous page
being in the header, then the only requirement is that the defined word
be the only word on the line.

I don't know how to get the last defined word into the header of the
page. :frowning:

If you want to use a running heading for the defined word, you can do
so, but at the expense of having an apparently blank line between each word.

Maybe I'm missing something. If anyone knows of a solution to this, I

would certainly appreciate knowing about it.

It is theoretically possible to write a macro to place the first defined
word and last defined word of the page, into the header field of the
page. I can't offer any help to that end, though.

jonathon