OASIS Virtual I/O Device (VIRTIO) TC

  • 1.  [PATCH 1/2] commands-pdf.tex: align title page

    Posted 12-03-2013 15:44
    Section titles are currently misaligned on the title page. This patch aligns them back. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> --- commands-pdf.tex 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands-pdf.tex b/commands-pdf.tex index 1646adb..8e278be 100644 --- a/commands-pdf.tex +++ b/commands-pdf.tex @@ -64,7 +64,7 @@
    ewenvironment{oasistitlesection}[1] { -egin{tabular}{p{0in}p{5.8in}} +setlength{ abcolsep}{0in}egin{tabular}{p{0in}p{5.8in}} multicolumn{2}{l}{fontspec[Color=552681]{Arial}fontsize{10}{10} extbf{#1:}}\[-0.05in] &setlength{ opsep}{0in}setlength{parsep}{0in}setlength{partopsep}{0in} } { -- MST


  • 2.  [PATCH 2/2] virtio-html: add right and left borders for tables

    Posted 12-03-2013 15:47
    In html version our tables lack vertical separators,
    that's ugly. Tweak config file for htlatex to add these.
    htlatex wants to use hr for horizontal separation
    (presumably for portability?)
    So add only vertical borders using CSS.

    Note: pdf version has a dual line after 1st column
    in each row, I didn't figure out how to make this
    with htlatex yet.

    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    ---
    virtio-html.cfg | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/virtio-html.cfg b/virtio-html.cfg
    index 0106271..bf4c89b 100644
    --- a/virtio-html.cfg
    +++ b/virtio-html.cfg
    @@ -10,9 +10,9 @@
    \Configure{appendix}{}{}{\ShowPar\IgnoreIndent\HCode{

    }\begingroup\TitleMark.\space}{\endgroup\HCode{

    }\par\IgnorePar}

    \Configure{tabular}
    - {\HCode{}}{\HCode{
    }}
    + {\HCode{}}{\HCode{
    }}
    {\HCode{}}{\HCode{}}
    - {\HCode{1 colspan="\HMultispan"\fi >}}{\HCode{}}
    + {\HCode{1 colspan="\HMultispan"\fi >}}{\HCode{}}


    %%\Configure{HColWidth}{\HCode{ style="min-width:\HColWidth"}}
    --
    MST