|
|
#1 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2016
Device: Kindle DXG 3.4.2
|
[File Type Plugin] FB2 Poetry Reflow
FB2 Poetry Reflow makes ordinary FB2 poetry easier to read on small screens.
When calibre converts an FB2 book, poems normally get a wide left margin. This plugin removes that extra margin and gives wrapped verses a hanging indent, making it easier to distinguish the continuation of a verse from the beginning of the next one. It runs automatically when converting from FB2 to formats such as EPUB or AZW3. The original FB2 file is not modified. Example Before: Code:
The evening wind carries
the sound of the sea
A small light waits at
the end of the quay
Code:
The evening wind carries the sound of the sea A small light waits at the end of the quay What it preserves
Limitations The source FB2 must identify the text as poetry. The plugin does not guess which ordinary paragraphs are poems, and it does not process existing EPUB or AZW3 files as input. Poems with detectable explicit styling, alignment, or deliberate spacing are skipped and left to calibre’s normal conversion. This is a conservative heuristic, so please preview books containing visual or unusually arranged poetry. For zipped FB2 files, extract the .fb2 before converting. Compatibility Tested with calibre 9.13 on Linux, producing EPUB and AZW3. The result has also been checked on a physical e-reader. The plugin allows installation on calibre 5.0 and newer, but versions 5–8 are unverified. Windows and macOS are supported platforms; full conversion testing so far has been on Linux. Installation
Usage Convert a book normally, making sure the input format is FB2. There is no additional button or configuration step. To disable it, go to Preferences → Plugins → File type plugins → FB2 Poetry Reflow. Reconvert from the original FB2 to obtain calibre’s default output. Source and license Source code and README GitHub releases License: MIT. Version History Spoiler:
Feedback is welcome. When reporting a problem, please include your calibre version, output format, and reader model or application. A small example that you have permission to share is especially helpful. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New file type plugin - Issue with metadata | mfsav2 | Development | 5 | 10-22-2025 08:22 AM |
| [File Type Plugin] Auto Multi-Convert | Squiffers | Plugins | 1 | 06-26-2025 10:46 PM |
| [File Type Plugin] Extract RIS Citations | DaltonST | Plugins | 26 | 03-10-2023 04:20 PM |
| [File Type Plugin] Zip to cbz | Saumee | Plugins | 2 | 07-29-2018 03:38 PM |
| PDB to PMLZ File type plugin | pdurrant | Plugins | 18 | 02-20-2010 02:19 PM |