[PATCH libX11] specs: convert images from gif to svg format.
Gaetan Nadon
memsize at videotron.ca
Tue Dec 28 13:34:44 PST 2010
From: Fernando Carrijo <fcarrijo.lists at gmail.com>
There are some .tex files together with the .svg figures which contained
mathematical formulas. It depends on each person's taste, but personally
I consider TeX formatted formulas more appealing to one's eyes. I didn't
include in the archive the steps necessary to convert from .tex to .svg,
but they are pretty simple:
$ latex file.tex => file.dvi
$ dvips -o file.ps file.dvi => file.ps
$ ps2pdf file.ps => file.pdf
$ pdf2svg file.pdf file.svg => file.svg
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
*** TRUNCATED due to size - removed .gif deletions and .svg additions
specs/XKB/Makefile.am | 47 +-
specs/XKB/XKBlib-1.gif | Bin 9516 -> 0 bytes
specs/XKB/XKBlib-1.svg | 767 +++++++++++++++++
specs/XKB/XKBlib-10.gif | Bin 17282 -> 0 bytes
specs/XKB/XKBlib-10.svg | 1441 ++++++++++++++++++++++++++++++++
specs/XKB/XKBlib-11.gif | Bin 15367 -> 0 bytes
specs/XKB/XKBlib-11.svg | 920 +++++++++++++++++++++
specs/XKB/XKBlib-12.gif | Bin 9737 -> 0 bytes
specs/XKB/XKBlib-12.svg | 687 ++++++++++++++++
specs/XKB/XKBlib-13.gif | Bin 3213 -> 0 bytes
specs/XKB/XKBlib-13.svg | 186 +++++
specs/XKB/XKBlib-14.gif | Bin 4064 -> 0 bytes
specs/XKB/XKBlib-14.svg | 557 +++++++++++++
specs/XKB/XKBlib-15.gif | Bin 12927 -> 0 bytes
specs/XKB/XKBlib-15.svg | 885 ++++++++++++++++++++
specs/XKB/XKBlib-16.gif | Bin 8353 -> 0 bytes
specs/XKB/XKBlib-16.svg | 643 +++++++++++++++
specs/XKB/XKBlib-17.gif | Bin 8538 -> 0 bytes
specs/XKB/XKBlib-17.svg | 626 ++++++++++++++
specs/XKB/XKBlib-18.gif | Bin 9947 -> 0 bytes
specs/XKB/XKBlib-18.svg | 907 +++++++++++++++++++++
specs/XKB/XKBlib-19.gif | Bin 8811 -> 0 bytes
specs/XKB/XKBlib-19.svg | 582 +++++++++++++
specs/XKB/XKBlib-2.gif | Bin 12039 -> 0 bytes
specs/XKB/XKBlib-2.svg | 761 +++++++++++++++++
specs/XKB/XKBlib-20.gif | Bin 5503 -> 0 bytes
specs/XKB/XKBlib-20.svg | 379 +++++++++
specs/XKB/XKBlib-21.gif | Bin 14481 -> 0 bytes
specs/XKB/XKBlib-21.svg | 976 ++++++++++++++++++++++
specs/XKB/XKBlib-3.gif | Bin 1778 -> 0 bytes
specs/XKB/XKBlib-3.svg | 1133 ++++++++++++++++++++++++++
specs/XKB/XKBlib-3.tex | 6 +
specs/XKB/XKBlib-4.gif | Bin 1435 -> 0 bytes
specs/XKB/XKBlib-4.svg | 574 +++++++++++++
specs/XKB/XKBlib-4.tex | 6 +
specs/XKB/XKBlib-5.gif | Bin 1274 -> 0 bytes
specs/XKB/XKBlib-5.svg | 542 ++++++++++++
specs/XKB/XKBlib-5.tex | 6 +
specs/XKB/XKBlib-6.gif | Bin 7001 -> 0 bytes
specs/XKB/XKBlib-6.svg | 551 +++++++++++++
specs/XKB/XKBlib-7.gif | Bin 3169 -> 0 bytes
specs/XKB/XKBlib-7.svg | 352 ++++++++
specs/XKB/XKBlib-8.gif | Bin 4935 -> 0 bytes
specs/XKB/XKBlib-8.svg | 1143 ++++++++++++++++++++++++++
specs/XKB/XKBlib-9.gif | Bin 4600 -> 0 bytes
specs/XKB/XKBlib-9.svg | 2075 +++++++++++++++++++++++++++++++++++++++++++++++
specs/XKB/ch01.xml | 2 +-
specs/XKB/ch05.xml | 2 +-
specs/XKB/ch10.xml | 8 +-
specs/XKB/ch13.xml | 14 +-
specs/XKB/ch14.xml | 2 +-
specs/XKB/ch15.xml | 2 +-
specs/XKB/ch16.xml | 4 +-
specs/XKB/ch17.xml | 6 +-
specs/XKB/ch20.xml | 2 +-
55 files changed, 16752 insertions(+), 42 deletions(-)
delete mode 100644 specs/XKB/XKBlib-1.gif
create mode 100644 specs/XKB/XKBlib-1.svg
delete mode 100644 specs/XKB/XKBlib-10.gif
create mode 100644 specs/XKB/XKBlib-10.svg
delete mode 100644 specs/XKB/XKBlib-11.gif
create mode 100644 specs/XKB/XKBlib-11.svg
delete mode 100644 specs/XKB/XKBlib-12.gif
create mode 100644 specs/XKB/XKBlib-12.svg
delete mode 100644 specs/XKB/XKBlib-13.gif
create mode 100644 specs/XKB/XKBlib-13.svg
delete mode 100644 specs/XKB/XKBlib-14.gif
create mode 100644 specs/XKB/XKBlib-14.svg
delete mode 100644 specs/XKB/XKBlib-15.gif
create mode 100644 specs/XKB/XKBlib-15.svg
delete mode 100644 specs/XKB/XKBlib-16.gif
create mode 100644 specs/XKB/XKBlib-16.svg
delete mode 100644 specs/XKB/XKBlib-17.gif
create mode 100644 specs/XKB/XKBlib-17.svg
delete mode 100644 specs/XKB/XKBlib-18.gif
create mode 100644 specs/XKB/XKBlib-18.svg
delete mode 100644 specs/XKB/XKBlib-19.gif
create mode 100644 specs/XKB/XKBlib-19.svg
delete mode 100644 specs/XKB/XKBlib-2.gif
create mode 100644 specs/XKB/XKBlib-2.svg
delete mode 100644 specs/XKB/XKBlib-20.gif
create mode 100644 specs/XKB/XKBlib-20.svg
delete mode 100644 specs/XKB/XKBlib-21.gif
create mode 100644 specs/XKB/XKBlib-21.svg
delete mode 100644 specs/XKB/XKBlib-3.gif
create mode 100644 specs/XKB/XKBlib-3.svg
create mode 100644 specs/XKB/XKBlib-3.tex
delete mode 100644 specs/XKB/XKBlib-4.gif
create mode 100644 specs/XKB/XKBlib-4.svg
create mode 100644 specs/XKB/XKBlib-4.tex
delete mode 100644 specs/XKB/XKBlib-5.gif
create mode 100644 specs/XKB/XKBlib-5.svg
create mode 100644 specs/XKB/XKBlib-5.tex
delete mode 100644 specs/XKB/XKBlib-6.gif
create mode 100644 specs/XKB/XKBlib-6.svg
delete mode 100644 specs/XKB/XKBlib-7.gif
create mode 100644 specs/XKB/XKBlib-7.svg
delete mode 100644 specs/XKB/XKBlib-8.gif
create mode 100644 specs/XKB/XKBlib-8.svg
delete mode 100644 specs/XKB/XKBlib-9.gif
create mode 100644 specs/XKB/XKBlib-9.svg
diff --git a/specs/XKB/Makefile.am b/specs/XKB/Makefile.am
index 5af159b..80bd130 100644
--- a/specs/XKB/Makefile.am
+++ b/specs/XKB/Makefile.am
@@ -51,27 +51,32 @@ dist_spec_DATA = \
ch21.xml \
ch22.xml \
glossary.xml \
- XKBlib-1.gif \
- XKBlib-2.gif \
- XKBlib-3.gif \
- XKBlib-4.gif \
- XKBlib-5.gif \
- XKBlib-6.gif \
- XKBlib-7.gif \
- XKBlib-8.gif \
- XKBlib-9.gif \
- XKBlib-10.gif \
- XKBlib-11.gif \
- XKBlib-12.gif \
- XKBlib-13.gif \
- XKBlib-14.gif \
- XKBlib-15.gif \
- XKBlib-16.gif \
- XKBlib-17.gif \
- XKBlib-18.gif \
- XKBlib-19.gif \
- XKBlib-20.gif \
- XKBlib-21.gif
+ XKBlib-1.svg \
+ XKBlib-2.svg \
+ XKBlib-3.svg \
+ XKBlib-4.svg \
+ XKBlib-5.svg \
+ XKBlib-6.svg \
+ XKBlib-7.svg \
+ XKBlib-8.svg \
+ XKBlib-9.svg \
+ XKBlib-10.svg \
+ XKBlib-11.svg \
+ XKBlib-12.svg \
+ XKBlib-13.svg \
+ XKBlib-14.svg \
+ XKBlib-15.svg \
+ XKBlib-16.svg \
+ XKBlib-17.svg \
+ XKBlib-18.svg \
+ XKBlib-19.svg \
+ XKBlib-20.svg \
+ XKBlib-21.svg
+
+EXTRA_DIST = \
+ XKBlib-3.tex \
+ XKBlib-4.tex \
+ XKBlib-5.tex
include $(top_srcdir)/specs/xmlrules.in
diff --git a/specs/XKB/ch01.xml b/specs/XKB/ch01.xml
index 406f749..5079a41 100644
--- a/specs/XKB/ch01.xml
+++ b/specs/XKB/ch01.xml
@@ -110,7 +110,7 @@ Figure 1.1 shows the overall structure of the Xkb extension:
<mediaobject>
<imageobject>
- <imagedata fileref="XKBlib-1.gif"/>
+ <imagedata format="SVG" fileref="XKBlib-1.svg"/>
</imageobject>
<caption>Overall Xkb Structure</caption>
</mediaobject>
diff --git a/specs/XKB/ch05.xml b/specs/XKB/ch05.xml
index 791f2be..3785c44 100644
--- a/specs/XKB/ch05.xml
+++ b/specs/XKB/ch05.xml
@@ -7,7 +7,7 @@ Keyboard state encompasses all of the transitory information necessary to map a
<mediaobject>
<!-- <title>Keyboard State Description</title> -->
- <imageobject> <imagedata fileref="XKBlib-2.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-2.svg"/>
</imageobject>
<caption>Xkb State</caption>
</mediaobject>
diff --git a/specs/XKB/ch10.xml b/specs/XKB/ch10.xml
index c197275..76acd03 100644
--- a/specs/XKB/ch10.xml
+++ b/specs/XKB/ch10.xml
@@ -1405,7 +1405,7 @@ accelerated according to the formula:
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-3.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-3.svg"/>
</imageobject>
</mediaobject>
@@ -1429,7 +1429,7 @@ mk_curve</emphasis>
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-4.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-4.svg"/>
</imageobject>
</mediaobject>
@@ -1440,7 +1440,7 @@ mk_curve</emphasis>
of zero causes the distance moved to increase linearly from <emphasis>
action_delta</emphasis>
to <mediaobject>
- <imageobject> <imagedata fileref="XKBlib-5.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-5.svg"/>
</imageobject>
</mediaobject>
@@ -1462,7 +1462,7 @@ A distance vs. time graph of the pointer motion is shown in Figure 10.1. <!-- xr
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-6.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-6.svg"/>
</imageobject>
<caption>MouseKeys Acceleration</caption>
</mediaobject>
diff --git a/specs/XKB/ch13.xml b/specs/XKB/ch13.xml
index f871b15..6f8fce0 100644
--- a/specs/XKB/ch13.xml
+++ b/specs/XKB/ch13.xml
@@ -32,7 +32,7 @@ origin. An example of a keyboard with rotated sections is shown in Figure 13.1.
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-7.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-7.svg"/>
</imageobject>
<caption>Rotated Keyboard Sections</caption>
</mediaobject>
@@ -234,7 +234,7 @@ section.
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-8.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-8.svg"/>
</imageobject>
<caption>Keyboard with Four Sections</caption>
</mediaobject>
@@ -399,7 +399,7 @@ rows. Rows and keys are defined below.
</itemizedlist>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-9.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-9.svg"/>
</imageobject>
<caption>Rows in a Section</caption>
</mediaobject>
@@ -692,7 +692,7 @@ pointer into the array.
</MAP>
-->
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-10.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-10.svg"/>
</imageobject>
<caption>Xkb Geometry Data Structures</caption>
</mediaobject>
@@ -706,7 +706,7 @@ Xkb Geometry Data Structures</H5>
</MAP>
-->
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-11.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-11.svg"/>
</imageobject>
<caption>Xkb Geometry Data Structures (Doodads)</caption>
</mediaobject>
@@ -721,7 +721,7 @@ Xkb Geometry Data Structures (Doodads)</H5>
</MAP>
-->
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-12.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-12.svg"/>
</imageobject>
<caption>Xkb Geometry Data Structures (Overlays)</caption>
</mediaobject>
@@ -1218,7 +1218,7 @@ all the outlines of that shape.
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-13.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-13.svg"/>
</imageobject>
<caption>Key Surface, Shape Outlines, and Bounding Box</caption>
</mediaobject>
diff --git a/specs/XKB/ch14.xml b/specs/XKB/ch14.xml
index cc3ee00..cc376db 100644
--- a/specs/XKB/ch14.xml
+++ b/specs/XKB/ch14.xml
@@ -94,7 +94,7 @@ that are implied or expected but are not actually engraved on the key):
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-14.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-14.svg"/>
</imageobject>
<caption>Shift Levels and Groups</caption>
</mediaobject>
diff --git a/specs/XKB/ch15.xml b/specs/XKB/ch15.xml
index 59e65ff..25ee61f 100644
--- a/specs/XKB/ch15.xml
+++ b/specs/XKB/ch15.xml
@@ -14,7 +14,7 @@ Figure 15.1 shows the relationships between elements in the client map:
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-15.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-15.svg"/>
</imageobject>
<caption>Xkb Client Map</caption>
</mediaobject>
diff --git a/specs/XKB/ch16.xml b/specs/XKB/ch16.xml
index 6b0f42b..515323f 100644
--- a/specs/XKB/ch16.xml
+++ b/specs/XKB/ch16.xml
@@ -14,7 +14,7 @@ Figure 16.1 shows the relationships between elements in the server map:
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-16.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-16.svg"/>
</imageobject>
<caption>Server Map Relationships</caption>
</mediaobject>
@@ -4553,7 +4553,7 @@ keyboard description are shown in Figure 16.2.
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-17.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-17.svg"/>
</imageobject>
<caption>Virtual Modifier Relationships</caption>
</mediaobject>
diff --git a/specs/XKB/ch17.xml b/specs/XKB/ch17.xml
index 219805b..3c44da5 100644
--- a/specs/XKB/ch17.xml
+++ b/specs/XKB/ch17.xml
@@ -16,7 +16,7 @@ keyboard mappings and core protocol state / keyboard mappings, and vice versa.
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-18.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-18.svg"/>
</imageobject>
<caption>Server Interaction with Types of Clients</caption>
</mediaobject>
@@ -57,7 +57,7 @@ others that were computed. Figure 17.2 illustrates these relationships.
client-side data structures.</para></note>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-19.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-19.svg"/>
</imageobject>
<caption>Server Derivation of State and Keyboard Mapping Components</caption>
</mediaobject>
@@ -159,7 +159,7 @@ typedef struct _XkbCompatMapRec {
</programlisting></para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-20.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-20.svg"/>
</imageobject>
<caption>Xkb Compatibility Data Structures</caption>
</mediaobject>
diff --git a/specs/XKB/ch20.xml b/specs/XKB/ch20.xml
index 9eba2f9..e58686f 100644
--- a/specs/XKB/ch20.xml
+++ b/specs/XKB/ch20.xml
@@ -972,7 +972,7 @@ database of components and returning all or part of it is diagrammed in Figure
</para>
<mediaobject>
- <imageobject> <imagedata fileref="XKBlib-21.gif"/>
+ <imageobject> <imagedata format="SVG" fileref="XKBlib-21.svg"/>
</imageobject>
<caption>Building a New Keyboard Description from the Server Database</caption>
</mediaobject>
--
1.6.0.4
More information about the xorg-devel
mailing list