From: Stefan Huber Date: Mon, 8 Jan 2024 14:09:28 +0000 (+0100) Subject: Initial commit X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;ds=sidebyside;p=vim-syntax-easychair2.git Initial commit --- 2a75b783268a3e04a36db11739f68771da6797f6 diff --git a/README.md b/README.md new file mode 100644 index 0000000..cdb8958 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# VIM syntax file for new easychair review form syntax + +The [EasyChair review system](https://easychair.org/) changed the syntax of the +offline review form text files. This motivated me to update my old syntax files +from 2010 to the new version. + +Installation is easy with your favorite plugin manager, e.g., +[vim-plug](https://github.com/junegunn/vim-plug): +```` +Plug 'shuber2/easychair2-syntax' +```` diff --git a/ftdetect/easychair2.vim b/ftdetect/easychair2.vim new file mode 100644 index 0000000..3dc8be2 --- /dev/null +++ b/ftdetect/easychair2.vim @@ -0,0 +1 @@ +au BufRead,BufNewFile *-review-[0-9]\+r[0-9]\+.txt set filetype=easychair2 diff --git a/syntax/easychair2.vim b/syntax/easychair2.vim new file mode 100644 index 0000000..68a02d3 --- /dev/null +++ b/syntax/easychair2.vim @@ -0,0 +1,29 @@ +" Vim syntax file +" Language: Easychair conference system review form +" Maintainer: Stefan Huber +" +" +" Changelog: +" 2010-12-12: Initial version +" 2024-01-08: Update to new syntax + +" Quit when a syntax file was already loaded +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +runtime! syntax/tex.vim + +unlet! b:current_syntax + +syn region ec2Section start="==\*==" end="$" +syn region ec2Subsection start="==+==" end="$" +syn region ec2Comment start="==-==" end="$" + +hi def link ec2Comment Comment +hi def link ec2Section Directory +hi def link ec2Subsection Directory + +let b:current_syntax = "easychair2" diff --git a/yourconf-review-123r456.txt b/yourconf-review-123r456.txt new file mode 100644 index 0000000..1c082d1 --- /dev/null +++ b/yourconf-review-123r456.txt @@ -0,0 +1,81 @@ +==+== Your Conference Review Form +==-== DO NOT CHANGE LINES THAT START WITH "==+==" OR "==*==". + +==+== ===================================================================== +==+== Begin Review #123 +==+== Reviewer: Thomas Anderson + +==+== Paper #123 +==-== Title: TopoImages: Combining Local Topology Encoding and Deep +==-== Learning for Medical Image Classification + +==+== Review Readiness +==-== Enter "Ready" if the review is ready for others to see: + +Ready + +==*== Overall merit +==-== Choices: +==-== 1. Reject +==-== 2. Weak reject +==-== 3. Weak accept +==-== 4. Accept +==-== 5. Strong accept +==-== Enter the number of your choice: + +4 + +==*== Reviewer expertise +==-== Choices: +==-== 1. No familiarity +==-== 2. Some familiarity +==-== 3. Knowledgeable +==-== 4. Expert +==-== Enter the number of your choice: + +3 + +==*== Paper summary +==-== Markdown styling and LaTeX math supported. + +Est consectetuer faucibus. Donec tempor lobortis turpis. Sed tellus velit, +ullamcorper ac, fringilla vitae, sodales nec, purus. Morbi aliquet risus in +mi. + +Curabitur cursus volutpat neque. Proin posuere mauris ut ipsum. Praesent +scelerisque tortor a justo. Quisque consequat libero eu erat. In eros augue, +sollicitudin sed, tempus tincidunt, pulvinar a, lectus. Vestibulum ante ipsum +primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas +interdum purus id risus. Ut ultricies cursus dui. In nec enim at odio aliquam +iaculis. Fusce nisl. Pellentesque sagittis. Lorem ipsum dolor sit amet, +consectetuer adipiscing elit. Aenean placerat tellus. In semper sagittis enim. +Aliquam risus neque. + +==*== Comments for authors +==-== Markdown styling and LaTeX math supported. + +Odio sollicitudin quam. Nullam non mauris. Phasellus lacinia, velit sit amet +bibendum euismod, leo diam interdum ligula, eu scelerisque sem purus in +tellus. + +\[ E = m \cdot c^2 \] + +Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In sit amet nunc id +quam porta varius. Ut aliquet facilisis turpis. Etiam pellentesque quam et +erat. Praesent suscipit justo. + +Cras nec metus pulvinar sem tempor hendrerit. Class aptent taciti sociosqu ad +litora torquent per conubia nostra, per inceptos himenaeos. Nullam in nulla. +Mauris elementum. Curabitur tempor, quam ac rutrum placerat, nunc augue +ullamcorper est, vitae molestie neque nunc a nunc. Integer justo dolor, +consequat id, rutrum auctor, ullamcorper sed, orci. In. + +==*== Comments for PC +==-== (hidden from authors) +==-== Markdown styling and LaTeX math supported. + +I am compromised by lorem ipsum. Do not consider my review. + +==+== Scratchpad (for unsaved private notes) + +==+== End Review