summaryrefslogtreecommitdiff
path: root/makehtml.sh
AgeCommit message (Collapse)Author
2014-06-26makehtml: fix bad fontpath detectionmstsirkin
Fix wanring when run this shell script. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@395 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2014-01-20html: make footnotes inlinemstsirkin
Makes text search easier and reduces clutter in the public directory. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@187 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2014-01-12makehtml.sh: drop workaround, add warningmstsirkin
Issues in html generation turn out to be due to tex4ht being unable to find fonts due to misconfigured font paths. As we are unable to work-around them properly anyway replace work-around with a warning and print suggestions for fixing the config. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@182 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-12-08makeall.sh: take revision from REVISION by defaultmstsirkin
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@163 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-12-03More formatting fixes from Chet's suggestions:rusty
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 <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@156 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-12-03Formatting repair as per Chet's feedback.rusty
1) Populate TC member list. 2) Remove Non-Normative References section 3) Fix URLs to point to correct place. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@153 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-12-01tex: tweak generated output file namesmstsirkin
Tweak output to match oasis requirements. Make it possible to specify output name through environment, and set draft stage and version automatically. Add script to export all files in a zip archive. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@142 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-12-01html: rename filemstsirkin
htlatex doesn't seem to support -jobname for output file name, so simply rename file before processing. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@141 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-11-25makehtml: more fedora work-aroundsmstsirkin
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@127 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-11-25makehtml: proper fix for t4htmstsirkin
So recent Fedora and some other distros have broken t4ht packages, making makehtml fail. The correct fix is to put a working t4ht somewhere in your path. For example, for Fedora one can get an old copy from here: http://pkgs.fedoraproject.org/repo/pkgs/tetex-tex4ht/tex4ht-1.0.2008_02_28_2058.tar.gz/dc9d78c8ad22acd4b40dfd2cbbe2b8de/tex4ht-1.0.2008_02_28_2058.tar.gz after unpacking, t4ht is under ./bin/linux/t4ht, put it on path. tex4ht.env is under texmf/tex4ht/base/unix/tex4ht.env, put it in $HOME (you can rename it .tex4ht) or under current directory. Revert the work-around in makehtml, but keep it around in a comment for people who want to use it. alternatively, someone might want to implement auto-detection of the broken t4ht and apply the work-around automatically. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@125 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-11-25makehtml: import hard-coded cssmstsirkin
It should be generated from virtiohtml.cfg but this does not seem to work. For now import a hard-coded one. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@124 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-11-25makehtml: remove aux before generationmstsirkin
can be corrupt from previous runs. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@107 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-11-25makehtml: use local t4ht stubmstsirkin
Fedora seems to ship a broken t4ht. Skip it. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@104 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-11-25virtio: add latex templates from CMISmstsirkin
I imported latex templates from the CMIS specifications and changed s/CMIS/VIRTIO/ everywhere. The result is very close to one produced by exporting from the ODF we were supplied, with the exception of the TOC formatting, where section numbers are in blue instead of black, and major sections don't have dots leading to page numbers. I'm guessing this isn't very important, someone with more latex knowledge can try to figure this out. Generating html doesn't actually work for me. It doesn't work for me for CMIS either, so it's probably just an issue with my local latex setup. I'm not sure we need html output at all. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@103 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652