doc/share/sgml
Hiroki Sato a3e34ae400 - Fix ($user-html-header$) to support <script src="foo">. While the rendered
result of <script> end tag by the DSSSL stylesheet was </script\n> to avoid
  unnecessary spaces after the tag, most of the www browsers and HTML
  processors cannot recognize it as the end of <script>.  To workaround this,
  ($user-html-headers$) now outputs the start and the end tag independently
  in each single line.

- Add %html-header-script% to control if <script> is included in <head>.

- Add html.header.script.google knob for SGML and XML documents in non-DocBook
  DTD.  %html.header.script.google; and $html.header.script.google.

- Add WWWFREEBSDORG make(1) knob to control the <script> inclusion.  Note that
  <script> is disabled temporarily.

Discussed with:	gjb and core
Tested by:	gjb
2012-01-31 02:01:32 +00:00
..
articles.ent Move %l10n; and %10n-common; to the head of the entity list. 2004-12-29 17:56:55 +00:00
bibliography.sgml * insert "pages" and "edition" (lowercase existing instances) in pages and edition tags 2009-03-23 16:22:27 +00:00
books.ent Move %l10n; and %10n-common; to the head of the entity list. 2004-12-29 17:56:55 +00:00
catalog Split freebsd.dsl into -html, -print, and -common parts for ease 2008-12-24 17:06:07 +00:00
default.dsl Split freebsd.dsl into -html, -print, and -common parts for ease 2008-12-24 17:06:07 +00:00
freebsd-common.dsl Remove redundant LI (langage-independent) parts of freebsd.dsl in 2010-12-08 06:26:00 +00:00
freebsd-html.dsl - Fix ($user-html-header$) to support <script src="foo">. While the rendered 2012-01-31 02:01:32 +00:00
freebsd-print.dsl Add tab expansion procedure into ($verbatim-display$). Although DSSSL 2012-01-28 08:56:56 +00:00
freebsd.dsl Split freebsd.dsl into -html, -print, and -common parts for ease 2008-12-24 17:06:07 +00:00
freebsd.dtd
freebsd.ent 9.0-RELEASE is officially released! 2012-01-12 20:42:22 +00:00
freebsd41.dtd Implement <SVNref> tag element, which generates link to SVNweb to the given 2011-12-18 12:51:56 +00:00
l10n.ent Add a <meta> tag into %html-header-tags% to explicitly declare 2004-11-07 16:26:09 +00:00
man-refs.ent Add xhci(4). 2012-01-16 23:52:41 +00:00
man-refs.pl
mirrors-local.xsl Improve transtable.{xml,xsl}, including: 2004-01-12 21:27:01 +00:00
mirrors-master.xsl - Fix build with libxslt-1.1.18 and newer. The standard clearly states that 2007-01-26 19:14:39 +00:00
mirrors.xml - ftp2.se.FreeBSD.org mirror also supports rsync now 2012-01-30 18:59:13 +00:00
pgp.dsl
README.mirrors Correct some typos. 2005-01-02 13:05:30 +00:00
spellcheck.dsl Add the email, ulink, and username elements to those omitted by this 2004-09-26 17:23:19 +00:00
trademarks.ent Add trademark entities for Fujitsu Limited and update those of SPARC 2010-05-23 19:37:41 +00:00
transtable-common.xsl Optimize the word search algorithm. Comparison using product 2005-09-28 18:03:51 +00:00
transtable-local.xsl Improve transtable.{xml,xsl}, including: 2004-01-12 21:27:01 +00:00
transtable-master.xsl Fix template rules which use a variable reference in the value of the match 2005-09-06 18:27:52 +00:00
transtable.xml Improve transtable.{xml,xsl}, including: 2004-01-12 21:27:01 +00:00
urls.ent Resync article URL entities with our current list of articles. 2008-11-25 07:52:06 +00:00

$FreeBSD$

This is an instruction for use of the following files, which are used
for both of www/ and doc/ tree:

 mirrors.xml		database of FreeBSD mirror sites

 mirrors-local.xsl	stylesheet to create localized version of mirrors.xml.
 mirrors-master.xsl	"-master" is master, "-local" is slave.

 transtable.xml		word-by-word basis translation table

 transtable-local.xsl	stylesheet to copy and translate a xml document.
 transtable-master.xsl	"-master" is master, "-local" is slave.

* Notes for mirrors.xml maintainers

  The elements are sorted in alphabetical order when the documents
  are rendered.  So basically order of <entry> is not important, but
  <entry> with role="primary" will be handled specially.  Currently
  it is for the central servers and the primary mirror sites.

* Notes for doc/ and www/ maintainers including translation teams:

  Translators should not simply copy mirrors.xml, mirrors-*.xsl,
  transtable.xml, and transtable-*.xsl in share/sgml to the
  language dependent directory.  Instead, create "skeleton" *.xsl,
  which just import the master stylesheet.  *-local.xsl in share/sgml
  are "skeleton" for en_US.ISO8859-1, so you can start from these.
  See ja_JP.eucJP/ for example.

  Documents always use mirrors.xml in the language dependent directory.
  This file is dynamically generated from share/sgml/mirrors.xml, and it
  is localized using transtable-local.xsl.  transtable-local.xsl refers
  transtable.xml, a translation table for translating country name and
  so on.  It should be in the language dependent directory, but if not exist,
  share/sgml/transtable.xml (a dummy translation table) will be used.
  Similarly, if there is no mirrors-local.xsl in the language dependent
  directory, share/sgml/mirrors-local.xsl will be used.

  That is:
                          share/sgml           <langcode>/share/sgml
  -----------------------------------------------------------------------
   mirrors.xml            master copy           dynamically generated
   mirrors-local.xsl      dummy                 this is used if exists
   mirrors-master.xsl     used from -local.xsl  should not exist
   transtable.xml         dummy                 this is used if exists
   transtable-local.xsl   dummy                 this is used if exists
   transtable-master.xsl  used from -local.xsl  should not exist
  -----------------------------------------------------------------------

  "dummy" means that it will be used when the localized version of it is
  not available.  So the translation teams copy the "dummy" files,
  and adjust them to the language (especially make sure "encoding" part).

  If you add a document using mirrors.xml, use ${XML_MIRRORS} in the
  Makefile.