Stylesheet for Ubuntu Quicktour
Bhuvaneswaran
bhuvaneswaran at gmail.com
Fri Nov 25 07:38:29 UTC 2005
Hello,
I've prepared the stylesheet for Ubuntu Quicktour (Thankx to Matthew
for aboutubuntu.css!). I've also prepared a Makefile entry. I've
attached the related files. Please check & apply!
Attachments: quicktour.diff (Makefile & quicktour.xml patch),
quicktour.css (ubuntu-doc/ubuntu/libs), quicktour-html-cust.xsl
(ubuntu-doc/ubuntu/libs).
--
Regards,
Bhuvaneswaran
www.symonds.net/~bhuvan/
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 2124)
+++ Makefile (working copy)
@@ -37,6 +37,9 @@
# About Ubuntu Docbook HTML Customization Layer
AUHTMLXSL=../libs/about-ubuntu-html-cust.xsl
+# Quick Tour Docbook HTML Customization Layer
+QTHTMLXSL=libs/quicktour-html-cust.xsl
+
# Desktop Guide Docbook HTML Customization Layer
DGHTMLCHUNKXSL=libs/desktopguide-html-chunk-cust.xsl
DGHTMLSINGLEXSL=libs/desktopguide-html-single-cust.xsl
@@ -50,6 +53,8 @@
QGBASE=../build/ubuntu/quickguide/
+QTBASE=../build/ubuntu/quicktour/
+
AGBASE=../build/ubuntu/adminguide/
INBASE=../build/ubuntu/ubuntu-install/
@@ -159,6 +164,37 @@
@echo "--- Complete. Find outputs at" $(QGBASE)
+#Status: AVAILABLE
+# Quick Tour
+qt-html:
+ @echo "--- Building the Ubuntu Quick Tour . . ."
+
+ @echo "--- Removing existing build files (if any). . ."
+ rm -f $(QTBASE)/C/index.html
+ @echo "--- Building new files. . ."
+
+ xsltproc --xinclude -o $(QTBASE)C/index.html $(QTHTMLXSL) quicktour/C/quicktour.xml
+ xsltproc --xinclude -o $(QTBASE)qt-imagelist.txt $(MKIMGLST) quicktour/C/quicktour.xml
+
+ mkdir -p $(QTBASE)quicktour_files/
+ cp quicktour/quicktour_files/*.* $(QTBASE)quicktour_files
+
+ mkdir -p $(IMAGES)C
+
+ cp -r images/C/*.* $(IMAGES)C
+
+ mkdir -p $(IMAGES)admon
+ cp -r ../common/admon/*.* $(IMAGES)admon
+
+ mkdir -p $(IMAGES)callouts
+ cp -r ../common/callouts/*.* $(IMAGES)callouts
+
+ mkdir -p $(IMAGES)navig
+ cp -r ../common/navig/*.* $(IMAGES)navig
+
+ cp libs/quicktour.css $(QTBASE)
+ @echo "--- Complete. Find outputs at" $(QTBASE)
+
#Status: NOT WORKING
# Administration Guide
ag:
@@ -1519,13 +1555,13 @@
@echo "Complete. Find outputs at" $(DGBASE)TL/
# QuickTour
-qt:
- @echo "--- Coping the QuickTour . . ."
-
- @echo "--- Copying New Files. . ."
- mkdir -p ../build/quicktour
- cp -r quicktour/*.* ../build/quicktour/
- @echo "--- Complete."
+#qt:
+# @echo "--- Coping the QuickTour . . ."
+#
+# @echo "--- Copying New Files. . ."
+# mkdir -p ../build/quicktour
+# cp -r quicktour/*.* ../build/quicktour/
+# @echo "--- Complete."
clean:
rm -rf $(BASE)
Index: quicktour/C/quicktour.xml
===================================================================
--- quicktour/C/quicktour.xml (revision 2124)
+++ quicktour/C/quicktour.xml (working copy)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
- "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY % globalent SYSTEM "../../../libs/global.ent">
%globalent;
<!ENTITY % cdo-C SYSTEM "../../../libs/cdo-C.ent">
@@ -10,9 +10,11 @@
<!ENTITY language "&EnglishAmerican;">
<!ENTITY ubuntu '<phrase>Ubuntu</phrase>'>
]>
-<book lang="&language;" id="x01">
+<article lang="&language;" id="x01">
+<artheader>
<title>Ubuntu 5.10 Quick Tour</title>
-<chapter id="welcome">
+ </artheader>
+<sect1 id="welcome">
<title>Welcome to Ubuntu 5.10</title>
<para>
<inlinemediaobject>
@@ -59,7 +61,6 @@
Firefox for Web browsing. Evolution for e-mail, contacts, calendars, and
to-do lists. Gimp for image editing. And the new OpenOffice.org 2.0 for
word processing, spreadsheets, and presentations. </para>
-
<para>
<inlinemediaobject>
<imageobject>
@@ -72,7 +73,6 @@
Ubuntu, itâs actually true. You can choose from hundreds of software
packages in the Ubuntu software catalogue, and download and install
them with the click of a button. And itâs all completely free. </para>
-
<para>
<inlinemediaobject>
<imageobject>
@@ -89,7 +89,6 @@
url="http://art.ubuntu.com/">art.ubuntu.com</ulink> and <ulink
url="http://art.gnome.org/">art.gnome.org</ulink>. And customize your
Applications menu with the new Menu Editor.</para>
-
<para>
<inlinemediaobject>
<imageobject>
@@ -102,7 +101,6 @@
updates are automatically announced with a small red icon. Ubuntu will
display, review and install them easily, ensuring your software is up
to date and secure.</para>
-
<para>
<inlinemediaobject>
<imageobject>
@@ -241,5 +239,5 @@
of OpenOffice.org, Firefox, and Thunderbird,so you can get a taste of
what Free Software is about.</para>
-</chapter>
-</book>
+</sect1>
+</article>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quicktour.css
Type: text/css
Size: 2445 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20051125/c330cb67/attachment.css>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quicktour-html-cust.xsl
Type: application/xml
Size: 1641 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20051125/c330cb67/attachment.xsl>
More information about the ubuntu-doc
mailing list