| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final Pattern | BRACED_MATH_COMMAND_PATTERN
Matches a single LaTeX math command wrapped in the |
| private @Nullable BstVM | |
| private static final Pattern | |
| private static final Pattern | |
| private @Nullable String | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Logger | |
| private static final Pattern | |
| private final String | |
| private final Path | |
| private String | |
| private static final Pattern | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| private | BstPreviewLayout(Path path, String source, @Nullable BstVM bstVM, @Nullable String error)
Private constructor used by |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | convertBracedMathToUnicode(BibEntry entry)
Replaces |
| private static String | |
| private static int | |
| public String | generatePreview(BibEntry originalEntry, BibDatabaseContext databaseContext)
Implements org.
|
| public String | |
| public Path | |
| public String | |
| public String | |
| public String | |
| public static boolean | isBstStyleFile(String styleFile)
Checks if the given style file is a BST file by checking the extension |
| private static boolean | |
| public static BstPreviewLayout | of(BstStyle style)
Creates a |
| private static String | |
| private static String | |
| private static int |
| BIBITEM_PATTERN | back to summary |
|---|---|
| private static final Pattern BIBITEM_PATTERN | |
| BRACED_MATH_COMMAND_PATTERN | back to summary |
|---|---|
| private static final Pattern BRACED_MATH_COMMAND_PATTERN Matches a single LaTeX math command wrapped in the | |
| bstVM | back to summary |
|---|---|
| private @Nullable BstVM bstVM | |
| COMMENT_PATTERN | back to summary |
|---|---|
| private static final Pattern COMMENT_PATTERN | |
| EMPH_PATTERN | back to summary |
|---|---|
| private static final Pattern EMPH_PATTERN | |
| error | back to summary |
|---|---|
| private @Nullable String error | |
| GROUP_BF_PATTERN | back to summary |
|---|---|
| private static final Pattern GROUP_BF_PATTERN | |
| GROUP_EM_PATTERN | back to summary |
|---|---|
| private static final Pattern GROUP_EM_PATTERN | |
| GROUP_IT_PATTERN | back to summary |
|---|---|
| private static final Pattern GROUP_IT_PATTERN | |
| LATEX_COMMAND_PATTERN | back to summary |
|---|---|
| private static final Pattern LATEX_COMMAND_PATTERN | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MULTIPLE_SPACES_PATTERN | back to summary |
|---|---|
| private static final Pattern MULTIPLE_SPACES_PATTERN | |
| name | back to summary |
|---|---|
| private final String name | |
| path | back to summary |
|---|---|
| private final Path path | |
| source | back to summary |
|---|---|
| private String source | |
| TEXTBF_PATTERN | back to summary |
|---|---|
| private static final Pattern TEXTBF_PATTERN | |
| TEXTIT_PATTERN | back to summary |
|---|---|
| private static final Pattern TEXTIT_PATTERN | |
| BstPreviewLayout | back to summary |
|---|---|
| private BstPreviewLayout(Path path, String source, @Nullable BstVM bstVM, @Nullable String error) Private constructor used by | |
| BstPreviewLayout | back to summary |
|---|---|
| public BstPreviewLayout(Path path) | |
| convertBracedMathToUnicode | back to summary |
|---|---|
| private static void convertBracedMathToUnicode(BibEntry entry) Replaces The BST engine passes The braces around the result are required: they keep Commands that cannot be resolved are kept as they are: | |
| convertInlineSmallCapsToHtml | back to summary |
|---|---|
| private static String convertInlineSmallCapsToHtml(String latex) | |
| findBalancedGroupEnd | back to summary |
|---|---|
| private static int findBalancedGroupEnd(String input, int contentStart) | |
| generatePreview | back to summary |
|---|---|
| public String generatePreview(BibEntry originalEntry, BibDatabaseContext databaseContext) Implements org.
| |
| getDisplayName | back to summary |
|---|---|
| public String getDisplayName() Implements org.
| |
| getFilePath | back to summary |
|---|---|
| public Path getFilePath() | |
| getName | back to summary |
|---|---|
| public String getName() Implements org.
| |
| getShortTitle | back to summary |
|---|---|
| public String getShortTitle() Implements org.
| |
| getText | back to summary |
|---|---|
| public String getText() Implements org.
| |
| isBstStyleFile | back to summary |
|---|---|
| public static boolean isBstStyleFile(String styleFile) Checks if the given style file is a BST file by checking the extension | |
| isEscaped | back to summary |
|---|---|
| private static boolean isEscaped(String input, int index) | |
| of | back to summary |
|---|---|
| public static BstPreviewLayout of(BstStyle style) Creates a | |
| replaceCommandWithBalancedArgument | back to summary |
|---|---|
| private static String replaceCommandWithBalancedArgument(String input, String command) | |
| replaceLegacySwitchWithBalancedArgument | back to summary |
|---|---|
| private static String replaceLegacySwitchWithBalancedArgument(String input, String command) | |
| skipWhitespace | back to summary |
|---|---|
| private static int skipWhitespace(String input, int startIndex) | |