Skip to content

slack q and a 2020 03 11

akabeko edited this page Mar 16, 2020 · 1 revision

2020-03-11

Time (UTC) Icon Name Message
10:13 ogwata @uetchy @spring-raining
Vivliostyle CLI のPDF/X-1a出力について教えてください。

vivliostyle-cli v2.0.0-pre.1をインストール後、Homebrewから ghostscript 9.50 をインストールしました。

HTMLとCSSは「本を作ろう」3号の拙稿を使用。ただし、gsはOTCフォントを読めないため、booksample.css は NotoSansJP を使うよう修正しました。

その上でCLIでpreviewし、printボタンからPDFを出力し、これをAcrobatでプリフライトしたのが以下のキャプチャです。

なにか、私のやり方が間違っているでしょうか。お教えください。
https://vivliostyle.slack.com/files/UJS3RCS86/FV935HJDV/____________________________2020-03-11_18.59.32.png
10:13 Kiara Translation 🇬🇧:  
Please tell me about PDF / X-1a output of Vivliostyle CLI.

After installing vivliostyle-cli v2.0.0-pre.1, I installed ghostscript 9.50 from Homebrew.

HTML and CSS are based on the third issue of "Let's Make a Book". However, since gs cannot read OTC fonts, booksample.css has been modified to use NotoSansJP.

After that, preview with CLI, output PDF from print button, and preflight this with Acrobat is the following capture.

Is there something wrong with my way? Please tell me.
10:15 ogwata ファイルは下記の通りです。
https://www.dropbox.com/s/d6nxhrhugekqv3e/sample.zip?dl=0
10:15 Kiara Translation 🇬🇧: The file is as follows.
https://www.dropbox.com/s/d6nxhrhugekqv3e/sample.zip?dl=0
10:29 ogwata OSはCatarina 10.15.3、Chromeは80.0.3987.132(Official Build) (64 ビット)です。
10:29 Kiara Translation 🇬🇧: OS is Catarina 10.15.3, Chrome is 80.0.3987.132 (Official Build) (64 bit).
13:35 ogwata (忘れてました)
書き出したPDFは下記の通りです。
https://www.dropbox.com/s/cye8lg2kwyxvid2/index2.pdf?dl=0
13:35 Kiara Translation 🇬🇧: (I forgot)
The exported PDF is as follows.
https://www.dropbox.com/s/cye8lg2kwyxvid2/index2.pdf?dl=0
14:31 uetchy —press-readyオプションは付けましたか?
14:31 Kiara Translation 🇬🇧: — Did you add the press-ready option?
15:16 ogwata いえ、つけてませんでした。試してみます!
15:16 Kiara Translation 🇬🇧: No, I didn't. I'll try!
15:48 ogwata
—press-readyオプションは付けましたか?
このオプションの書式を教えてもらえませんか。

-hオプションで表示されるusageではvivliostyle [options] [command]とのことですが、

vivliostyle -press-ready preview xxxxx
vivliostyle press-ready xxxxx
vivliostyle preview press-ready xxxxx

いずれも実行されません。
また、-hで press-ready オプションについて表示されないのではなぜでしょう?
15:48 Kiara Translation 🇬🇧: & gt; — Did you add the press-ready option?
Can you tell me the format of this option?

The usage displayed with the -h option saysvivliostyle [options] [command],

vivliostyle -press-ready preview xxxxx
vivliostyle press-ready xxxxx
vivliostyle preview press-ready xxxxx

Neither is performed.
And why isn't the press-ready option displayed for the -h option?
18:25 spring-raining npm版にはまだpress-readyオプションは入っていませんでした! 今から上げますね
18:25 Kiara Translation 🇬🇧: The npm version did not yet have a press-ready option! I'll raise it now
18:35 spring-raining バージョン上げました、npm i -g @vivliostyle/[email protected] して試してみてください
18:35 Kiara Translation 🇬🇧: Version up, npm i -g @ vivliostyle / cli @ 2.0.0-pre.2 and try
18:36 spring-raining なお書式は vivliostyle build --press-ready xxx です (Slackだと -- が—に変換されてしまう…
18:36 Kiara Translation 🇬🇧: The format is vivliostyle build --press-ready xxx (Slack converts -- to-
Clone this wiki locally