Ajout des premiers snippets pour Publidoc
authorPatrick PIERRE
mer., 25 déc. 2013 17:53:53 +0100
changeset 282 7890bee65275
parent 281 d4520e6f1c45
child 283 f6b8ec2914ef
Ajout des premiers snippets pour Publidoc
YASnippet/nxml-mode/.yas-compiled-snippets.el
YASnippet/nxml-mode/.yas-parents
YASnippet/publidoc-inline-mode/.yas-compiled-snippets.el
YASnippet/publidoc-inline-mode/publidoc_emphasis
YASnippet/publidoc-inline-mode/publidoc_highlight
YASnippet/publidoc-inline-mode/publidoc_link_idref
YASnippet/publidoc-inline-mode/publidoc_link_uri
YASnippet/publidoc-inline-mode/publidoc_mentioned
YASnippet/publidoc-inline-mode/publidoc_name
YASnippet/publidoc-inline-mode/publidoc_note
YASnippet/publidoc-inline-mode/publidoc_note_p
YASnippet/publidoc-inline-mode/publidoc_quote
YASnippet/publidoc-mode/.yas-compiled-snippets.el
YASnippet/publidoc-mode/publidoc_blockquote
YASnippet/publidoc-mode/publidoc_list
YASnippet/publidoc-mode/publidoc_list_glossary
YASnippet/publidoc-mode/publidoc_list_ordered
YASnippet/publidoc-mode/publidoc_media_audio
YASnippet/publidoc-mode/publidoc_media_image
YASnippet/publidoc-mode/publidoc_media_video
YASnippet/publidoc-mode/publidoc_section_p
YASnippet/publidoc-mode/publidoc_section_title
YASnippet/publidoc-mode/publidoc_table
YASnippet/publidoc-mode/publidoc_title
YASnippet/publidoc-mode/publidoc_topic
YASnippet/publiset-mode/.yas-compiled-snippets.el
YASnippet/publiset-mode/publiset_composition
YASnippet/publiset-mode/publiset_selection
Yas/nxml-mode/ol
Yas/nxml-mode/title
Yas/nxml-mode/ul
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/nxml-mode/.yas-compiled-snippets.el	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,2 @@
+;;; Compiled snippets and support files for `nxml-mode'
+;;; Do not edit! File generated at Wed Dec 25 17:52:21 2013
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/nxml-mode/.yas-parents	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,3 @@
+publiset-mode
+publidoc-mode
+publidoc-inline-mode
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-inline-mode/.yas-compiled-snippets.el	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,16 @@
+;;; Compiled snippets and support files for `publidoc-inline-mode'
+;;; Snippet definitions:
+;;;
+(yas-define-snippets 'publidoc-inline-mode
+                     '(("<emp=" "<emphasis>$0</emphasis>\n" "<emphasis>" nil nil nil nil nil nil)
+                       ("<hig=" "<highlight>$0</highlight>\n" "<highlight>" nil nil nil nil nil nil)
+                       ("<lin=" "<link idref=\"$1\">$0</link>\n" "<link idref=\"…\">" nil nil nil nil nil nil)
+                       ("<lin=" "<link uri=\"http://$1\">$0</link>\n" "<link uri=\"…\">" nil nil nil nil nil nil)
+                       ("<men=" "<mentioned>$0</mentioned>\n" "<mentioned>" nil nil nil nil nil nil)
+                       ("<nam=" "<name of=\"${1:$$(yas-choose-value '(\"person\" \"company\" \"book\" \"newspaper\" \"party\" \"movie\" \"painting\"))}\">$0</name>\n" "<name of=\"…\">" nil nil nil nil nil nil)
+                       ("<not=" "<note>$0</note>\n" "<note>" nil nil nil nil nil nil)
+                       ("<not=" "<note><p>$1</p><p>$0</p></note>\n" "<note><p>" nil nil nil nil nil nil)
+                       ("<quo=" "<quote>$0</quote>\n" "<quote>" nil nil nil nil nil nil)))
+
+
+;;; Do not edit! File generated at Wed Dec 25 17:52:21 2013
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-inline-mode/publidoc_emphasis	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,4 @@
+# name: <emphasis>
+# key: <emp=
+# --
+<emphasis>$0</emphasis>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-inline-mode/publidoc_highlight	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,4 @@
+# name: <highlight>
+# key: <hig=
+# --
+<highlight>$0</highlight>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-inline-mode/publidoc_link_idref	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,4 @@
+# name: <link idref="…">
+# key: <lin=
+# --
+<link idref="$1">$0</link>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-inline-mode/publidoc_link_uri	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,4 @@
+# name: <link uri="…">
+# key: <lin=
+# --
+<link uri="http://$1">$0</link>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-inline-mode/publidoc_mentioned	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,4 @@
+# name: <mentioned>
+# key: <men=
+# --
+<mentioned>$0</mentioned>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-inline-mode/publidoc_name	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,4 @@
+# name: <name of="…">
+# key: <nam=
+# --
+<name of="${1:$$(yas-choose-value '("person" "company" "book" "newspaper" "party" "movie" "painting"))}">$0</name>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-inline-mode/publidoc_note	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,4 @@
+# name: <note>
+# key: <not=
+# --
+<note>$0</note>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-inline-mode/publidoc_note_p	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,4 @@
+# name: <note><p>
+# key: <not=
+# --
+<note><p>$1</p><p>$0</p></note>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-inline-mode/publidoc_quote	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,4 @@
+# name: <quote>
+# key: <quo=
+# --
+<quote>$0</quote>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/.yas-compiled-snippets.el	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,19 @@
+;;; Compiled snippets and support files for `publidoc-mode'
+;;; Snippet definitions:
+;;;
+(yas-define-snippets 'publidoc-mode
+                     '(("<bqu=" "<blockquote>\n  <p>$1</p>\n  <attribution>$2</attribution>\n</blockquote>" "<blockquote>" nil nil nil nil nil nil)
+                       ("<lis=" "<list>\n  <item>$1</item>\n  <item>$2</item>\n  <item>$3</item>\n  <item>$4</item>\n</list>" "<list>" nil nil nil nil nil nil)
+                       ("<lis=" "<list type=\"glossary\">\n  <item>\n    <label>$1</label>\n    <p>$2</p>\n  </item>\n  <item>\n    <label>$3</label>\n    <p>$4</p>\n  </item>\n  <item>\n    <label>$5</label>\n    <p>$6</p>\n  </item>\n  <item>\n    <label>$7</label>\n    <p>$8</p>\n  </item>\n</list>" "<list type=\"glossary\">" nil nil nil nil nil nil)
+                       ("<lis=" "<list type=\"ordered\">\n  <item>$1</item>\n  <item>$2</item>\n  <item>$3</item>\n  <item>$4</item>\n</list>" "<list type=\"ordered\">" nil nil nil nil nil nil)
+                       ("<med=" "<media>\n  <head>\n    <title>$1</title>\n  </head>\n  <audio id=\"$2\"/>\n  <caption>\n    $0\n  </caption>\n</media>" "<media><audio id=\"…\">" nil nil nil nil nil nil)
+                       ("<med=" "<media>\n  <head>\n    <title>$1</title>\n  </head>\n  <image id=\"$2\"/>\n  <caption>\n    $0\n  </caption>\n</media>" "<media><image id=\"…\">" nil nil nil nil nil nil)
+                       ("<med=" "<media>\n  <head>\n    <title>$1</title>\n  </head>\n  <video id=\"$2\"/>\n  <caption>\n    $0\n  </caption>\n</media>" "<media><video id=\"…\">" nil nil nil nil nil nil)
+                       ("<sec=" "<section>\n  <p>\n    $0\n  </p>\n</section>" "<section><p>" nil nil nil nil nil nil)
+                       ("<sec=" "<section>\n  <head>\n    <title>$1</title>\n  </head>\n  <p>\n    $0\n  </p>\n</section>\n" "<section><head><title>…<p>" nil nil nil nil nil nil)
+                       ("<tab=" "<table>\n  <head>\n    <title>$1</title>\n  </head>\n  <thead>\n    <tr>\n      <td>$2</td>\n      <td>$3</td>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>$4</td>\n      <td>$5</td>\n    </tr>\n  </tbody>\n</table>\n" "<table>" nil nil nil nil nil nil)
+                       ("<tit=" "<head>\n  <title>$0</title>\n</head>  " "<head><title>" nil nil nil nil nil nil)
+                       ("<top=" "<!-- ================================================================== -->\n<topic>\n  <head>\n    <title>$1</title>\n  </head>\n\n  <section>\n    <p>\n      $0\n    </p>\n  </section>\n</topic>\n" "<topic>" nil nil nil nil nil nil)))
+
+
+;;; Do not edit! File generated at Wed Dec 25 17:52:21 2013
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_blockquote	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,7 @@
+# name: <blockquote>
+# key: <bqu=
+# --
+<blockquote>
+  <p>$1</p>
+  <attribution>$2</attribution>
+</blockquote>
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_list	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,9 @@
+# name: <list>
+# key: <lis=
+# --
+<list>
+  <item>$1</item>
+  <item>$2</item>
+  <item>$3</item>
+  <item>$4</item>
+</list>
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_list_glossary	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,21 @@
+# name: <list type="glossary">
+# key: <lis=
+# --
+<list type="glossary">
+  <item>
+    <label>$1</label>
+    <p>$2</p>
+  </item>
+  <item>
+    <label>$3</label>
+    <p>$4</p>
+  </item>
+  <item>
+    <label>$5</label>
+    <p>$6</p>
+  </item>
+  <item>
+    <label>$7</label>
+    <p>$8</p>
+  </item>
+</list>
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_list_ordered	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,9 @@
+# name: <list type="ordered">
+# key: <lis=
+# --
+<list type="ordered">
+  <item>$1</item>
+  <item>$2</item>
+  <item>$3</item>
+  <item>$4</item>
+</list>
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_media_audio	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,12 @@
+# name: <media><audio id="…">
+# key: <med=
+# --
+<media>
+  <head>
+    <title>$1</title>
+  </head>
+  <audio id="$2"/>
+  <caption>
+    $0
+  </caption>
+</media>
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_media_image	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,12 @@
+# name: <media><image id="…">
+# key: <med=
+# --
+<media>
+  <head>
+    <title>$1</title>
+  </head>
+  <image id="$2"/>
+  <caption>
+    $0
+  </caption>
+</media>
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_media_video	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,12 @@
+# name: <media><video id="…">
+# key: <med=
+# --
+<media>
+  <head>
+    <title>$1</title>
+  </head>
+  <video id="$2"/>
+  <caption>
+    $0
+  </caption>
+</media>
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_section_p	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,8 @@
+# name: <section><p>
+# key: <sec=
+# --
+<section>
+  <p>
+    $0
+  </p>
+</section>
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_section_title	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,11 @@
+# name: <section><head><title>…<p>
+# key: <sec=
+# --
+<section>
+  <head>
+    <title>$1</title>
+  </head>
+  <p>
+    $0
+  </p>
+</section>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_table	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,20 @@
+# name: <table>
+# key: <tab=
+# --
+<table>
+  <head>
+    <title>$1</title>
+  </head>
+  <thead>
+    <tr>
+      <td>$2</td>
+      <td>$3</td>
+    </tr>
+  </thead>
+  <tbody>
+    <tr>
+      <td>$4</td>
+      <td>$5</td>
+    </tr>
+  </tbody>
+</table>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_title	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,6 @@
+# name: <head><title>
+# key: <tit=
+# --
+<head>
+  <title>$0</title>
+</head>  
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publidoc-mode/publidoc_topic	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,15 @@
+# name: <topic>
+# key: <top=
+# --
+<!-- ================================================================== -->
+<topic>
+  <head>
+    <title>$1</title>
+  </head>
+
+  <section>
+    <p>
+      $0
+    </p>
+  </section>
+</topic>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publiset-mode/.yas-compiled-snippets.el	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,9 @@
+;;; Compiled snippets and support files for `publiset-mode'
+;;; Snippet definitions:
+;;;
+(yas-define-snippets 'publiset-mode
+                     '(("<com=" "<?xml version='1.0' encoding='utf-8'?>\n<publiset version=\"1.0\">\n  <composition id=\"${1:id}\" xml:lang=\"fr\"\n               as=\"publidoc\" attributes=\"version=1.0\">\n    <division as=\"document\" attributes=\"id=$1 xml:lang=${2:fr}\">\n      <head>\n        <title>$3</title>\n      </head>\n      <cover><image id=\"$1_cover\"/></cover>\n    </division>\n\n    <file>$4</file>\n    <file>$5</file>\n  </composition>\n</publiset>  " "<publiset><composition>…" nil nil nil nil nil nil)
+                       ("<sel=" "<?xml version='1.0' encoding='utf-8'?>\n<publiset version=\"1.0\">\n <selection id=\"$1\" xml:lang=\"${2:fr}\">\n    <head>\n      <title>$3</title>\n    </head>\n\n    <file>$4</file>\n    <file>$5</file>\n  </selection>\n</publiset>  " "<publiset><selection>…" nil nil nil nil nil nil)))
+
+
+;;; Do not edit! File generated at Wed Dec 25 17:52:21 2013
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publiset-mode/publiset_composition	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,18 @@
+# name: <publiset><composition>…
+# key: <com=
+# --
+<?xml version='1.0' encoding='utf-8'?>
+<publiset version="1.0">
+  <composition id="${1:id}" xml:lang="fr"
+               as="publidoc" attributes="version=1.0">
+    <division as="document" attributes="id=$1 xml:lang=${2:fr}">
+      <head>
+        <title>$3</title>
+      </head>
+      <cover><image id="$1_cover"/></cover>
+    </division>
+
+    <file>$4</file>
+    <file>$5</file>
+  </composition>
+</publiset>  
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/YASnippet/publiset-mode/publiset_selection	mer. déc. 25 17:53:53 2013 +0100
@@ -0,0 +1,14 @@
+# name: <publiset><selection>…
+# key: <sel=
+# --
+<?xml version='1.0' encoding='utf-8'?>
+<publiset version="1.0">
+ <selection id="$1" xml:lang="${2:fr}">
+    <head>
+      <title>$3</title>
+    </head>
+
+    <file>$4</file>
+    <file>$5</file>
+  </selection>
+</publiset>  
\ No newline at end of file
--- a/Yas/nxml-mode/ol	sam. déc. 21 15:30:18 2013 +0100
+++ /dev/null	jeu. janv. 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-# contributor: Patrick PIERRE
-# name: <ol>...</ol>
-# key: <ol=
-# --
-<ol>
-  <li>$1</li>
-  <li>$2</li>
-  <li>$3</li>
-  <li>$4</li>
-</ol>
\ No newline at end of file
--- a/Yas/nxml-mode/title	sam. déc. 21 15:30:18 2013 +0100
+++ /dev/null	jeu. janv. 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# contributor: Patrick PIERRE
-# name: <head><title>...</title></head>
-# key: <tit=
-# --
-<head>
-  <title>$0</title>
-</head>  
\ No newline at end of file
--- a/Yas/nxml-mode/ul	sam. déc. 21 15:30:18 2013 +0100
+++ /dev/null	jeu. janv. 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-# contributor: Patrick PIERRE
-# name: <ul>...</ul>
-# key: <ul=
-# --
-<ul>
-  <li>$1</li>
-  <li>$2</li>
-  <li>$3</li>
-  <li>$4</li>
-</ul>
\ No newline at end of file