Mercurial > mplayer.hg
comparison DOCS/xml/README @ 30990:0ad2da052b2e
the great MPlayer tab removal: part I
author | diego |
---|---|
date | Mon, 12 Apr 2010 10:56:17 +0000 |
parents | 61e033e4daee |
children | 20cee5a646b3 |
comparison
equal
deleted
inserted
replaced
30989:686241d65b86 | 30990:0ad2da052b2e |
---|---|
37 | 37 |
38 | 38 |
39 2) Download the docbook-xml package from http://www.oasis-open.org/docbook/xml/ | 39 2) Download the docbook-xml package from http://www.oasis-open.org/docbook/xml/ |
40 Use the newest version. The URL will be something like this: | 40 Use the newest version. The URL will be something like this: |
41 | 41 |
42 http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip | 42 http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip |
43 | 43 |
44 Extract this package into a directory, enter it, and execute the following | 44 Extract this package into a directory, enter it, and execute the following |
45 commands: | 45 commands: |
46 | 46 |
47 mkdir -p /usr/share/sgml/docbook/dtd/xml/4.2/ | 47 mkdir -p /usr/share/sgml/docbook/dtd/xml/4.2/ |
48 cp -r * /usr/share/sgml/docbook/dtd/xml/4.2/ | 48 cp -r * /usr/share/sgml/docbook/dtd/xml/4.2/ |
49 | 49 |
50 | 50 |
51 3) Download the docbook-xsl package from | 51 3) Download the docbook-xsl package from |
52 http://prdownloads.sourceforge.net/docbook/ | 52 http://prdownloads.sourceforge.net/docbook/ |
53 | 53 |
54 Use the newest version. The URL will be something like this: | 54 Use the newest version. The URL will be something like this: |
55 | 55 |
56 http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.62.0.tar.gz | 56 http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.62.0.tar.gz |
57 | 57 |
58 Extract this package into a directory, enter it, and execute the following | 58 Extract this package into a directory, enter it, and execute the following |
59 commands: | 59 commands: |
60 | 60 |
61 mkdir -p /usr/share/sgml/docbook/stylesheet/xsl/nwalsh | 61 mkdir -p /usr/share/sgml/docbook/stylesheet/xsl/nwalsh |
62 cp -r VERSION common html lib \ | 62 cp -r VERSION common html lib /usr/share/sgml/docbook/stylesheet/xsl/nwalsh |
63 /usr/share/sgml/docbook/stylesheet/xsl/nwalsh | |
64 | 63 |
65 | 64 |
66 Building the documentation | 65 Building the documentation |
67 ~~~~~~~~~~~~~~~~~~~~~~~~~~ | 66 ~~~~~~~~~~~~~~~~~~~~~~~~~~ |
68 | 67 |
69 Before trying to build the documentation, run | 68 Before trying to build the documentation, run |
70 | 69 |
71 make help | 70 make help |
72 | 71 |
73 to see all available build targets and make your choice. If something goes | 72 to see all available build targets and make your choice. If something goes |
74 wrong, check the Configuration section of the toplevel Makefile and adjust | 73 wrong, check the Configuration section of the toplevel Makefile and adjust |
75 the variables. | 74 the variables. |
76 | 75 |
80 | 79 |
81 As far as I know, the document type declaration in XML files requires | 80 As far as I know, the document type declaration in XML files requires |
82 both a public and a system identifier. For example: | 81 both a public and a system identifier. For example: |
83 | 82 |
84 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" | 83 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
85 "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd"> | 84 "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd"> |
86 | 85 |
87 where | 86 where |
88 | 87 |
89 "-//OASIS//DTD DocBook XML V4.1.2//EN" | 88 "-//OASIS//DTD DocBook XML V4.1.2//EN" |
90 | 89 |
91 is the public, and | 90 is the public, and |
92 | 91 |
93 "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd" | 92 "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd" |
94 | 93 |
95 is the system identifier. | 94 is the system identifier. |
96 | 95 |
97 The problem is that the system identifier is most probably system-dependent. | 96 The problem is that the system identifier is most probably system-dependent. |
98 To avoid the need to manually fix the system identifiers before building the | 97 To avoid the need to manually fix the system identifiers before building the |