# HG changeset patch # User Patrick PIERRE # Date 1387990433 -3600 # Node ID 7890bee652759564b4b7fb8df7bee10bbb772ddb # Parent d4520e6f1c45eb2741a38b59970dd9cb0bc5796f Ajout des premiers snippets pour Publidoc diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/nxml-mode/.yas-compiled-snippets.el --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/nxml-mode/.yas-parents --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-inline-mode/.yas-compiled-snippets.el --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-inline-mode/publidoc_emphasis --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-inline-mode/publidoc_highlight --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-inline-mode/publidoc_link_idref --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-inline-mode/publidoc_link_uri --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-inline-mode/publidoc_mentioned --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-inline-mode/publidoc_name --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-inline-mode/publidoc_note --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-inline-mode/publidoc_note_p --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-inline-mode/publidoc_quote --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/.yas-compiled-snippets.el --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_blockquote --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_list --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_list_glossary --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_list_ordered --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_media_audio --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_media_image --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_media_video --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_section_p --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_section_title --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_table --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_title --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publidoc-mode/publidoc_topic --- /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> diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publiset-mode/.yas-compiled-snippets.el --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publiset-mode/publiset_composition --- /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 diff -r d4520e6f1c45 -r 7890bee65275 YASnippet/publiset-mode/publiset_selection --- /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 diff -r d4520e6f1c45 -r 7890bee65275 Yas/nxml-mode/ol --- 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 diff -r d4520e6f1c45 -r 7890bee65275 Yas/nxml-mode/title --- 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 diff -r d4520e6f1c45 -r 7890bee65275 Yas/nxml-mode/ul --- 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