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

PDFMaker: introduce pdfmaker/use_original_image_size parameter to disable an automatic image scaling #1463

Merged
merged 2 commits into from
Jan 2, 2020

Conversation

kmuto
Copy link
Owner

@kmuto kmuto commented Jan 2, 2020

#1461 の対応

pdfmaker/use_original_image_size がtrueのとき、かつmetricsに何も指定がないときに、reviewincludegraphicsには空白文字1つが渡るようになる。デフォルトはnil。

(完全に空だとimageメソッド内などでpresent?判定でfalseになってしまうので、TeX側には意味はないがRubyロジック側には意味がある文字として空白文字を採用した。ロジック側を直すのは副作用がいろいろありそうなので…)

@kmuto
Copy link
Owner Author

kmuto commented Jan 2, 2020

なんか1つactionが変だけど…マージしてみます

@kmuto kmuto merged commit f9810b2 into master Jan 2, 2020
@kmuto kmuto deleted the lateximgwidth branch January 2, 2020 06:28
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.

1 participant