From 6cbf4ba406edcb1dbb2522cc043940024f748622 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Wed, 26 May 2004 13:09:05 +0000 Subject: [PATCH] New tests --- docbook/relaxng/tests/ng-tests/slides-ng.xml | 256 ++++++++++++++++++ docbook/relaxng/tests/ng-tests/website-ng.xml | 34 +++ 2 files changed, 290 insertions(+) create mode 100644 docbook/relaxng/tests/ng-tests/slides-ng.xml create mode 100644 docbook/relaxng/tests/ng-tests/website-ng.xml diff --git a/docbook/relaxng/tests/ng-tests/slides-ng.xml b/docbook/relaxng/tests/ng-tests/slides-ng.xml new file mode 100644 index 000000000..2c0896d17 --- /dev/null +++ b/docbook/relaxng/tests/ng-tests/slides-ng.xml @@ -0,0 +1,256 @@ + + +The Slides Document TypeSlides + + + NormanWalsh + 2003-12-19 + 3.3.0 + 20022003 + Norman Walsh + + +Introduction +This is the introductory slide. +If you use foil groups (previously called sections), you can +have introductory slides before the first group. +Note: Bugs in some versions of Mozilla and IE prevent the XHTML +version of slides from working correctly in those browsers. +See the report for more +details. + + +Purpose and History + +Groups can now have introductory text as well. + +What Are Slides? + +An XML presentation tool + +Suitable for HTML or PDF presentations + +Supported by Open Source software + + + + +Where Do They Come From? + + +Maintained by the DocBook +Open Repository Project at +SourceForge + +Customization layer of +Simplified DocBook + + + + +Why? + + +So Norm could give presentations + +So Norm could publish those presentations on the web + +So Norm could have accessible presentations +that didn't rely on the grotesque HTML output of some otherwise bloated, proprietary +tool + +So Norm could cut-and-paste from his DocBook articles and papers +directly into his slides + +Oh, let's face it: because it was there. Like the proverbial mountain. + + + + + +Authoring + +How to write a presentation. + +Minimal Presentation + +The smallest possible presentation looks like this: + +<?xml version='1.0'?> +<!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides XML V3.0b1//EN" + "http://docbook.sourceforge.net/release/slides/3.0b1/slides.dtd"> +<slides> +<slidesinfo> +<title>Presentation Title</title> +</slidesinfo> +<foil><title>Foil Title</title> +<para>Foil content</para> +</foil> +</slides> + +Every presentation must contain at least one slide. + + +Presentation Metadata + +Presentations usually have more metadata in the slidesinfo +wrapper. Here's a typical example: + +<slidesinfo> + <title>Supporting Localized Generated Text</title> + <titleabbrev>Generated Text</titleabbrev> + <author><firstname>Norman</firstname><surname>Walsh</surname></author> + <pubdate>Sunday, 08 Apr 2001</pubdate> + <confgroup> + <conftitle>XSLTUK-01</conftitle> + <confdates>08 Apr - 09 Apr 2001</confdates> + <conftitle role="address">Keble College, Oxford, UK</conftitle> + <confnum>1</confnum> + </confgroup> + <releaseinfo role="version">Version TEST</releaseinfo> + <copyright><year>2001</year> + <holder>Sun Microsystems, Inc.</holder></copyright> +</slidesinfo> + + +Presentation Content + +It's common for individual slides to consist of a single +bulleted or numbered list. However, the full range of block +level Simplified DocBook elements are available. + + + + +Styling + +How to transform a presentation. + +HTML + +There are a lot of HTML options. When you publish your +presentation on the web, it's probably best to use one of the simpler, +more accessible styles. For your actual live presentation, you may +want to choose something fancier. + + + +Plain HTML + + +default.xsl +and +plain.xsl +produce fairly simple presentations + +tables.xsl +uses a table to show the navigation context (somewhat like the tabular +Website style) + +vslides.xsl +places navigation on the left side instead of the top and bottom + +w3c.xsl +produces slides that resemble the format used by the W3C for presentations + + + + + +Fancy HTML + + +frames.xsl +uses frames. There are several options that you can apply: + + +overlay uses CSS absolute positioning +to keep the navigation static on the pages (only works on recent browsers) + +multiframe uses additional frames +to keep the navigation static on the pages + + + +dynamic.toc uses +JavaScript to make the table of context active so that +you can open and close the foil groups (only works on recent browsers) + + + +active.toc uses +JavaScript to keep the table of contents and the current slide in sync +(only works on recent browsers) + + +These toc styles can be combined with +overlay or multiframe + + + + + + +PDF + +The fo-plain.xsl stylesheet produces XSL Formatting +Objects that can subsequently be turned into PDF. + + + + + +Presentation + +How to customize and present a set of slides. + +Look And Feel + +For HTML display, most of the actual +look-and-feel of the presentation is controlled by the CSS +stylesheet(s) used. + + + +Presentation Tips + + +It's usually best if each slide is only one page (avoid scrolling). + +If you'll be giving your presentation with a projector, make sure you +know what resolution you'll have available and test your presentation at that resolution. + +Make your fonts bigger so the folks in the back of the room can read +your slides. + +Test the equipment before your presentation begins. Really. + +Speak more slowly. I always forget that one. + + + + + + +Conclusions + +Conclusions + +It's customary to have a conclusions slide. + + + +References + +References are a good idea too. + + + +Q&A + +Any questions? + + + + + \ No newline at end of file diff --git a/docbook/relaxng/tests/ng-tests/website-ng.xml b/docbook/relaxng/tests/ng-tests/website-ng.xml new file mode 100644 index 000000000..e1a40eafd --- /dev/null +++ b/docbook/relaxng/tests/ng-tests/website-ng.xml @@ -0,0 +1,34 @@ + + + + + + + +nwalsh.com +The nwalsh.com web site. +Norman Walsh, DSSSL, SGML, XML, DocBook, Perl, Fonts + + +
+Hello, and Welcome! + +This website is run by +norm +to publish the software and resources he maintains. Enjoy your stay. + + +If you're interested in the stuff here, you may also be interested in +norm's more dynamic, psuedo-bloggish pages on +norman.walsh.name. Or not. Only +you can decide. + + + + + +
+
-- 2.40.0