summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2008-10-01 12:34:33 +0000
committerdakkar <dakkar@luxion>2008-10-01 12:34:33 +0000
commit024b7441e6daf2dd8dfe8a579d472ce06e1c4b5e (patch)
treebc83646a3f0dbf0fb67de6e6e8ba1a09e7162188
parentmess with tags (diff)
downloadthenautilus-024b7441e6daf2dd8dfe8a579d472ce06e1c4b5e.tar.gz
thenautilus-024b7441e6daf2dd8dfe8a579d472ce06e1c4b5e.tar.bz2
thenautilus-024b7441e6daf2dd8dfe8a579d472ce06e1c4b5e.zip
still some mess
git-svn-id: svn://luxion/repos/thenautilus@377 fcb26f47-9200-0410-b104-b98ab5b095f3
-rw-r--r--SW/kblayout/document.en.rest.txtbin5600 -> 2787 bytes
-rw-r--r--SW/kblayout/document.it.rest.txt9
-rw-r--r--modelli/getter/document.en.rest.txt26
-rw-r--r--modelli/getter/document.it.rest.txt26
-rw-r--r--tags/japanese/document-listing.tt3
-rw-r--r--tags/japanese/du2html.xsl101
-rw-r--r--tags/keyboard/document-listing.tt3
-rw-r--r--tags/keyboard/du2html.xsl101
l---------tags/models/document-listing.tt1
l---------tags/models/du2html.xsl1
l---------tags/software/document-listing.tt1
l---------tags/software/du2html.xsl1
12 files changed, 30 insertions, 243 deletions
diff --git a/SW/kblayout/document.en.rest.txt b/SW/kblayout/document.en.rest.txt
index 69c46c0..f609813 100644
--- a/SW/kblayout/document.en.rest.txt
+++ b/SW/kblayout/document.en.rest.txt
Binary files differ
diff --git a/SW/kblayout/document.it.rest.txt b/SW/kblayout/document.it.rest.txt
index 6785260..cf92e2d 100644
--- a/SW/kblayout/document.it.rest.txt
+++ b/SW/kblayout/document.it.rest.txt
@@ -15,7 +15,7 @@ disse pressappoco: «Perché non scrivi un programma che misuri l'uso
che fai tu della tastiera, e ricavi un layout personalizzato?». In un
momento di follia, ho deciso di farlo davvero.
-Il primo programma è ``freq.pl``_, che legge i file dati a riga di
+Il primo programma è freq.pl_, che legge i file dati a riga di
comando e calcola una matrice di probabilità (nel file il cui nome è
nella variabile ``$MATRFN``, al momento ``/tmp/freq.matr``). In
effetti tratta il testo come un processo di Markov sui caratteri a
@@ -23,11 +23,11 @@ memoria 1, e ricava la matrice di transizione. Nota: gli elementi sono
frequenze, non probabilità. L'eventuale normalizzazione è lasciata
come esercizio al lettore.
-Il secondo programma è ``freqdump.pl``_, che probabilmente non serve a
+Il secondo programma è freqdump.pl_, che probabilmente non serve a
niente. L'ho scritto (tre o quattro versioni diverse) per avere
un'idea di come fossero le frequenze. Dateci un'occhiata se volete.
-Il programma più utile (spero) è ``optkeyb.pl``_, che parte dalla
+Il programma più utile (spero) è optkeyb.pl_, che parte dalla
matrice (al solito, nome di file hardcoded) e dal layout QWERTY
cercando per discesa di gradiente stocastica un layout migliore. In
parole povere, calcola un valore per il layout (somma sulle coppie di
@@ -43,9 +43,8 @@ Per evitare cose brutte (i.e. i numeri a spasso) nell'hash ``%locked``
è possibile impostare i tasti che non si vogliono spostare.
Per dare un'idea dei risultati, dopo qualche ora di calcoli il miglior
-layout era:
+layout era::
-::
` 1 2 3 4 5 6 7 8 9 0 ; =
- x w h t s a l b y ' j q
z \ [ c i e r u p . ,
diff --git a/modelli/getter/document.en.rest.txt b/modelli/getter/document.en.rest.txt
index 84d83e9..dc53833 100644
--- a/modelli/getter/document.en.rest.txt
+++ b/modelli/getter/document.en.rest.txt
@@ -43,46 +43,46 @@ Transformation
--------------
.. image:: eagle-trans1-t.jpg
- :targer: eagle-trans1.jpg
+ :target: eagle-trans1.jpg
.. image:: eagle-trans2-t.jpg
- :targer: eagle-trans2.jpg
+ :target: eagle-trans2.jpg
.. image:: eagle-trans3-t.jpg
- :targer: eagle-trans3.jpg
+ :target: eagle-trans3.jpg
.. image:: jaguar-trans1-t.jpg
- :targer: jaguar-trans1.jpg
+ :target: jaguar-trans1.jpg
.. image:: jaguar-trans2-t.jpg
- :targer: jaguar-trans2.jpg
+ :target: jaguar-trans2.jpg
.. image:: jaguar-trans3-t.jpg
- :targer: jaguar-trans3.jpg
+ :target: jaguar-trans3.jpg
.. image:: bear-trans1-t.jpg
- :targer: bear-trans1.jpg
+ :target: bear-trans1.jpg
.. image:: bear-trans2-t.jpg
- :targer: bear-trans2.jpg
+ :target: bear-trans2.jpg
.. image:: bear-trans3-t.jpg
- :targer: bear-trans3.jpg
+ :target: bear-trans3.jpg
.. image:: join1-t.jpg
- :targer: join1.jpg
+ :target: join1.jpg
.. image:: join2-t.jpg
- :targer: join2.jpg
+ :target: join2.jpg
.. image:: cape-t.jpg
- :targer: cape.jpg
+ :target: cape.jpg
.. image:: tomahawks-t.jpg
- :targer: tomahawks.jpg
+ :target: tomahawks.jpg
.. _`perfect change getter robot`:
http://halfeye.m78.com/products/getter/getter_top.html
diff --git a/modelli/getter/document.it.rest.txt b/modelli/getter/document.it.rest.txt
index bef793a..38a0542 100644
--- a/modelli/getter/document.it.rest.txt
+++ b/modelli/getter/document.it.rest.txt
@@ -43,46 +43,46 @@ La trasformazione
-----------------
.. image:: eagle-trans1-t.jpg
- :targer: eagle-trans1.jpg
+ :target: eagle-trans1.jpg
.. image:: eagle-trans2-t.jpg
- :targer: eagle-trans2.jpg
+ :target: eagle-trans2.jpg
.. image:: eagle-trans3-t.jpg
- :targer: eagle-trans3.jpg
+ :target: eagle-trans3.jpg
.. image:: jaguar-trans1-t.jpg
- :targer: jaguar-trans1.jpg
+ :target: jaguar-trans1.jpg
.. image:: jaguar-trans2-t.jpg
- :targer: jaguar-trans2.jpg
+ :target: jaguar-trans2.jpg
.. image:: jaguar-trans3-t.jpg
- :targer: jaguar-trans3.jpg
+ :target: jaguar-trans3.jpg
.. image:: bear-trans1-t.jpg
- :targer: bear-trans1.jpg
+ :target: bear-trans1.jpg
.. image:: bear-trans2-t.jpg
- :targer: bear-trans2.jpg
+ :target: bear-trans2.jpg
.. image:: bear-trans3-t.jpg
- :targer: bear-trans3.jpg
+ :target: bear-trans3.jpg
.. image:: join1-t.jpg
- :targer: join1.jpg
+ :target: join1.jpg
.. image:: join2-t.jpg
- :targer: join2.jpg
+ :target: join2.jpg
.. image:: cape-t.jpg
- :targer: cape.jpg
+ :target: cape.jpg
.. image:: tomahawks-t.jpg
- :targer: tomahawks.jpg
+ :target: tomahawks.jpg
.. _`perfect change getter robot`:
http://halfeye.m78.com/products/getter/getter_top.html
diff --git a/tags/japanese/document-listing.tt b/tags/japanese/document-listing.tt
deleted file mode 100644
index 729e08c..0000000
--- a/tags/japanese/document-listing.tt
+++ /dev/null
@@ -1,3 +0,0 @@
-[% FOR doc IN tagged.$path %]
-[% IF isLang(language,doc) %]* `<[% dstUriFor(doc) %]>`_[% END %]
-[% END %]
diff --git a/tags/japanese/du2html.xsl b/tags/japanese/du2html.xsl
deleted file mode 100644
index fdb1b76..0000000
--- a/tags/japanese/du2html.xsl
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<x:stylesheet xmlns:x="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:wc="http://webcoso.thenautilus.net/"
- version="1.0"
- >
-
- <x:import href="reST.xsl"/>
-
- <x:param name="language" select="'en'"/>
- <x:param name="path"/>
- <x:param name="filename"/>
-
- <x:output method="html" encoding="utf-8"
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
- indent="yes"/>
-
- <x:template match="reference">
- <x:element name="a">
- <x:attribute name="href">
- <x:choose>
- <x:when test="@refid">
- <x:value-of select="concat('#', @refid)" />
- </x:when>
- <x:when test="@refuri">
- <x:value-of select="@refuri" />
- </x:when>
- </x:choose>
- </x:attribute>
-
- <x:choose>
- <x:when test="@refuri and string(.)=string(@refuri)">
- <x:apply-templates select="wc:title-for($language,$filename,@refuri)"/>
- </x:when>
- <x:otherwise>
- <x:apply-templates />
- </x:otherwise>
- </x:choose>
- </x:element>
- </x:template>
-
- <x:template match="/document">
- <html xml:lang="{$language}" lang="{$language}">
- <head>
- <title><x:value-of select="title"/></title>
- </head>
- <body>
- <div id="content">
- <h1><x:apply-templates select="title/node()"/></h1>
- <x:apply-templates/>
- </div>
- <div id="tags">
- <x:apply-templates select="wc:tagged()"/>
- </div>
- <div id="dates">
- <x:apply-templates select="wc:dates-for($language,$filename,'./')"/>
- </div>
- </body>
- </html>
- </x:template>
-
- <x:template match="/wc:dates">
- <span id="created">Creato: <span class="date created"><x:value-of select="wc:creation-date"/></span></span>
- <span id="lastmod">Ultima modifica: <span class="date lastmod"><x:value-of select="wc:last-change"/></span></span>
- </x:template>
-
- <x:template match="/wc:tags">
- <dl>
- <x:apply-templates/>
- </dl>
- </x:template>
-
- <x:template match="wc:tag">
- <dt><span class="tag title"><x:apply-templates select="wc:title-for($language,$filename,concat('/tags/',@name,'/'))"/></span></dt>
- <dd>
- <ul>
- <x:apply-templates/>
- </ul>
- </dd>
- </x:template>
-
- <x:template match="wc:doc">
- <li>
- <a class="tag" href="{@uri}"><x:apply-templates select="wc:title-for($language,$filename,@uri)"/></a>
- (<span class="tag count"><x:apply-templates/></span>)
- </li>
- </x:template>
-
- <x:template match="wc:lang">
- <x:choose>
- <x:when test=".!=$language">
- <a href="{../@uri}{.}"><x:value-of select="."/></a>
- </x:when>
- <x:otherwise>
- <x:value-of select="."/>
- </x:otherwise>
- </x:choose>
- <x:if test="following-sibling::wc:lang"> | </x:if>
- </x:template>
-
-</x:stylesheet> \ No newline at end of file
diff --git a/tags/keyboard/document-listing.tt b/tags/keyboard/document-listing.tt
deleted file mode 100644
index 729e08c..0000000
--- a/tags/keyboard/document-listing.tt
+++ /dev/null
@@ -1,3 +0,0 @@
-[% FOR doc IN tagged.$path %]
-[% IF isLang(language,doc) %]* `<[% dstUriFor(doc) %]>`_[% END %]
-[% END %]
diff --git a/tags/keyboard/du2html.xsl b/tags/keyboard/du2html.xsl
deleted file mode 100644
index fdb1b76..0000000
--- a/tags/keyboard/du2html.xsl
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<x:stylesheet xmlns:x="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:wc="http://webcoso.thenautilus.net/"
- version="1.0"
- >
-
- <x:import href="reST.xsl"/>
-
- <x:param name="language" select="'en'"/>
- <x:param name="path"/>
- <x:param name="filename"/>
-
- <x:output method="html" encoding="utf-8"
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
- indent="yes"/>
-
- <x:template match="reference">
- <x:element name="a">
- <x:attribute name="href">
- <x:choose>
- <x:when test="@refid">
- <x:value-of select="concat('#', @refid)" />
- </x:when>
- <x:when test="@refuri">
- <x:value-of select="@refuri" />
- </x:when>
- </x:choose>
- </x:attribute>
-
- <x:choose>
- <x:when test="@refuri and string(.)=string(@refuri)">
- <x:apply-templates select="wc:title-for($language,$filename,@refuri)"/>
- </x:when>
- <x:otherwise>
- <x:apply-templates />
- </x:otherwise>
- </x:choose>
- </x:element>
- </x:template>
-
- <x:template match="/document">
- <html xml:lang="{$language}" lang="{$language}">
- <head>
- <title><x:value-of select="title"/></title>
- </head>
- <body>
- <div id="content">
- <h1><x:apply-templates select="title/node()"/></h1>
- <x:apply-templates/>
- </div>
- <div id="tags">
- <x:apply-templates select="wc:tagged()"/>
- </div>
- <div id="dates">
- <x:apply-templates select="wc:dates-for($language,$filename,'./')"/>
- </div>
- </body>
- </html>
- </x:template>
-
- <x:template match="/wc:dates">
- <span id="created">Creato: <span class="date created"><x:value-of select="wc:creation-date"/></span></span>
- <span id="lastmod">Ultima modifica: <span class="date lastmod"><x:value-of select="wc:last-change"/></span></span>
- </x:template>
-
- <x:template match="/wc:tags">
- <dl>
- <x:apply-templates/>
- </dl>
- </x:template>
-
- <x:template match="wc:tag">
- <dt><span class="tag title"><x:apply-templates select="wc:title-for($language,$filename,concat('/tags/',@name,'/'))"/></span></dt>
- <dd>
- <ul>
- <x:apply-templates/>
- </ul>
- </dd>
- </x:template>
-
- <x:template match="wc:doc">
- <li>
- <a class="tag" href="{@uri}"><x:apply-templates select="wc:title-for($language,$filename,@uri)"/></a>
- (<span class="tag count"><x:apply-templates/></span>)
- </li>
- </x:template>
-
- <x:template match="wc:lang">
- <x:choose>
- <x:when test=".!=$language">
- <a href="{../@uri}{.}"><x:value-of select="."/></a>
- </x:when>
- <x:otherwise>
- <x:value-of select="."/>
- </x:otherwise>
- </x:choose>
- <x:if test="following-sibling::wc:lang"> | </x:if>
- </x:template>
-
-</x:stylesheet> \ No newline at end of file
diff --git a/tags/models/document-listing.tt b/tags/models/document-listing.tt
deleted file mode 120000
index 9444be1..0000000
--- a/tags/models/document-listing.tt
+++ /dev/null
@@ -1 +0,0 @@
-../../common/document-listing.tt \ No newline at end of file
diff --git a/tags/models/du2html.xsl b/tags/models/du2html.xsl
deleted file mode 120000
index 6737f0e..0000000
--- a/tags/models/du2html.xsl
+++ /dev/null
@@ -1 +0,0 @@
-../../common/du2html.xsl \ No newline at end of file
diff --git a/tags/software/document-listing.tt b/tags/software/document-listing.tt
deleted file mode 120000
index 9444be1..0000000
--- a/tags/software/document-listing.tt
+++ /dev/null
@@ -1 +0,0 @@
-../../common/document-listing.tt \ No newline at end of file
diff --git a/tags/software/du2html.xsl b/tags/software/du2html.xsl
deleted file mode 120000
index 6737f0e..0000000
--- a/tags/software/du2html.xsl
+++ /dev/null
@@ -1 +0,0 @@
-../../common/du2html.xsl \ No newline at end of file