Format special characters
Posted: Mon Nov 21, 2005 11:11 am
Partly in view of suggestions at adding extra fields (which will make the following issue even more serious), but mainly in view of problems I have now, I was wondering if there was any chance of having additional special characters added to the formatting. At the moment, breaking between parts of a format is primarily achieved through the fields themselves, and also spaces. However, I am running into situations where this is a problem.
Say there is a bit in a format like this:
f v.
(which is SerialName SerialNumber)
As long as there is either a SerialName and SerialNumber, or neither, everything is ok. But if there is only a SerialName but no SerialNumber then you don't get the fullstop at the end. In the context of a complete format, that means you end up missing a fullstop in the middle of a reference.
One solution to this is to add extra types. But when you consider Serials is only one situation where this might happen, and you need to take care of it for books and chapters in books etc, you end up with multiplied types just to deal with this.
A preferable solution would be to enhance the formatting characters. Two which I would like to see are:
- non-breaking space (in other words, a space which functions similarly to a letter in the format).
- a way of forcing a break between parts of the format. That is, regardless of spacing or letters, you put a forced break somewhere in the format and it completely dissociates the format parts on the left and right of the format.
e.g. so if you had (completely hypothetical):
f$abc$ForcedBreakCharacterHere$xyz$v
Then abc would be printed if f existed, xyz would be printed if v existed, and there is no relationship between the two parts.
Mark.
Say there is a bit in a format like this:
f v.
(which is SerialName SerialNumber)
As long as there is either a SerialName and SerialNumber, or neither, everything is ok. But if there is only a SerialName but no SerialNumber then you don't get the fullstop at the end. In the context of a complete format, that means you end up missing a fullstop in the middle of a reference.
One solution to this is to add extra types. But when you consider Serials is only one situation where this might happen, and you need to take care of it for books and chapters in books etc, you end up with multiplied types just to deal with this.
A preferable solution would be to enhance the formatting characters. Two which I would like to see are:
- non-breaking space (in other words, a space which functions similarly to a letter in the format).
- a way of forcing a break between parts of the format. That is, regardless of spacing or letters, you put a forced break somewhere in the format and it completely dissociates the format parts on the left and right of the format.
e.g. so if you had (completely hypothetical):
f$abc$ForcedBreakCharacterHere$xyz$v
Then abc would be printed if f existed, xyz would be printed if v existed, and there is no relationship between the two parts.
Mark.