Commit graph

30 commits

Author SHA1 Message Date
Gabor Kovesdan
c94df498ed - Drop SGML catalogs
- Drop DSSSL stylesheets
- Drop some DSSSL-related comments and Makefile code
2013-05-29 19:21:25 +00:00
Gabor Kovesdan
998b28cb3e - Add more customization layers
- Localize footers
2013-02-26 09:43:12 +00:00
Gabor Kovesdan
0701bf45bd - Add infrastructure for language-specific XSLT customizations 2013-02-25 20:17:26 +00:00
Gabor Kovesdan
f5b13d3d30 - Clean up more DSSSL leftovers 2013-02-19 17:08:14 +00:00
Gabor Kovesdan
59d4db9584 - Add back SGML catalogs (trimmed to minimally necessary content) since
they are still needed for language-specific DSSSL customizations
2013-02-19 16:14:00 +00:00
Gabor Kovesdan
a06603e1e8 - MFH 2013-02-05 09:14:34 +00:00
Gabor Kovesdan
a3c89a1805 - Use exclusively the XML catalogs and drop the old SGML format 2013-02-01 09:48:25 +00:00
Gabor Kovesdan
af7381742b - Move language-independent entities directly to the DTD 2013-02-01 09:03:01 +00:00
Gabor Kovesdan
5086b7db96 - Fix the make lint (validate) target 2012-10-13 18:32:14 +00:00
Isabell Long
2be1e25fc2 Replace 'SGML' with 'XML' in Makefile code and comments. A consequence of
this was that 'SGMLFLAGS' had to be changed to 'XMLFLAGS' in
share/mk/doc.docbook.mk so that everything continued to build OK.

Approved by:	gabor (mentor)
2012-10-06 17:52:37 +00:00
Gabor Kovesdan
77d737ee88 - Rename the share/sgml directories to share/xml
- Fix build errors from the next change

Approved by:	doceng (implicit)
2012-10-01 11:56:00 +00:00
Gabor Kovesdan
b4346b9b2d - Rename .sgml files to .xml
- Reflect the rename in referencing files

Approved by:	doceng (implicit)
2012-10-01 09:53:01 +00:00
Gabor Kovesdan
d8a2cdf09b - Remove the following articles and references to them. Where it is
reasonable to maintain the reference, use the archived docs.

  5-roadmap
  checkpoint
  dialup-firewall
  diskless-x
  euro
  formatting-media
  hats (content moved to htdocs/internal)
  multi-os
  storage-devices
  vinum
  zip-drive

All of these articles can be found here:
http://docs.freebsd.org/doc/9.0-RELEASE/usr/share/doc/freebsd/en_US.ISO8859-1/articles/

No objection from:	doc@, www@
2012-09-20 14:33:30 +00:00
Gabor Kovesdan
9c243757ef - XML declarations should use IANA encoding names
Pointed out by:	hrs
2012-09-14 17:47:48 +00:00
Gabor Kovesdan
165056d894 Merge the projects/sgml2xml branch:
- Documentation is updated from DocBook 4.1/SGML to DocBook 4.2/XML
  - Webpages are updated from HTML 4.01 Transitional to XHTML 1.0 Transitional
  - Static webpages are now processed by XSLT behind the scenes
  - Webpages are now built with less cycles; tidy has been removed and the
    date processing is now done by XSLT
  - Generated webpages are now actually valid (they did not use to be)
  - All XSLT stylesheets now pull in a main XSLT, which reduces
    duplicated markup
  - Site map and index are converted to an XML format with an
    XSLT transformation that generates the output
  - For docs, there is now only one entity set for both articles and books
  - Some trademark/legalnotice entities have been merged to a cohesive
    single entity file
  - Untranslated entity sets are now always pulled in from the English tree
    instead of redundant copies
  - The base and enbase entities are already automatically generated so
    remove inline definitions from individual files
  - Fetch the LEGAL file via http instead of depending on CVS
  - Convert id names to lowercase to avoid mixing different styles and
    for better readability
  - All PSGML comments are removed since they are mostly useless
  - Convert character entities to normal characters
  - Do not copy CSS files but override only necessary part
  - Fix build with newest tidy
  - Partly update the fdp-primer to reflect changes

Approved by:	doceng (implicit)
2012-09-14 12:11:19 +00:00
Gabor Kovesdan
2e51ec7022 - Strip unnecessary trailing spaces
Approved by:	doceng (implicit)
2012-08-21 19:16:02 +00:00
Gabor Kovesdan
74586f38c6 - Remove PSGML comments since they are not very useful after the XML
migration

Approved by:		doceng (implicit)
No objection from:	doc@, www@
2012-08-07 23:31:39 +00:00
Gabor Kovesdan
26e4991b46 - XMLify the Serbian tree
- Entity cleanup

Approved by:	doceng (implicit)
2012-06-24 08:47:35 +00:00
Hiroki Sato
35babe0ae5 - Set svn:ketwords and svn:mime-type. Note that application/octet-stream is
set on some files as a workaround for binary check.
- Fix pathname for svn co in the webupdate script.

Approved by:	doceng (implicit)
2012-05-17 19:12:14 +00:00
Hiroki Sato
4fe414e55f - Move developers.sgml to the language-independent directory.
- Move files under <lang>/htdocs/share to <lang>/share.
- s/WEB_PREFIX/DOC_PREFIX/
- Update the webupdate script to use the SVN repository.
 
Approved by:	doceng (implicit)
2012-05-17 03:23:15 +00:00
Hiroki Sato
c24e829215 Add a <meta> tag into %html-header-tags% to explicitly declare
the charset of HTML files generated from an DocBook/SGML file.

Note to translators:

  While some of the translations already use this tweak
  in their localized freebsd.dsl, it is no longer needed so
  removed and the necessary changes have been added instead.
  After this commit, please make sure to define
  &doc.html.charset; in <langcode>/share/sgml/l10n.ent.
  If not defined, iso-8859-1 is used by default and it can
  break the translation.

Discussed on:	-doc
2004-11-07 16:26:09 +00:00
Denis Peplin
e6cb6c5472 Add doc.local.mk for ISO8859-2 encodings 2004-08-10 06:51:25 +00:00
Denis Peplin
3528a16a0c Remove SP_ENCODING settings (now duplicated with doc.docbook.mk) 2004-08-06 09:48:02 +00:00
Hiroki Sato
ecd26f86b1 Move ($create-refentry-xref-link$) to share/sgml/freebsd.dsl
and the localized sysids to <langcode>/share/sgml/catalog.

Since <langcode>/share/sgml/freebsd.dsl still include some
language-neutral parameters and procedures for printable formats,
I will work on assorting them similarly.  I am sorry that
this (and probably the next) commit may break the translation
team's usual update procedure, but you can merge the language-specific
freebsd.dsl from the English version as before.

Discussed on:	-doc
2003-05-22 15:03:50 +00:00
Alexey Zelkin
ab7f169ea3 Activate dialup-firewall article build 2002-02-06 17:02:23 +00:00
Alexey Zelkin
6a6ff1574c Add Serbian translation of dialup-firewall article. This is second
document translated into Serbian in FreeBSD doc/ tree. Show will go on!

Submitted by:   Vladimir Vrzic <random@bsd.org.yu>
2002-02-06 17:01:34 +00:00
Alexey Zelkin
cbb72a4609 Disable books directory since it has no real content yet 2002-02-06 16:56:15 +00:00
Alexey Zelkin
54cf68eab2 Force tidy(1) to use '-raw' and newly added '-preserve' options
to process generated HTML. This not cause any side effects except
leaving some character entities in their numeric form instead
converting them into alphabetical notation (&#60; instead of &lt;),
but since all browsers understand such cases it is not a problem.

This commit should make all translations tidy clean, since
tidy should not arise entities conversion problem as it did
for long time before. Therefore all occurences of manual settings
of TIDYFLAGS and NO_TIDY declarations for translations are removed.

No objections from: -doc
Requested by: Russian and Japanese translation teams
2001-12-12 11:49:38 +00:00
Andrey A. Chernov
f749b200c1 ISO_* -> ISO* rename 2001-06-11 01:20:40 +00:00
Nik Clayton
f1e0401cda Add in the infrastructure for a Serbian translation, and include a translated
article, about diskless X servers.  Will be turned in on in the main build
later this week, when a new release of the DSSSL stylesheets will include a
Serbian translation, also prepared by the submitted.

Submitted by:	Vladimir Vrzic <random@beotel.yu>
2001-05-07 18:25:56 +00:00