\setlength{\textwidth}{15cm}
と setlength コマンドを使った解説がよくありますが、
\textwidth=15cm
としても同じように変数を変更できるようです。
何か違いがあるのでしょうか?
きっと、setlength コマンドの使用が推奨されると想像しますが、
その理由などあるのでしょうか?
よろしくお願いします。
\expandafter\ifx\csname hoge\endcsname\relax
\documentclass[uplatex,dvipdfmx]{jsarticle}
\usepackage{original}
\begin{document}
\fi
\documentclass[11pt,b5paper]{jbook}
\usepackage[dvipdfmx]{graphicx}
\usepackage[dvipdfmx]{color}
\usepackage{tcolorbox}
\begin{document}
\begin{center} \includegraphics[clip,width=11.0cm]{hogehoge.jpg} \end{center}
\end{document}
当方の環境はTeXworks(本体はW32TeX)です。
Linux Mint 18.2 上で texlive の pdfbook2 がエラーを出すようになりました。
pdfbook2 は、apt install したものと、
以前のものを apt remove して install-tl-unx.tar.gz からのもの、
両方とも以下のようなエラーを出します。
$ pdfbook2 words.pdf pdfbook2 v1.2 (c) 2015 Johannes Neumann (http://www.neumannjo.de) licensed under GPLv3 (http://www.gnu.org/licenses/gpl-3.0) based on pdfbook by David Firth with help from Marco Pessotto Processing words.pdf Getting bounds... Traceback (most recent call last): File "/usr/local/bin/pdfbook2", line 237, in <module> booklify( arg, opts ) File "/usr/local/bin/pdfbook2", line 61, in booklify minLEven = min( [bound[0] for bound in bounds[1::2] ] ) ValueError: min() arg is an empty sequence $
識者の方々、どうすればうまく動作するようになるでしょうか。