File: psgml-style.fs

package info (click to toggle)
xemacs20 20.4-13
  • links: PTS
  • area: main
  • in suites: slink
  • size: 67,324 kB
  • ctags: 57,643
  • sloc: lisp: 586,197; ansic: 184,662; sh: 4,296; asm: 3,179; makefile: 2,021; perl: 1,059; csh: 96; sed: 22
file content (32 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
;;; style.fs --- example style file for fs.el and catalog.sgml -*- lisp -*-

(
 ("example"
  default-top 1
  default-bottom 1)
 ("front")
 ("body")
 ("pubfront" text "")
 ("abstract"
  block t
  before (block t text "ABSTRACT")
  left 4)
 ("p" block t)
 ("title" block t)
 ("titlegrp" block t bottom 2 default-bottom 0 default-top 0)
 ("subtitle" before (text " // "))
 ("list" block t)
 ("head" block t)
 ("item"
  left (+ (fs-char 'left) 3)
  hang-from " * ")
 ("keyword"
  before (text "|")
  after (text "|"))
 ("chapter"  block t  top 2  before (text "CHAPTER"))
 ("lit" block t literal t)
 (t
  before (text (format "<%s>" (sgml-element-gi e)))
  after (text " ")
  )
)