1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- XML file produced from file: manual.tex
using Hyperlatex v 2.6 (c) Otfried Cheong
on Emacs 21.3.1, Mon Nov 22 10:30:53 2004 -->
<head>
<title>Ipe Manual -- 13 Customizing Ipe</title>
<style type="text/css">
.maketitle { align : center }
div.abstract { margin-left: 20%; margin-right: 10%; }
h3.abstract { align : center }
div.verse, div.quote, div.quotation {
margin-left : 10%;
margin-right : 10%;
}
</style>
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffe6">
<table width="100%" cellpadding=0 cellspacing=2><tr><td bgcolor="#99ccff"><a href="manual_35.html"><img border="0" alt="14 The Ipe file format" src="next.png"></a></td><td bgcolor="#99ccff"><a href="manual.html"><img border="0" alt="Top" src="up.png"></a></td><td bgcolor="#99ccff"><a href="manual_33.html"><img border="0" alt="12 Unicode text" src="previous.png"></a></td><td align="center" bgcolor="#99ccff" width="100%"><b>13 Customizing Ipe</b></td></tr></table>
<h1>13 Customizing Ipe</h1>
<p>A few features of the Ipe user interface can be changed in the
<em>Preferences</em> dialog (in the <em>Help</em> menu).
<p>Ipe contains support for localizing the user interface into another
language. Contact me if you wish to do such a localization project.
<p>The keyboard shortcuts used by Ipe can be customized to your personal
taste. From the command line, run Ipe as
<pre>
ipe -savekeys ipekeys.qm
</pre>
This will save Ipe's untranslated keys into the file
<i>ipekeys.qm</i>. Translate <i>ipekeys.qm</i> into XML format using
<code>qm2ts</code> (from Qt 3), edit the resulting <i>ipekeys.ts</i> file
(you can discard definitions you do not wish to change, but see the
note in the example below), and compile back into <i>.qm</i> format
using <code>lrelease</code>. Install the resulting file as
<i>.ipe/ipekeys.qm</i> in your home directory, and restart Ipe.
<p>Here is an example of an edited <i>ipekeys.ts</i> by Kostas Oikonomou:
<pre>
<!DOCTYPE TS><TS>
<context>
<name>Key</name>
<message>
<source>Ctrl+V</source>
<comment>Edit|Paste</comment>
<translation>F18</translation>
</message>
<message>
<source>Ctrl+X</source>
<comment>Edit|Cut</comment>
<translation>F20</translation>
</message>
<comment>
If this is not here, although it's unchanged from the default setting,
File|New Window will show as Ctrl+X,Ctrl+C, because of the translation for
File|Exit, which also has source "none". Tricky! Same goes for other
similar situations.
</comment>
<message>
<source>none</source>
<comment>File|New Window</comment>
<translation>none</translation>
</message>
<message>
<source>none</source>
<comment>File|Save as bitmap</comment>
<translation>none</translation>
</message>
<message>
<source>none</source>
<comment>File|Exit</comment>
<translation>Ctrl+X,Ctrl+C</translation>
</message>
</context>
</TS>
</pre>
<p>If you are using Qt version 3.1.0 or higher (see <em>Help menu</em>,
<em>About Ipe</em> if you don't know), you can use shortcuts consisting
of more than one key, such as <em>Ctrl+X,Ctrl+C</em> as in the example
above (use commas to separate the key presses--up to four are
supported).
<hr />
<table width="100%" cellpadding=0 cellspacing=2><tr><td bgcolor="#99ccff"><a href="manual_35.html"><img border="0" alt="14 The Ipe file format" src="next.png"></a></td><td bgcolor="#99ccff"><a href="manual.html"><img border="0" alt="Top" src="up.png"></a></td><td bgcolor="#99ccff"><a href="manual_33.html"><img border="0" alt="12 Unicode text" src="previous.png"></a></td><td align="center" bgcolor="#99ccff" width="100%"><b>13 Customizing Ipe</b></td></tr></table></body></html>
|