File: manual_34.html

package info (click to toggle)
ipe 6.0pre23-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,824 kB
  • ctags: 5,330
  • sloc: cpp: 30,712; ansic: 1,061; xml: 693; makefile: 66
file content (89 lines) | stat: -rw-r--r-- 4,316 bytes parent folder | download
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&nbsp;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>
&lt;!DOCTYPE TS&gt;&lt;TS&gt;
&lt;context&gt;
    &lt;name&gt;Key&lt;/name&gt;
    &lt;message&gt;
        &lt;source&gt;Ctrl+V&lt;/source&gt;
        &lt;comment&gt;Edit|Paste&lt;/comment&gt;
        &lt;translation&gt;F18&lt;/translation&gt;
    &lt;/message&gt;
    &lt;message&gt;
        &lt;source&gt;Ctrl+X&lt;/source&gt;
        &lt;comment&gt;Edit|Cut&lt;/comment&gt;
        &lt;translation&gt;F20&lt;/translation&gt;
    &lt;/message&gt;
    &lt;comment&gt;
    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.
    &lt;/comment&gt;
    &lt;message&gt;
        &lt;source&gt;none&lt;/source&gt;
        &lt;comment&gt;File|New Window&lt;/comment&gt;
        &lt;translation&gt;none&lt;/translation&gt;
    &lt;/message&gt;
    &lt;message&gt;
        &lt;source&gt;none&lt;/source&gt;
        &lt;comment&gt;File|Save as bitmap&lt;/comment&gt;
        &lt;translation&gt;none&lt;/translation&gt;
    &lt;/message&gt;
    &lt;message&gt;
        &lt;source&gt;none&lt;/source&gt;
        &lt;comment&gt;File|Exit&lt;/comment&gt;
        &lt;translation&gt;Ctrl+X,Ctrl+C&lt;/translation&gt;
    &lt;/message&gt;
&lt;/context&gt;
&lt;/TS&gt;
</pre>
<p>If you are using Qt version&nbsp;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>