diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2018-04-16 23:14:23 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-04-16 23:20:37 +0300 |
commit | d4fec517dfcf9164462a5f27236e3b95b48d2388 (patch) | |
tree | 4aaf5c5a450c5820e3a1e5b57d74bab42812e748 /virtio.tex | |
parent | 26b3760e53bf67ef63de5d7b2e04641d4197c463 (diff) |
tex: enable build on systems without ellipsis.sty
Unfortunately some systems (e.g. RHEL7.5 and derivatives) lack
the ellipsis package. As it's function is merely cosmetic,
support these systems by loading the package conditionally.
Tested-by: Mihai Carabas <mihai.carabas@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'virtio.tex')
-rw-r--r-- | virtio.tex | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -37,7 +37,11 @@ \usepackage{tabularx} \usepackage{underscore} \usepackage{xstring} -\usepackage{ellipsis} +\IfFileExists{ellipsis.sty}{\usepackage{ellipsis}}{ +\message{!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!} +\message{LaTeX Warning: Missing ellipsis.sty: dots (...) will look ugly} +\message{!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!} +} % This is an alternative to package underscore above % It makes it possible to disable hyphenation of upper-case % identifiers with underscore (of which we have many) by |