added some usage information

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20052 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adrian Robert 2004-09-14 02:04:04 +00:00
parent 1a93db689b
commit 462ff76ba0

View file

@ -4,10 +4,7 @@
#
# Written by Richard Frith-Macdonald
# Based on GDML by 1997 Yoo C. Chung
#
# Note, the normative form of this document is the DTD.
# This Relax-NG version converted by Adrian Robert using the trang tool.
#
# This is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either
@ -23,7 +20,36 @@
# Public License along with this software; if not, write to the
# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
# 02139, USA.
#############################################################################
# Note, the normative form of this document is the DTD.
# This Relax-NG version generated by Adrian Robert using the trang tool.
# It can be used for realtime validation and autocompletion with the
# emacs nxml-mode by James Clark. Get it from
# http://www.thaiopensource.com/download/ .
#
# Set it up with '(load "nxml-mode-20040910/rng-auto.el")' in your .emacs.
# While you're at it, put insert this as well:
# (setq auto-mode-alist (cons '("\\.gsdoc$" . nxml-mode) auto-mode-alist))
#
# Fire up a new emacs and hit 'alt-x customize-apropos rng', then add a file
# "/pathToHome/[username]/.schemas.xml" to 'Rng Schema Locating Files'.
# Then make a file in your home directory called ".schemas.xml" and put in
# it the following lines:
#
# <?xml version="1.0" encoding="utf-8"?>
# <locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
# <uri pathSuffix=".gsdoc"
# uri="$GNUSTEP_SYSTEM_ROOT/Library/DTDs/gsdoc-1_0_1.rnc"/>
# </locatingRules>
#
# (Replace GNUSTEP_SYSTEM_ROOT by the correct real path on your system.)
#
# Voila, whenever you edit a .gsdoc file its validity will be continuously
# checked, errors will be highlighted, and you can complete tags and
# attributes using 'ctrl-enter'. 'Ctrl-c ctrl-f' autocloses tags.
#############################################################################
# gsdoc is an XML language - Typical usage:
# <?xml version="1.0"?>