File: aephea.shared

package info (click to toggle)
aephea 12-248-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 1,092 kB
  • sloc: sh: 774; makefile: 66
file content (61 lines) | stat: -rw-r--r-- 1,817 bytes parent folder | download | duplicates (2)
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

\set{css}{\<abbr class="ucase" title="Cascading Style Sheets">{CSS}}
\set{xsl}{\<abbr class="ucase" title="Extensible Stylesheet Language">{XSL}}
\set{xml}{\<abbr class="ucase" title="Extensible Markup Language">{XML}}
\set{html}{\<abbr class="ucase" title="Hyper Text Markup Language">{HTML}}
\set{ahtml}{\<abbr class="ucase" title="Aephea Hyper Text Markup Language">{A-HTML}}
\def{faq}{\<abbr class="ucase" title="Frequently Asked Questions">{FAQ}}
\def{zum}{\<abbr class="ucase" title="Zoem User's Manual">{ZUM}}
\def{pdf}{\<abbr class="ucase" title="Portable Document Format">{PDF}}
\def{mcl}{\<abbr class="ucase" title="Markov CLuster">{MCL}}

\def{pud}{\<acronym class="ucase" title="Portable Unix Documentation">{PUD}}

\${roff}{
   \set{ahtml}{A-HTML}
   \apply{_#1{\!set{\1}{\textmap{{word}{ucase}}{\1}}}}{
      {css}
      {xsl}
      {xml}
      {html}
      {faq}
      {zum}
      {pdf}
      {mcl}
      {pud}
   }
}


\def{readme}{\sc{README}}
\def{unix}{\sc{UNIX}}

\set{{modes}{xv}}{}{

   {"man::year"}  {\'zinsert{stamp.year}}
   {"man::month"} {\'zinsert{stamp.month}}
   {"man::day"}   {\'zinsert{stamp.day}}
   {"zum::tag"}   {\'zinsert{stamp.tag}}
   {"zum::stamp"} {\'zinsert{stamp.stamp}}

   {"man::year"}  {\'tr{{delete}{[:space:]}}{\"man::year"}}
   {"man::month"} {\'tr{{delete}{[:space:]}}{\"man::month"}}
   {"man::day"}   {\'tr{{delete}{[:space:]}}{\"man::day"}}
   {"zum::tag"}   {\'tr{{delete}{[:space:]}}{\"zum::tag"}}
   {"zum::stamp"} {\'tr{{delete}{[:space:]}}{\"zum::stamp"}}

   {"man::tag"}   {\"zum::tag", \"zum::stamp"}
}

\setx{man_share}{
   {year}    {\"man::year"}
   {month}   {\"man::month"}
   {day}     {\"man::day"}
   {tag}     {\"zum::tag", \"zum::stamp"}
   {stamp}   {\"zum::stamp"}
}

\'def{mc#1}{\v{\\\1}}
\'def{sibref7#1}{\sibref{\1}{\1\'${roff}{(7)}}}