graph TD A[Plain text files for each section] --> B{Format Content Sections into HTML} B --> C[HTML files for each section] D[Ebook title] --> E{Create Visually Appealing Title Page} F[Author name] --> E G[Relevant image] --> E E --> H[HTML file for the title page] C --> I{Generate Table of Contents with Links} I --> J[HTML file for the table of contents] C --> K{Concatenate HTML Files into Single File} H --> K J --> K K --> L[Single HTML file containing all ebook content] L --> M{Convert Final HTML File to PDF} M --> N[Well-formatted PDF file containing the complete ebook]