Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

電書協フォーマットの改造版に対応 #420

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

happynow
Copy link
Contributor

@happynow happynow commented Feb 20, 2024

主な修正内容は #419 を参照して下さい。
PRしたものの、手練れの方に改良版出して頂きたいです。
このPRが何かしら参考になれば幸いです。

補足

  • AozoraEpub3 の本家版、旧改造版、新改造版のいずれも動く
  • AozoraEpub3セットアップ用のプログラムの外出し
    ファイル aozoraepub3.rb を追加
  • プリセットの vertical_font.cssvertical_font_with_dakuten.css は、ほとんど同じ内容なので、条件文を埋め込み、ひとつのファイルに統合した。
    ファイル vertical_font_with_dakuten.css を削除
  • 電書協フォーマット用の CSS を別途用意した。
    ファイル denshokyo.css を追加
  • コマンド実行の度に CSS を作り直すようにした。
    ただし以下のいずれかの場合はファイルは更新しない
    • ファイルの既存の内容と書き込む内容が同じ
    • narou.rb起動中、前回の変換時と濁点フォント要否が変わらない
  • 濁点フォントをコピーしたり削除したりするのをやめて、バックアップフォルダからのファイル移動に変えた。

rogenobl and others added 3 commits February 12, 2024 21:05
Add support for encoding options of java18 or later
電書協フォーマットの改造版(v1.1.1以降)に対応
電書協フォーマットの改造版(v1.1.1以降)に対応(revison)
@whiteleaf7
Copy link
Owner

ちょっと見きれてないので 3.9.0 には入れられませんでした

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants