Code

Make curvature work again by fixing a minor omission
[inkscape.git] / doc / keys-svg.xsl
1 <?xml version="1.0" encoding="utf-8"?> 
3 <xsl:stylesheet
4    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
5    xmlns="http://www.w3.org/2000/svg"
6    xmlns:k="http://www.inkscape.org/namespaces/keys"
7    xmlns:h="http://www.w3.org/1999/xhtml"
8    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
9    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
10    xmlns:xlink="http://www.w3.org/1999/xlink"
11    exclude-result-prefixes="k"
12 >
14 <xsl:output method="xml" encoding="utf-8" indent="no"/>
16 <xsl:variable name="style-section" select="'fill:black;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;font-style:normal;font-weight:bold;font-size:24;text-anchor:start;writing-mode:lr;letter-spacing:-2;'"/>
17 <xsl:variable name="space-section" select="28"/>
18 <xsl:variable name="skip-section-title" select="21"/>
19 <xsl:variable name="skip-section-content" select="25"/>
21 <xsl:variable name="space-group" select="3"/>
22 <xsl:variable name="skip-group-content" select="1.5"/>
24 <xsl:variable name="style-title" select="'fill:black;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;font-style:oblique;font-weight:bold;font-size:7.4;text-anchor:start;writing-mode:lr;letter-spacing:-0.2;'"/>
25 <xsl:variable name="space-title" select="7"/>
26 <xsl:variable name="skip-title-content" select="5"/>
28 <xsl:variable name="space-keys" select="8"/>
29 <xsl:variable name="skip-keys-content" select="1"/>
30 <xsl:variable name="skip-keys-action" select="5"/> <!-- from keys-content -->
32 <xsl:variable name="space-mouse" select="11.5"/>
33 <xsl:variable name="skip-mouse-content" select="1.5"/>
34 <xsl:variable name="skip-mouse-action" select="5"/> <!-- from mouse-content -->
36 <xsl:variable name="style-note" select="'fill:black;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;font-style:normal;font-weight:normal;font-size:3;text-anchor:start;writing-mode:lr;letter-spacing:0;'"/>
37 <xsl:variable name="space-note" select="4"/>
38 <xsl:variable name="skip-note-content" select="3"/>
40 <xsl:variable name="style-letterkey" select="'fill:black;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;font-style:normal;font-weight:normal;font-size:4.4;text-anchor:start;writing-mode:lr;'"/>
41 <xsl:variable name="style-keyf" select="'fill:black;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;font-style:normal;font-weight:normal;font-size:3.3;text-anchor:start;writing-mode:lr;letter-spacing:-0.4;'"/>
42 <xsl:variable name="style-keymisc" select="'fill:black;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;font-style:normal;font-weight:normal;font-size:3.4;text-anchor:start;writing-mode:lr;letter-spacing:-0.2;'"/>
43 <xsl:variable name="style-action" select="'fill:black;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;font-style:normal;font-weight:normal;font-size:6.4;text-anchor:start;writing-mode:lr;letter-spacing:-0.4;'"/>
45 <xsl:variable name="section-width" select="215"/>
46 <xsl:variable name="section-hskip" select="2"/>
47 <xsl:variable name="note-hskip" select="6"/>
49 <xsl:variable name="action-hskip" select="3"/>
51 <xsl:variable name="w-shift" select="15.46"/>
52 <xsl:variable name="w-ctrl" select="12.38"/>
53 <xsl:variable name="w-alt" select="10.67"/>
54 <xsl:variable name="w-left" select="8.7"/>
55 <xsl:variable name="w-right" select="10.9"/>
56 <xsl:variable name="w-letterkey" select="8.00"/>
57 <xsl:variable name="w-misc-wide" select="17.46"/>
58 <xsl:variable name="w-misc" select="12.38"/>
59 <xsl:variable name="w-arrows" select="12.38"/>
60 <xsl:variable name="w-mouse" select="7.0"/>
62 <xsl:variable name="w-key" select="31"/>
64 <xsl:template match="k:root">
65 <xsl:comment>
67 Do not edit this file.
68 It is generated automatically from doc/keys.xml by doc/keys-svg.xsl.
70 </xsl:comment>
71 <svg
72    version="1.0"
73    x="0"
74    y="0"
75    width="744.094482"
76    height="1052.36218"
77    id="svg559"
78    sodipodi:version="0.32"
79    inkscape:version="0.37cvs"
80    sodipodi:docname="keys-sample.svg"
81    xmlns="http://www.w3.org/2000/svg"
82    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
83    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
84    xmlns:xlink="http://www.w3.org/1999/xlink"
85    sodipodi:docbase="/home/d/ink/inkscape">
86   <sodipodi:namedview
87      id="base"
88      inkscape:zoom="0.48"
89      inkscape:cx="736"
90      inkscape:cy="588"
91      inkscape:window-width="780"
92      inkscape:window-height="580"
93      inkscape:window-x="0"
94      inkscape:window-y="0"
95      showborder="false" />
96   <defs
97      id="defs561">
98     <linearGradient
99        id="linearGradient711">
100       <stop
101          style="stop-color:#ffffff;stop-opacity:1;"
102          offset="0.00000000"
103          id="stop712" />
104       <stop
105          style="stop-color:#868686;stop-opacity:1;"
106          offset="1.00000000"
107          id="stop713" />
108     </linearGradient>
109     <linearGradient
110        id="linearGradient607">
111       <stop
112          style="stop-color:#cfcfcf;stop-opacity:1;"
113          offset="0.000000"
114          id="stop608" />
115       <stop
116          style="stop-color:#efefef;stop-opacity:1;"
117          offset="1.000000"
118          id="stop609" />
119     </linearGradient>
120     <linearGradient
121        id="linearGradient565">
122       <stop
123          style="stop-color:#9d9d9f;stop-opacity:1;"
124          offset="0.000000"
125          id="stop566" />
126       <stop
127          style="stop-color:#e5e5e5;stop-opacity:1;"
128          offset="1.000000"
129          id="stop567" />
130     </linearGradient>
131     <radialGradient
132        id="radialGradient568"
133        xlink:href="#linearGradient711"
134        cx="0.69677418"
135        cy="0.30366492"
136        r="0.87194777"
137        fx="0.69677418"
138        fy="0.30366492"
139        spreadMethod="reflect" />
140     <linearGradient
141        id="linearGradient569"
142        xlink:href="#linearGradient565"
143        y2="-0.03731298"
144        x2="0.72092992"
145        y1="0.99253702"
146        x1="-0.08527008"
147        spreadMethod="pad"
148        gradientUnits="objectBoundingBox" />
149     <linearGradient
150        id="linearGradient580"
151        xlink:href="#linearGradient565"
152        y2="0.00000002"
153        x2="-0.04651194"
154        y1="0.99253708"
155        x1="-0.00775294"
156        spreadMethod="pad"
157        gradientUnits="objectBoundingBox" />
158     <linearGradient
159        xlink:href="#linearGradient565"
160        id="linearGradient576" />
161     <linearGradient
162        xlink:href="#linearGradient607"
163        id="linearGradient610"
164        x1="0.11764701"
165        y1="0.86885244"
166        x2="0.78280514"
167        y2="0.12295082"
168        gradientUnits="objectBoundingBox"
169        spreadMethod="pad" />
170     <linearGradient
171        xlink:href="#linearGradient565"
172        id="linearGradient611"
173        x1="0.10837435"
174        y1="0.94531250"
175        x2="0.76847297"
176        y2="0.28125000"
177        gradientUnits="objectBoundingBox"
178        spreadMethod="pad" />
179     <linearGradient
180        xlink:href="#linearGradient607"
181        id="linearGradient613"
182        x1="0.23529346"
183        y1="0.85156250"
184        x2="0.82805431"
185        y2="0.12499999"
186        gradientUnits="objectBoundingBox"
187        spreadMethod="pad" />
188     <linearGradient
189        xlink:href="#linearGradient565"
190        id="linearGradient615"
191        x1="0.10731713"
192        y1="0.82031238"
193        x2="0.87804890"
194        y2="0.07812499"
195        gradientUnits="objectBoundingBox"
196        spreadMethod="pad" />
197     <linearGradient
198        xlink:href="#linearGradient607"
199        id="linearGradient620" />
200   </defs>
202 <!-- Inkscape does not yet support svg:use of an object in defs, therefore we define the key graphics here (on the canvas at 0,0) -->
203 <!-- They will be overlaid by the background rectangle of the first section -->
205 <!-- mouse images -->
207   <g
208      id="left-click">
209     <path
210        style="font-size:12;fill:url(#radialGradient568);fill-rule:evenodd;stroke-width:1pt;"
211        d="M 3.6677089 0.69866497 C 2.5111219 0.70247797 0.60176688 0.87400498 0.48616554 2.6404201 C 0.36648452 4.20794 0.58434883 5.5470015 1.1224739 6.7127964 C 1.6478125 7.8945497 2.3280327 8.770865 3.7101306 8.791406 C 3.7261892 8.791406 3.7366738 8.791641 3.7525494 8.791406 C 5.1346474 8.770865 5.8148662 7.8945497 6.3402062 6.7127964 C 6.8783313 5.5470015 7.0961985 4.20794 6.9765161 2.6404201 C 6.8609133 0.87400498 4.9515568 0.70247797 3.7949711 0.69866497 C 3.7582543 0.69854407 3.702741 0.69866497 3.6677089 0.69866497 z "
212        id="path742"
213        transform="matrix(0.886947,0.000000,0.000000,0.886947,0.279045,1.170720)" />
214     <path
215        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.137792;"
216        d="M 4.9596784 0.75757138 L 4.9596784 4.5604601 "
217        id="path741"
218        transform="matrix(0.886947,0.000000,0.000000,0.886947,0.279045,1.170720)" />
219     <path
220        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
221        d="M 2.5836552 0.75683638 C 1.5807894 0.90294429 0.56647766 1.3378565 0.48232843 2.6236796 C 0.42599755 3.3614571 0.43206257 3.9104527 0.52347935 4.5527658 L 2.5836552 4.5527658 L 2.5836552 0.75683638 z "
222        id="path740"
223        transform="matrix(0.886947,0.000000,0.000000,0.886947,0.279045,1.170720)" />
224     <path
225        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.137792;"
226        d="M 2.5571164 0.75757138 L 2.5571164 4.5604601 "
227        id="path739"
228        transform="matrix(0.886947,0.000000,0.000000,0.886947,0.279045,1.170720)" />
229     <path
230        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.137792;"
231        d="M 0.52620977 4.5687418 L 6.9386881 4.5687418 "
232        id="path738"
233        transform="matrix(0.886947,0.000000,0.000000,0.886947,0.279045,1.170720)" />
234     <text
235        xml:space="preserve"
236        style="font-size:1.2;font-weight:normal;stroke-width:1pt;font-family:Bitstream Vera Sans;"
237        x="0.44536325"
238        y="0.10000575"
239        id="text743"
240        sodipodi:linespacing="100%"
241        transform="matrix(1.288158,0.000000,0.000000,1.288158,0.279045,1.170720)"><tspan
242          x="0.44536325"
243          y="0.10000575"
244          sodipodi:role="line"
245          id="tspan748">click</tspan></text>
246   </g>
248   <g
249      id="left-drag"
250      transform="translate(0.000000,1.125000e-6)">
251     <path
252        style="font-size:12;fill:url(#radialGradient568);fill-rule:evenodd;stroke-width:1pt;"
253        d="M 4.2811092,3.6456834 C 3.5204235,3.6481912 2.2646447,3.7610042 2.1886133,4.9227722 C 2.1098991,5.9537272 2.2531880,6.8344255 2.6071123,7.6011667 C 2.9526262,8.3784037 3.4000056,8.9547546 4.3090093,8.9682645 C 4.3195716,8.9682645 4.3264664,8.9684190 4.3369079,8.9682645 C 5.2459115,8.9547546 5.6932901,8.3784037 6.0388055,7.6011667 C 6.3927298,6.8344255 6.5360202,5.9537272 6.4573052,4.9227722 C 6.3812739,3.7610042 5.1254936,3.6481912 4.3648094,3.6456834 C 4.3406607,3.6456039 4.3041493,3.6456834 4.2811092,3.6456834 z "
254        id="path737" />
255     <path
256        style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.0906254;"
257        d="M 5.1308348,3.6844260 L 5.1308348,6.1855791"
258        id="path736" />
259     <path
260        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
261        d="M 3.5681284,3.6839426 C 2.9085453,3.7800375 2.2414340,4.0660784 2.1860899,4.9117621 C 2.1490409,5.3969969 2.1530295,5.7580703 2.2131543,6.1805185 L 3.5681284,6.1805185 L 3.5681284,3.6839426 z "
262        id="path735" />
263     <path
264        style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.0906254;"
265        d="M 2.2149502,6.1910258 L 6.4324262,6.1910258"
266        id="path733" />
267     <path
268        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
269        d="M 0.87308887,0.18494458 C 1.9614707,0.76553855 2.1048185,1.7016907 2.2121750,2.6779119 C 2.6396563,2.5147384 2.5518759,2.6983745 2.9793570,2.5352012 C 3.0152194,1.1271410 2.9896720,0.37476438 2.2995828,-0.38186391 C 1.8611988,-0.016212694 1.4403488,0.10428085 0.87308887,0.18494458 z "
270        id="path732"
271        sodipodi:nodetypes="ccccc" />
272     <path
273        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
274        d="M 1.5112588,2.4479293 L 4.3111764,2.3405949 L 2.5176694,3.6888367 L 1.5112588,2.4479293 z "
275        id="path731"
276        sodipodi:nodetypes="cccc" />
277     <text
278        xml:space="preserve"
279        style="font-size:1.2;font-weight:normal;stroke-width:1pt;font-family:Bitstream Vera Sans;"
280        x="2.55886233"
281        y="1.00883842"
282        id="text750"
283        sodipodi:linespacing="100%"
284        transform="scale(1.288158,1.288158)"><tspan
285          x="2.55886245"
286          y="1.00883842"
287          sodipodi:role="line"
288          id="tspan751">drag</tspan></text>
289   </g>
291   <g
292      id="mid-click">
293     <path
294        style="font-size:12;fill:url(#radialGradient568);fill-rule:evenodd;stroke-width:1pt;"
295        d="M 3.5020868 1.7911048 C 2.4762557 1.7944862 0.78275968 1.9466216 0.68022768 3.5133391 C 0.57407668 4.9036459 0.76731068 6.0913227 1.2445987 7.125321 C 1.7105457 8.1734737 2.3138647 8.9507193 3.5397118 8.9689372 C 3.5539558 8.9689372 3.5632548 8.9691456 3.5773358 8.9689372 C 4.8031828 8.9507193 5.4065018 8.1734737 5.8724498 7.125321 C 6.3497388 6.0913227 6.5429749 4.9036459 6.4368238 3.5133391 C 6.3342898 1.9466216 4.6407908 1.7944862 3.6149618 1.7911048 C 3.5823958 1.7909978 3.5331588 1.7911048 3.5020868 1.7911048 z "
296        id="path753" />
297     <path
298        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.122214;"
299        d="M 0.71574468 5.2236579 L 6.4032718 5.2236579 "
300        id="path757" />
301     <text
302        xml:space="preserve"
303        style="font-size:1.3;font-weight:normal;stroke-width:1pt;font-family:Bitstream Vera Sans;"
304        x="1.24093144"
305        y="1.00938547"
306        id="text765"
307        sodipodi:linespacing="100%"
308        transform="scale(1.288158,1.288158)"><tspan
309          x="1.24093139"
310          y="1.00938547"
311          sodipodi:role="line"
312          id="tspan766">click</tspan></text>
313     <path
314        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
315        d="M 2.4989727 1.8559797 L 2.4989727 5.265219 L 4.6627718 5.265219 L 4.6627718 1.8559797 C 3.9666658 1.7238863 3.2453998 1.7238863 2.4989727 1.8559797 z "
316        id="path772"
317        sodipodi:nodetypes="ccccc" />
318   </g>
320   <g
321      id="mid-drag"
322      transform="translate(-1.125000e-6,1.125000e-6)">
323     <path
324        style="font-size:12;fill:url(#radialGradient568);fill-rule:evenodd;stroke-width:1pt;"
325        d="M 4.2312960,3.5918108 C 3.4643678,3.5943388 2.1982835,3.7080776 2.1216282,4.8793802 C 2.0422680,5.9187954 2.1867335,6.8067213 2.5435616,7.5797547 C 2.8919109,8.3633701 3.3429624,8.9444505 4.2594258,8.9580711 C 4.2700748,8.9580711 4.2770261,8.9582270 4.2875525,8.9580711 C 5.2040158,8.9444505 5.6550659,8.3633701 6.0034166,7.5797547 C 6.3602447,6.8067213 6.5047117,5.9187954 6.4253508,4.8793802 C 6.3486955,3.7080776 5.0826097,3.5943388 4.3156823,3.5918108 C 4.2913355,3.5917309 4.2545251,3.5918108 4.2312960,3.5918108 z "
326        id="path758" />
327     <path
328        style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.0913691;"
329        d="M 2.1481820,6.1580415 L 6.4002675,6.1580415"
330        id="path762" />
331     <path
332        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
333        d="M 2.6941421,0.077840626 C 3.2444435,0.89346617 3.7063783,1.4221344 3.8046827,2.4788033 C 4.1961179,2.3256075 4.1391312,2.6208327 4.5305676,2.4676346 C 4.6094779,1.3820095 4.6609893,0.26064772 4.2105546,-0.46832581 C 3.9270868,0.098242238 3.3768906,0.24398760 2.6941421,0.077840626 z "
334        id="path763"
335        sodipodi:nodetypes="ccccc" />
336     <path
337        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
338        d="M 2.7030627,2.3593309 L 5.5454954,2.2669081 L 4.2415509,3.3675109 L 2.7030627,2.3593309 z "
339        id="path764"
340        sodipodi:nodetypes="cccc" />
341     <text
342        xml:space="preserve"
343        style="font-size:1.2;font-weight:normal;stroke-width:1pt;font-family:Bitstream Vera Sans;"
344        x="3.72539061"
345        y="0.98140591"
346        id="text768"
347        sodipodi:linespacing="100%"
348        transform="scale(1.288158,1.288158)"><tspan
349          x="3.72539067"
350          y="0.98140591"
351          sodipodi:role="line"
352          id="tspan769">drag</tspan></text>
353     <path
354        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
355        d="M 3.4954917,3.6403128 L 3.4954917,6.1891133 L 5.1131813,6.1891133 L 5.1131813,3.6403128 C 4.5927615,3.5415570 4.0535324,3.5415570 3.4954917,3.6403128 z "
356        id="path773"
357        sodipodi:nodetypes="ccccc" />
358   </g>
360   <g
361      id="right-click">
362     <path
363        style="font-size:12;fill:url(#radialGradient568);fill-rule:evenodd;stroke-width:1pt;"
364        d="M 3.5470928 1.7706068 C 2.5212607 1.7739882 0.82776368 1.9261236 0.72523168 3.4928414 C 0.61908168 4.8831481 0.81231568 6.0708248 1.2896037 7.1048231 C 1.7555517 8.1529757 2.3588707 8.9302211 3.5847188 8.948439 C 3.5989618 8.948439 3.6082608 8.9486483 3.6223418 8.948439 C 4.8481898 8.9302211 5.4515078 8.1529757 5.9174568 7.1048231 C 6.3947448 6.0708248 6.5879819 4.8831481 6.4818299 3.4928414 C 6.3792958 1.9261236 4.6857978 1.7739882 3.6599678 1.7706068 C 3.6274018 1.7705 3.5781648 1.7706068 3.5470928 1.7706068 z "
365        id="path774" />
366     <path
367        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.122214;"
368        d="M 0.76074868 5.2031601 L 6.4482788 5.2031601 "
369        id="path775" />
370     <text
371        xml:space="preserve"
372        style="font-size:1.2;font-weight:normal;stroke-width:1pt;font-family:Bitstream Vera Sans;"
373        x="2.13629596"
374        y="0.99347234"
375        id="text780"
376        sodipodi:linespacing="100%"
377        transform="scale(1.288158,1.288158)"><tspan
378          x="2.13629603"
379          y="0.99347234"
380          sodipodi:role="line"
381          id="tspan813">click</tspan></text>
382     <path
383        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
384        d="M 4.5998098 1.8222014 C 5.4892978 1.9517915 6.3889388 2.3375356 6.4635749 3.4779927 C 6.5135369 4.132363 6.5081579 4.619292 6.4270768 5.1889904 L 4.5998098 5.1889904 L 4.5998098 1.8222014 z "
385        id="path788" />
386     <path
387        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.122214;"
388        d="M 2.5620557 1.8228546 L 2.5620557 5.1958163 "
389        id="path789" />
390   </g>
393   <g
394      id="right-drag"
395      transform="translate(1.125000e-6,1.125000e-6)">
396     <path
397        style="font-size:12;fill:url(#radialGradient568);fill-rule:evenodd;stroke-width:1pt;"
398        d="M 4.3685855,3.7242673 C 3.6248392,3.7267190 2.3970228,3.8370198 2.3226845,4.9729187 C 2.2457230,5.9809166 2.3858220,6.8420041 2.7318645,7.5916719 C 3.0696846,8.3516015 3.5071027,8.9151187 4.3958651,8.9283270 C 4.4061923,8.9283270 4.4129335,8.9284789 4.4231424,8.9283270 C 5.3119040,8.9151187 5.7493213,8.3516015 6.0871422,7.5916719 C 6.4331854,6.8420041 6.5732851,5.9809166 6.4963237,4.9729187 C 6.4219845,3.8370198 5.1941675,3.7267190 4.4504219,3.7242673 C 4.4268110,3.7241898 4.3911133,3.7242673 4.3685855,3.7242673 z "
399        id="path776" />
400     <path
401        style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.0886073;"
402        d="M 2.3484358,6.2129311 L 6.4719977,6.2129311"
403        id="path777" />
404     <path
405        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
406        d="M 4.1311923,0.26532657 C 5.1283963,0.70189914 5.7345773,1.4458530 5.6790143,2.6209236 C 6.0994583,2.4561351 6.0854903,2.8238471 6.5059344,2.6590563 C 6.4931134,1.7804446 6.7046664,0.84138473 5.7023623,-0.30709515 C 5.1736773,0.064120851 4.6683523,0.21983456 4.1311923,0.26532657 z "
407        id="path778"
408        sodipodi:nodetypes="ccccc" />
409     <path
410        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
411        d="M 4.4887093,2.5180790 L 7.1399773,2.4849831 L 6.2899294,3.7543860 L 4.4887093,2.5180790 z "
412        id="path779"
413        sodipodi:nodetypes="cccc" />
414     <text
415        xml:space="preserve"
416        style="font-size:1.2;font-weight:normal;stroke-width:1pt;font-family:Bitstream Vera Sans;"
417        x="0.49732296"
418        y="0.95831662"
419        id="text783"
420        sodipodi:linespacing="100%"
421        transform="scale(1.288158,1.288158)"><tspan
422          x="0.49732295"
423          y="0.95831662"
424          sodipodi:role="line"
425          id="tspan784">drag</tspan></text>
426     <path
427        style="font-size:12;fill-rule:evenodd;stroke-width:1pt;"
428        d="M 5.1310314,3.7616744 C 5.7759272,3.8556295 6.4281828,4.1353010 6.4822960,4.9621532 C 6.5185187,5.4365836 6.5146188,5.7896161 6.4558335,6.2026579 L 5.1310314,6.2026579 L 5.1310314,3.7616744 z "
429        id="path790" />
430     <path
431        style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.0886073;"
432        d="M 3.6536224,3.7621480 L 3.6536224,6.2076068"
433        id="path791" />
434   </g>
438   <g
439      id="wheel">
440     <path
441        style="font-size:12;fill:url(#radialGradient568);fill-rule:evenodd;stroke-width:1pt;"
442        d="M 3.5370048 1.7303644 C 2.5111727 1.7337458 0.81767667 1.8858811 0.71514468 3.4525986 C 0.60899368 4.8429053 0.80222768 6.0305822 1.2795157 7.0645805 C 1.7454637 8.112733 2.3487827 8.8899785 3.5746308 8.9081964 C 3.5888738 8.9081964 3.5981728 8.9084057 3.6122538 8.9081964 C 4.8381018 8.8899785 5.4414198 8.112733 5.9073688 7.0645805 C 6.3846568 6.0305822 6.5778939 4.8429053 6.4717419 3.4525986 C 6.3692078 1.8858811 4.6757098 1.7337458 3.6498798 1.7303644 C 3.6173138 1.7302575 3.5680768 1.7303644 3.5370048 1.7303644 z "
443        id="path792" />
444     <path
445        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.122214;"
446        d="M 0.75066068 5.1629174 L 2.6033227 5.1629174 "
447        id="path793"
448        sodipodi:nodetypes="cc" />
449     <text
450        xml:space="preserve"
451        style="font-size:1.2;font-weight:normal;stroke-width:1pt;font-family:Bitstream Vera Sans;"
452        x="0.97063343"
453        y="0.96223223"
454        id="text794"
455        sodipodi:linespacing="100%"
456        transform="scale(1.288158,1.288158)"><tspan
457          x="0.97063345"
458          y="0.96223223"
459          sodipodi:role="line"
460          id="tspan795">wheel</tspan></text>
461     <path
462        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.122214;"
463        d="M 6.4381888 5.1629174 L 4.5855278 5.1629174 "
464        id="path799"
465        sodipodi:nodetypes="cc" />
466     <rect
467        style="font-size:12;fill:url(#radialGradient568);fill-rule:evenodd;stroke-width:1pt;"
468        id="rect801"
469        width="1.10310698"
470        height="2.92336941"
471        x="3.06589717"
472        y="2.08157873" />
473     <path
474        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
475        d="M 3.0713508 2.0980692 L 4.1477788 2.0980692 "
476        id="path802" />
477     <path
478        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
479        d="M 3.0713508 2.1870294 L 4.1477788 2.1870294 "
480        id="path803" />
481     <path
482        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
483        d="M 3.0713508 2.3115737 L 4.1477788 2.3115737 "
484        id="path804" />
485     <path
486        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
487        d="M 3.0713508 2.5428703 L 4.1477788 2.5428703 "
488        id="path805" />
489     <path
490        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
491        d="M 3.0713508 2.9165032 L 4.1477788 2.9165032 "
492        id="path806" />
493     <path
494        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
495        d="M 3.0713508 3.5214326 L 4.1477788 3.5214326 "
496        id="path807" />
497     <path
498        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
499        d="M 3.0713508 4.9892801 L 4.1477788 4.9892801 "
500        id="path808" />
501     <path
502        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
503        d="M 3.0713508 4.9003199 L 4.1477788 4.9003199 "
504        id="path809" />
505     <path
506        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
507        d="M 3.0713508 4.7757756 L 4.1477788 4.7757756 "
508        id="path810" />
509     <path
510        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
511        d="M 3.0713508 4.544479 L 4.1477788 4.544479 "
512        id="path811" />
513     <path
514        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.064408;"
515        d="M 3.0713508 4.1708461 L 4.1477788 4.1708461 "
516        id="path812" />
517   </g>
520 <!-- key images -->
522   <g
523      id="shift">
524     <rect
525        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke:none;stroke-width:0.0625pt;"
526        id="rect682"
527        width="14.46854401"
528        height="6.57892704"
529        x="0.03756316"
530        y="0.07391790"
531        ry="0.68839085" />
532     <rect
533        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke:none;stroke-width:0.15625;"
534        id="rect683"
535        width="12.71428394"
536        height="5.05001116"
537        x="0.84218349"
538        y="0.77243602"
539        ry="0.38310501" />
540     <text
541        style="fill:black;stroke:none;font-family:Bitstream Vera Sans;font-style:oblique;font-weight:normal;font-size:4;fill-opacity:1;stroke-opacity:1;stroke-width:1pt;stroke-linejoin:miter;stroke-linecap:butt;text-anchor:start;writing-mode:lr;"
542        x="1.37996908"
543        y="4.35733509"
544        id="text685"
545        sodipodi:linespacing="100%"><tspan
546          x="1.37996912"
547          y="4.35733509"
548          sodipodi:role="line"
549          id="tspan692">Shift</tspan></text>
550   </g>
551   <g
552      id="ctrl">
553     <rect
554        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke:none;stroke-width:0.0625pt;"
555        id="rect695"
556        width="11.38750172"
557        height="6.57892704"
558        x="0"
559        y="0"
560        ry="0.68839085" />
561     <rect
562        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke:none;stroke-width:0.15625;"
563        id="rect696"
564        width="9.74373341"
565        height="5.05001116"
566        x="0.77"
567        y="0.77"
568        ry="0.38310501" />
569     <text
570        style="fill:black;stroke:none;font-family:Bitstream Vera Sans;font-style:oblique;font-weight:normal;font-size:4;fill-opacity:1;stroke-opacity:1;stroke-width:1pt;stroke-linejoin:miter;stroke-linecap:butt;text-anchor:start;writing-mode:lr;"
571        x="1.3"
572        y="4.35733509"
573        id="text697"
574        sodipodi:linespacing="100%"><tspan
575          x="1.3"
576          y="4.35733509"
577          sodipodi:role="line"
578          id="tspan698">Ctrl</tspan></text>
579   </g>
580   <g
581      id="alt">
582     <rect
583        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke:none;stroke-width:0.0625pt;"
584        id="rect703"
585        width="9.67487087"
586        height="6.57892704"
587        x="0"
588        y="0"
589        ry="0.68839085" />
590     <rect
591        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke:none;stroke-width:0.15625;"
592        id="rect704"
593        width="7.97585612"
594        height="5.05001116"
595        x="0.77"
596        y="0.77"
597        ry="0.38310501" />
598     <text
599        style="fill:black;stroke:none;font-family:Bitstream Vera Sans;font-style:oblique;font-weight:normal;font-size:4;fill-opacity:1;stroke-opacity:1;stroke-width:1pt;stroke-linejoin:miter;stroke-linecap:butt;text-anchor:start;writing-mode:lr;"
600        x="1.3"
601        y="4.35733509"
602        id="text705"
603        sodipodi:linespacing="100%"><tspan
604          x="1.3"
605          y="4.35733509"
606          sodipodi:role="line"
607          id="tspan706">Alt</tspan></text>
608   </g>
610   <g
611      id="left">
612     <text
613        style="fill:black;stroke:none;font-family:Bitstream Vera Sans;font-style:oblique;font-weight:normal;font-size:4;fill-opacity:1;stroke-opacity:1;stroke-width:1pt;stroke-linejoin:miter;stroke-linecap:butt;text-anchor:start;writing-mode:lr;letter-spacing:-0.3;"
614        x="1.3"
615        y="4.35733509"
616        sodipodi:linespacing="100%"><tspan
617          x="1.3"
618          y="4.35733509"
619          sodipodi:role="line"
620          >Left</tspan></text>
621   </g>
623   <g
624      id="right">
625     <text
626        style="fill:black;stroke:none;font-family:Bitstream Vera Sans;font-style:oblique;font-weight:normal;font-size:4;fill-opacity:1;stroke-opacity:1;stroke-width:1pt;stroke-linejoin:miter;stroke-linecap:butt;text-anchor:start;writing-mode:lr;letter-spacing:-0.3;"
627        x="1.3"
628        y="4.35733509"
629        sodipodi:linespacing="100%"><tspan
630          x="1.3"
631          y="4.35733509"
632          sodipodi:role="line"
633          >Right</tspan></text>
634   </g>
636   <g
637      id="letterkey">
638     <rect
639        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke:none;stroke-width:0.0625pt;"
640        id="rect708"
641        width="7.00721359"
642        height="6.57892704"
643        x="0"
644        y="0"
645        ry="0.97501397" />
646     <rect
647        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke:none;stroke-width:0.15625;"
648        id="rect709"
649        width="5.07888126"
650        height="5.05001116"
651        x="0.77"
652        y="0.77"
653        ry="0.48707163"
654        rx="0.35459363" />
655   </g>
657   <g
658      id="misc-wide">
659     <rect
660        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke:none;stroke-width:0.0625pt;"
661        width="16.46854401"
662        height="6.57892704"
663        x="0.0"
664        y="0.0"
665        ry="0.68839085" />
666     <rect
667        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke:none;stroke-width:0.15625;"
668        width="14.7"
669        height="5.0"
670        x="0.77"
671        y="0.77"
672        ry="0.38310501" />
673   </g>
675   <g
676      id="misc">
677     <rect
678        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke:none;stroke-width:0.0625pt;"
679        width="11.4"
680        height="6.57892704"
681        x="0.0"
682        y="0.0"
683        ry="0.68839085" />
684     <rect
685        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke:none;stroke-width:0.15625;"
686        width="9.7"
687        height="5.0"
688        x="0.77"
689        y="0.77"
690        ry="0.38310501" />
691   </g>
693   <g
694      id="arrows">
695     <rect
696        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke-width:0.0625pt;"
697        id="rect708"
698        width="3.50360680"
699        height="3.28946352"
700        x="3.72818561"
701        y="0.09945580"
702        ry="0.48750699" />
703     <rect
704        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke-width:0.15625;"
705        id="rect709"
706        width="2.53944063"
707        height="2.52500558"
708        x="4.19200130"
709        y="0.44871032"
710        ry="0.24353582"
711        rx="0.17729682" />
712     <rect
713        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke-width:0.0625pt;"
714        id="rect787"
715        width="3.50360680"
716        height="3.28946352"
717        x="3.72818561"
718        y="3.64276290"
719        ry="0.48750699" />
720     <rect
721        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke-width:0.15625;"
722        id="rect788"
723        width="2.53944063"
724        height="2.52500558"
725        x="4.19200130"
726        y="3.99201751"
727        ry="0.24353582"
728        rx="0.17729682" />
729     <rect
730        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke-width:0.0625pt;"
731        id="rect789"
732        width="3.50360680"
733        height="3.28946352"
734        x="-0.00256788"
735        y="3.64276290"
736        ry="0.48750699" />
737     <rect
738        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke-width:0.15625;"
739        id="rect790"
740        width="2.53944063"
741        height="2.52500558"
742        x="0.46125068"
743        y="3.99201751"
744        ry="0.24353582"
745        rx="0.17729682" />
746     <rect
747        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke-width:0.0625pt;"
748        id="rect791"
749        width="3.50360680"
750        height="3.28946352"
751        x="7.45893283"
752        y="3.64276290"
753        ry="0.48750699" />
754     <rect
755        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke-width:0.15625;"
756        id="rect792"
757        width="2.53944063"
758        height="2.52500558"
759        x="7.92275138"
760        y="3.99201751"
761        ry="0.24353582"
762        rx="0.17729682" />
763     <text
764        xml:space="preserve"
765        style="font-size:1.2;font-weight:normal;stroke-width:1pt;font-family:Bitstream Vera Sans;"
766        x="2.21508991"
767        y="6.47878742"
768        id="text796"
769        sodipodi:linespacing="100%"
770        transform="scale(1.288158,1.288158)"><tspan
771          x="2.21508980"
772          y="6.47878742"
773          sodipodi:role="line"
774          id="tspan797">arrows</tspan></text>
775     <path
776        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.122214;"
777        d="M 5.1322313 0.90289456 L 5.1322313 2.6190467 "
778        id="path801"
779        sodipodi:nodetypes="cc" />
780     <path
781        style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-opacity:1;stroke-width:0;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;stroke-dasharray:none;"
782        d="M 4.6182793 1.3212845 L 5.1418233 0.81871946 L 5.6541543 1.3212845 L 4.6182793 1.3212845 z "
783        id="path813"
784        sodipodi:nodetypes="cccc" />
785     <path
786        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.122214;"
787        d="M 5.1322313 6.0781819 L 5.1322313 4.3620297 "
788        id="path814"
789        sodipodi:nodetypes="cc" />
790     <path
791        style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-opacity:1;stroke-width:0;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;stroke-dasharray:none;"
792        d="M 4.6182793 5.6597919 L 5.1418233 6.162357 L 5.6541543 5.6597919 L 4.6182793 5.6597919 z "
793        id="path815"
794        sodipodi:nodetypes="cccc" />
795     <path
796        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.122214;"
797        d="M 9.868405 5.2661777 L 8.1522594 5.2661777 "
798        id="path816"
799        sodipodi:nodetypes="cc" />
800     <path
801        style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-opacity:1;stroke-width:0;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;stroke-dasharray:none;"
802        d="M 9.4500205 5.7801297 L 9.952579 5.2565857 L 9.4500205 4.7442547 L 9.4500205 5.7801297 z "
803        id="path817"
804        sodipodi:nodetypes="cccc" />
805     <path
806        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.122214;"
807        d="M 0.76312022 5.2661777 L 2.4792643 5.2661777 "
808        id="path818"
809        sodipodi:nodetypes="cc" />
810     <path
811        style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-opacity:1;stroke-width:0;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;stroke-dasharray:none;"
812        d="M 1.1815105 5.7801297 L 0.67894514 5.2565857 L 1.1815105 4.7442547 L 1.1815105 5.7801297 z "
813        id="path819"
814        sodipodi:nodetypes="cccc" />
815   </g>
817   <g
818      id="up">
819     <rect
820        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke:none;stroke-width:0.0625pt;"
821        id="rect800"
822        width="7.00721359"
823        height="6.57892704"
824        x="-0.00741097"
825        y="0.11458590"
826        ry="0.97501397" />
827     <rect
828        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke:none;stroke-width:0.15625;"
829        id="rect802"
830        width="5.07888126"
831        height="5.05001116"
832        x="0.92021832"
833        y="0.81310272"
834        ry="0.48707163"
835        rx="0.35459363" />
836     <path
837        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.244428;"
838        d="M 2.8349462 1.7275401 L 2.8349462 5.1598442 "
839        id="path825"
840        sodipodi:nodetypes="cc" />
841     <path
842        style="font-size:12;fill-rule:evenodd;stroke-width:0;"
843        d="M 1.8070423 2.5643198 L 2.8541302 1.5591899 L 3.8787922 2.5643198 L 1.8070423 2.5643198 z "
844        id="path826"
845        sodipodi:nodetypes="cccc" />
846     <text
847        xml:space="preserve"
848        style="font-size:1.2;font-weight:normal;stroke-width:1pt;font-family:Bitstream Vera Sans;"
849        x="1.82973492"
850        y="6.29683936"
851        id="text827"
852        sodipodi:linespacing="100%"
853        transform="scale(1.288158,1.288158)"><tspan
854          x="1.82973492"
855          y="6.29683924"
856          sodipodi:role="line"
857          id="tspan828">up</tspan></text>
858   </g>
859   <g
860      id="down">
861     <rect
862        style="font-size:12;fill:url(#linearGradient615);fill-rule:evenodd;stroke-width:0.0625pt;"
863        id="rect839"
864        width="7.00721359"
865        height="6.57892704"
866        x="-0.00740963"
867        y="0.11458590"
868        ry="0.97501397" />
869     <rect
870        style="font-size:12;fill:url(#linearGradient613);fill-rule:evenodd;stroke-width:0.15625;"
871        id="rect840"
872        width="5.07888126"
873        height="5.05001116"
874        x="0.92021960"
875        y="0.81310272"
876        ry="0.48707163"
877        rx="0.35459363" />
878     <path
879        style="font-size:12;fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.244428;"
880        d="M 2.8349477 4.9915303 L 2.8349477 1.5592262 "
881        id="path841"
882        sodipodi:nodetypes="cc" />
883     <path
884        style="font-size:12;fill-rule:evenodd;stroke-width:0;"
885        d="M 1.8070437 4.1547506 L 2.8541317 5.1598805 L 3.8787938 4.1547506 L 1.8070437 4.1547506 z "
886        id="path842"
887        sodipodi:nodetypes="cccc" />
888     <text
889        xml:space="preserve"
890        style="font-size:1.2;font-weight:normal;stroke-width:1pt;font-family:Bitstream Vera Sans;"
891        x="1.04129975"
892        y="6.29683924"
893        id="text843"
894        sodipodi:linespacing="100%"
895        transform="scale(1.288158,1.288158)"><tspan
896          x="1.04129970"
897          y="6.29683924"
898          sodipodi:role="line"
899          id="tspan844">down</tspan></text>
900   </g>
903   <g
904      id="left-arrow">
905     <rect
906        style="font-size:12.000000;fill:url(#linearGradient615);fill-rule:evenodd;stroke-width:0.062500000pt;"
907        id="rect4608"
908        width="7.0072136"
909        height="6.5789270"
910        x="-0.0074096299"
911        y="0.11458590"
912        ry="0.97501397"
913        rx="0.97501397" />
914     <rect
915        style="font-size:12.000000;fill:url(#linearGradient613);fill-rule:evenodd;stroke-width:0.15625000;"
916        id="rect4609"
917        width="5.0788813"
918        height="5.0500112"
919        x="0.92021960"
920        y="0.81310272"
921        ry="0.48707163"
922        rx="0.35459363" />
923     <path
924        style="font-size:12.000000;fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.24442799;"
925        d="M 1.6924937,3.3980186 L 5.1247978,3.3980185"
926        id="path4610"
927        sodipodi:nodetypes="cc" />
928     <path
929        style="font-size:12.000000;fill-rule:evenodd;stroke-width:0.0000000;"
930        d="M 2.5292733,2.3701144 L 1.5241435,3.4172024 L 2.5292733,4.4418646 L 2.5292733,2.3701144 z "
931        id="path4611"
932        sodipodi:nodetypes="cccc" />
933     <text
934        xml:space="preserve"
935        style="font-size:1.2000000;font-weight:normal;stroke-width:1.0000000pt;font-family:Bitstream Vera Sans;"
936        x="1.0412997"
937        y="6.2968392"
938        id="text4612"
939        sodipodi:linespacing="100%"
940        transform="matrix(1.288158,0.000000,0.000000,1.288158,0.717169,2.842171e-14)"><tspan
941          x="1.0412997"
942          y="6.2968392"
943          sodipodi:role="line"
944          id="tspan4613">left</tspan></text>
945   </g>
946   <g
947      id="right-arrow">
948     <rect
949        style="font-size:12.000000;fill:url(#linearGradient615);fill-rule:evenodd;stroke-width:0.062500000pt;"
950        id="rect4598"
951        width="7.0072136"
952        height="6.5789270"
953        x="-0.0074096299"
954        y="0.11458590"
955        ry="0.97501397"
956        rx="0.97501397" />
957     <rect
958        style="font-size:12.000000;fill:url(#linearGradient613);fill-rule:evenodd;stroke-width:0.15625000;"
959        id="rect4599"
960        width="5.0788813"
961        height="5.0500112"
962        x="0.92021960"
963        y="0.81310272"
964        ry="0.48707163"
965        rx="0.35459363" />
966     <path
967        style="font-size:12.000000;fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.24442799;"
968        d="M 5.1234847,3.4139604 L 1.6911806,3.4139605"
969        id="path4600"
970        sodipodi:nodetypes="cc" />
971     <path
972        style="font-size:12.000000;fill-rule:evenodd;stroke-width:0.0000000;"
973        d="M 4.2867051,4.4418646 L 5.2918349,3.3947766 L 4.2867051,2.3701144 L 4.2867051,4.4418646 z "
974        id="path4601"
975        sodipodi:nodetypes="cccc" />
976     <text
977        xml:space="preserve"
978        style="font-size:1.2000000;font-weight:normal;stroke-width:1.0000000pt;font-family:Bitstream Vera Sans;"
979        x="1.0412997"
980        y="6.2968392"
981        id="text4602"
982        sodipodi:linespacing="100%"
983        transform="scale(1.288158,1.288158)"><tspan
984          x="1.0412997"
985          y="6.2968392"
986          sodipodi:role="line"
987          id="tspan4603">right</tspan></text>
988   </g>
990 <xsl:apply-templates/>
991 </svg>
992 </xsl:template>
994 <xsl:template match="k:root/text() | k:column/text() | k:root/k:p"/>
996 <xsl:template match="k:column">
997 <xsl:variable name="y" select="
998  count(preceding::k:section)*$space-section + 
999  count(preceding::k:group)*$space-group + 
1000  count(preceding::k:title)*$space-title + 
1001  count(preceding::k:keys)*$space-keys + 
1002  count(preceding::k:mouse)*$space-mouse + 
1003  count(preceding::k:note)*$space-note"/>
1004 <xsl:variable name="x" select="count(preceding::k:column)*$section-width"/>
1005  <g transform="translate({$x},{-$y})">
1006   <xsl:apply-templates/>
1007  </g>
1008 </xsl:template>
1010 <xsl:template match="k:section">
1011 <xsl:variable name="y" select="
1012  count(preceding::k:section)*$space-section + 
1013  count(preceding::k:group)*$space-group + 
1014  count(preceding::k:title)*$space-title + 
1015  count(preceding::k:keys)*$space-keys + 
1016  count(preceding::k:mouse)*$space-mouse + 
1017  count(preceding::k:note)*$space-note"/>
1018 <xsl:variable name="h" select="
1019  $space-section + 
1020  count(descendant::k:group)*$space-group + 
1021  count(descendant::k:title)*$space-title + 
1022  count(descendant::k:keys)*$space-keys + 
1023  count(descendant::k:mouse)*$space-mouse + 
1024  count(descendant::k:note)*$space-note"/>
1025   <rect
1026      style="fill:#{@color};fill-rule:evenodd;stroke:none"
1027      width="{$section-width}"
1028      height="{$h}"
1029      x="0"
1030      y="{$y}"/>
1031   <text
1032      xml:space="preserve"
1033      style="{$style-section}"
1034      x="{$section-hskip + 1*$w-key}"
1035      y="{$y + $skip-section-title}"
1036      id="sect{count(preceding-sibling::k:section) + 1}"
1037      ><tspan
1038        x="{$section-hskip + 1*$w-key}"
1039        y="{$y + $skip-section-title}"
1040        sodipodi:role="line"
1041        id="sect-tspan{count(preceding-sibling::k:section) + 1}"
1042        ><xsl:value-of select="@title"/></tspan></text>
1043 <xsl:apply-templates/>
1044 </xsl:template>
1046 <xsl:template match="k:title">
1047 <xsl:variable name="y" select="
1048  count(preceding::k:section) * $space-section + 
1049  count(preceding::k:group)*$space-group + 
1050  count(preceding::k:title)*$space-title + 
1051  count(preceding::k:keys)*$space-keys + 
1052  count(preceding::k:mouse)*$space-mouse + 
1053  count(preceding::k:note)*$space-note +
1054  $skip-section-content +
1055  $skip-group-content +
1056  $skip-title-content"/>
1058   <text
1059      xml:space="preserve"
1060      style="{$style-title}"
1061      x="{$section-hskip + 1*$w-key}"
1062      y="{$y}"
1063      id="title{count(preceding::k:title)+1}"
1064      ><tspan
1065        x="{$section-hskip + 1*$w-key}"
1066        y="{$y}"
1067        sodipodi:role="line"
1068        id="title-tspan{count(preceding::k:title)+1}"><xsl:value-of select="text()"/></tspan></text>
1070 </xsl:template>
1072 <xsl:template match="k:note">
1073 <xsl:variable name="y" select="
1074  count(preceding::k:section) * $space-section + 
1075  count(preceding::k:group)*$space-group + 
1076  count(preceding::k:title)*$space-title + 
1077  count(preceding::k:keys)*$space-keys + 
1078  count(preceding::k:mouse)*$space-mouse + 
1079  count(preceding::k:note)*$space-note +
1080  $skip-section-content +
1081  $skip-group-content +
1082  $skip-note-content"/>
1084   <text
1085      xml:space="preserve"
1086      style="{$style-note}"
1087      x="{$section-hskip + $note-hskip}"
1088      y="{$y}"
1089      id="note{count(preceding::k:note)+1}"
1090      ><tspan
1091        x="{$section-hskip + $note-hskip}"
1092        y="{$y}"
1093        sodipodi:role="line"
1094        id="note-tspan{count(preceding::k:note)+1}"><xsl:value-of select="text()"/></tspan></text>
1096 </xsl:template>
1099 <xsl:template match="k:keys">
1100 <xsl:variable name="y" select="
1101  count(preceding::k:section) * $space-section + 
1102  count(preceding::k:group)*$space-group + 
1103  count(preceding::k:title)*$space-title + 
1104  count(preceding::k:keys)*$space-keys + 
1105  count(preceding::k:mouse)*$space-mouse + 
1106  count(preceding::k:note)*$space-note +
1107  $skip-section-content +
1108  $skip-group-content +
1109  $skip-keys-content"/>
1110 <xsl:apply-templates select="k:key | k:action">
1111 <xsl:with-param name="y" select="$y"/>
1112 </xsl:apply-templates>
1113 </xsl:template>
1115 <xsl:template match="k:mouse">
1116 <xsl:variable name="y" select="
1117  count(preceding::k:section) * $space-section + 
1118  count(preceding::k:group)*$space-group + 
1119  count(preceding::k:title)*$space-title + 
1120  count(preceding::k:keys)*$space-keys + 
1121  count(preceding::k:mouse)*$space-mouse + 
1122  count(preceding::k:note)*$space-note +
1123  $skip-section-content +
1124  $skip-group-content +
1125  $skip-mouse-content"/>
1126 <xsl:apply-templates select="k:key | k:action">
1127 <xsl:with-param name="y" select="$y"/>
1128 </xsl:apply-templates>
1129 </xsl:template>
1131 <xsl:template match="k:action">
1132 <xsl:param name="y"/>
1133 <xsl:variable name="x" select="2*$w-key + $section-hskip + $action-hskip"/> <!--max two keys-->
1134   <text
1135      xml:space="preserve"
1136      style="{$style-action}"
1137      x="{$x}"
1138      y="{$y + $skip-keys-action}"
1139      id="action{count(preceding::k:action)+1}"
1140      ><tspan
1141        x="{$x}"
1142        y="{$y + $skip-keys-action}"
1143        sodipodi:role="line"
1144        id="action-tspan{count(preceding::k:action)+1}"
1145        ><xsl:value-of select="text()"/></tspan></text>
1146 </xsl:template>
1148 <xsl:template match="k:key">
1149 <xsl:param name="y"/>
1150 <xsl:variable name="x" select="(1 - count(following-sibling::k:key))*$w-key + $section-hskip"/> <!--max two keys-->
1151 <xsl:apply-templates>
1152 <xsl:with-param name="x" select="$x"/>
1153 <xsl:with-param name="y" select="$y"/>
1154 </xsl:apply-templates>
1155 <xsl:variable name="comma-skip">
1156 <xsl:choose>
1157 <xsl:when test="k:wheel | k:left-click | k:left-drag | k:mid-click | k:mid-drag | k:right-click | k:right-drag">0.4</xsl:when>
1158 <xsl:otherwise>1.0</xsl:otherwise>
1159 </xsl:choose>
1160 </xsl:variable>
1161 <xsl:if test="following-sibling::k:key/node()">
1162   <text
1163      xml:space="preserve"
1164      style="{$style-action}"
1165      x="{$x + $w-key - $comma-skip}"
1166      y="{$y + $skip-keys-action}"
1167      ><tspan
1168        x="{$x + $w-key - $comma-skip}"
1169        y="{$y + $skip-keys-action}"
1170        sodipodi:role="line"
1171        >,</tspan></text>
1172 </xsl:if>
1173 </xsl:template>
1175 <xsl:template match="k:left-click | k:shift | k:ctrl | k:alt | k:left | k:right">
1176 <xsl:param name="x"/>
1177 <xsl:param name="y"/>
1178 <xsl:variable name="xx" select="
1179  $x +
1180  $w-key - 
1181  count(following-sibling::k:shift | self::k:shift)*$w-shift -
1182  count(following-sibling::k:ctrl | self::k:ctrl)*$w-ctrl -
1183  count(following-sibling::k:alt | self::k:alt)*$w-alt -
1184  count(following-sibling::k:left | self::k:left)*$w-left -
1185  count(following-sibling::k:right | self::k:right)*$w-right -
1186  count(following-sibling::text())*$w-letterkey -
1187  count(following-sibling::k:keyf)*$w-letterkey -
1188  count(following-sibling::k:misc-wide)*$w-misc-wide -
1189  count(following-sibling::k:misc)*$w-misc -
1190  count(following-sibling::k:arrows)*$w-arrows -
1191  count(following-sibling::k:wheel | following-sibling::k:left-click | following-sibling::k:left-drag | following-sibling::k:mid-click | following-sibling::k:mid-drag | following-sibling::k:right-click | following-sibling::k:right-drag | self::k:left-click)*$w-mouse
1192 "/>
1193 <use xlink:href="#{name()}"
1194 transform="translate({$xx},{$y})"/>
1195 </xsl:template>
1197 <xsl:template match="k:key/text()">
1198 <xsl:param name="x"/>
1199 <xsl:param name="y"/>
1200 <xsl:variable name="xx" select="
1201  $x +
1202  $w-key - 
1203  $w-letterkey"/>
1204 <use xlink:href="#letterkey"
1205 transform="translate({$xx},{$y})"/>
1206     <text
1207        xml:space="preserve"
1208        style="{$style-letterkey}"
1209        x="{1.7 + $xx}"
1210        y="{4.66851145 + $y}"
1211        ><tspan
1212          x="{1.7 + $xx}"
1213          y="{4.66851145 + $y}"
1214          sodipodi:role="line"
1215          ><xsl:value-of select="."/></tspan></text>
1216 </xsl:template>
1218 <xsl:template match="k:keyf">
1219 <xsl:param name="x"/>
1220 <xsl:param name="y"/>
1221 <xsl:variable name="xx" select="
1222  $x +
1223  $w-key - 
1224  $w-letterkey"/>
1225 <use xlink:href="#letterkey"
1226 transform="translate({$xx},{$y})"/>
1227     <text
1228        xml:space="preserve"
1229        style="{$style-keyf}"
1230        x="{0.9 + $xx}"
1231        y="{3.5 + $y}"
1232        ><tspan
1233          x="{0.9 + $xx}"
1234          y="{3.5 + $y}"
1235          sodipodi:role="line"
1236          ><xsl:value-of select="@f"/></tspan></text>
1237 </xsl:template>
1239 <xsl:template match="k:misc-wide">
1240 <xsl:param name="x"/>
1241 <xsl:param name="y"/>
1242 <xsl:variable name="xx" select="
1243  $x +
1244  $w-key - 
1245  $w-misc-wide"/>
1246 <use xlink:href="#misc-wide"
1247 transform="translate({$xx},{$y})"/>
1248     <text
1249        xml:space="preserve"
1250        style="{$style-keymisc}"
1251        x="{1.1 + $xx}"
1252        y="{3.7 + $y}"
1253        ><tspan
1254          x="{1.1 + $xx}"
1255          y="{3.7 + $y}"
1256          sodipodi:role="line"
1257          ><xsl:value-of select="@f"/></tspan></text>
1258 </xsl:template>
1260 <xsl:template match="k:misc">
1261 <xsl:param name="x"/>
1262 <xsl:param name="y"/>
1263 <xsl:variable name="xx" select="
1264  $x +
1265  $w-key - 
1266  $w-misc"/>
1267 <use xlink:href="#misc"
1268 transform="translate({$xx},{$y})"/>
1269     <text
1270        xml:space="preserve"
1271        style="{$style-keymisc}"
1272        x="{1.1 + $xx}"
1273        y="{3.7 + $y}"
1274        ><tspan
1275          x="{1.1 + $xx}"
1276          y="{3.7 + $y}"
1277          sodipodi:role="line"
1278          ><xsl:value-of select="@f"/></tspan></text>
1279 </xsl:template>
1281 <xsl:template match="k:arrows">
1282 <xsl:param name="x"/>
1283 <xsl:param name="y"/>
1284 <xsl:variable name="xx" select="
1285  $x +
1286  $w-key - 
1287  $w-arrows"/>
1288 <use xlink:href="#arrows"
1289 transform="translate({$xx},{$y})"/>
1290 </xsl:template>
1292 <xsl:template match="k:up | k:down | k:left-arrow | k:right-arrow">
1293 <xsl:param name="x"/>
1294 <xsl:param name="y"/>
1295 <xsl:variable name="xx" select="
1296  $x +
1297  $w-key - 
1298  $w-letterkey"/>
1299 <use xlink:href="#{name()}"
1300 transform="translate({$xx},{$y})"/>
1301 </xsl:template>
1303 <xsl:template match="k:wheel | k:left-drag | k:mid-click | k:mid-drag | k:right-click | k:right-drag">
1304 <xsl:param name="x"/>
1305 <xsl:param name="y"/>
1306 <xsl:variable name="xx" select="
1307  $x +
1308  $w-key - 
1309  $w-mouse -
1310  count(following-sibling::k:misc-wide)*($w-misc-wide + 1)"/>
1311 <use xlink:href="#{name()}"
1312 transform="translate({$xx},{$y})"/>
1313 </xsl:template>
1315 </xsl:stylesheet>