aboutsummaryrefslogtreecommitdiffhomepage
path: root/data
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-02-14 03:11:24 +0000
committerRalph Amissah <ralph@amissah.com>2008-02-14 03:11:24 +0000
commit6ce297c26ca7db7b1d3f03cf21c2461386c80d2d (patch)
tree5ba059d26ac4fccf1719a6463ed900bc31579be7 /data
parentUpdated sisu-0.64.3 (diff)
parentchangelog and version (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'data')
-rw-r--r--data/doc/sisu/html/sisu.1.html55
-rw-r--r--data/doc/sisu/html/sisu_vim.7.html44
-rw-r--r--data/doc/sisu/sisu_markup_samples/sisu_manual/sisu.ssm6
-rw-r--r--data/doc/sisu/sisu_markup_samples/sisu_manual/sisu_markup.sst18
-rw-r--r--data/doc/sisu/sisu_markup_samples/sisu_manual/sisu_vim.sst10
-rw-r--r--data/sisu/conf/editor-syntax-etc/diakonos/diakonos.conf5
-rw-r--r--data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim91
7 files changed, 142 insertions, 87 deletions
diff --git a/data/doc/sisu/html/sisu.1.html b/data/doc/sisu/html/sisu.1.html
index aee67590..88717ed6 100644
--- a/data/doc/sisu/html/sisu.1.html
+++ b/data/doc/sisu/html/sisu.1.html
@@ -685,26 +685,35 @@ as code<br>
<p> Some interactive help on markup is available, by typing sisu and selecting
<p>markup or sisu --help markup
+<p> To check the markup in a file:
+<p> sisu --identify
+&nbsp;[filename].sst<br>
+
+<p> For brief descriptive summary of markup history
+<p> sisu --query-history<br>
+
+<p> or if for a particular version:
+<p> sisu --query-0.38<br>
+
<p> 7.2 MARKUP EXAMPLES
<p> 7.2.1 ONLINE
-<p> Online markup
-examples are available together with the respective outputs produced from
-&lt;<a href='http://www.jus.uio.no/sisu/SiSU/examples.html'>http://www.jus.uio.no/sisu/SiSU/examples.html</a>
-&gt; or from &lt;<a href='http://www.jus.uio.no/sisu/sisu_examples/'>http://www.jus.uio.no/sisu/sisu_examples/</a>
-&gt;
-
-<p> There is of course this document, which provides a cursory overview of
-sisu markup and the respective output produced: &lt;<a href='http://www.jus.uio.no/sisu/sisu_markup/'>http://www.jus.uio.no/sisu/sisu_markup/</a>
+<p> Online markup examples are available
+together with the respective outputs produced from &lt;<a href='http://www.jus.uio.no/sisu/SiSU/examples.html'>http://www.jus.uio.no/sisu/SiSU/examples.html</a>
&gt;
-
-<p> Some example marked up files are available as html with syntax highlighting
-for viewing: &lt;<a href='http://www.jus.uio.no/sisu/sample/syntax'>http://www.jus.uio.no/sisu/sample/syntax</a>
+or from &lt;<a href='http://www.jus.uio.no/sisu/sisu_examples/'>http://www.jus.uio.no/sisu/sisu_examples/</a>
&gt;
-<p> an alternative presentation
-of markup syntax: &lt;<a href='http://www.jus.uio.no/sisu/sample/on_markup.txt'>http://www.jus.uio.no/sisu/sample/on_markup.txt</a>
+<p> There is of course this
+document, which provides a cursory overview of sisu markup and the respective
+output produced: &lt;<a href='http://www.jus.uio.no/sisu/sisu_markup/'>http://www.jus.uio.no/sisu/sisu_markup/</a>
&gt;
-<p> 7.2.2 INSTALLED
+<p> Some example marked
+up files are available as html with syntax highlighting for viewing: &lt;<a href='http://www.jus.uio.no/sisu/sample/syntax'>http://www.jus.uio.no/sisu/sample/syntax</a>
+&gt;
+
+<p> an alternative presentation of markup syntax: &lt;<a href='http://www.jus.uio.no/sisu/sample/on_markup.txt'>http://www.jus.uio.no/sisu/sample/on_markup.txt</a>
+&gt;
+<p> 7.2.2 INSTALLED
<p> With <b>SiSU</b> installed sample skins may be found in: /usr/share/doc/sisu/sisu_markup_samples/dfsg
(or equivalent directory) and if sisu-markup-samples is installed also under:
@@ -3262,30 +3271,30 @@ html pages[^28]
<p> DC Title: <i>SiSU</i> - Manual
<p> DC Creator: <i>Ralph</i> Amissah
<p> DC Rights: <i>Copyright</i>
-(C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3
+(C) Ralph Amissah 2008, part of SiSU documentation, License GPL 3
<p> DC
Type: <i>information</i>
<p> DC Date created: <i>2002-08-28</i>
<p> DC Date issued: <i>2002-08-28</i>
<p> DC Date available: <i>2002-08-28</i>
-<p> DC Date modified: <i>2008-02-05</i>
-<p> DC Date: <i>2008-02-05</i>
+<p> DC Date modified: <i>2008-02-12</i>
+<p> DC Date: <i>2008-02-12</i>
<p> <b>Version Information</b>
<p> Sourcefile: <i>sisu.ssm.sst</i>
<p> Filetype: <i>SiSU</i> text insert
<p>0.58
-<p> Sourcefile Digest, MD5(sisu.ssm.sst)= <i>587397c3165a622e01a5c800d69d39a0</i>
+<p> Sourcefile Digest, MD5(sisu.ssm.sst)= <i>1a602f31f72da6a8d1e6fc6b42d1b703</i>
<p> Skin_Digest: MD5(skin_sisu_manual.rb)= <i>072b2584bedea82ea8a416587b9fa244</i>
<p> <b>Generated</b>
-<p> Document (metaverse) last generated: <i>Tue</i> Feb 05 23:45:59
+<p> Document (metaverse) last generated: <i>Thu</i> Feb 14 02:44:23
<p>+0000 2008
-<p> Generated by: <i>SiSU</i> <i>0.64.3</i> of 2008w05/2 (2008-02-05)
+<p> Generated by: <i>SiSU</i> <i>0.64.4</i> of 2008w06/4 (2008-02-14)
<p> Ruby version:
<i>ruby</i> 1.8.6 (2007-09-24 patchlevel 111) &nbsp;[i486-linux]
<p>
@@ -3403,15 +3412,15 @@ distributable are not freely changeable. </li><b>.</b><li>named index.html or mo
</dt>
<dd></dd>
-<dt>* Generated by: SiSU 0.64.3 of 2008w05/2 (2008-02-05) </dt>
+<dt>* Generated by: SiSU 0.64.4 of 2008w06/4 (2008-02-14) </dt>
<dd></dd>
<dt>* Ruby version: ruby
1.8.6 (2007-09-24 patchlevel 111) [i486-linux] </dt>
<dd></dd>
-<dt>* Last Generated on: Tue Feb
-05 23:45:59 +0000 2008 </dt>
+<dt>* Last Generated on: Thu Feb
+14 02:44:23 +0000 2008 </dt>
<dd></dd>
<dt>* SiSU <a href='http://www.jus.uio.no/sisu'>http://www.jus.uio.no/sisu</a>
diff --git a/data/doc/sisu/html/sisu_vim.7.html b/data/doc/sisu/html/sisu_vim.7.html
index 5099bb3a..385eef0e 100644
--- a/data/doc/sisu/html/sisu_vim.7.html
+++ b/data/doc/sisu/html/sisu_vim.7.html
@@ -9,14 +9,15 @@
<a href='#toc'>Table of Contents</a><p>
<h2><a name='sect0' href='#toc0'>Name</a></h2>
-sisu_vim - vim syntax and folds file for sisu: documents: markup, structuring,
-publishing in multiple standard formats, and search SISU - VIM, RALPH AMISSAH
-
+ sisu_vim - vim syntax and folds file for sisu: markup, structuring,
+publishing in multiple standard formats, and search<br>
+ SISU - VIM, RALPH AMISSAH
<p> SISU VIM
<p> 1. SISU VIM
<p> <b>Synopsis</b>
-<p> <b>SiSU</b> has syntax highlighting for
-a number of editors including vim which are documented under:
+<p> <b>SiSU</b> has
+syntax highlighting for a number of editors including vim which are documented
+under:
<p> man sisu_syntax_highlighting<br>
<p> /usr/share/doc/sisu/sisu_manual/sisu_syntax_highlighting/index.html<br>
@@ -32,10 +33,11 @@ and to set some defaults for <b>SiSU</b> markup in installed by sisu.
<p> Vim 7 includes
sisu markup syntax highlighting.
<p> Vim related files are included in: /usr/share/sisu/conf/editor-syntax-etc/vim
-(including the syntax highlighter which may be used for earlier versions
-of Vim).
-<p> sisu-vim actions are activated on files with the suffix .sst .ssm
-.ssi .-sst ._sst (and the same with a further .meta extension)<br>
+(including the syntax highlighter, together with an ftplugin which may
+be sourced if so desired from your vimrc).
+<p> sisu-vim actions are activated
+on files with the suffix .sst .ssm .ssi .-sst ._sst (and the same with a further
+.meta extension)<br>
<p>
<p> <br>
@@ -65,7 +67,7 @@ of Vim).
<i>SiSU</i> - Vim
<p> DC Creator: <i>Ralph</i> Amissah
<p> DC Rights: <i>Copyright</i> (C) Ralph
-Amissah 2007, part of SiSU documentation, License GPL 3
+Amissah 2008, part of SiSU documentation, License GPL 3
<p> DC Type: <i>information</i>
<p> DC Date created: <i>2002-11-12</i>
@@ -73,23 +75,23 @@ Amissah 2007, part of SiSU documentation, License GPL 3
<p> DC Date available:
<p><i>2002-11-12</i>
-<p> DC Date modified: <i>2007-09-16</i>
-<p> DC Date: <i>2007-09-16</i>
+<p> DC Date modified: <i>2008-02-12</i>
+<p> DC Date: <i>2008-02-12</i>
<p> <b>Version Information</b>
<p> Sourcefile: <i>sisu_vim.sst</i>
<p> Filetype: <i>SiSU</i> text insert 0.58
<p> Sourcefile
-Digest, MD5(sisu_vim.sst)= <i>a3db74eebef04815aa234d3c3b17f375</i>
+Digest, MD5(sisu_vim.sst)= <i>b5028f957b128162f7653bbd940042ca</i>
<p> Skin_Digest:
-MD5(skin_sisu_manual.rb)= <i>20fc43cf3eb6590bc3399a1aef65c5a9</i>
+MD5(skin_sisu_manual.rb)= <i>072b2584bedea82ea8a416587b9fa244</i>
<p> <b>Generated</b>
<p>
- Document (metaverse) last generated: <i>Sat</i> Sep 29 17:14:44 +0100 2007
+ Document (metaverse) last generated: <i>Thu</i> Feb 14 02:44:14 +0000 2008
<p>
-Generated by: <i>SiSU</i> <i>0.59.1</i> of 2007w39/2 (2007-09-25)
+Generated by: <i>SiSU</i> <i>0.64.4</i> of 2008w06/4 (2008-02-14)
<p> Ruby version: <i>ruby</i> 1.8.6
-(2007-06-07 patchlevel 36) &nbsp;[i486-linux]
+(2007-09-24 patchlevel 111) &nbsp;[i486-linux]
<p>
<p>
<dl>
@@ -130,15 +132,15 @@ Generated by: <i>SiSU</i> <i>0.59.1</i> of 2007w39/2 (2007-09-25)
</dt>
<dd></dd>
-<dt>* Generated by: SiSU 0.59.1 of 2007w39/2 (2007-09-25) </dt>
+<dt>* Generated by: SiSU 0.64.4 of 2008w06/4 (2008-02-14) </dt>
<dd></dd>
<dt>* Ruby version: ruby
-1.8.6 (2007-06-07 patchlevel 36) [i486-linux] </dt>
+1.8.6 (2007-09-24 patchlevel 111) [i486-linux] </dt>
<dd></dd>
-<dt>* Last Generated on: Sat Sep 29
-17:14:44 +0100 2007 </dt>
+<dt>* Last Generated on: Thu Feb
+14 02:44:14 +0000 2008 </dt>
<dd></dd>
<dt>* SiSU <a href='http://www.jus.uio.no/sisu'>http://www.jus.uio.no/sisu</a>
diff --git a/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu.ssm b/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu.ssm
index 50265706..54bbe2a3 100644
--- a/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu.ssm
+++ b/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu.ssm
@@ -6,7 +6,7 @@
@creator: Ralph Amissah
-@rights: Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3
+@rights: Copyright (C) Ralph Amissah 2008, part of SiSU documentation, License GPL 3
@type: information
@@ -18,9 +18,9 @@
@date.available: 2002-08-28
-@date.modified: 2008-02-05
+@date.modified: 2008-02-12
-@date: 2008-02-05
+@date: 2008-02-12
@level: new=C; break=1; num_top=1
diff --git a/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu_markup.sst b/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu_markup.sst
index 9c797dcc..741c26a8 100644
--- a/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu_markup.sst
+++ b/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu_markup.sst
@@ -6,7 +6,7 @@
@creator: Ralph Amissah
-@rights: Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3
+@rights: Copyright (C) Ralph Amissah 2008, part of SiSU documentation, License GPL 3
@type: information
@@ -18,9 +18,9 @@
@date.available: 2002-08-28
-@date.modified: 2007-09-16
+@date.modified: 2008-02-12
-@date: 2007-09-16
+@date: 2008-02-12
@level: new=C; break=1; num_top=1
@@ -73,6 +73,18 @@ _1* paragraph actions, such as indent, bulleted, numbered-lists, etc.
Some interactive help on markup is available, by typing sisu and selecting markup or sisu --help markup
+To check the markup in a file:
+
+_1 sisu --identify [filename].sst
+
+For brief descriptive summary of markup history
+
+_1 sisu --query-history
+
+or if for a particular version:
+
+_1 sisu --query-0.38
+
2~ Markup Examples
3~ Online
diff --git a/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu_vim.sst b/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu_vim.sst
index a1c324aa..b8018fa8 100644
--- a/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu_vim.sst
+++ b/data/doc/sisu/sisu_markup_samples/sisu_manual/sisu_vim.sst
@@ -6,7 +6,7 @@
@creator: Ralph Amissah
-@rights: Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3
+@rights: Copyright (C) Ralph Amissah 2008, part of SiSU documentation, License GPL 3
@type: information
@@ -18,14 +18,16 @@
@date.available: 2002-11-12
-@date.modified: 2007-09-16
+@date.modified: 2008-02-12
-@date: 2007-09-16
+@date: 2008-02-12
@level: new=C; break=1; num_top=1
@skin: skin_sisu_manual
+@man: name= sisu_vim \- vim syntax and folds file for sisu: markup, structuring, publishing in multiple standard formats, and search;
+
@bold: /Gnu|Debian|Ruby|SiSU/
@links: { SiSU Manual }http://www.jus.uio.no/sisu/sisu_manual/
@@ -65,7 +67,7 @@ Vim 7 includes sisu markup syntax highlighting.
Vim related files are included in:
/usr/share/sisu/conf/editor-syntax-etc/vim
-(including the syntax highlighter which may be used for earlier versions of Vim).
+(including the syntax highlighter, together with an ftplugin which may be sourced if so desired from your vimrc).
sisu-vim actions are activated on files with the suffix .sst .ssm .ssi .-sst ._sst (and the same with a further .meta extension)
diff --git a/data/sisu/conf/editor-syntax-etc/diakonos/diakonos.conf b/data/sisu/conf/editor-syntax-etc/diakonos/diakonos.conf
index c7fa686b..cc7c4566 100644
--- a/data/sisu/conf/editor-syntax-etc/diakonos/diakonos.conf
+++ b/data/sisu/conf/editor-syntax-etc/diakonos/diakonos.conf
@@ -966,6 +966,11 @@ lang.sisu.tokens.poem.format green
lang.sisu.tokens.code.open ^code\{
lang.sisu.tokens.code.close ^\}code
lang.sisu.tokens.code.format green
+lang.sisu.tokens.sem (([a-z]+):\{.+?\}:\2)
+lang.sisu.tokens.sem (([a-z]+);\{.+?\};\2)
+lang.sisu.tokens.sem (([a-z]+):\[.+?\]:\2)
+lang.sisu.tokens.sem (([a-z]+);\[.+?\];\2)
+lang.sisu.tokens.sem.format green
lang.sisu.tokens.error \s+$|<\S{2}\S+?>|[a-zA-Z0-9,.::?!&><]+http://\S+|http://\S+<
#lang.sisu.tokens.error \s+$|<\S+?>|[a-zA-Z0-9,.::?!&><]+http://\S+|http://\S+<
lang.sisu.tokens.error.format magenta reverse
diff --git a/data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim b/data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim
index 791d0c47..9a351d88 100644
--- a/data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim
+++ b/data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim
@@ -30,6 +30,20 @@ if !exists("sisu_no_identifiers")
syn match sisu_link " \*\~\S\+"
syn match sisu_action "^<:insert\d\+>"
syn match sisu_contain "<:e>"
+ syn match sisu_sem_marker "[a-z]\+;{"
+ syn match sisu_sem_marker "};[a-z]\+"
+ syn match sisu_sem_marker_block "[a-z]\+:{"
+ syn match sisu_sem_marker_block "}:[a-z]\+"
+ syn match sisu_sem_ex_marker "[a-z]\+;\["
+ syn match sisu_sem_ex_marker "\];[a-z]\+"
+ syn match sisu_sem_ex_marker_block "[a-z]\+:\["
+ syn match sisu_sem_ex_marker_block "\]:[a-z]\+"
+ syn match sisu_error_sem_marker "[a-z]\+[:;]{"
+ syn match sisu_error_sem_marker "}[:;][a-z]\+"
+ syn match sisu_sem_block contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_mark_endnote,sisu_content_endnote "\([a-z]\+\):{[^}].\{-}}:\1"he=e-1
+ syn match sisu_sem_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker "\([a-z]\+\);{[^}].\{-}};\1"
+ syn match sisu_sem_ex_block contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_mark_endnote,sisu_content_endnote "\([a-z]\+\):\[[^}].\{-}\]:\1"he=e-1
+ syn match sisu_sem_ex_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker "\([a-z]\+\);\[[^}].\{-}\];\1"
endif
"% 9 URLs Numbers: and ASCII Codes
syn match sisu_number "\<\(0x\x\+\|0b[01]\+\|0\o\+\|0\.\d\+\|0\|[1-9][\.0-9_]*\)\>"
@@ -43,7 +57,7 @@ syn match sisu_error contains=sisu_error "<a href\|</a>]"
syn region sisu_link contains=sisu_error,sisu_error_wspace matchgroup=sisu_action start="^<<\s*|[a-zA-Z0-9^._-]\+|@|[a-zA-Z0-9^._-]\+|"rs=s+2 end="$"
"% header
syn region sisu_header_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break matchgroup=sisu_header start="^0\~\(\S\+\|[^-]\)" end="\n$"
-syn region sisu_header_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break matchgroup=sisu_header start="^@\S\+:[+-]\?\s"rs=e-1 end="\n$"
+syn region sisu_header_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break matchgroup=sisu_header start="^[@%]\S\+:[+-]\?\s"rs=e-1 end="\n$"
"% headings
syn region sisu_heading contains=sisu_mark_endnote,sisu_content_endnote,sisu_marktail,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_ocn,sisu_error,sisu_error_wspace matchgroup=sisu_structure start="^\([1-8]\|:\?[A-C]\)\~\(\S\+\|[^-]\)" end="$"
"% grouped text
@@ -52,19 +66,20 @@ syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_control,sis
syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^\(alt\|group\|poem\){" end="^}\(alt\|group\|poem\)"
syn region sisu_content_alt contains=sisu_error matchgroup=sisu_contain start="^code{" end="^}code"
"% endnotes
-syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break matchgroup=sisu_mark_endnote start="\~{[*+]*" end="}\~" skip="\n"
-syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break matchgroup=sisu_mark_endnote start="\~\[[*+]*" end="\]\~" skip="\n"
+syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker matchgroup=sisu_mark_endnote start="\~{[*+]*" end="}\~" skip="\n"
+syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker matchgroup=sisu_mark_endnote start="\~\[[*+]*" end="\]\~" skip="\n"
syn region sisu_content_endnote contains=sisu_strikeout,sisu_number,sisu_control,sisu_link,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break matchgroup=sisu_mark_endnote start="\^\~" end="\n\n"
"% links and images
-syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="}\(https\?:/\/\|\.\./\)\S\+" oneline
-syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="\[[1-5][sS]*\]}\S\+\.ss[tm]" oneline
+syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_sem_block,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="}\(https\?:/\/\|\.\./\)\S\+" oneline
+syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_sem_block,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="\[[1-5][sS]*\]}\S\+\.ss[tm]" oneline
syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_link start="{" end="}image" oneline
"% some line operations
syn region sisu_control contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_error,sisu_error_wspace matchgroup=sisu_control start="\(\(^\| \)!_ \|<:b>\)" end="$"
-syn region sisu_normal contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_\([1-9*]\|[1-9]\*\) " end="$"
+syn region sisu_normal contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_\([1-9*]\|[1-9]\*\) " end="$"
syn region sisu_normal contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^\(#[ 1]\|_# \)" end="$"
syn region sisu_comment matchgroup=sisu_comment start="^%\{1,2\} " end="$"
"% font face curly brackets
+"syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_sem start="\S\+:{" end="}:[^<>,.!?:; ]\+" oneline
syn region sisu_control contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="\*{" end="}\*"
syn region sisu_control contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="!{" end="}!"
syn region sisu_underline contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="_{" end="}_"
@@ -137,33 +152,43 @@ if version >= 508 || !exists("did_sisu_syntax_inits")
command -nargs=+ HiLink hi def link <args>
endif
"% 1 Defined
- HiLink sisu_normal Normal
- HiLink sisu_header PreProc
- HiLink sisu_header_content Statement
- HiLink sisu_heading Title
- HiLink sisu_structure Operator
- HiLink sisu_contain Include
- HiLink sisu_mark_endnote Include
- HiLink sisu_link NonText
- HiLink sisu_linked String
- HiLink sisu_fontface Include
- HiLink sisu_strikeout DiffDelete
- HiLink sisu_content_alt Special
- HiLink sisu_content_endnote Special
- HiLink sisu_control Define
- HiLink sisu_ocn Include
- HiLink sisu_number Number
- HiLink sisu_identifier Function
- HiLink sisu_underline Underlined
- HiLink sisu_markpara Include
- HiLink sisu_marktail Include
- HiLink sisu_mark Identifier
- HiLink sisu_break Structure
- HiLink sisu_html Type
- HiLink sisu_action Identifier
- HiLink sisu_comment Comment
- HiLink sisu_error_wspace Error
- HiLink sisu_error Error
+ HiLink sisu_normal Normal
+ HiLink sisu_header PreProc
+ HiLink sisu_header_content Statement
+ HiLink sisu_heading Title
+ HiLink sisu_structure Operator
+ HiLink sisu_contain Include
+ HiLink sisu_mark_endnote Include
+ HiLink sisu_link NonText
+ HiLink sisu_linked String
+ HiLink sisu_fontface Include
+ HiLink sisu_strikeout DiffDelete
+ HiLink sisu_content_alt Special
+ HiLink sisu_sem_content String
+ HiLink sisu_sem_content SpecialKey
+ HiLink sisu_sem_block Special
+ HiLink sisu_sem_marker Visual
+ HiLink sisu_sem_marker_block MatchParen
+ HiLink sisu_sem_ex_marker FoldColumn
+ HiLink sisu_sem_ex_marker_block Folded
+ HiLink sisu_sem_ex_content Comment
+ HiLink sisu_sem_ex_block Comment
+ HiLink sisu_content_endnote Special
+ HiLink sisu_control Define
+ HiLink sisu_ocn Include
+ HiLink sisu_number Number
+ HiLink sisu_identifier Function
+ HiLink sisu_underline Underlined
+ HiLink sisu_markpara Include
+ HiLink sisu_marktail Include
+ HiLink sisu_mark Identifier
+ HiLink sisu_break Structure
+ HiLink sisu_html Type
+ HiLink sisu_action Identifier
+ HiLink sisu_comment Comment
+ HiLink sisu_error_sem_marker Error
+ HiLink sisu_error_wspace Error
+ HiLink sisu_error Error
delcommand HiLink
endif
let b:current_syntax = "sisu"