SiSU -->
Full Text  scroll  TOC linked  toc  PDF portrait   pdf  PDF landscape   pdf  ODF/ODT  odt    A-Z  Document Manifest  @
 

SiSU

Syntax Highlighting

Ralph Amissah

copy @ SiSU

Rights: Copyright ©  Ralph Amissah 2007, part of SiSU documentation, License GPL 3


SiSU - Syntax Highlighting,
Ralph Amissah

SiSU Syntax Highlighting

1. Editor Files, Syntax Highlighting

Document Information (metadata)

SiSU - Syntax Highlighting,
Ralph Amissah

  1

SiSU Syntax Highlighting

  2

1. Editor Files, Syntax Highlighting

  3

The directory:

  4

./data/sisu/conf/editor-syntax-etc/

  5

/usr/share/sisu/conf/editor-syntax-etc

  6

contains rudimentary sisu syntax highlighting files for:

  7

  • (g)vim <http://www.vim.org>
  •   8

    package: sisu-vim

      9

    status: largely done

      10

    there is a vim syntax highlighting and folds component

      11

  • gedit <http://www.gnome.org/projects/gedit>
  •   12

  • gobby <http://gobby.0x539.de/>
  •   13

    file: sisu.lang

      14

    place in:

      15

    /usr/share/gtksourceview-1.0/language-specs

      16

    or

      17

    ~/.gnome2/gtksourceview-1.0/language-specs

      18

    status: very basic syntax highlighting

      19

    comments: this editor features display line wrap and is used by Goby!

      20

  • nano <http://www.nano-editor.org>
  •   21

    file: nanorc

      22

    save as:

      23

    ~/.nanorc

      24

    status: basic syntax highlighting

      25

    comments: assumes dark background; no display line-wrap; does line breaks

      26

  • diakonos (an editor written in ruby) <http://purepistos.net/diakonos>
  •   27

    file: diakonos.conf

      28

    save as:

      29

    ~/.diakonos/diakonos.conf

      30

    includes:

      31

    status: basic syntax highlighting

      32

    comments: assumes dark background; no display line-wrap

      33

  • kate & kwrite <http://kate.kde.org>
  •   34

    file: sisu.xml

      35

    place in:

      36

    /usr/share/apps/katepart/syntax

      37

    or

      38

    ~/.kde/share/apps/katepart/syntax

      39

    [settings::configure kate::{highlighting,filetypes}]

      40

    [tools::highlighting::{markup,scripts}::SiSU]

      41

  • nedit <http://www.nedit.org>
  •   42

    file: sisu_nedit.pats

      43

    nedit -import sisu_nedit.pats

      44

    status: a very clumsy first attempt [not really done]

      45

    comments: this editor features display line wrap

      46

  • emacs <http://www.gnu.org/software/emacs/emacs.html>
  •   47

    files: sisu-mode.el

      48

    to file ~/.emacs add the following 2 lines:

      49

    (add-to-list 'load-path "/usr/share/sisu-examples/config/syntax_hi")

      50

    (require 'sisu-mode.el)

      51

    [not done / not yet included]

      52

  • vim & gvim <http://www.vim.org>
  •   53

    files:

      54

    package is the most comprehensive sisu syntax highlighting and editor environment provided to date (is for vim/ gvim, and is separate from the contents of this directory)

      55

    status: this includes: syntax highlighting; vim folds; some error checking

      56

    comments: this editor features display line wrap

      57

    NOTE:

      58

    [SiSU parses files with long lines or line breaks, but, display linewrap (without line-breaks) is a convenient editor feature to have for sisu markup]

      59


     

    Document Information (metadata)

      0

    Metadata

       

    <http://www.jus.uio.no/sisu/sisu_manual/sisu_syntax_highlighting/sisu_manifest.html>

    Dublin Core (DC)

    DC tags included with this document are provided here.

    DC Title: SiSU - Syntax Highlighting

    DC Creator: Ralph Amissah

    DC Rights: Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3

    DC Type: information

    DC Date created: 2002-11-12

    DC Date issued: 2002-11-12

    DC Date available: 2002-11-12

    DC Date modified: 2007-09-16

    DC Date: 2007-09-16

    Version Information

    Sourcefile: sisu_syntax_highlighting.sst

    Filetype: SiSU text insert 0.58

    Sourcefile Digest, MD5(sisu_syntax_highlighting.sst)= 28dd0275c6fcd67bbedcd8aee9df4b3e

    Skin_Digest: MD5(/home/ralph/grotto/theatre/dbld/sisu-dev/sisu/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/skin/doc/skin_sisu_manual.rb)= 20fc43cf3eb6590bc3399a1aef65c5a9

    Generated

    Document (metaverse) last generated: Mon Sep 24 15:34:18 +0100 2007

    Generated by: SiSU 0.59.0 of 2007w38/0 (2007-09-23)

    Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux]

    SiSU -->
    Full Text  scroll  TOC linked  toc  PDF portrait   pdf  PDF landscape   pdf  ODF/ODT  odt    A-Z  Document Manifest  @
     

    SiSU

    Output generated by SiSU 0.59.0 2007-09-23 (2007w38/0)
    SiSU Copyright © Ralph Amissah 1997, current 2007. All Rights Reserved.
    SiSU is software for document structuring, publishing and search,
    www.jus.uio.no/sisu and www.sisudoc.org
    w3 since October 3 1993 ralph@amissah.com

    SiSU using:
    Standard SiSU markup syntax,
    Standard SiSU meta-markup syntax, and the
    Standard SiSU object citation numbering and system, (object/text positioning system)
    Copyright © Ralph Amissah 1997, current 2007. All Rights Reserved.

    GPLv3

    SiSU is released under GPLv3 or later, <http://www.gnu.org/licenses/gpl.html>

    SiSU, developed using Ruby on Debian/Gnu/Linux software infrastructure, with the usual GPL (or OSS) suspects.
    Better - "performance, reliability, scalability, security & total cost of ownership" [not to mention flexibility & choice] use of and adherence to open standards (where practical and fair) and it is software libre.
    Get With the Future Way Better!



    idx txt


    SiSU manual


    SiSU