summaryrefslogtreecommitdiff
path: root/virtio.tex
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-04-16 23:14:23 +0300
committerMichael S. Tsirkin <mst@redhat.com>2018-04-16 23:20:37 +0300
commitd4fec517dfcf9164462a5f27236e3b95b48d2388 (patch)
tree4aaf5c5a450c5820e3a1e5b57d74bab42812e748 /virtio.tex
parent26b3760e53bf67ef63de5d7b2e04641d4197c463 (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.tex6
1 files changed, 5 insertions, 1 deletions
diff --git a/virtio.tex b/virtio.tex
index e1e2cb9..ef2d3fe 100644
--- a/virtio.tex
+++ b/virtio.tex
@@ -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