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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
|
# Style sheet for a2ps style sheet files
# Copyright (c) 1988, 89, 90, 91, 92, 93 Miguel Santana
# Copyright (c) 1995, 96, 97, 98 Akim Demaille, Miguel Santana
# $Id: ssh.ssh,v 1.1.1.1.2.1 2007/12/29 01:58:33 mhatta Exp $
#
#
# This file is part of a2ps.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING. If not, write to
# the Free Software Foundation, 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
## 1.0 Akim Demaille <akim@freefriends.org>
# Created
#
## 1.1 Akim Demaille <akim@freefriends.org>
# In level 2, substitute the latex symbols
#
## 1.2 Akim Demaille <akim@freefriends.org>
# New keywords: closers, documentation, ancestors, alphabets.
# New sequence: /regex/
style "a2ps style sheet" is
written by "Akim Demaille <akim@freefriends.org>"
version is 1.2
requires a2ps 4.9.5
documentation is
"Second level of highligthing (option samp(-g)samp)) substitutes the LaTeX symbols."
end documentation
first alphabet is
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\\_"
second alphabet is
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_"
case sensitive
# Support for the main keywords
keywords in Keyword_strong are
"a2ps", "alphabet", "alphabets", "ancestors", "are", "by", "case",
"closers", "C-char", "C-string", "documentation", "end",
"exceptions", "first", "in", "insensitive", "is", "keywords",
"requires", "second", "sensitive", "operators", "optional",
"sequences", "style", "version", "written", "Plain", "Keyword",
"Keyword_strong", "Comment", "Comment_strong", "Label",
"Label_strong", "String", "Symbol", "Tag1", "Tag2", "Tag3",
"Tag4", "Index1", "Index2", "Index3", "Index4", "Encoding",
"Invisible", "Error"
end keywords
# Support for the predefined symbols
keywords in Keyword are
"\\forall", "\\exists", "\\suchthat", "\\cong", "\\Alpha",
"\\Beta", "\\Chi", "\\Delta", "\\Epsilon", "\\Phi", "\\Gamma",
"\\Eta", "\\Iota", "\\vartheta", "\\Kappa", "\\Lambda", "\\Mu",
"\\Nu", "\\Omicron", "\\Pi", "\\Theta", "\\Rho", "\\Sigma",
"\\Tau", "\\Upsilon", "\\varsigma", "\\Omega", "\\Xi", "\\Psi",
"\\Zeta", "\\therefore", "\\perp", "\\radicalex", "\\alpha",
"\\beta", "\\chi", "\\delta", "\\epsilon", "\\phi", "\\gamma",
"\\eta", "\\iota", "\\varphi", "\\kappa", "\\lambda", "\\mu",
"\\nu", "\\omicron", "\\pi", "\\theta", "\\rho", "\\sigma"
"\\tau", "\\upsilon", "\\varpi", "\\omega", "\\xi", "\\psi",
"\\zeta", "\\sim", "\\varUpsilon", "\\prime", "\\leq", "\\infty",
"\\florin", "\\clubsuit", "\\diamondsuit", "\\heartsuit",
"\\spadesuit", "\\leftrightarrow", "\\leftarrow", "\\uparrow",
"\\rightarrow", "\\downarrow", "\\circ", "\\pm", "\\geq",
"\\times", "\\propto", "\\partial", "\\bullet", "\\div", "\\neq",
"\\equiv", "\\approx", "\\ldots", "---", "\\carriagereturn",
"\\aleph", "\\Im", "\\Re", "\\wp", "\\otimes", "\\oplus",
"\\emptyset", "\\cap", "\\cup", "\\supset", "\\supseteq",
"\\not\\subset", "\\subset", "\\subseteq", "\\in", "\\not\\in",
"\\angle", "\\nabla", "\\varregister", "\\varcopyright",
"\\vartrademark", "\\prod", "\\surd", "\\cdot", "\\not",
"\\wedge", "\\vee", "\\Leftrightarrow", "\\Leftarrow",
"\\Uparrow", "\\Rightarrow", "\\Downarrow", "\\vardiamondsuit",
"\\langle", "\\register", "\\copyright", "\\trademark", "\\sum",
"\\lceil", "\\lfloor", "\\rangle", "\\int", "\\rceil", "\\rfloor"
end keywords
# At level 2 of pretty printing, we want to _see_ the symbols
optional keywords are
"\\to" \rightarrow,
"\\item" \bullet,
"\\backslash" "\\",
"\\forall" \forall,
"\\exists" \exists,
"\\suchthat" \suchthat,
"\\cong" \cong,
"\\Alpha" \Alpha,
"\\Beta" \Beta,
"\\Chi" \Chi,
"\\Delta" \Delta,
"\\Epsilon" \Epsilon,
"\\Phi" \Phi,
"\\Gamma" \Gamma,
"\\Eta" \Eta,
"\\Iota" \Iota,
"\\vartheta" \vartheta,
"\\Kappa" \Kappa,
"\\Lambda" \Lambda,
"\\Mu" \Mu,
"\\Nu" \Nu,
"\\Omicron" \Omicron,
"\\Pi" \Pi,
"\\Theta" \Theta,
"\\Rho" \Rho,
"\\Sigma" \Sigma,
"\\Tau" \Tau,
"\\Upsilon" \Upsilon,
"\\varsigma" \varsigma,
"\\Omega" \Omega,
"\\Xi" \Xi,
"\\Psi" \Psi,
"\\Zeta" \Zeta,
"\\therefore" \therefore,
"\\perp" \perp,
"\\radicalex" \radicalex,
"\\alpha" \alpha,
"\\beta" \beta,
"\\chi" \chi,
"\\delta" \delta,
"\\epsilon" \epsilon,
"\\phi" \phi,
"\\gamma" \gamma,
"\\eta" \eta,
"\\iota" \iota,
"\\varphi" \phi,
"\\kappa" \kappa,
"\\lambda" \lambda,
"\\mu" \mu,
"\\nu" \nu,
"\\omicron" \omicron,
"\\pi" \pi,
"\\theta" \theta,
"\\rho" \rho,
"\\sigma" \sigma,
"\\tau" \tau,
"\\upsilon" \upsilon,
"\\varpi" \varpi,
"\\omega" \omega,
"\\xi" \xi,
"\\psi" \psi,
"\\zeta" \zeta,
"\\sim" \sim,
"\\varUpsilon" \varUpsilon,
"\\prime" \prime,
"\\leq" \leq,
"\\infty" \infty,
"\\florin" \florin,
"\\clubsuit" \clubsuit,
"\\diamondsuit" \diamondsuit,
"\\heartsuit" \heartsuit,
"\\spadesuit" \spadesuit,
"\\leftrightarrow" \leftrightarrow,
"\\leftarrow" \leftarrow,
"\\uparrow" \uparrow,
"\\rightarrow" \rightarrow,
"\\downarrow" \downarrow,
"\\circ" \circ,
"\\pm" \pm,
"\\geq" \geq,
"\\times" \times,
"\\propto" \propto,
"\\partial" \partial,
"\\bullet" \bullet,
"\\div" \div,
"\\neq" \neq,
"\\equiv" \equiv,
"\\approx" \approx,
"\\ldots" \ldots,
"---" ---,
"\\carriagereturn" \carriagereturn,
"\\aleph" \aleph,
"\\Im" \Im,
"\\Re" \Re,
"\\wp" \wp,
"\\otimes" \otimes,
"\\oplus" \oplus,
"\\emptyset" \emptyset,
"\\cap" \cap,
"\\cup" \cup,
"\\supset" \supset,
"\\supseteq" \supseteq,
"\\not\\subset" \not\subset,
"\\subset" \subset,
"\\subseteq" \subseteq,
"\\in" \in,
"\\not\\in" \not\in,
"\\angle" \angle,
"\\nabla" \nabla,
"\\varregister" \register,
"\\varcopyright" \copyright,
"\\vartrademark" \trademark,
"\\prod" \prod,
"\\surd" \surd,
"\\cdot" \cdot,
"\\not" \not,
"\\wedge" \wedge,
"\\vee" \vee,
"\\Leftrightarrow" \Leftrightarrow,
"\\Leftarrow" \Leftarrow,
"\\Uparrow" \Uparrow,
"\\Rightarrow" \Rightarrow,
"\\Downarrow" \Downarrow,
"\\lozenge" \diamondsuit,
"\\langle" \langle,
"\\register" \register,
"\\copyright" \copyright,
"\\trademark" \trademark,
"\\sum" \sum,
"\\lceil" \lceil,
"\\lfloor" \lfloor,
"\\rangle" \rangle,
"\\int" \int,
"\\rceil" \rceil,
"\\rfloor" \rfloor
end keywords
sequences are
# The comments
"#" Comment,
# The name of the style sheet
"style " Keyword_strong (Label + Index1) " is" Keyword_strong,
# Strings are exactly the C-strings, though we don't want to
# have them in the "string" face
"\"" Plain Plain "\"" Plain
exceptions are
"\\\\", "\\\""
end exceptions,
# Regexps
"/" Plain Plain "/" Plain
exceptions are
"\\\\", "\\\/"
end exceptions
end sequences
end style
|