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: [virtio] Re: towards draft 3 / virtio 1.0


On Tue, Jun 24, 2014 at 05:20:48PM +0100, Pawel Moll wrote:
> On Mon, 2014-06-23 at 15:46 +0100, Michael S. Tsirkin wrote:
> > Pawel, could you take a look please?
> > All you need to do is apply the patch I sent
> > (adding shell script for generating the diff)
> > then run this script and look at the result.
> 
> I see that you found a workaround, but for what its worth, the following
> diffpreamble.tex does the trick for me:
> 
> 8<-----------------------------------------
> %DIF FONTSTRIKE PREAMBLE
> \RequirePackage[normalem]{ulem}
> \providecommand{\DIFaddtex}[1]{{\color{blue}\sf #1}}
> \providecommand{\DIFdeltex}[1]{{\color{red}\footnotesize \sout{#1}}}
> %DIF END FONTSTRIKE PREAMBLE
> %DIF COLOR PREAMBLE
> \RequirePackage{xcolor}
> \providecommand{\DIFaddbegin}{}
> \providecommand{\DIFaddend}{}
> \providecommand{\DIFdelbegin}{}
> \providecommand{\DIFdelend}{}

Interesting.
I am guessing this won't cover all cases as well
as my hack does though.
For example:

\DIFaddbegin \item[DEVICE_NEEDS_RESET (64)] \DIFadd{Indicates that the
device has experienced
  an error from which it can't recover.
}

DEVICE_NEEDS_RESET won't be blue, will it?


> %DIF END COLOR PREAMBLE
> % Standard \DIFadd and \DIFdel are redefined as \DIFaddtex and \DIFdeltex
> % when hyperref package is included.
> %DIF HYPERREF PREAMBLE
> \providecommand{\DIFadd}[1]{\texorpdfstring{\DIFaddtex{#1}}{#1}}
> \providecommand{\DIFdel}[1]{\texorpdfstring{\DIFdeltex{#1}}{}}
> %DIF END HYPERREF PACKAGE
> 
> %DIF FLOATSAFE PREAMBLE: SEEMS UNUSED BUT JUST IN CASE
> \providecommand{\DIFaddFL}[1]{\DIFadd{#1}}
> \providecommand{\DIFdelFL}[1]{\DIFdel{#1}}
> \providecommand{\DIFaddbeginFL}{}
> \providecommand{\DIFaddendFL}{}
> \providecommand{\DIFdelbeginFL}{}
> \providecommand{\DIFdelendFL}{}
> %DIF END FLOATSAFE PREAMBLE
> 8<-----------------------------------------
> 
> Pawel


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