From 900a539c9332a247d08520caa47e7c32d28d480a Mon Sep 17 00:00:00 2001 From: rusty Date: Tue, 3 Dec 2013 07:49:50 +0000 Subject: More formatting fixes from Chet's suggestions: 1) Indented pdf subtitles correctly. 2) Correct wording for public review drafts 3) Include footnote html files. 4) "approved by VIRTIO" not "members of OASIS" 5) "OASIS Standard" in citation section changed to depend on filename. 6) URL in citation section fixed. 7) Footnotes in HTML version are all consecutively numbered. Signed-off-by: Rusty Russell git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@156 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- commands-pdf.tex | 2 +- make-setup-generated.sh | 13 ++++++++++--- makehtml.sh | 2 +- title.tex | 12 ++++++------ virtio-html.tex | 2 ++ 5 files changed, 20 insertions(+), 11 deletions(-) diff --git a/commands-pdf.tex b/commands-pdf.tex index b998d4d..1646adb 100644 --- a/commands-pdf.tex +++ b/commands-pdf.tex @@ -64,7 +64,7 @@ \newenvironment{oasistitlesection}[1] { -\begin{tabular}{p{0.4in}p{5.8in}} +\begin{tabular}{p{0in}p{5.8in}} \multicolumn{2}{l}{\fontspec[Color=552681]{Arial}\fontsize{10}{10}\textbf{#1:}}\\[-0.05in] &\setlength{\topsep}{0in}\setlength{\parsep}{0in}\setlength{\partopsep}{0in} } { diff --git a/make-setup-generated.sh b/make-setup-generated.sh index eedc745..ba3fdd4 100755 --- a/make-setup-generated.sh +++ b/make-setup-generated.sh @@ -1,5 +1,11 @@ #! /bin/sh +VERSION=1.0 +if [ x"$DATESTR" = x ]; then + ISODATE=`git show --format=format:'%cd' --date=iso | head -n 1` + DATESTR=`date -d "$DATE" +'%d %B %Y'` +fi + case "$1" in *-wd*) STAGE=wd @@ -20,6 +26,8 @@ case "$1" in STAGE=csprd STAGENAME="Committee Specification Public Review Draft" WORKINGDRAFT=`basename "$1" | sed 's/.*-csprd//'` + STAGEEXTRATITLE=" / \newline Public Review Draft $WORKINGDRAFT" + STAGEEXTRA=" / Public Review Draft $WORKINGDRAFT" ;; *-cs*) STAGE=cs @@ -31,14 +39,13 @@ case "$1" in exit 1 esac -VERSION=1.0 -ISODATE=`git show --format=format:'%cd' --date=iso | head -n 1` -DATESTR=`date -d "$DATE" +'%d %b %Y'` cat > setup-generated.tex <