aozora2fmt

a tool for converting Aozora Bunko files to better formats
git clone anongit@rnpnr.xyz:aozora2fmt.git
Log | Files | Refs | Feed | README | LICENSE

README.md (663B)


      1 # aozora2fmt
      2 
      3 A command line tool for converting Aozora Bunko
      4 ([青空文庫](https://www.aozora.gr.jp/index.html)) files to better
      5 formats.
      6 
      7 ## Description
      8 
      9 This tool walks through the text and replaces the following:
     10 * JIS codepoint markers are replaced with the correct UTF-8 character
     11 * Ruby text markers are replaced with tags appropriate for the output format
     12 * Headers are replaced with markers appropriate for the output format
     13 * Page breaks are replaced with a marker appropriate for the output format
     14 * The info block at the start of the file is removed (unless `[-d]` is specified)
     15 
     16 ## Installation
     17 
     18 Simply clone the repository and run:
     19 
     20 	make install