技術書同人の環境構築
  • Introduction
  • サークルについて
  • イベントに参加する
  • 基本的な方針
  • あとがき
  • 印刷する
  • プロジェクトを作る
  • セットアップ
  • 本文を書く
  • doc
    • Re:VIEW カタログファイル ガイド
    • Re:VIEW catalog.yml Guide
    • EPUB ローカルルールへの対応方法
    • Supporting local rules of EPUB files
    • Re:VIEW フォーマットガイド
    • Re:VIEW Format Guide
    • Re:VIEW フォーマット InDesign XML 形式拡張
    • 索引の使い方
    • How to use index
    • LaTeX と review-pdfmaker について
    • LaTeX and review-pdfmaker
    • review-preproc ユーザガイド
    • review-preproc User Guide
    • Re:VIEWクイックスタートガイド
    • Re:VIEW Quick Start Guide
    • 縦書きのサポート(実験的)
    • Supporing Vertical Writing (experimental)
  • review-jsbook.cls Users Guide
Powered by GitBook
On this page
  • What's catalog.yml
  • How to write catalog.yml
  • About earlier version
  1. doc

Re:VIEW catalog.yml Guide

This article describes Re:VIEW catalog file catalog.yml.

What's catalog.yml

Catalog file shows the structure of files to generate books (such as PDF or EPUB) in Re:VIEW format. Now we use catalog.yml as catalog file.

How to write catalog.yml

In catalog.yml, you can write PREDEF(frontmatter), CHAPS(bodymatter), APPENDIX(appendix) and POSTDEF(backmater). CHAPS is required.

  PREDEF:
    - intro.re
  
  CHAPS:
    - ch01.re
    - ch02.re
  
  APPENDIX:
    - appendix.re
  
  POSTDEF:
    - postscript.re

You can add parts in body to use CHAPS in a hierarchy. You can use both title name and file name to specify parts.

  CHAPS:
    - ch01.re
    - TITLE_OF_PART1:
      - ch02.re
      - ch03.re
    - pt02.re:
      - ch04.re

(For old version user: there is no PART. You write them in CHAPS.)

About earlier version

In version 1.x, Re:VIEW use 4 files PREDEF, CHAPS, POSTDEF, PART as catalog files.

You can convert there files with review-catalog-converter. When using it, you should compare with these files and the generated file catalog.yml.

PreviousRe:VIEW カタログファイル ガイドNextEPUB ローカルルールへの対応方法

Last updated 1 year ago