<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=Translating_man_pages</id>
	<title>Translating man pages - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=Translating_man_pages"/>
	<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Translating_man_pages&amp;action=history"/>
	<updated>2026-05-29T22:23:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Translating_man_pages&amp;diff=67162&amp;oldid=prev</id>
		<title>Bech: /* Getting and installing apertium-c-formatters package */ Update for Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Translating_man_pages&amp;diff=67162&amp;oldid=prev"/>
		<updated>2018-06-15T11:48:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Getting and installing apertium-c-formatters package: &lt;/span&gt; Update for Git&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 11:48, 15 June 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;If you did not already recover apertium-c-formatters package for [[translating mnemonic files]], let start by making the following operations:&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;If you did not already recover apertium-c-formatters package for [[translating mnemonic files]], let start by making the following operations:&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;Download apertium-c-formatters from &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SVN&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;Download apertium-c-formatters from &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;GIT&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;svn&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;checkout&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;http&lt;/del&gt;://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;apertium&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;svn.sourceforge.net/svnroot&lt;/del&gt;/apertium&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/trunk&lt;/del&gt;/apertium-c-formatters&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;git&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;clone&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;--depth 1 https&lt;/ins&gt;://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;github&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;com&lt;/ins&gt;/apertium/apertium-c-formatters&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bech</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Translating_man_pages&amp;diff=50338&amp;oldid=prev</id>
		<title>Bech: Link to French page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Translating_man_pages&amp;diff=50338&amp;oldid=prev"/>
		<updated>2014-10-06T10:32:41Z</updated>

		<summary type="html">&lt;p&gt;Link to French page&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 10:32, 6 October 2014&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 colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;[[Traduction des pages de man|En français]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;&#039;&#039;&#039;Man pages&#039;&#039;&#039; format is not directly carried out by Apertium package. It is necessary to recover the package &#039;&#039;&#039;apertium-c-formatters&#039;&#039;&#039; to have a deformatter which takes into account specificities of this format.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;&#039;&#039;&#039;Man pages&#039;&#039;&#039; format is not directly carried out by Apertium package. It is necessary to recover the package &#039;&#039;&#039;apertium-c-formatters&#039;&#039;&#039; to have a deformatter which takes into account specificities of this format.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bech</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Translating_man_pages&amp;diff=36927&amp;oldid=prev</id>
		<title>Bech: /* See also */ correcting external link</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Translating_man_pages&amp;diff=36927&amp;oldid=prev"/>
		<updated>2012-10-18T12:03:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;See also: &lt;/span&gt; correcting external link&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 12:03, 18 October 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 104:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 104:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;== See also ==&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;== See also ==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;[http://new.linuxfocus.org/English/November2003/article309.shtml&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/del&gt; Documentation about man pages format]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;[http://new.linuxfocus.org/English/November2003/article309.shtml Documentation about man pages format]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;[[Category:Formats]]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;[[Category:Formats]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bech</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Translating_man_pages&amp;diff=36923&amp;oldid=prev</id>
		<title>Bech: Creating page</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Translating_man_pages&amp;diff=36923&amp;oldid=prev"/>
		<updated>2012-10-18T10:43:30Z</updated>

		<summary type="html">&lt;p&gt;Creating page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Man pages&amp;#039;&amp;#039;&amp;#039; format is not directly carried out by Apertium package. It is necessary to recover the package &amp;#039;&amp;#039;&amp;#039;apertium-c-formatters&amp;#039;&amp;#039;&amp;#039; to have a deformatter which takes into account specificities of this format.&lt;br /&gt;
&lt;br /&gt;
== Getting and installing apertium-c-formatters package ==&lt;br /&gt;
&lt;br /&gt;
If you did not already recover apertium-c-formatters package for [[translating mnemonic files]], let start by making the following operations:&lt;br /&gt;
&lt;br /&gt;
Download apertium-c-formatters from SVN:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn checkout http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-c-formatters&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Compile the source files:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Yes, compilation is very simple, and fast!&lt;br /&gt;
&lt;br /&gt;
Install the tools:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above command assumes you have write access to &amp;lt;code&amp;gt;/usr/local/bin&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/local/share/man&amp;lt;/code&amp;gt;. If not, enter the command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By defaut, as for lttoolbox, apertium, and the language pairs, the installation is done in &amp;lt;code&amp;gt;/usr/local/bin&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/local/share&amp;lt;/code&amp;gt;. If you wish to change the installation directory, you will have to change the first line of the &amp;#039;&amp;#039;makefile&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
install_dir=/usr/local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will be replaced by the parent directory where the executable commands will be. For example, if you put:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
install_dir=/usr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
tools will be installed in &amp;lt;code&amp;gt;/usr/bin&amp;lt;/code&amp;gt; and man pages in &amp;lt;code&amp;gt;/usr/share/man&amp;lt;/code&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
== Using ==&lt;br /&gt;
&lt;br /&gt;
=== Available tools ===&lt;br /&gt;
&lt;br /&gt;
Available tools to translate the man pages are the following:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;desman&amp;#039;&amp;#039;&amp;#039; : deformatter for man pages,&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;reman&amp;#039;&amp;#039;&amp;#039;  : generic reformatter used for man pages,&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;apertium-man&amp;#039;&amp;#039;&amp;#039; : a shell intended to make the translation of man pages easier.&lt;br /&gt;
&lt;br /&gt;
=== Translation by calling the various tools ===&lt;br /&gt;
&lt;br /&gt;
Assuming we are in the directory &amp;lt;code&amp;gt;/usr/share/man&amp;lt;/code&amp;gt; and we want to translate into Spanish the English version of the man page of the command &amp;#039;&amp;#039;desman&amp;#039;&amp;#039; that will be copied directly at the good place. We can type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat man1/desman.1 | desman | apertium -f none en-es | reman &amp;gt; es/man1/desman.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can notice that the command &amp;lt;code&amp;gt;apertium&amp;lt;/code&amp;gt; is executed with the &amp;lt;code&amp;gt;-f none&amp;lt;/code&amp;gt; option, which is necessary for the deformatter &amp;lt;code&amp;gt;apertium-destxt&amp;lt;/code&amp;gt; not to be used.&lt;br /&gt;
&lt;br /&gt;
We can also give file names as parameters of the deformatter and the reformatter:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
desman man1/desman.1 | apertium -f none en-es | reman - es/man1/desman.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can notice the dash &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; as the first parameter of &amp;lt;code&amp;gt;reman&amp;lt;/code&amp;gt; . Reformatters usually use the standard input (in this case the result produced by the command &amp;lt;code&amp;gt;apertium&amp;lt;/code&amp;gt;) whereas it can be useful to preserve the result of reformatting in a file. But the problem is the general syntax of apertium reformatters require to specify the output file as the 2nd parameter. The &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; as the first parameter permit to overcome this problem.&lt;br /&gt;
&lt;br /&gt;
=== More simple with the command apertium-man ===&lt;br /&gt;
&lt;br /&gt;
When a data format is integrated directly into the &amp;lt;code&amp;gt;apertium&amp;lt;/code&amp;gt; command, there is the &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; option to translate data produced in this format without having to call &amp;quot;by hand&amp;quot; a deformatter and a reformatter. The command &amp;lt;code&amp;gt;apertium-man&amp;lt;/code&amp;gt; is a shell which permits to do in the same way.&lt;br /&gt;
&lt;br /&gt;
For example, to translate into Esperanto the English version of the man page of the command &amp;#039;&amp;#039;apertium-man&amp;#039;&amp;#039; we can type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat man1/apertium-man.1 | apertium-man en-eo &amp;gt; eo/man1/apertium-man.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or even better:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apertium-man en-eo man1/apertium-man.1 eo/man1/apertium-man.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The options &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;-d datadir&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; of the command &amp;lt;code&amp;gt;apertium&amp;lt;/code&amp;gt; are caried out by &amp;lt;code&amp;gt;apertium-man&amp;lt;/code&amp;gt;. You just have place them before the parameter indicating the  translation direction (as for the command &amp;lt;code&amp;gt;apertium&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Characteristics of the deformatter for man pages ==&lt;br /&gt;
&lt;br /&gt;
Some lines of man pages starts with a mnemonics in capital letters preceded by a period. We can find in particular:&lt;br /&gt;
&lt;br /&gt;
* .TH&lt;br /&gt;
* .SH&lt;br /&gt;
* .TP&lt;br /&gt;
* .B&lt;br /&gt;
* .I&lt;br /&gt;
* .PP&lt;br /&gt;
&lt;br /&gt;
These mnemonic relates to the page layout of the document and do not have to be modified during the translation. The deformatter &amp;lt;code&amp;gt;desman&amp;lt;/code&amp;gt; mark as text to retain unchanged all beginnings of line starting with a period followed by one or more letters.&lt;br /&gt;
&lt;br /&gt;
In addition, the commands described in a man page can accept options: generally a letter preceded by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039;. To avoid the appearance of undesirable * (or even sometimes worse with some letters and some source languages),  the deformatter &amp;lt;code&amp;gt;desman&amp;lt;/code&amp;gt; mark as text to retain unchanged the &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; immediately followed (without space) of one or more alphanumerics characters.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
[http://new.linuxfocus.org/English/November2003/article309.shtml- Documentation about man pages format]&lt;br /&gt;
&lt;br /&gt;
[[Category:Formats]]&lt;br /&gt;
[[Category:Documentation in English]]&lt;/div&gt;</summary>
		<author><name>Bech</name></author>
		
	</entry>
</feed>