When you have a series of text blocks, any one of which is the 'next to last' in the list, you will probably want an 'and' between it and the last selection.

   This is  particularly difficult one to program for.

   If you visualize the problem to be solved, you can appreciate the complexities involve.

   All approaches might involve appending an 'and' at the end of each choice, and If the last item is always the last item.


1.   Here is my list of jobs:

a.Take out the garbage;

b.Mow the lawn;

c.Wash the dishes;

d.Vacuum the floor.


   The first of the problems deals with the intermediate and final choices punctuation.  Item d. ends with a period, whereas the others with a semicolon.

   You could append an 'and' at the end a-c and them remove (manually or with the help of a program) the unnecessary 'and' when the document is fully assembled.

   But that necessarily assumes that d. will always be the last choice. It doesn't work if you choose a and b (and not c and d) because the final punctuation mark is a semicolon, and you want a period.

   Other programs make setting this up a programming nightmare. It's easy and  all plain text in Pathagoras. And it's all still plainly visible. Here's the setup:

   If the last item is always the last item (example, the last item is "Other ___________."):.

 Much easier; you are not worried about interim punctuation. Just add <&FINAND> (the case doesn't matter. ,<&FinAnd> works just as well.)

Here is my list of jobs:

a.Take out the garbage;<&FINAND>

b.Mow the lawn;<&FINAND>

c.Wash the dishes;<&FINAND>

d.Vacuum the floor.


 There are two part to this code. The first part is the '<&', and and text you want (here we use FIN for final. The second part is 'AND' and a final '>'

   If the last item can be any item in the list, including the first item,

There are 3 parts to this code. The first part is '<&' and any identifying text (here we use FIN for final. The second part is the final lines punctuation (which can only be a period) and the third part, 'AND' and a final '>'. The code must be appended to each line that could be the final line.


Here is my list of jobs:

a.Take out the garbage;<&Fin.And>

b.Mow the lawn;<&Fin.And>

c.Wash the dishes;<&Fin.And>

d.Vacuum the floor.<&Fin.And>


NOTE: The 'identifying text' must be unique for each list. This is how Pathagoras knows how to process multiple lists in your document as inidividual units.But they can be similar. For example <&FIN1AND> and <&FIN2AND> are unique enough to identify the two lists below.

Here is my list of jobs:

a.Take out the garbage;<&FIN1And>

b.Mow the lawn;<&FIN1And>

c.Wash the dishes;<&FIN1And>

d.Vacuum the floor.

This is a list of your jobs:

a.Do the laundry;<&Fin2And>

b.Edge the yard;<&Fin2And>

c.Empty the dishwasher;<&Fin2And>

d.Mop the floors.


OR conjunction:

For the Or conjunction, just substitute 'Or' for 'And' in any of the above setups.


Note: Before adding the <&. . .> text, make sure the paragraphs have all the punctuation you want using the assumption that all elements will be chosen. Pathagoras doesn't 'add' the punctuation to the last line; it backspaces and replaces it.

Created with Help & Manual 7 and styled with Premium Pack Version 2.70 © by EC Software