For the complete documentation index, see llms.txt. This page is also available as Markdown.

🗜️Merging and Splitting Archives

The Chapter and Tankoubon features allow you to add levels of hierarchy to your Archives when reading them.

Depending on where your collection comes from, you might have:

  • A series spread out across multiple files on your server, one per chapter/volume/etc

  • Individual Archives with a very large page count where you'd like to set breakpoints at each chapter

LANraragi offers functions to help with organizing these types of files, by both splitting them up (Chapters) or merging them (Tankoubons).

Splitting an existing Archive into Chapters

Chapters are virtual delimiters within an Archive that allow you to split it into multiple sets of pages when reading it.

Chapters splitting up a large PDF Archive

They're exclusively set and accessed within the Web Reader's pages overlay. To create a Chapter, simply click the matching button on the page you want to start it at, and enter a name. Setting a Chapter at a page

If you create your first Chapter at a page higher than 1, a matching Untitled Chapter will be created to fill the gap. For example, if you create "Chapter X" at page 20 in a 50-page Archive, the list will look like the following:

  • Untitled Chapter: p1-p19

  • Chapter X: p20-p50

Merging multiple Archives into a Tankoubon

Tankoubons are a special type of Archive that regroups multiple Archives within them in a user-specified order. Basically, you can select multiple Archives in your collection, and merge them into a single element to show in your Index/Library instead.

This does not modify the physical files in any fashion. Tankoubons are a database-only thing.

To create a Tank, use the Selection mechanism like with Batch Operations, but click the "Compress" icon instead of the Hammer.

Merging archives into a Tankoubon

The underlying Archives will be removed from search results, and the Tankoubon will show in their place. Tankoubons inherit metadata (Tags/Stamps) from their sub-Archives by default.

However, you can add additional metadata to a Tankoubon by opening it in the Edit metadata page. That's also where you can reorder the sub-Archives if desired, or drill down to edit the metadata of the sub-Archives individually.

Editing and reordering a Tankoubon's content

Tankoubons will collate tags from every sub-Archive, but not their Summaries. If you want your Tankoubon to have a summary, you'll have to set one manually when editing its metadata.

Tankoubons will show their individual sub-Archives in the same dropdown list as Chapters. If any of the sub-Archives have Chapters of their own, the dropdown can then show 2 levels of hierarchy. Overlay Chapter list

Last updated