From 2f6aa364fdcb68b01a77fe10054fe824a851a299 Mon Sep 17 00:00:00 2001 From: Iosif Takakura Date: Wed, 19 Jun 2024 16:51:51 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-print-pdf.yml | 1 + config-vivliostyle.yml | 1 + config.yml | 6 +++--- sass/common/_format.scss | 4 ++-- sass/vivliostyle-a6.scss | 4 ++-- yarn.lock | 5 +++++ 6 files changed, 14 insertions(+), 7 deletions(-) diff --git a/config-print-pdf.yml b/config-print-pdf.yml index fe1d748..2c64fa8 100644 --- a/config-print-pdf.yml +++ b/config-print-pdf.yml @@ -1,4 +1,5 @@ inherit: ["config.yml"] bookname: book-print-pdf # prt: ねこのしっぽ +coverimage: null texdocumentclass: ["review-jlreq", "media=print,paper=a6,fontsize=8pt,serial_pagination=true,hiddenfolio=shippo,startpage=3,tate,twoside,onecolumn,openany"] \ No newline at end of file diff --git a/config-vivliostyle.yml b/config-vivliostyle.yml index 292eb44..10a8d4d 100644 --- a/config-vivliostyle.yml +++ b/config-vivliostyle.yml @@ -1,5 +1,6 @@ inherit: ["config.yml"] stylesheet: vivliostyle-a6.css +coverimage: null # catalogfile: catalog.yml bookname: book highlight: diff --git a/config.yml b/config.yml index a1800cd..4c65f26 100644 --- a/config.yml +++ b/config.yml @@ -22,8 +22,8 @@ language: ja # 書名 # 読みを入れる例 booktitle: {name: "Re:VIEW EPUBサンプル", file-as: "リビューイーパブサンプル"} -booktitle: "縦書き本テンプレート" -subtitle: "副題" +booktitle: "並行現実小説集" +subtitle: "第3巻 2023年秋〜2024年冬" # 著者名。「, 」で区切って複数指定できる # 読みを入れる例 aut: [{name: "青木峰郎", file-as: "アオキミネロウ"}, {name: "武藤健志", file-as: "ムトウケンシ"}, {name: "高橋征義", file-as: "タカハシマサヨシ"}, {name: "角征典", file-as: "カドマサノリ"}] @@ -386,7 +386,7 @@ pdfmaker: # TeX版で利用する表紙画像。 # 仕上がりサイズ+塗り足し3mmありのPDFまたはIllustratorファイル(PDF互換オプション付き)を推奨。 # 拡縮はされず「そのまま」貼り付けられる - coverimage: cover-a5.ai + coverimage: null # # TeXコンパイル前に実行するプログラム。変換後のTeXソースを調整したいときに使用する。 # 渡される引数1=作業用展開ディレクトリ、引数2=呼び出しを実行したディレクトリ diff --git a/sass/common/_format.scss b/sass/common/_format.scss index a1e50a2..7ff3e5b 100644 --- a/sass/common/_format.scss +++ b/sass/common/_format.scss @@ -48,7 +48,7 @@ html { @right-middle { /* 隠しノンブル */ font-size: 4pt; - margin-right: -3mm !important; + margin-right: -19mm !important; text-align: start !important; content: counter(page); } @@ -72,7 +72,7 @@ html { @left-middle { /* 隠しノンブル */ font-size: 4pt; - margin-left: -3mm !important; + margin-left: -19mm !important; align-items: end !important; content: counter(page); } diff --git a/sass/vivliostyle-a6.scss b/sass/vivliostyle-a6.scss index 279f59e..61fcca5 100644 --- a/sass/vivliostyle-a6.scss +++ b/sass/vivliostyle-a6.scss @@ -30,9 +30,9 @@ $paper-height: 148mm; $marks: crop; //コンテンツの横幅 -$content-width: $base-line-height * $lines; +$content-width: $paper-width - $koguchi - $nodo; //コンテンツの縦幅 -$content-height: $base-font-size * $characters-per-line; +$content-height: $paper-height - $ten - $chi; // ページのスタイル定義 @import 'common/format'; diff --git a/yarn.lock b/yarn.lock index c48adb1..6b04842 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1982,6 +1982,11 @@ fs.realpath@^1.0.0: resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== +fsevents@~2.3.2: + version "2.3.3" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.1, function-bind@^1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz"