creideiki / fimfic2pdf Goto Github PK
View Code? Open in Web Editor NEWRender FiMFiction and AO3 stories as PDF
License: GNU General Public License v3.0
Render FiMFiction and AO3 stories as PDF
License: GNU General Public License v3.0
Now that Daily Equestria Life With Monster Girl has reached 100 chapters, it is apparent that the table of contents does not handle such big numbers. The "100" crowds into the space between the chapter number and title. Fix that.
Since "novel" doesn't use the standard LaTeX chapter commands, its table of contents has to be generated manually. The docs say how to do this, but with manual page numbers.
A table of contents is great for an in-progress story where you just want to read the latest chapter on a computer, but is probably not interesting for a printed work. Maybe for an anthology, showing where each separate story starts?
Some well-known stories, like Triptych and Fallout Equestria, well exceed a thousand pages and would be impossible to print in a single volume. Allow for splitting a story into multiple volumes.
Author's notes are modelled as <blockquote class="afterward">
blocks. Do something nice with them.
Making anthologies shouldn't be much harder than single-story books, but will require some rethinking of both file and document structure to support a new logical level above that of a story.
The current command line switches are not so much designed for the user as what I needed for debugging during early development. There are currently way too many switches to be usable. Really only three stages should be needed:
Step 1 could probably be made automatic - download if not already downloaded, and if you really want to redo that step, you probably don't want to save anything else so just delete the directory.
The author of "novel" has a new class under development, "novelette", at https://github.com/rallg/novelette. It is claimed to be "faster, more accurate, and simpler to use" than "novel". Try it.
The current rendering of chapter title pages is:
Chapter X
Title
Lorem ipsum dolor sit amet ...
But some stories include the chapter number in the title, and some use "chapter x" as the title. This looks especially bad in cases like https://www.fimfiction.net/story/500572/from-yakyakistan-with-love where chapter 1 is an introduction and (epub) chapter 2 is named (book) "chapter 1".
Include a couple of different snippets of LaTeX code in the template to easily change between different styles.
For extra credit, parametrise the template so one can use switches in the driver CLI to choose between them.
The output of a <hr>
is currently just some extra space and a thin horizontal line. The line is not even centered vertically in the space.
The web site's default rendering is a double line with three asterisks overlaid in the centre. It also allows some fancy floral embellishments. Get the PDF rendering to look like some of those.
Everywhere else, page numbers are in the outside corner, but on chapter title pages they are centered. Fix the chapter title pages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.