OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: Latex packages for compiling virtio-spec


On Fri, Apr 13, 2018 at 06:47:26PM +0300, Mihai Carabas wrote:
> On 13.04.2018 18:42, Michael S. Tsirkin wrote:
> > On Fri, Apr 13, 2018 at 06:27:51PM +0300, Mihai Carabas wrote:
> > > La 13.04.2018 18:26, Michael S. Tsirkin a scris:
> > > > On Fri, Apr 13, 2018 at 03:58:50PM +0300, Mihai Carabas wrote:
> > > > > On 13.04.2018 15:56, Michael S. Tsirkin wrote:
> > > > > > On Fri, Apr 13, 2018 at 09:53:43AM +0300, Mihai Carabas wrote:
> > > > > > > Hello Michael,
> > > > > > > 
> > > > > > > Is there any documentation about the latex packages one needs to install in
> > > > > > > order to compile virtio-spec.git?
> > > > > > > 
> > > > > > > Thank you,
> > > > > > > Mihai
> > > > > > 
> > > > > > 
> > > > > > Hmm good question.
> > > > > > 
> > > > > > I just install all of texlive
> > > > > > 
> > > > > > Ask the list?
> > > > > Yeah, in the end on a Ubuntu-based machine texlive-full and msttcore for
> > > > > fonts works.
> > > > > 
> > > > > On OracleLinux/CentOS some packages are missing (texlive-todonotes and
> > > > > texlive-elip...something).
> > > > 
> > > > I don't think we need any of these ...
> > > 
> > > makepdf requires them:
> > > 
> > > [root@mihai virtio-spec]# ./makepdf.sh
> > > rm: cannot remove ‘virtio-v1.0-cs04.aux’: No such file or directory
> > > rm: cannot remove ‘virtio-v1.0-cs04.pdf’: No such file or directory
> > > rm: cannot remove ‘virtio-v1.0-cs04.out’: No such file or directory
> > > This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013)
> > >   restricted \write18 enabled.
> > > entering extended mode
> > > (./virtio.tex
> > > LaTeX2e <2011/06/27>
> > > Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation,
> > > uk
> > > rainian, russian, bulgarian, loaded.
> > > (/usr/share/texlive/texmf-dist/tex/latex/base/report.cls
> > > Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
> > > (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
> > > (/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
> > > (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
> > > (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
> > > (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
> > > (/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
> > > (/usr/share/texlive/texmf-dist/tex/latex/parskip/parskip.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/setspace/setspace.sty)
> > > (/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
> > > (/usr/share/texlive/texmf-dist/tex/generic/babel/english.ldf
> > > (/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def)))
> > > (/usr/share/texlive/texmf-dist/tex/latex/ae/ae.sty
> > > (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
> > > (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def)
> > > (/usr/share/texlive/texmf-dist/tex/latex/ae/t1aer.fd)))
> > > (/usr/share/texlive/texmf-dist/tex/latex/ae/aecompl.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
> > > (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def))
> > > (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
> > > (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
> > > (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
> > > (/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
> > > (/usr/share/texlive/texmf-dist/tex/latex/placeins/placeins.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/framed/framed.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
> > > (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
> > > (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
> > > (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
> > > (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
> > > (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty))
> > > 
> > > Package hyperref Message: Driver: hxetex.
> > > 
> > > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
> > > (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def)
> > > (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/stringenc.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
> > > (/usr/share/texlive/texmf-dist/tex/latex/lineno/lineno.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty
> > > (/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg))
> > > (/usr/share/texlive/texmf-dist/tex/latex/psnfss/courier.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
> > > Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline
> > > fix
> > > <2008/02/07> (tvz))
> > > (/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/tools/longtable.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/rotating/rotating.sty
> > > (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty))
> > > (/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
> > > (/usr/share/texlive/texmf-dist/tex/latex/lastpage/lastpage.sty)
> > > 
> > > ! LaTeX Error: File `todonotes.sty' not found.
> > > 
> > > Type X to quit or <RETURN> to proceed,
> > > or enter new name. (Default extension: sty)
> > > 
> > > Enter file name:
> > > 
> > > 
> > > > 
> > > > 
> > > > FWIW I suspect we just need texlive-xetex
> > > > 
> > > > 
> > > > > Should we add a recommandation somewhere?
> > > > > 
> > > > > Thanks,
> > > > > Mihai
> > 
> > Does the following help?
> > 
> 
> It helps. It goes further but it's getting stuck at ellipsis.sty:
> 
> * LaTeX warning: "xparse/redefine-command"
> *
> * Redefining document command \textsuperscript with arg. spec. 's' on line
> 28.
> *************************************************
> ) (/usr/share/texlive/texmf-dist/tex/latex/metalogo/metalogo.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/tools/tabularx.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/underscore/underscore.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.sty
> (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.tex))
> 
> ! LaTeX Error: File `ellipsis.sty' not found.

Well that's just cosmetics. We can skip that if we don't care
that dots look ugly. Like this?


diff --git a/virtio.tex b/virtio.tex
index 08f06c7..7bfb468 100644
--- a/virtio.tex
+++ b/virtio.tex
@@ -26,7 +26,7 @@
 \usepackage{rotating}
 \usepackage{fancyhdr}
 \usepackage{lastpage}
-\usepackage{todonotes}
+\usepackage{xcolor}
 \usepackage[explicit]{titlesec}
 \usepackage{mdwlist}
 \usepackage{url}
@@ -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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]