Commit graph

46 commits

Author SHA1 Message Date
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 (< instead of <),
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
Nik Clayton
ed30795a49 Switch to version 4.1 of the DTD. 2001-07-13 16:34:19 +00:00
Andrey A. Chernov
f749b200c1 ISO_* -> ISO* rename 2001-06-11 01:20:40 +00:00
Neil Blakey-Milner
1c78f1c07d a) "Fix" out-of-tree builds by not hard-coding locations of dsl files
with SYSTEM, and using instead PUBLIC entities gained from the catalog
in the directory of the language the document belongs to, or the
language-neutral entity.  Now we always use default.dsl as our dsl
master, and it grabs the necessary magic from the catalogs.

b) Fix the always-out-of-date imagelib problem with some make(1)-fu.

Approved by:	nik (ages ago)
2000-09-28 23:29:48 +00:00
Alexey Zelkin
0904c86379 Fix problem for Chinese FAQ with <META> Content-Type variable.
Set its value to "text/html; charset=Big5-TW"

Reported by: foxfair
PR:  docs/20453
2000-08-31 13:24:35 +00:00
Nik Clayton
a595525171 Give each language and encoding it's own freebsd.dsl, to contain style
sheet definitions for that language only.  Each file reads in the defaults
from the master share/sgml/freebsd.dsl file, and adds overrides, or new
definitions, as necessary.

Move the per-language hacks from share/sgml/freebsd.dsl in to
<lang>/share/sgml/freebsd.dsl as necessary.

Add links to the -questions and -doc mailing lists to the bottom of the
generated HTML output for some languages.  The -questions link will
become a link to Greg's "Getting the most from questions" document when
I bring that in, but I haven't done that yet, and I didn't want these
patches hanging around my local tree.

This was the real reason for making freebsd.dsl language local, as it
makes it much easier to translate generated text, such as the text of
the links, without polluting share/sgml/freebsd.dsl.

Update doc.docbook.mk to use the new, per-language freebsd.dsl file when
building the docs.  While I'm here, update .pdb generation so that it
creates a symlink to ${CURDIR:T}.pdb as well (e.g., the Handbook generates
"book.pdb" and "handbook.pdb").  This makes it easier to install more than
one document on a Palm, because two docs called "book.pdb" or "article.pdb"
can not co-exist.
2000-03-23 09:00:17 +00:00
Foxfair Hu
22c33ae826 (Monthly update) Sync with English version v1.21. 1999-11-03 17:08:49 +00:00
Foxfair Hu
f64dbb2f0a Sync with english version v1.14; fix some broken link ( same as Q:Q: problem)
English version should be updated more often :

o The newest release information in en-FAQ is still 3.2-R.
o The ps/pdf/platin text files of {FAQ, handbook} are not existent anymore
  at this kind of link :

	http://www.FreeBSD.org/{FAQ, handbook}/{FAQ, handbook}.{file_format}

  Instead, FDP has a package set in our FTP site. the following link
should be documented into our doc :

	ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/pkg/

  If no volunteer(the en-FAQ is jesusr/nik's baby I think) I'll fix it
in both English and Chinese version soon.

Cheers,
-Foxfair.
1999-10-16 19:30:24 +00:00
Foxfair Hu
746c6f3528 Last update before 3.3-R(I hope).
Sync with English version : v1.9.

Change Log:

o New FAQ entry on how to allow users to mount devices.
  (Original version v1.6-1.7)
1999-09-10 14:10:31 +00:00
Peter Wemm
553f5f8a90 $Date$ -> $FreeBSD$ 1999-09-06 07:22:28 +00:00
Peter Wemm
d43fb9b975 Fix a mangled $Id $ and change to $FreeBSD$ 1999-09-06 07:19:24 +00:00
Peter Wemm
5ff728b8ca $Id$ -> $FreeBSD$ 1999-09-06 06:53:43 +00:00
Nik Clayton
78e0c3c1d4 Use doc.project.mk, and ${.CURDIR}. 1999-09-03 17:45:42 +00:00
Nik Clayton
20f7d377d1 Use doc.project.mk in place of docproj.docbook.mk.
Use the new ROOT_SYMLINKS variable where necessary.
1999-09-03 17:24:47 +00:00
Foxfair Hu
0a8232cc30 Cleanup my last commit, add an "Original revision" to indicate English FAQ's
version.
1999-08-27 15:03:57 +00:00
Foxfair Hu
c066bde440 Add a comment to point rcs version out. 1999-08-27 14:55:49 +00:00
Nik Clayton
5d61c67118 When making the compatability symlink, do it in the parent directory
to both directories, and make it relative, rather than absolute.

This fixes the case where you might install the docs under one directory
/foo/bar/..., and then want to migrate them elsewhere (to /usr/share/).

With the old scheme, the symlink would start /foo/bar/..., and would
therefore be broken.

A good example of this happening is "make release" :-)
1999-08-26 19:42:13 +00:00
Foxfair Hu
a3ff85c28a o Give the TIDYFLAGS in the Makefile to make the building procedure right.
It will give the understandable result now.

  Discussed with : nik.

o Fix some ANCHOR error, modify some format.

  Obtained from : English version 1.6, PR: docs/13349
  (Actually English version of FAQ still has some wrong link, I'll send-PR
  when free. Any taker?)
1999-08-25 05:29:44 +00:00
Foxfair Hu
5e80a9983e 1. Typo fixed,submitted by: Tzu-hsien Yu <thyu@camel.ck.tp.edu.tw>
o FAQ 2.29 : fiald -> failed
  o FAQ 3.x : Make the title more easier to read.(Of course, it is Chinese
              title)
  o FAQ 10.13 : Delete a extra "W".
  o FAQ 12.x : Style police. Use 2-bytes punctuation rather than one. Cleanup
    some paragraph.

2. Sync with English version 1.5 (Tue,Aug 24 1999).
1999-08-24 10:23:25 +00:00
Foxfair Hu
963ab773f9 DocBook version of FreeBSD Chinese FAQ, stage[II].
This file is a revisory version of stage[I], with QAndASet framework.
Thanks for Nik's helping!
1999-08-20 00:59:23 +00:00
Nik Clayton
a3163ec304 Honour ${DOCDIR} when installing the documentation. 1999-08-19 20:36:02 +00:00
Foxfair Hu
0b08ebf3c0 DocBook version of FreeBSD Chinese FAQ, stage[I] with Makefile framework
.
1999-08-19 03:56:59 +00:00
Nik Clayton
c6a3c346a2 Makefile framework. 1999-08-17 22:20:45 +00:00
Nik Clayton
dce55200fb More Makefile framework. I don't know why CVS didn't commit these with
the other batch.
1999-08-17 21:35:56 +00:00
Foxfair Hu
536f798797 Sync with English version. If no accident, this is the last change until
Nik reorganize the structure of doc directory.

File                    Old version     New version
===================================================
acknowledgments.sgml    1.1             1.2
admin.sgml              1.22            1.30
applications.sgml       1.10            1.14
hackers.sgml            1.11            1.17
hardware.sgml           1.15            1.21
install.sgml            1.18            1.19
kernelconfig.sgml       1.2             1.3
misc.sgml               1.16            1.17
network.sgml            1.20            1.29
preface.sgml            1.39            1.40
serial.sgml             1.4             1.5
1999-08-11 14:43:31 +00:00
Foxfair Hu
60f8681329 Sync with English version, correct some typo. 1999-07-04 15:26:10 +00:00
Foxfair Hu
56734bc87d Fixed link to English handbook, and add a CR to the end of some files. 1999-05-11 11:13:15 +00:00
Foxfair Hu
f2e51994af Sync with English version, correct context style.
Submitted by: Chinese Documentation Project.
1999-05-11 10:32:01 +00:00
Foxfair Hu
4eccc1e987 Introduce the final part of Chinese(big5) FAQ, the next step I'd like to
let Simplified Chinese(GB2312) FAQ show up.

These two files was submitted by:
	J.T. Jang <jtjang@gcn.net.tw>

The translation of Handbook(new DocBook) is in progress , too.
1999-04-21 05:26:08 +00:00
Wolfram Schneider
0ae8bc1fdb Fix broken links to chinese handbook. The links points now to
the English handbook.
1999-03-21 16:25:41 +00:00
Foxfair Hu
afde1aac25 Fixed some typo, improve context style. 1999-03-10 08:30:11 +00:00
Foxfair Hu
b96274e4e8 Update content and fix typo.
Submitted by:	Maintainer <ijliao@dragon2.net>
1999-03-01 08:57:28 +00:00
Foxfair Hu
18446f4064 Use 'sen~or' instead of 'you' in Chinese.
Submitted by:	maintainer.
1999-02-25 14:16:36 +00:00
Foxfair Hu
4165f52173 Sync with English version 1.20 1999-02-19 13:21:31 +00:00
Vanilla I. Shu
b9cc4a9f4f Sync FAQ.sgml & hardware.sgml with current version. 1999-02-18 18:52:40 +00:00
Vanilla I. Shu
48683416a7 applications.sgml 1.8 => 1.9 1999-02-18 18:37:35 +00:00
Vanilla I. Shu
935ea44a0b Fix some typo error, and sync network.sgml with English version.
Submitted by:	network.sgml's maintainer & smartboy.bbs@fpg.m4.ntu.edu.tw
1999-02-16 14:20:18 +00:00
Foxfair Hu
c0525e07ff Sync with English version to v1.19. 1999-02-10 01:40:04 +00:00
Wolfram Schneider
706b697684 SGML typos again. 1999-02-03 13:22:28 +00:00
Foxfair Hu
4727459161 Sync with English FAQ version and fix some typo, clean DOS <CR>.
Pointed out by:		Wolfram Schneider <wosch@FreeBSD.ORG>
1999-02-03 01:53:12 +00:00
Wolfram Schneider
2c569f75f4 SGML typos. Now it pass the `make clean all clean' test. 1999-02-02 15:38:57 +00:00
Vanilla I. Shu
3bb92f111d Typo error. (missins '}') 1999-02-02 06:44:38 +00:00
Vanilla I. Shu
308b4d9a52 Sync preface.sgml & serial.sgml.
Submitted by:	Ying-Chieh Liao
1999-02-01 05:34:04 +00:00
Vanilla I. Shu
1841ad7ec8 Define DOCDIR and FORMATS.
Submitted by:	foxfair
Forgotten by:	me
1999-01-31 18:21:28 +00:00
Vanilla I. Shu
6cd3fa9db2 Add Makefile for doc/zh. 1999-01-30 23:23:13 +00:00
Vanilla I. Shu
80b2078094 This is the Chinese FAQ.
Some part have not finish yet.
1999-01-30 23:20:34 +00:00