Commit graph

22 commits

Author SHA1 Message Date
Xin LI
0601c77b10 Back out previous change which is wrong.
Pointy hat to:	me
2006-01-22 16:23:01 +00:00
Xin LI
e140896ec8 Escape <, >, &'s, plus some cleanups against the SGML. There should not
be any content changes involved in this commit, however, localization
teams are encouraged to catch up with this change.

Requested by:	intron at intron ac
Reviewed by:	Niclas Zeising <lothrandil at n00b apagnu se>
Glanced by:	simon
2006-01-05 20:03:39 +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
Marc Fonvieille
a8fefa0775 Update manpath for XFree (4.2.0 --> 4.3.0) and NetBSD (1.5 --> 1.6.1). 2003-05-18 20:29:44 +00:00
Hiroki Sato
4f8b26641c - Add WITH_DOCFORMAT_NAVI_LINK to mk/doc.docbook.mk and
enable it in en_US.ISO8859-1/ and ja_JP.eucJP/.

- Add PUBLIC "-//FreeBSD//ENTITIES DocBook Language Specific Entities//EN"
  and l10n.ent for entity localization.

- Use share/misc/docbook.css for indentiation of <programlisting>
  and <screen>.

- Add some missing $FreeBSD$.
2003-04-19 11:39:30 +00:00
Marc Fonvieille
04b3ce0cde Add manpath attribute for the use of -CURRENT manual pages.
We use sometimes manual pages from -CURRENT (devfs for example).
Changes in man-refs.ent will follow.
2002-10-17 21:54:53 +00:00
Marc Fonvieille
bc981e6c52 Update manpath=XFree86+4.0.2 to manpath=XFree86+4.2.0
All localized freebsd.dsl files are in sync with en_US version.
2002-09-21 21:12:09 +00:00
Nik Clayton
a81ab6adea Add support for the 'vendor' attribute on <citerefentry> to select which
of the CGI manual page collections to use.  Currently supports XFree86,
NetBSD, and FreeBSD Port man pages.
2002-08-27 08:18:41 +00:00
Murray Stokely
598555cf3f Make the niceheaders output look at the page width to determine how
wide the rule should be beneath the chapter title.

While I'm here, add variables for niceheader-rule-spacebefore and
spaceafter.

PR:		29403
Pointed out by: Nik
2001-09-02 02:37:50 +00:00
Murray Stokely
cb76e5c4e0 Turn off the rule beneath the chapter title if the chapter is an
index.  Our index is layed out differently (two columns) so the rule
overlaps text.  This only affects the NICE_HEADERS option for print
output.

PR:		29403
Submitted by:	Peter Johnson <peter@bilogic.org>
2001-08-03 19:11:16 +00:00
Murray Stokely
f9ccc49092 Add a new tunable knob 'MIN_SECT_LABELS' and the necessary stylesheet
support.

This option prevents section labels from being numbered after the third
level.

make FORMATS=ps :

  "N.N.N Section Title"
  "N.N.N.N really specific topic"
  "N.N.N.N.N really-really specific topic"

make MIN_SECT_LABELS=1 FORMATS=ps :

  "N.N.N Section Title"
  "really specific topic"
  "really-really specific topic"

The section titles are still bold, spaced away from the text, and
sized according to their nesting level.
2001-07-28 03:00:03 +00:00
Murray Stokely
14b35ee415 Modifications for the NICE_HEADERS case :
* Increase font size for chapter title.
  * Add a .5pt rule underneath the chapter title, before the content.
2001-07-20 02:53:08 +00:00
Murray Stokely
213a66a8d3 Introduce a 'NICE_HEADERS' tuneable knob that creates customized
chapter headers that you may find more aesthetically pleasing than the
rather spartan chapter headers in Norm's print stylesheets.  This
option only effects print output formats for English language books.

Also move the local-en-label-title-sep customization from share/sgml
to en_blah/share/sgml since the best values for this customization
depend on the locale.

This changes (make FORMATS=ps) :

    Chapter 7. Users and Basic Account Management

    7.1. Synopsis

into (make NICE_HEADERS=1 FORMATS=ps) :

    Chapter 7
    /Users and Basic Account Management/

    7.1  Synopsis

More work needs to be done for the NICE_HEADERS case to enhance the
output, but I think its an improvement.
2001-07-16 05:00:21 +00:00
Dima Dorfman
9b91b763ca Cosmetics: capitalize FreeBSD.org like that in e-mail addresses; make
the scheme explicit in URLs.
2001-06-03 00:07:28 +00:00
Dima Dorfman
87f7d3708c Use the new create-link procedure instead of (make element gi: "A" ...). 2001-06-02 23:06:17 +00:00
Dima Dorfman
e7a7209c52 Use the correct interface to man.cgi. This fixes links to manual
pages that have a dot (.) in their name.

PR:		26566
Reviewed by:	nik
2001-04-15 19:09:31 +00:00
Nik Clayton
2595ff3b9a Turn on the generation of links to the man->HTML gateway.
Provide a function which, given the manual page name and the section,
returns the URL of man->HTML gateway to select the correct page.

Translation teams should adjust this as necessary for their language
specific freebsd.dsl so that the man pages that come up are in the correct
language.
2001-03-24 09:42:02 +00:00
Nik Clayton
98ceabd790 Reflect the change in doc/share/sgml/freebsd.dsl to allow multiple
paragraphs in the footer.

For the English translation, alter the text to include some additional
links to the downloadable documentation.  Reflect this change in the
translations *if* they have not translated the English text.
2001-02-20 19:41:42 +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
Jim Mock
c0fa5b3209 Add bits needed to convert "..." to ``...'' in the HTML output. 2000-06-08 01:58:59 +00:00
Nik Clayton
d049da756e Add definitions for the output.html and output.print parameter entities.
Their lack caused an annoying, but non-fatal, error.
2000-05-31 23:39:18 +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