"The |built_in| function {.{format.name$}} pops the top three literals (they are a string, an integer, and a string literal, in that order). The last string literal represents a name list (each name corresponding to a person), the integer literal specifies which name to pick from this list, and the first string literal specifies how to format this name, as described in the \BibTeX\ documentation. Finally, this function pushes the formatted name. If any of the types is incorrect, it complains and pushes the null string."
Sounds easy - is a nightmare... X-(
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static String | formatName(String
The string from an author field authorsNameList, int index of the list, starting with 1 whichName, String TODO formatString)Formats the nth author of the author name list by a given format string |
| public static String | |
| public static String | |
| public static int |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| BstNameFormatter | back to summary |
|---|---|
| private BstNameFormatter() | |
| consumeToMatchingBrace | back to summary |
|---|---|
| public static int consumeToMatchingBrace(StringBuilder interTokenSb, char[] c, int pos) Including the matching brace. | |
| formatName | back to summary |
|---|---|
| public static String formatName(String authorsNameList, int whichName, String formatString) Formats the nth author of the author name list by a given format string | |
| formatName | back to summary |
|---|---|
| public static String formatName(Author author, String format) | |
| getFirstCharOfString | back to summary |
|---|---|
| public static String getFirstCharOfString(String s) Takes care of special characters too | |
| numberOfChars | back to summary |
|---|---|
| public static int numberOfChars(String token, int inStop) | |