BibEntry is written as a separate Markdown file under _publications/.
YAML front matter is rendered via JabRef's layout engine; file management and computed fields are handled in Java.
| Modifier and Type | Field and Description |
|---|---|
| private static final Comparator | |
| private static final Map | ENTRY_TYPE_PRIORITY
Orders entries by type priority: book -> article -> incollection -> inproceedings -> others |
| private final BibEntryTypesManager | |
| private final FieldPreferences | |
| private final LayoutFormatterPreferences | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | AcademicPagesExporter(LayoutFormatterPreferences layoutPreferences, FieldPreferences fieldPreferences, BibEntryTypesManager entryTypesManager)
|
| Modifier and Type | Method and Description |
|---|---|
| private String | buildMarkdown(BibEntry entry, Path filesDir, BibDatabaseContext databaseContext, List<Path> fileDirForDatabase, JournalAbbreviationRepository abbreviationRepository)
Builds the full Markdown file: YAML front matter (layout + computed fields) + optional abstract body |
| private Optional | |
| public void | |
| public void | export(BibDatabaseContext databaseContext, Path outputFile, List<BibEntry> entries, List<Path> fileDirForDatabase, JournalAbbreviationRepository abbreviationRepository)
Overrides org.
|
| private String | |
| private String | |
| private String | |
| private Optional | loadLayout(String resourcePath, List<Path> fileDirForDatabase, JournalAbbreviationRepository abbreviationRepository)
|
| private Optional | renderLayout(BibEntry entry, BibDatabase database, List<Path> fileDirForDatabase, JournalAbbreviationRepository abbreviationRepository)
Renders entry-type-specific YAML fields using a layout file Falls back to the default layout if no type-specific layout exists |
| private Optional | |
| private Optional | writeBibFile(BibEntry entry, Path outputDir, String key)
Writes a .bib file for the entry to the files directory and returns its filename. |
| ENTRY_TYPE_ORDER | back to summary |
|---|---|
| private static final Comparator<BibEntry> ENTRY_TYPE_ORDER | |
| ENTRY_TYPE_PRIORITY | back to summary |
|---|---|
| private static final Map<EntryType, Integer> ENTRY_TYPE_PRIORITY Orders entries by type priority: book -> article -> incollection -> inproceedings -> others | |
| entryTypesManager | back to summary |
|---|---|
| private final BibEntryTypesManager entryTypesManager | |
| fieldPreferences | back to summary |
|---|---|
| private final FieldPreferences fieldPreferences | |
| layoutPreferences | back to summary |
|---|---|
| private final LayoutFormatterPreferences layoutPreferences | |
| PUBLICATION_PATH | back to summary |
|---|---|
| private static final String PUBLICATION_PATH | |
| AcademicPagesExporter | back to summary |
|---|---|
| public AcademicPagesExporter(LayoutFormatterPreferences layoutPreferences, FieldPreferences fieldPreferences, BibEntryTypesManager entryTypesManager) | |
| buildMarkdown | back to summary |
|---|---|
| private String buildMarkdown(BibEntry entry, Path filesDir, BibDatabaseContext databaseContext, List<Path> fileDirForDatabase, JournalAbbreviationRepository abbreviationRepository) Builds the full Markdown file: YAML front matter (layout + computed fields) + optional abstract body | |
| copyPdfAndGetUrl | back to summary |
|---|---|
| private Optional Copies the first attached PDF to the files directory and returns its filename. | |
| export | back to summary |
|---|---|
public void export(BibDatabaseContext databaseContext, Path outputFile, List<BibEntry> entries) throws SaveException
| |
| export | back to summary |
|---|---|
| public void export(BibDatabaseContext databaseContext, Path outputFile, List<BibEntry> entries, List<Path> fileDirForDatabase, JournalAbbreviationRepository abbreviationRepository) throws SaveException Overrides org.
| |
| formatDate | back to summary |
|---|---|
| private String formatDate(TemporalAccessor temporal) | |
| generateCitation | back to summary |
|---|---|
| private String generateCitation(BibEntry entry, BibDatabaseContext databaseContext) | |
| generateFileName | back to summary |
|---|---|
| private String generateFileName(BibEntry entry, Path targetDir) | |
| loadLayout | back to summary |
|---|---|
| private Optional | |
| renderLayout | back to summary |
|---|---|
| private Optional Renders entry-type-specific YAML fields using a layout file Falls back to the default layout if no type-specific layout exists | |
| resolveDate | back to summary |
|---|---|
| private Optional | |
| writeBibFile | back to summary |
|---|---|
| private Optional Writes a .bib file for the entry to the files directory and returns its filename. | |