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

[README] Quick Startのrake pdfコマンドにTexが必要な旨を明記 #800

Merged
merged 1 commit into from
Jul 6, 2017
Merged

[README] Quick Startのrake pdfコマンドにTexが必要な旨を明記 #800

merged 1 commit into from
Jul 6, 2017

Conversation

ryota-murakami
Copy link
Contributor

@ryota-murakami ryota-murakami commented Jul 6, 2017

概要

当方普段Texを使わないのですがMarkdownを手軽にPDF化出来ると本ツールを知人から勧められました。
インストールしQuick Startの通りrake pdfコマンドを実行しましたが、以下エラーにより停止してしまいました。

ryota.murakami@localhost ~/r/hello>rake pdf
review-pdfmaker config.yml
compiling hello.tex
/Users/ryota.murakami/repository/hello/gems/ruby/2.4.0/gems/review-2.3.0/lib/review/pdfmaker.rb:42:in `system_or_raise': failed to run command: ebb cover.jpg (RuntimeError)
	from /Users/ryota.murakami/repository/hello/gems/ruby/2.4.0/gems/review-2.3.0/lib/review/pdfmaker.rb:275:in `block in copy_images'
	from /Users/ryota.murakami/repository/hello/gems/ruby/2.4.0/gems/review-2.3.0/lib/review/pdfmaker.rb:268:in `chdir'
	from /Users/ryota.murakami/repository/hello/gems/ruby/2.4.0/gems/review-2.3.0/lib/review/pdfmaker.rb:268:in `copy_images'
	from /Users/ryota.murakami/repository/hello/gems/ruby/2.4.0/gems/review-2.3.0/lib/review/pdfmaker.rb:235:in `generate_pdf'
	from /Users/ryota.murakami/repository/hello/gems/ruby/2.4.0/gems/review-2.3.0/lib/review/pdfmaker.rb:132:in `execute'
	from /Users/ryota.murakami/repository/hello/gems/ruby/2.4.0/gems/review-2.3.0/lib/review/pdfmaker.rb:86:in `execute'
	from /Users/ryota.murakami/repository/hello/gems/ruby/2.4.0/gems/review-2.3.0/bin/review-pdfmaker:18:in `<top (required)>'
	from /Users/ryota.murakami/repository/hello/gems/ruby/2.4.0/bin/review-pdfmaker:22:in `load'
	from /Users/ryota.murakami/repository/hello/gems/ruby/2.4.0/bin/review-pdfmaker:22:in `<main>'
rake aborted!

エラーメッセージでググったところ幸運にもqiitaの記事でTexを別途インストールする必要がある事を知る事が出来たのですが、
rake pdfコマンド実行には事前にTexの導入が必要な事をドキュメントに明示した方が親切かなと思い、PRを作成させて頂きました。

私は以下の手順で実際のPDF生成まで行えました。
https://github.com/ryota-murakami/hello-review#procedure

宜しければ確認お願いしますm(_ _)m

@takahashim
Copy link
Collaborator

ご指摘ありがとうございます!
おそらく後でTeXLaTeXとかに変えたりするかと思いますが、ここで何かしら書いておくことは良いかと思うので、まずはこのまま取り込まさせていただきます。

@takahashim takahashim merged commit ba2777f into kmuto:master Jul 6, 2017
@ryota-murakami ryota-murakami deleted the readme-add-tex-requirement branch July 6, 2017 13:58
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.

2 participants