Rules
- 10 or 11 character max line length.
- search until you get the first non-alpha. This constitutes your class, minus the first lowercase alpha, if it exists.
- break on periods or spaces.
- if a period with a digit is found after the class string but before a cutter, it is a decimal.
- decimals only after class string, never after cutter strings. Not true - record number b12321788x
- delete commas after last cutter
- a lowercase alpha following a yeardate and a space is a volume string
- a cutter should not start with a lowercase alpha, except in some classes (only G?)
- for volume info, "sect. space" or "ser. space" goes on own line.
- anything in the volume string after and including an open parentheses, throw it away
- break longer volume info on spaces
- Record number i111738003 - cutters may contain lower case letters
- If you take a look at item record i110769247, you'll notice that the volume field has a volume and issue number separated by a colon. When this prints out, the volume and issue designation is too long to be placed on one line. To correct this, Garey's programming will have to be modified to include a carriage return after the colon in the volume field.
Is this right?
- break volume strings on commas. Only if you need to break.
- if you cannot break a volume string on a space, break it on a dash
Strategies
- Find the volume first, but to do this you have to find class. Do this by replacing carriage returns by spaces and then split on spaces.
Find first lowercase start of line.