Do not use Edit(GUI) button.

?TableOfContents(4)

Copyright 2007, 2008 Osamu Aoki GPL, (Please agree to GPL, GPL2, and any version of GPL which is compatible with DSFG if you update any part of wiki page)

Guide for contributing to Debian Reference

Debian Reference upstream source is http://wiki.debian.org/DebianReference .

Rules

Here are the rules.

I use this moinmoin platform for its ability for table and XML export.

This wiki will be post-processed by XSLT/XML tools and should be written accordingly:

 ... commands examples ...

This ensures (eventually) clean conversion to DocBook XML and makes my work easy. :-)


If funny things happen, look for single quote repeats, etc. in wiki source.

Code sections marked as "{ { { \n } } }" without using spaces will cause XML export errors; thus, always use spaces around \n.

List export has <para> markup bugs; after conversion, review and correct them, please.


This Wiki page to Docbook conversion examples step-by-step:

Hints for tools to help updating this document

Interesting info found by googling

Fonts on the Debian system

This is based on system just around lenny release.

Here is a list of references for fonts on the Debian system.

Font types

There are 2 major types of computer fonts:

While scaling of bitmap fonts causes jugged image, scaling of outline/stroke fonts produces smooth image.

Bitmap fonts on the Debian system are provided by [http://fontforge.sourceforge.net/pcf-format.html X11 pcf bitmap font files] having their file extension ".pcf".

Outline fonts on the Debian system are provided by:

Table of corresponding ?PostScript Type 1 fonts.

1

2

3

font source

popcon

size

sans-serif

serif

monospace

source

?PostScript

Helvetica

Times

Courier

Adobe

gsfonts-x11

Nimbus Sans L

Nimbus Roman No9 L

Nimbus Mono L

[http://en.wikipedia.org/wiki/URW URW] (Adobe compatible size)

t1-cyrillic

Free Helvetian

Free Times

Free Courier

URW extended (Adobe compatible size)

Table of corresponding TrueType fonts.

1

2

3

font source

popcon

size

sans-serif

serif

monospace

source

ttf-mscorefonts-installer

Arial

Times New Roman

Courier New

Microsoft (Adobe compatible size)

ttf-liberation

Liberation Sans

Liberation Serif

Liberation Mono

RedHat (Microsoft compatible size)

ttf-freefont

?FreeSans

?FreeSerif

?FreeMono

[http://savannah.gnu.org/projects/freefont/ GNU] (Microsoft compatible size)

ttf-bitstream-vera

Bitstream Vera Sans

Bitstream Vera Serif

Bitstream Vera Sans Mono

[http://www.gnome.org/fonts/ Bitstream, Inc.]

ttf-dejavu

?DejaVu Sans

?DejaVu Serif

?DejaVu Sans Mono

[http://dejavu.sourceforge.net/], Bitstream extended

ttf-unifont

N/A

N/A

unifont

[http://Unifoundry.com], GNU Unifont

All these fonts are equally supported for displaying and printing using libfreetype6, libxft2, ghostscript and fontconfig packages.

Examples

This section contains examples and scratch pad contents.

Table

Always assumes the first line is <title>, the second line is <thead> and the rest lines are <tbody> <row>s. (hello)

Example of table 1

TITLE1

TITLE2

DATA 11

DATA 12

DATA 21

DATA 22

Special paragraphs

Here are examples of Wiki marking used.

/!\  /!\  for "Warning" (alert)

<!>  <!>  for "Caution" (attention)

{*}  {*}  for "Important" (star_on)

{i}  {i}  for "Tip" (icon-info)

(!)  (!)  for "Note" (idea)

{OK}  {OK}  for "Note" (thumbs-up)

(./)  (./)  for "Note" (check-mark)

Line foldings

line1 starting line break examples line2 w/o space from previous line

line3 w 1 line space from previous line

line2 w 2 space from previous line

line2 w 3 space from previous line line with ampersand & &

Data for popcon data and package size

The following packages are referred in the main text.

List of packages whose popcon and/or package size were referred in the main text

1

2

3

package

popcon

package size

dummy

gksu

-

-

-

screen

-

-

-

rutebook

-

-

-

See http://wiki.debian.org/UTF8BrokenApps

Escape confusion

MoinMoin conversion bug for " \n " needs to be worked around by placing space around it.

can be referred as @{@internallinks@}@ which will create correct reference in HTML.

Do not use " [[Anchor(internalLinks)]] " for now in the main text used by building final HTML files. (It may be a good idea but you need to do it for entire document.)

The normal anchor feature of MoinMoin wiki is not supported by the XML conversion tool now.