You are using a browser which doesn't fully support Cascading Style Sheets. This site will look much better in a browser that supports web standards, but its content is accessible to any browser or Internet device.
How do I place an optionless and bodyless tag or macro before a capitalized character?
Question:
Several tags and macros require neither options nor a body. This means, they do consist of only their name which is capitalized. If I want to place such a tag/macro before a capitalized character, PerlPoint treats the combination of the tag/macro name and following uppercased characters as a tag name as in
\BR before I: \BRI
How to separate tag name and subsequent characters?
Answer:
Use an empty variable:
$empty= \BR${empty}I
Discussion:
To make writing easy, PerlPoint makes numerous assumptions about several things. One is that all uppercased characters following a backslash are a tag or macro name if currently such a tag or macro is defined. Usually this causes no trouble because most of all tags need options or have bodies which automatically separate tag/macro name and subsequent strings. If neither option nor body part need to be present, the combination problem occurs.
Using a separating
variable first lets the parser recognize that the tag or macro name is complete when the variable begins. Using the variable the
symbolic way separates it itself from the subsequent string (which would otherwise be treated as part of the variable name). Using an
empty variable avoids variable traces in the result, the string (
"I"
) immediately follows the tag result.
Please note that the variable needs to be set. An unset variable is not replaced by PerlPoint, so the result would significantly vary from what one expected.