<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://techbase.kde.org/skins/common/feed.css?0.2"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;feed=atom&amp;action=history</id>
		<title>Documentation Primer/Manual/Writing - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;action=history"/>
		<updated>2013-05-19T09:16:42Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;diff=75377&amp;oldid=prev</id>
		<title>Claus chr: Corrected links</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;diff=75377&amp;oldid=prev"/>
				<updated>2012-09-09T10:06:36Z</updated>
		
		<summary type="html">&lt;p&gt;Corrected links&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:06, 9 September 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;!--T:8--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;!--T:8--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You are welcome to use plain text to contribute to KDE documentation. It is a great way to start, and we strongly encourage it. If you will miss the power of the DocBook format as you improve your documentation skills, then you can learn it. In the mean time, someone will manually edit the plain text to add the DocBook markup and commit it to KDE svn or git repository, removing the burden of doing most of the more complex stuff covered in this very guide. We'll take a look at writing in DocBook and using svn or git later in this document, so if you're interested, read on, but if you want to use plain text, you can go directly to [[#Working with plain text sources]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You are welcome to use plain text to contribute to KDE documentation. It is a great way to start, and we strongly encourage it. If you will miss the power of the DocBook format as you improve your documentation skills, then you can learn it. In the mean time, someone will manually edit the plain text to add the DocBook markup and commit it to KDE svn or git repository, removing the burden of doing most of the more complex stuff covered in this very guide. We'll take a look at writing in DocBook and using svn or git later in this document, so if you're interested, read on, but if you want to use plain text, you can go directly to [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Special:myLanguage/Documentation Primer/Manual/Writing&lt;/ins&gt;#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Working with plain text sources|&lt;/ins&gt;Working with plain text sources]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;!--T:9--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;!--T:9--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 294:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 294:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;!--T:76--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;!--T:76--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Prevnext2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Prevnext2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| prevpage=Documentation_Primer/Manual/Getting Started&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| prevpage=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Special:myLanguage/&lt;/ins&gt;Documentation_Primer/Manual/Getting Started&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| prevtext=Getting Started&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| prevtext=Getting Started&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| nextpage=Documentation_Primer/Manual/DocBook&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| nextpage=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Special:myLanguage/&lt;/ins&gt;Documentation_Primer/Manual/DocBook&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| nexttext=DocBook Introduction&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| nexttext=DocBook Introduction&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| index=Documentation_Primer/Manual&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| index=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Special:myLanguage/&lt;/ins&gt;Documentation_Primer/Manual&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| indextext=Back to Menu&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| indextext=Back to Menu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/translate&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/translate&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Claus chr</name></author>	</entry>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;diff=75174&amp;oldid=prev</id>
		<title>Claus chr at 08:26, 2 September 2012</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;diff=75174&amp;oldid=prev"/>
				<updated>2012-09-02T08:26:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:26, 2 September 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;languages /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;languages /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{Transferring}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;translate&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;translate&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Claus chr</name></author>	</entry>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;diff=75142&amp;oldid=prev</id>
		<title>Claus chr at 09:02, 1 September 2012</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;diff=75142&amp;oldid=prev"/>
				<updated>2012-09-01T09:02:27Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:02, 1 September 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;languages /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;languages /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{Transferring}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;translate&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;translate&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wwwdeveloper:diff:version:1.11a:oldid:75114:newid:75142 --&gt;
&lt;/table&gt;</summary>
		<author><name>Claus chr</name></author>	</entry>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;diff=75114&amp;oldid=prev</id>
		<title>Claus chr: 1 revision: Moving Docbook Primer from UserBase to TechBase</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;diff=75114&amp;oldid=prev"/>
				<updated>2012-09-01T08:47:35Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Moving Docbook Primer from UserBase to TechBase&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:47, 1 September 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Claus chr</name></author>	</entry>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;diff=75113&amp;oldid=prev</id>
		<title>Yurchor: Marked this version for translation</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Documentation_Primer/Manual/Writing&amp;diff=75113&amp;oldid=prev"/>
				<updated>2012-05-23T04:42:06Z</updated>
		
		<summary type="html">&lt;p&gt;Marked this version for translation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages /&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Writing Documentation: Procedures and Tools == &amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
If you're worried about having to learn a lot of new tools and procedures in order to write documentation, you don't need to, because the information we've covered so far is everything you need to know to be able to contribute. Although we ''do'' have some tools we use and procedures we follow, it's not vital that everyone knows them in detail, especially when starting out.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
For example, all KDE documentation is written in DocBook XML, but we're very happy to receive documentation written in plain text. There are people on the documentation team who are very familiar with DocBook, and can easily add the markup if the content is there.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Another example: if you are starting to document an application from scratch, you don't need to get the sources of the current documentation. But if you are starting from existing documentation, you don't need to know about how to get the sources, there are other means to do that.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
Of course, if you want to learn about DocBook, you can. After a little practice, you will probably find that it's not as hard as it looks. And if you learn about dealing with a svn repository, you will be able to integrate yourself to the regular KDE development process (upload your changes, work together with other developers, etc.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&amp;lt;span id=&amp;quot;Getting the Documentation Sources&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
=== Getting the Documentation Sources === &amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
{{Note|1=If you are starting your document from scratch, you probably do not need to read this section, and may start working right now.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
You are welcome to use plain text to contribute to KDE documentation. It is a great way to start, and we strongly encourage it. If you will miss the power of the DocBook format as you improve your documentation skills, then you can learn it. In the mean time, someone will manually edit the plain text to add the DocBook markup and commit it to KDE svn or git repository, removing the burden of doing most of the more complex stuff covered in this very guide. We'll take a look at writing in DocBook and using svn or git later in this document, so if you're interested, read on, but if you want to use plain text, you can go directly to [[#Working with plain text sources]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
Documentation for KDE, like the rest of the source code, is kept in a svn or git repository. svn and git provide a way for many developers to work on the same source code (or in our case, the same documentation), and has many useful features to help with this. For example, previous versions of every file are saved so that any mistakes can be quickly backed out, if they cannot be easily corrected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
The basic principle behind svn is simple: one server stores a definitive copy of the files making up a project. This is known as the ''repository''. Each developer can download the files to make their own private copy, named ''working copy'' or ''sandbox''. Using svn, the developers can upload their modifications to the main repository (a process called &amp;quot;committing&amp;quot;) or update their own copy to reflect recent changes made by others.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
There are two main ways edit the contents of a KDE document you want to improve: using plain text or DocBook.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&amp;lt;span id=&amp;quot;Working with plain text sources&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Working with plain text sources ==== &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
The [http://docs.kde.org/ docs.kde.org website] displays most of the KDE documentation in HTML format, updated weekly from the svn and git repositories. There are two versions available in the website: the [http://docs.kde.org/index.php?language=en&amp;amp;amp;branch=stable stable version] and the [http://docs.kde.org/index.php?language=en&amp;amp;amp;branch=development KDE development version]. You will always use the latest version of the documentation, i.e. the [http://docs.kde.org/index.php?language=en&amp;amp;amp;branch=development KDE development version].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
The [http://docs.kde.org/index.php?language=en&amp;amp;amp;branch=development docs.kde.org website] presents a quick and easy method of retrieving the latest version of the KDE documentation. Clicking the name of the application you want to document in the list will open the documentation in your web browser. Simply copy the text from the website to your favorite text editor, edit it, and submit the results in plain text to the [mailto:kde-doc-english@kde.org KDE Documentation mailing list]. Please note that not all KDE applications are listed there. If you cannot find the documentation of the application you want to work with, then you can request it by sending a message to the KDE Documentation mailing list.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- other-tasks is commented chapter&lt;br /&gt;
&lt;br /&gt;
Now you know everything you need to start working. When you are&lt;br /&gt;
finished writing, you may want to read &amp;lt;xref linkend=&amp;quot;other-tasks&amp;quot; /&amp;gt;. Have fun!&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Retrieving the DocBook sources ==== &amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&amp;lt;!-- adapt to git + splitted module repos --&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
The latest DocBook sources are located inside the KDE repository. Now you need to find and retrieve them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
The software inside the KDE repository is divided into ''modules'', which are used to organize the different&lt;br /&gt;
software projects inside the repository. Modules are the top-level folders in the svn repository folder tree, and each one contains a group of related applications. These modules are sometimes released in binary&lt;br /&gt;
form as ''packages''. If you know the name of the package your application belongs to, you probably know the module name as well, as they are frequently the same. You need to know in which module your application is, to retrieve its DocBook sources. For instance, '''KMix''' is in the kdemultimedia module, '''Lokalize''' in the kdesdk module and so on. If you need any help in this process, don't hesitate to ask. Each module contains a folder named &amp;quot;doc&amp;quot;, and inside it, you can find the DocBook sources.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
To access the svn repository, you can use the kdesvn or browse the [http://websvn.kde.org KDE WebSVN website (websvn.kde.org)].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
The [http://websvn.kde.org websvn.kde.org] is a web based representation of the contents of the svn repository. It is easy to download files using [http://websvn.kde.org websvn.kde.org], the operating system or desktop you use does not matter.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
Retrieving your own working copy of the repository has many advantages. You will be able to use your working copy to create files containing the changes you made, to update your copy with changes made by other documenters, and if you get a KDE svn account, to upload your changes directly to the repository. But this is out of the scope of this section. Here we will show you simply how to retrieve the sources using svn the easiest way we can. &lt;br /&gt;
&amp;lt;/translate&amp;gt;&amp;lt;!-- sect managing-svn commented&lt;br /&gt;
You can get more information about these tools (they are really useful)&lt;br /&gt;
by reading the &amp;lt;xref linkend=&amp;quot;managing-svn&amp;quot; /&amp;gt;.&lt;br /&gt;
--&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
'''Retrieving documentation sources using WebSVN'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
# Go to [http://websvn.kde.org http://websvn.kde.org] using your favorite web browser. Let's suppose you are looking for '''Lokalize's''' documentation sources.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
# The KDE repository is divided into &amp;quot;trunk&amp;quot; (also known as HEAD, where development is going on, &amp;quot;branches&amp;quot;, where both stable and working branches live, and &amp;quot;tags&amp;quot;, where you can retrieve snapshots of sources at a release.  Most work for documentation goes on in &amp;quot;trunk&amp;quot;, so click there.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
# The main KDE modules are in the &amp;quot;KDE&amp;quot; folder, so click on that.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
# Click the &amp;quot;trunk&amp;quot; link to get the main branch listing. Click on &amp;quot;KDE&amp;quot; to get the list of modules from a KDE release.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
#'''Lokalize''' is part of the kdesdk module (KDE software development kit module). Therefore, click the &amp;quot;kdesdk&amp;quot; item on the list. The contents of the kdesdk module will be displayed.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
# Click the &amp;quot;doc&amp;quot; item on the list, to see the contents of the documentation folder of the module. The contents of the doc (documentation) folder will be displayed.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
# Select the application you want to work with from the list (in our case, &amp;quot;lokalize&amp;quot;). All '''Lokalize's''' documentation source files will be displayed, being images or DocBook files.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
# Now you reached the list of files that are part of '''Lokalize's''' documentation, including images and DocBook sources. The DocBook sources are files in the format &amp;lt;tt&amp;gt;*.docbook&amp;lt;/tt&amp;gt;. In this case, there is only one file file in this format: &amp;lt;tt&amp;gt;index.docbook&amp;lt;/tt&amp;gt;. Click this file on the list. A list of ''revisions'' (versions) of that file will be displayed.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
# Click the &amp;quot;download&amp;quot; link from the revision on the top of the list. It is the most recent one. Save the file. Repeat this process with all the files you want to download.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
We use '''Lokalize's''' documentation sources as example in the following procedures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
'''Retrieving documentation sources using svn'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:33--&amp;gt;&lt;br /&gt;
# Check if you have the svn client installed (hint: enter &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; in the terminal screen). If not, install the svn package using the tools provided by your distribution.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
# Now it is time to download, or ''checkout'' the sources. Using svn, type in the terminal:&amp;lt;/translate&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;translate&amp;gt;&amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
{{Input|1=&amp;lt;nowiki&amp;gt;mkdir &amp;lt;/nowiki&amp;gt;'''''path/to/working/folder'''''&amp;lt;nowiki&amp;gt;&lt;br /&gt;
cd &amp;lt;/nowiki&amp;gt;'''''path/to/working/folder'''''&amp;lt;nowiki&amp;gt;&lt;br /&gt;
svn checkout svn://anonsvn.kde.org/home/kde/&amp;lt;/nowiki&amp;gt;'''''trunk/KDE/module'''''/doc/'''''application'''''}}&amp;lt;/translate&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;translate&amp;gt;&amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
where '''''path/to/working/folder''''' is the folder you want to install the sources in your system, '''''trunk/KDE/module''''' is the application's module location in the repository and '''''application''''' is the application name. Remember to use small caps to type the application and module names. In our example, '''Lokalize''' is in the kdesdk module, so you would enter:&amp;lt;/translate&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;translate&amp;gt;&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
{{Input|1=&amp;lt;nowiki&amp;gt;svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk/doc/lokalize&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
Note that only applications which are part of a regular KDE release are under '''''trunk/KDE/'''''. '''Amarok''' docs, for instance, is in the multimedia module of extragear. Extragear contains mature applications which are not part of a KDE release. To get '''KMyMoney''' docs, type in the terminal:&lt;br /&gt;
{{Input|1=&amp;lt;nowiki&amp;gt;svn checkout svn://anonsvn.kde.org/home/kde/trunk/extragear/office/doc/kmymoney&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&amp;lt;span id=&amp;quot;Kate&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Kate === &amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:40--&amp;gt;&lt;br /&gt;
'''Kate''' is an extensible and powerful text editor which is part of the kdebase module. Kate can syntax highlight DocBook documents out of the box, and is generally a very powerful editor, but you can get even more XML specific functionality installing the XML plugin for '''Kate'''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:41--&amp;gt;&lt;br /&gt;
'''Installing the XML plugin for Kate'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:42--&amp;gt;&lt;br /&gt;
# The XML plugin for '''Kate is part of the kate module.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:43--&amp;gt;&lt;br /&gt;
# Open the '''Configure Kate''' dialog by choosing the &amp;lt;menuchoice&amp;gt;Settings -&amp;gt; Configure Kate...&amp;lt;/menuchoice&amp;gt; menu item.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:44--&amp;gt;&lt;br /&gt;
# Select the &amp;lt;menuchoice&amp;gt;Plugins&amp;lt;/menuchoice&amp;gt; item from the &amp;lt;menuchoice&amp;gt;Application&amp;lt;/menuchoice&amp;gt; tree. Check the &amp;lt;menuchoice&amp;gt;XML Completion&amp;lt;/menuchoice&amp;gt; and the &amp;lt;menuchoice&amp;gt;XML Validation&amp;lt;/menuchoice&amp;gt; boxes.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;[[Image:Kate-plugin.png|thumb|350px|center|A screenshot of Kate's Plugin Manager Configure&lt;br /&gt;
Dialog]]&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:45--&amp;gt;&lt;br /&gt;
# Press &amp;lt;menuchoice&amp;gt;OK&amp;lt;/menuchoice&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:46--&amp;gt;&lt;br /&gt;
With the XML plugin for Kate installed, you will have autocompletion, autoclosing for DocBook tags and entities. Since KDE documentation uses entities widely, this is a very welcome feature. Additional XML tools will be available trough the &amp;lt;menuchoice&amp;gt;XML&amp;lt;/menuchoice&amp;gt; menu (in special, trough the &amp;lt;menuchoice&amp;gt;Validate XML&amp;lt;/menuchoice&amp;gt; menu item, which will allow you to check your DocBook documents). The output of this action will appear in the &amp;lt;menuchoice&amp;gt;XML Checker Output&amp;lt;/menuchoice&amp;gt; button in the side bar located in the lower part of '''Kate's''' main window.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:47--&amp;gt;&lt;br /&gt;
[[Image:Kate-validate-xml.png|thumb|350px|center|A screenshot of Kate's Main Window showing the XML Checker Output]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt; &amp;lt;!-- remove emacs-and-psgml ? --&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&amp;lt;span id=&amp;quot;Emacs and Psgml&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Emacs and Psgml === &amp;lt;!--T:48--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:49--&amp;gt;&lt;br /&gt;
The venerable '''Emacs''' editor has a powerful SGML and XML editing mode called psgml. The price of this power is a steeper learning curve than the other editors, so if you haven't used '''Emacs''' before, you will probably want to try the other editors first. If, on the other hand, you're already familiar with&lt;br /&gt;
'''Emacs''', then psgml is your best choice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
Installation of psgml is beyond the scope of this document, but it should simply be a case of installing appropriate packages for your distribution. The relevant configuration for KDE-related documentation is simple. Just tell psgml where the KDE catalog files are located with the following line in your &amp;lt;tt&amp;gt;.emacs&amp;lt;/tt&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:51--&amp;gt;&lt;br /&gt;
{{Input|1=(setq sgml-catalog-files &lt;br /&gt;
  (list &amp;quot;CATALOG&amp;quot; &amp;quot;'''''KDEDIR'''''/share/apps/ksgmltools2/customization/catalog&amp;quot;))}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:52--&amp;gt;&lt;br /&gt;
where you should replace '''''KDEDIR''''' with the path to your KDE installation. You might also want to use the following line to instruct '''Emacs''' to use psgml to open all &amp;lt;tt&amp;gt;.docbook&amp;lt;/tt&amp;gt; files:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:53--&amp;gt;&lt;br /&gt;
{{Input|1=(setq auto-mode-alist&lt;br /&gt;
      (cons '(&amp;quot;\\.docbook$&amp;quot; . sgml-mode) auto-mode-alist))}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:54--&amp;gt;&lt;br /&gt;
There are of course plenty of other settings in psgml mode which you can change to your taste: see the psgml &amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; documentation for more details. &lt;br /&gt;
&amp;lt;/translate&amp;gt;&amp;lt;!-- dead link&lt;br /&gt;
A sample &amp;lt;filename&amp;gt;.emacs&amp;lt;/filename&amp;gt;&lt;br /&gt;
file, with some customizations useful for writing KDE documentation,&lt;br /&gt;
can be found at &amp;lt;ulink&lt;br /&gt;
url=&amp;quot;http://people.fruitsalad.org/phil/kde/dot-emacs-psgml&amp;quot;&amp;gt;http://people.fruitsalad.org/phil/kde/dot-emacs-psgml&amp;lt;/ulink&amp;gt;.&lt;br /&gt;
--&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:55--&amp;gt;&lt;br /&gt;
Some basic keystrokes in psgml are:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:56--&amp;gt;&lt;br /&gt;
;&amp;lt;keycap&amp;gt;Ctrl + C /&amp;lt;/keycap&amp;gt;&lt;br /&gt;
:End current element. This inserts an end tag for the currently open element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:57--&amp;gt;&lt;br /&gt;
;&amp;lt;keycap&amp;gt;Meta + Tab&amp;lt;/keycap&amp;gt;&lt;br /&gt;
:Completes the current tag or entity, context-sensitively. This will only complete on tags that are allowed at the current point in the document. Note that, because indentation is rarely used in KDE documentation, it is generally safe to remap this function to just the &amp;lt;keycap&amp;gt;Tab&amp;lt;/keycap&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:58--&amp;gt;&lt;br /&gt;
;&amp;lt;keycap&amp;gt;Ctrl + C&amp;lt;/keycap&amp;gt; &amp;lt;keycap&amp;gt;Ctrl + F&amp;lt;/keycap&amp;gt; &amp;lt;keycap&amp;gt;Ctrl + E&amp;lt;/keycap&amp;gt;&lt;br /&gt;
:Fold current element. This compresses the current element so that only the starting tag appears. One use of this is to fold all the &amp;lt;tt&amp;gt;chapter&amp;lt;/tt&amp;gt; elements in a document, to get an overview of the document on one screen, and make navigation around a long document easier. You can unfold elements with the shortcut &amp;lt;keycap&amp;gt;Ctrl + C&amp;lt;/keycap&amp;gt; &amp;lt;keycap&amp;gt;Ctrl + U&amp;lt;/keycap&amp;gt; &amp;lt;keycap&amp;gt;Ctrl + E&amp;lt;/keycap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:59--&amp;gt;&lt;br /&gt;
One particularly useful psgml feature that isn't well documented is the sgml-parent-document variable. Setting this variable appropriately tells psgml that this file is part of a larger document. This enables the full range of psgml features for this file, such as context-sensitive element completion. To use this feature, place the following in a comment at the end of the child file (with the arguments adjusted appropriately):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:60--&amp;gt;&lt;br /&gt;
{{Input|1=Local Variables:&lt;br /&gt;
sgml-parent-document:(&amp;quot;index.docbook&amp;quot; &amp;quot;book&amp;quot; &amp;quot;chapter&amp;quot;)&lt;br /&gt;
End:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:61--&amp;gt;&lt;br /&gt;
The first argument is the name of the parent file (which will almost always be &amp;lt;tt&amp;gt;index.docbook&amp;lt;/tt&amp;gt; in KDE&lt;br /&gt;
documentation). The second argument is the top-level (or &amp;quot;root&amp;quot;) element of the whole document (i.e., in the parent file). The third argument is the top-level element in this file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&amp;lt;span id=&amp;quot;Checking and Viewing the Documents&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Checking and Viewing the Documents === &amp;lt;!--T:62--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:63--&amp;gt;&lt;br /&gt;
There are a couple of KDE-specific tools for manipulating DocBook files, namely '''meinproc4''' and '''checkxml'''. '''checkxml''' (as the name suggests) is used to check that documents are valid, well-formed&lt;br /&gt;
XML, and '''meinproc4''' converts DocBook files to HTML. Here's some hints on using each of them:&lt;br /&gt;
&lt;br /&gt;
==== Using checkXML ==== &amp;lt;!--T:64--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:65--&amp;gt;&lt;br /&gt;
'''checkXML''' is a simple command with only one argument: the file to check. However, the output can be a bit daunting, since one small mistake can cause a cascade of errors. The trick is to look at the first error, fix that error, save the file, and run '''checkXML''' again. Often, fixing that one error will get rid of all the other error messages. When running '''meinproc4''', the same procedure applies.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;!-- TODO: Some common errors and how to fix them --&amp;gt;&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:66--&amp;gt;&lt;br /&gt;
Most errors in DocBook sources fall into one of a few categories. Here are descriptions of some of the most common errors and their solutions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:67--&amp;gt;&lt;br /&gt;
;Opening and ending tag mismatch&lt;br /&gt;
{{Output|1=index.docbook:880: parser error : Opening and ending tag mismatch: para &lt;br /&gt;
line 879 and sect2&lt;br /&gt;
&amp;amp;lt;/sect2&amp;amp;gt;&lt;br /&gt;
        ^}}&lt;br /&gt;
This is possibly the most common type of error. It's caused either by an element that hasn't been closed, or by tags that overlap. The error above was generated by the following markup:&lt;br /&gt;
{{Input|1=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:68--&amp;gt;&lt;br /&gt;
&amp;lt;sect2&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
878: running &amp;amp;meinproc;, the same procedure applies.&lt;br /&gt;
879: &amp;amp;checkxml; is a simple command with&lt;br /&gt;
880: &amp;lt;/sect2&amp;gt;&lt;br /&gt;
...}}&lt;br /&gt;
The &amp;lt;code&amp;gt;para&amp;lt;/code&amp;gt; tag on line 879 has not been closed before the &amp;lt;code&amp;gt;sect2&amp;lt;/code&amp;gt; on line 880, causing the error. The simple fix in this case is to add a &amp;lt;code&amp;gt;para&amp;lt;/code&amp;gt; before the closing &amp;lt;code&amp;gt;sect2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:69--&amp;gt;&lt;br /&gt;
;Element does not follow the DTD&lt;br /&gt;
{{Output|1=index.docbook:932: element qandaentry: validity error : Element qandaentry content &lt;br /&gt;
does not follow the DTD, expecting (blockinfo? , revhistory? , question , answer*), got (answer)&lt;br /&gt;
&amp;amp;lt;/para&amp;amp;gt;&amp;amp;lt;/answer&amp;amp;gt;&amp;amp;lt;/qandaentry&amp;amp;gt;&lt;br /&gt;
                             ^}}&lt;br /&gt;
This error is caused by an element in the document not matching the requirements of the DocBook DTD (Document Type Definition). The DTD specifies what each element must contain. This list is shown after &amp;lt;tt&amp;gt;expecting&amp;lt;/tt&amp;gt; in the error message. This so-called &amp;quot;content model&amp;quot; is quite difficult to understand at first: refer to the Duck Book and the section &amp;quot;Understanding Content Models&amp;quot; for full information.&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
The text after &amp;lt;tt&amp;gt;got&amp;lt;/tt&amp;gt; shows the content actually found in the document.&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
In the example above, we have a &amp;lt;code&amp;gt;qandaentry&amp;lt;/code&amp;gt; which is missing the required &amp;lt;code&amp;gt;question&amp;lt;/code&amp;gt; element. This was generated by the following input:&lt;br /&gt;
{{Input|1=&amp;lt;qandaset&amp;gt;&lt;br /&gt;
&amp;lt;qandaentry&amp;gt;&amp;lt;answer&amp;gt;An answer&lt;br /&gt;
&amp;lt;/answer&amp;gt;&amp;lt;/qandaentry&amp;gt;&lt;br /&gt;
&amp;lt;/qandaset&amp;gt;}}&lt;br /&gt;
Adding a &amp;lt;code&amp;gt;question&amp;lt;/code&amp;gt; element before the &amp;lt;code&amp;gt;answer&amp;lt;/code&amp;gt; fixes the problem.&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
An easy mistake to make is to forget to put a &amp;lt;code&amp;gt;para&amp;lt;/code&amp;gt; element around text in, for example, a &amp;lt;code&amp;gt;listitem&amp;lt;/code&amp;gt; or a &amp;lt;code&amp;gt;sect'''''n'''''&amp;lt;/code&amp;gt;. This will be shown as &amp;lt;tt&amp;gt;CDATA&amp;lt;/tt&amp;gt; in the &amp;lt;tt&amp;gt;got&amp;lt;/tt&amp;gt; section of the error.&lt;br /&gt;
&lt;br /&gt;
==== Using meinproc4 ==== &amp;lt;!--T:70--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:71--&amp;gt;&lt;br /&gt;
The most common way to run '''meinproc4''' is simply as&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:72--&amp;gt;&lt;br /&gt;
{{Input|1=meinproc4 '''''docbook-file'''''}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:73--&amp;gt;&lt;br /&gt;
where '''''docbook-file''''' is usually &amp;lt;tt&amp;gt;index.docbook&amp;lt;/tt&amp;gt;. This command creates HTML pages from the DocBook file. Note that these pages are only viewable in KDE-based browsers (like '''Konqueror'''). If you need to view the HTML output in another browser (for example, if you're placing it on line), use &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:74--&amp;gt;&lt;br /&gt;
{{Input|1=meinproc4 --stylesheet '''''stylesheet-name''''' '''''docbook-file'''''}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:75--&amp;gt;&lt;br /&gt;
where '''''stylesheet-name''''' is the full path to one of the XSL stylesheets in &amp;lt;tt&amp;gt;$KDEDIR/share/apps/ksgmltools/customization&amp;lt;/tt&amp;gt;. To produce output suitable for the web, you can use &amp;lt;tt&amp;gt;kde-web.xsl&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;kde-chunk-online.xsl&amp;lt;/tt&amp;gt;. See the &amp;lt;tt&amp;gt;README&amp;lt;/tt&amp;gt; file in that folder for more details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:76--&amp;gt;&lt;br /&gt;
{{Prevnext2&lt;br /&gt;
| prevpage=Documentation_Primer/Manual/Getting Started&lt;br /&gt;
| prevtext=Getting Started&lt;br /&gt;
| nextpage=Documentation_Primer/Manual/DocBook&lt;br /&gt;
| nexttext=DocBook Introduction&lt;br /&gt;
| index=Documentation_Primer/Manual&lt;br /&gt;
| indextext=Back to Menu&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Yurchor</name></author>	</entry>

	</feed>