dbtoman: remove duplicate source code and merge into dtdocbook.

This commit is contained in:
Liang Chang
2021-12-28 06:50:34 +08:00
parent 1e9b4660ad
commit 4f791b9dd4
89 changed files with 329 additions and 7195 deletions

View File

@@ -0,0 +1,12 @@
MAINTAINERCLEANFILES = Makefile.in
include ../dtdocbook.am
tptdir = $(dtdocbookdatadir)/tpt
tpt_DATA = docbook-to-man.ts \
docbook.cmap \
docbook.ts \
docbook.tss \
roff.cmap \
roff.sdata

View File

@@ -0,0 +1,876 @@
# Copyright (c) 1993 Open Software Foundation, Inc.
# All rights reserved.
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# ______________________________________________________________________
#
# book (and refpage) to HTML
#
# $XConsortium: book-html.ts /main/2 1996/07/18 14:21:17 drk $
# ______________________________________________________________________
#
Var: Auth Open Software Foundation
Var: part 1
Var: chap 1
Var: sect 1
Var: subsect 1
Var: app 1
# ______________________________________________________________________
GI: TITLE
Context: DISPLAY
Relation: sibling TABLE
StartText: ^<P><B>
EndText: </B>^\n
-
GI: DISPLAY
Relation: child TABLE
StartText: ^<BLOCKQUOTE>^${_attval ID 76}^
EndText: ^${_attval ID 77}</BLOCKQUOTE>^
-
GI: DISPLAY
AttValue: WRAP NOWRAP
StartText: ^\n<BLOCKQUOTE>^<PRE>^${_attval ID 76}^
EndText: ^</PRE>^${_attval ID 77}</BLOCKQUOTE>^\n
-
GI: TITLE
Context: DISPLAY
Relation: sibling GRAPHIC
StartText: ^<P><B>
EndText: </B>^\n
-
# default display
GI: DISPLAY
StartText: ^<!-- start of display -->^<BLOCKQUOTE>^${_attval ID 76}^
EndText: ^${_attval ID 77}</BLOCKQUOTE>^<!-- end of display -->^\n
-
GI: TITLE
Context: DISPLAY
StartText: ^
EndText: ^
-
GI: TEXT-AS-FIGURE
StartText: ^\n<PRE>^
EndText: ^</PRE>^\n
-
# ______________________________________________________________________
GI: PROGLANG-SYNOPSIS
StartText: ^\n<P>
EndText: ^\n
-
GI: INCLUDE
StartText: ^
EndText: ^
-
# GI: DATA-DECLARATION
# StartText: ^
# EndText: ^
#-
GI: DATA-DECLARATION
Message: \nDATA-DECLARATION element not supported\n
-
GI: FILE-SYNOPSIS
StartText: ^\n<P>
EndText: ^\n
-
GI: CMD-SYNOPSIS
StartText: ^\n<P>
EndText: ^\n
-
# GI: CMD-ARGUMENT
# StartText: \s
# EndText: \s
# -
GI: CMD-ARGUMENT
Message: \nCMD-ARGUMENT element no longer supported\n
-
# ______________________________________________________________________
GI: LITERAL COMMAND FUNCTION FILE DIRECTORY DATATYPE E-MAIL OPTION-NAME
StartText: <B>
EndText: </B>
-
GI: VARIABLE
StartText: <VAR>
EndText: </VAR>
-
GI: EMPHASIS
StartText: <EM>
EndText: </EM>
-
GI: SUBSCRIPT
StartText: subscript(
EndText: )
-
GI: SUPERSCRIPT
StartText: superscript(
EndText: )
-
GI: TRADEMARK
StartText: <B>
EndText: </B>
-
GI: PERSON PLACE HONORIFIC DATE TIME TELEPHONE NUMBER ACRONYM
-
GI: KEYBOARD-INPUT
StartText: <KBD>
EndText: </KBD>
-
GI: COMPUTER-OUTPUT
Relation: ancestor DISPLAY
StartText: ^<LISTING>^
EndText: ^</LISTING>^
-
GI: COMPUTER-OUTPUT
StartText: <SAMP>
EndText: </SAMP>
-
GI: KEYBOARD-KEY
StartText: <TT>&lt;
EndText: &gt;</TT>
-
GI: INPUT-INSTRUCT
StartText: <I>
EndText: </I>
-
GI: GUI-TEXT
StartText: <B>
EndText: </B>
-
GI: FOREIGN-PHRASE
StartText: <EM>
EndText: </EM>
-
GI: LOGICAL-NEGATION
StartText: ^.ul 1^
EndText: ^
-
GI: MISC-DATA
-
GI: MARKUP
AttValue: LANG sgml
AttValue: CATEGORY elem.*
StartText: <B>&lt;
EndText: &gt;</B>
-
GI: MARKUP
AttValue: CATEGORY (attr|entity)
StartText: <B>
EndText: </B>
-
GI: MARKUP
StartText: <B>&lt;
EndText: &gt;</B>
-
GI: SPECIAL-FORMAT
AttValue: SMALLCAPS SMALLCAPS
StartText: [
EndText: ]
-
GI: SPECIAL-FORMAT
AttValue: HORIZKEEP NOBREAK
StartText: ^.DS^
EndText: ^.DE^
-
# a bit if a hack
GI: SPECIAL-FORMAT
AttValue: STYLE .
StartText: [\\${STYLE}\s
EndText: ]
-
GI: EXCERPT
StartText: ^<BLOCKQUOTE>
EndText: </BLOCKQUOTE>^
-
GI: QUOTE
StartText: ``
StartText: ''
-
# ______________________________________________________________________
GI: P
Context: ITEM
StartText: ^
EndText: ^
-
# label/item for labeled list
GI: LABEL
StartText: ^<DT>
EndText: ^
-
GI: ITEM
Context: L-ITEM
StartText: ^<DD>
EndText: ^
-
# item for general list
GI: ITEM
StartText: ^<LI>
EndText: ^
-
GI: LIST
Relation: child L-ITEM
StartText: ^<DL>^
EndText: ^</DL>^
-
GI: LIST
Relation: child ITEM
AttValue: TYPE UNORDERED
StartText: ^<UL>^
EndText: ^</UL>^
-
GI: LIST
Relation: child ITEM
AttValue: TYPE ORDERED
StartText: ^<OL>^
EndText: ^</OL>^
-
# default general list
GI: LIST
Relation: child ITEM
StartText: ^<UL>^
EndText: ^</UL>^
-
# procedure list
GI: LIST
Relation: child PROCEDURE-STEP
StartText: ^<UL>^
EndText: ^.LE^
-
GI: PROCEDURE-STEP
StartText: ^<LI>
EndText: ^
-
# note list
GI: LIST
Relation: child NOTE
StartText: ^
EndText: ^
-
# hack?? I have not tried this yet.
GI: BRIDGE-P
StartText: ^.P^
EndText: ^
-
GI: L-ITEM
EndText: ^
-
# ______________________________________________________________________
GI: ROW
StartText: ^
EndText: ^
-
GI: TITLE-ROW
StartText: ^
EndText: ^
-
GI: CELL
Context: TITLE-ROW
Relation: sibling+ CELL
#StartText:
EndText: \ |\s
-
GI: CELL
Context: TITLE-ROW
#StartText:
#EndText:
-
GI: CELL
Relation: sibling+ CELL
#StartText:
EndText: \ |\s
-
GI: CELL
#StartText:
#EndText:
-
# if you want a table title/caption, put it in a display
GI: TABLE
StartText: ^\n<!-- Table -->^<PRE>^
Table Markup omitted.
EndText: ^</PRE>^\n
Ignore: all
-
# ______________________________________________________________________
GI: NOTE
Relation: child TITLE
StartText: ^<BLOCKQUOTE>^
EndText: ^</BLOCKQUOTE>^
-
GI: NOTE
StartText: ^<BLOCKQUOTE>^<B>Note</B>^
EndText: ^</BLOCKQUOTE>^
-
GI: TITLE
Context: NOTE
StartText: ^<B>
EndText: </B>^
-
GI: ANNOTATION
StartText: ^<BLOCKQUOTE>^<B>Annotation</B>^
EndText: ^</BLOCKQUOTE>^
-
GI: FOOTNOTE
StartText: ^<BLOCKQUOTE>^<B>Footnote</B>^
EndText: ^</BLOCKQUOTE>^
-
GI: NOTEREF
-
# ______________________________________________________________________
GI: _
SpecID: 98
-
GI: REF-NAME
Relation: ancestor BODY
StartText: <H2>Name</H2>^<P>
EndText: \ --\s
SpecID: 19
-
GI: REF-NAME
Relation: ancestor SUPPLEMENTS
Action: 19
-
GI: REF-NAME
StartText: ^<TITLE>
EndText: </TITLE>^\n<H2>Name</H2>^<P>${_action 98} --\s
#EndText: " ${_pattr CATEGORY}^.SH "Name"^${_action 98} --\s
-
GI: REF-PURPOSE
#StartText:
EndText: ^\n
-
GI: TITLE
Context: RSECTION
StartText: ^<H2>
EndText: </H2>^
-
GI: TITLE
Context: RSUBSECTION
StartText: ^<H3>
EndText: </H3>^
-
GI: TITLE
Context: RDIVISION
StartText: ^<H3>
EndText: </H3>^
-
GI: RSECTION
StartText: ^
EndText: ^
-
GI: RSUBSECTION
StartText: ^
EndText: ^
-
GI: RDIVISION
StartText: ^
EndText: ^
-
GI: OSF-REFPAGE
StartText: ^<!-- Start OSF-REFPAGE -->
EndText: ^<!-- End OSF-REFPAGE -->^
-
# ______________________________________________________________________
GI: MESSAGE
StartText: ^<!-- Message -->^<DL>^
EndText: ^</DL>^
-
GI: MSG-CODE
Context: MESSAGE
StartText: ^<DT><B>Code</B></DT>^<DD>
EndText: ^
-
GI: MSG-SYMBOL
StartText: ^<DT><B>Symbol</B></DT>^<DD>
EndText: ^
-
GI: MSG-TEXT
StartText: ^<DT><B>Text</B></DT>^<DD>
Context: MESSAGE
EndText: ^
-
GI: MSG-TYPE
StartText: ^<DT><B>Type</B></DT>^<DD>
EndText: ^
-
GI: MSG-DESC
StartText: ^<DT><B>Description</B></DT>^<DD>
EndText: ^
-
GI: MSG-CAUSE
StartText: ^<DT><B>Cause</B></DT>^<DD>
EndText: ^
-
GI: MSG-AUDIENCE
StartText: ^<DT><B>Audience</B></DT>^<DD>
EndText: ^
-
GI: MSG-RESP
StartText: ^<DT><B>Response</B></DT>^<DD>
EndText: ^
-
GI: MSG-ORIGIN
StartText: ^<DT><B>Origin</B></DT>^<DD>
EndText: ^
-
GI: P
Context: MSG-DESC
NthChild: 1
Action: 2
-
GI: P
Context: MSG-CAUSE
NthChild: 1
Action: 2
-
GI: P
Context: MSG-RESP
NthChild: 1
Action: 2
-
# ______________________________________________________________________
GI: TITLE
Context: OSF-BOOK
StartText: ^<TITLE>
EndText: </TITLE>^
-
# ______________________________________________________________________
# "default" handling of some common and keydata elements
GI: P
StartText: ^<P>^
EndText: ^\n
-
GI: MSG-CODE
StartText: <B>
EndText: </B>
-
GI: MSG-TEXT
#StartText: {
#EndText: }
-
# ______________________________________________________________________
GI: TOC
Context: NAVIGATION AUGMENTUM OSF-BOOK
StartText: ^\n
EndText: ^
-
GI: INDEX
Replace: ^<!-- This document wants an index -->
Ignore: all
-
GI: BIBLIOGRAPHY
Replace: ^<!-- This document wants a bibliography -->
EndText: ^
-
GI: GLOSSARY
StartText: ^% This document wants a glossary:\s
EndText: ^
-
# ______________________________________________________________________
# Set page number to 1 (roman) for TOC and friends
GI: AUGMENTUM
Context: OSF-BOOK
StartText: ^
EndText: ^
-
GI: NAVIGATION
-
GI: HY-LOCATOR
Ignore: all
-
# ignore until we know how to process these
GI: HY-CONCEPT
Context: META
Ignore: all
-
GI: HY-CONCEPT
Ignore: all
-
GI: HY-DEF
-
GI: HY-TERM
-
# ----
GI: ENTRY
AttValue: DAVROLE glossary
StartText: ^.gL "
EndText: "^
-
# (check for some content to avoud empty tag)
GI: ENTRY
Content: .
AttValue: DAVROLE index
StartText: ${_attval ID 76}
EndText: ${_attval ID 77}
Ignore: children
-
GI: ENTRY
-
# ----
GI: XREF
AttValue: OSFROLE gettitle
StartText: Get-Title
-
GI: XREF
AttValue: OSFROLE getnumber
#StartText: Get-Division-Number
EndText: \ <A HREF="#${LINKEND}">go there</A>
-
GI: XREF
AttValue: OSFROLE getpage
EndText: \ <A HREF="#${LINKEND}">go there</A>
-
# Print GI name, in mixed case
GI: _pr_gi_name
SpecID: 87
Ignore: all
EndText: ${_gi M}
-
# GI name
GI: XREF
AttValue: OSFROLE gettype
EndText: ${_followlink 87}
-
# name of refpage
GI: XREF
AttValue: OSFROLE getrefname
Replace: <B>${_chasetogi REF-NAME 1}</B>
-
# title and page number -- page is the input file
GI: XREF
AttValue: OSFROLE getshort
Replace: <B>${_chasetogi TITLE 1}</B>, <A HREF="${_infile}">page</A>
-
# section number, title, and page number
GI: XREF
AttValue: OSFROLE getfull
Replace: ${_followlink 87} <A HREF="#${LINKEND}">go there</A>,\s
<B>${_chasetogi TITLE 1}</B>, <A HREF="${_infile}">page</A>
-
GI: XREF
-
# ----
GI: HY-BIB-DESCRIPTION
StartText: <I>
EndText: </I>
-
GI: HY-NMLIST
Ignore: all
-
# ______________________________________________________________________
GI: META
Ignore: all
-
GI: DOC-ID
Ignore: all
-
GI: AUTHOR-INFO
StartText: ^<ADDRESS>^
EndText: ^</ADDRESS>^
-
GI: PERSON
Context: AUTHOR-INFO
StartText: ^
EndText: ^
-
GI: AUTH-AFFILIATION ADDRESS
StartText: ^
EndText: ^
-
GI: PRODUCT
Context: MESSAGE
Ignore: all
-
GI: VALID-DATE PRODUCT
-
GI: PRODUCT-NAME PRODUCT-VERSION
StartText: \s
EndText: \s
-
GI: NOTICES DISCLAIMER COPYRIGHTS
StartText: ^\n
EndText: ^\n
-
GI: OWNER STATEMENT YEAR
Context: COPYRIGHT-NOTICE
Ignore: all
-
GI: COPYRIGHT-NOTICE
StartText: ^Copyright (c) ${_followrel child YEAR 1}\s
${_followrel child OWNER 1} ${_followrel child STATEMENT 1}
EndText: ^.br^
-
GI: STATEMENT
StartText: \s
-
GI: TRADEMARKS
StartText: ^<P>
-
GI: TRADEMARK-PAIR
StartText: ^<P>
EndText: ^
-
#GI: PRODUCT-ID
#StartText: ^
#-
GI: AUDIENCE
StartText: ^<P>
EndText: ^
-
# ______________________________________________________________________
GI: REV-BRACKET
StartText: ^<!-- REV bracket -->^
-
GI: I18N-BRACKET REV-DESCRIPTION OCCURRENCES OCC-ASYNC OCC-SYNC
-
GI: DESC-POOL
Ignore: all
-
GI: REV-DESCRIPTION
Ignore: all
-
# ______________________________________________________________________
GI: GRAPHIC
Context: DISPLAY
#StartText: ^<IMG SRC="${_filename}">^
Replace: ^<P><A HREF="${_filename}">Click for PostScript image.</A><P>^
-
GI: GRAPHIC
Replace: ^<A HREF="${_filename}">Click for PostScript image.</A>^
-
GI: EQUATION
Context: DISPLAY
StartText: ^<BLOCKQUOTE>^
EndText: ^</BLOCKQUOTE>^
-
GI: EQUATION
StartText: ^<P>TeX equatin:\s
EndText: ^<P>
-
# ______________________________________________________________________
GI: _anch-title-start
SpecID: 71
Replace: ${_attval ID 76}
-
GI: _anch-title-end
SpecID: 72
Replace: ${_attval ID 77}
-
GI: TITLE
Context: SECTION
SpecID: 12
StartText: ^<H2>${chap}.${sect} ${_followrel parent SECTION 71}
EndText: ${_followrel parent SECTION 72}</H2>^
-
GI: TITLE
Context: CHAPTER
SpecID: 11
StartText: ^<H1>Chapter ${chap}: ${_followrel parent CHAPTER 71}
EndText: ${_followrel parent CHAPTER 72}</H1>^
-
GI: TITLE
Context: PART
SpecID: 14
StartText: ^<H1>Part ${part}:\s
EndText: </H1>^
-
GI: TITLE
Context: DIVISION CHAPTER
Action: 12
-
GI: TITLE
Context: DIVISION APPENDIX
Action: 12
-
GI: TITLE
Context: DIVISION BODY
Action: 11
-
GI: TITLE
Context: DIVISION SECTION
SpecID: 13
Increment: subsect
StartText: ^<H3>${chap}.${sect}.${subsect}\s
EndText: </H3>^
-
GI: TITLE
Context: DIVISION DIVISION SECTION
StartText: ^<H4>
EndText: </H4>^
-
GI: TITLE
Context: DIVISION
Context: DIVISION DIVISION BODY
Action: 13
-
GI: TITLE
Context: DIVISION DIVISION BODY
Action: 12
-
GI: TITLE
Context: DIVISION BODY
Action: 11
-
GI: TITLE
Context: DIVISION DIVISION
StartText: ^<H4>
EndText: </H4>^
-
GI: CHAPTER
StartText: ^<!-- Start CHAPTER: ch-${chap}: ${_followrel child TITLE 1} -->^
EndText: ^<!-- End CHAPTER -->^
Increment: chap
Set: sect 1
-
GI: SECTION
StartText: ^<!-- Start SECTION: ${_followrel child TITLE 1} -->^
EndText: ^<!-- End SECTION -->^
Increment: sect
Set: subsect 1
-
GI: DIVISION
StartText: ^
EndText: ^
-
GI: PART
StartText: ^<!-- Start PART: -: ${_followrel child TITLE 1} -->^
EndText: ^<!-- End PART -->^
Increment: part
#Var: chap 1
-
GI: PREFACE
StartText: ^<!-- Start PREFACE: preface: ${_followrel child TITLE 1} -->^
EndText: ^<!-- End PREFACE -->^
-
GI: PDIVISION
StartText: ^
EndText: ^
-
GI: TITLE
Context: PREFACE
StartText: ^<H1>${_followrel parent PREFACE 71}
EndText: ${_followrel parent PREFACE 72}</H1>^
-
GI: TITLE
Context: PDIVISION
StartText: ^<H2>${_followrel parent PDIVISION 71}
EndText: ${_followrel parent PDIVISION 72}</H2>^
-
GI: TITLE
Context: APPENDIX
StartText: ^<H1>Appendix ${app}: ${_followrel parent APPENDIX 71}
EndText: ${_followrel parent APPENDIX 72}</H1>^
-
GI: APPENDIX
StartText: ^<!-- Start PREFACE: app-${app}: ${_followrel child TITLE 1} -->^
EndText: ^<!-- End APPENDIX -->^
Increment: app
Var: sect 1
-
GI: SUPPLEMENTS
StartText: ^<!-- Start SUPPLEMENTS -->
EndText: ^<!-- End SUPPLEMENTS -->^
-
GI: BODY
StartText: ^
EndText: ^
StartText: ^<!-- Start BODY -->
EndText: ^<!-- End BODY -->^
-
GI: OSF-BOOK
StartText: ^
EndText: ^
-
# ______________________________________________________________________
GI: TITLE
#StartText: "
#EndText: ^
Message: +++ TITLE??\n${_location}\n
-
GI: ALT-TITLE
Ignore: all
#StartText: ^... Alt title:\s
#EndText: ^
-
GI: AUGMENTUM
Ignore: all
-
GI: PRELIMINARIES
StartText: ^<!-- Start PRELIMINARIES -->
EndText: ^<!-- End PRELIMINARIES -->^
-
GI: YEAR
-
# ______________________________________________________________________
GI: BRIDGE-TITLE
StartText: ^\n<B>
EndText: </B>^
-
# ______________________________________________________________________
# Some named specs, used throughout.
GI: _pass-text
SpecID: 1
-
#
GI: _osf-size
Replace:
-
GI: _osf-indent
Replace:
-
GI: _osf-center
Replace:
-
GI: _osf-break
Replace:
-
GI: _osf-point-size
Replace:
-
GI: _osf-space
Replace:
-
GI: _osf-new-page
Replace:
-
# a "paragraph", with no .P
GI: _no-dot-P
SpecID: 2
StartText: ^
EndText: ^
-
# Just output the anchor tag and ID. No content.
GI: _name
SpecID: 76
StartText: <A NAME="${ID id}">
Ignore: all
-
GI: _name-end
SpecID: 77
StartText: </A>
Ignore: all
-
# ______________________________________________________________________
#
GI: _Start
StartText: ^
-
GI: _End
EndText: ^
-
# ______________________________________________________________________

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,41 @@
# ______________________________________________________________________
# Copyright 1993 Open Software Foundation, Inc., Cambridge, Massachusetts.
# All rights reserved.
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# This will return the book's title, marked up for SML's Headers/* files
# Just the text is returned.
#
# $XConsortium: book-title-header.ts /main/2 1996/07/18 14:22:12 drk $
# ______________________________________________________________________
#
GI: TITLE
Context: OSF-BOOK
StartText: ^.ds !@\s
EndText: ^
-
# Ignore all other child elements of the book
GI: META BODY AUGMENTUM PRELIMINARIES SUPPLEMENTS
Ignore: all
-
GI: ALT-TITLE
Ignore: all
Message: Warning: Ignoring ALT-TITLE within TITLE.\n
-
# Pass characters of child elements of book's TITLE.
GI: *
-

View File

@@ -0,0 +1,173 @@
# ______________________________________________________________________
# Copyright 1993 Open Software Foundation, Inc., Cambridge, Massachusetts.
# All rights reserved.
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# $XConsortium: book-toc.ts /main/2 1996/07/18 14:22:29 drk $
# ______________________________________________________________________
#
# This is for printing a TOC/outline of an instance as text.
# Only division titles will be printed.
# ______________________________________________________________________
Var: part 1
Var: chap 1
Var: sect 1
Var: subsect 1
Var: app 1
#
# ______________________________________________________________________
GI: DIVISION
Context: SECTION
SpecID: 12
StartText: ^ ${subsect}.\s
EndText: ^
Increment: subsect
-
GI: SECTION
SpecID: 11
StartText: ^ ${sect}.\s
EndText: ^
Set: subsect 1
Increment: sect
-
GI: CHAPTER
SpecID: 10
StartText: ^Chapter ${chap}.\s
EndText: ^
Set: sect 1
Increment: chap
-
GI: PART
StartText: ^\nPart ${part}:\s
EndText: ^
Increment: part
-
GI: APPENDIX
SpecID: 15
StartText: ^${app}.\s
EndText: ^
Set: sect 1
Increment: app
-
GI: DIVISION
Context: APPENDIX
Action: 11
-
# ______________________________________________________________________
GI: DIVISION
Context: DIVISION DIVISION BODY
Action: 12
-
GI: DIVISION
Context: DIVISION BODY
Action: 11
-
GI: DIVISION
Context: CHAPTER
Action: 11
-
GI: DIVISION
Context: BODY
Action: 10
-
# ______________________________________________________________________
GI: PREFACE
StartText: ^
-
GI: PDIVISION
StartText: ^ \s
-
# ______________________________________________________________________
GI: OSF-REFPAGE
StartText: \n
-
GI: REF-NAME
StartText: ^
EndText: \ --\s
-
GI: REF-PURPOSE
#StartText:
EndText: ^\n
-
GI: SUB-NAME
StartText: ^ \s
-
GI: SUB-PURPOSE
StartText: \t
-
GI: RSECTION
SpecID: 21
StartText: ^ \s
EndText: ^
-
GI: RSUBSECTION
SpecID: 22
StartText: ^ \s
EndText: ^
-
GI: RDIVISION
Context: RSUBSECTION
SpecID: 23
StartText: ^ \s
EndText: ^
-
GI: RDIVISION
Context: RDIVISION RDIVISION REFPAGE
Action: 23
-
GI: RDIVISION
Context: RDIVISION REFPAGE
Action: 22
-
GI: RDIVISION
Context: REFPAGE
Action: 21
-
# ______________________________________________________________________
GI: OSF-BOOK
-
GI: BODY
StartText: \n
-
GI: SUPPLEMENTS
StartText: \nAppendixes^
-
GI: PRELIMINARIES
StartText: \n
-
# ______________________________________________________________________
GI: TITLE
EndText: ^
-
GI: ALT-TITLE
StartText: ^ [
EndText: ]^
-
# ______________________________________________________________________
# Pass through text of things inside a title
Relation: ancestor TITLE
-
Relation: ancestor REF-NAME
-
Relation: ancestor REF-PURPOSE
-
#
# Wildcard - skip all other elements...
GI: *
Ignore: all
-
# ______________________________________________________________________

View File

@@ -0,0 +1,197 @@
# ______________________________________________________________________
# Copyright 1993 Open Software Foundation, Inc., Cambridge, Massachusetts.
# All rights reserved.
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# $XConsortium: book-toc_ps.ts /main/2 1996/07/18 14:22:43 drk $
# ______________________________________________________________________
#
# This is for printing a TOC/outline of an instance in PostScript.
# Only division titles will be printed.
# ______________________________________________________________________
Var: part 1
Var: chap 1
Var: sect 1
Var: subsect 1
Var: app 1
#
# ______________________________________________________________________
GI: DIVISION
Context: SECTION
SpecID: 12
StartText: ^${_followrel child TITLE 1000}\s
( ${chap}.${sect}.${subsect}) 10 DivTitle^
Increment: subsect
-
GI: SECTION
SpecID: 11
StartText: ^${_followrel child TITLE 1000} ( ${chap}.${sect}) 12 DivTitle^
Set: subsect 1
Increment: sect
-
GI: CHAPTER
SpecID: 10
StartText: ^${_followrel child TITLE 1000} (Chapter ${chap}:) 14 DivTitle^
Set: sect 1
Increment: chap
-
GI: PART
StartText: ^${_followrel child TITLE 1000} (Part ${part}:) 16 DivTitle^
Increment: part
-
GI: APPENDIX
SpecID: 15
StartText: ^${app}.\s
StartText: ^${_followrel child TITLE 1000} (Appendix ${app}:) 14 DivTitle^
Set: sect 1
Increment: app
-
GI: DIVISION
Context: APPENDIX
StartText: ^${_followrel child TITLE 1000} ( ${app}.${sect}) 14 DivTitle^
Set: subsect 1
Increment: sect
-
# ______________________________________________________________________
GI: DIVISION
Context: DIVISION DIVISION BODY
Action: 12
-
GI: DIVISION
Context: CHAPTER
Action: 11
-
GI: DIVISION
Context: DIVISION BODY
Action: 11
-
GI: DIVISION
Context: BODY
Action: 10
-
# ______________________________________________________________________
GI: PREFACE
StartText: ^${_followrel child TITLE 1000} () 14 DivTitle^
-
GI: PDIVISION
StartText: ^${_followrel child TITLE 1000} ( ) 12 DivTitle^
-
# ______________________________________________________________________
GI: OSF-REFPAGE
StartText: \n(${_followrel child REF-PURPOSE 1001})\s
(Refpage: ${_followrel child REF-NAME 1001} \\267) 14 DivTitle
-
GI: SUB-NAME
StartText: ^ \s
-
GI: SUB-PURPOSE
StartText: \t
-
GI: RSECTION
SpecID: 21
StartText: ^${_followrel child TITLE 1000} ( ) 12 DivTitle^
-
GI: RSUBSECTION
SpecID: 22
StartText: ^${_followrel child TITLE 1000} ( ) 10 DivTitle^
-
GI: RDIVISION
Context: RSUBSECTION
SpecID: 23
StartText: ^${_followrel child TITLE 1000} ( ) 10 DivTitle^
-
GI: RDIVISION
Context: RDIVISION RDIVISION REFPAGE
Action: 23
-
GI: RDIVISION
Context: RDIVISION REFPAGE
Action: 22
-
GI: RDIVISION
Context: REFPAGE
Action: 21
-
# ______________________________________________________________________
GI: OSF-BOOK
StartText: ^${_followrel child TITLE 1000} 20 BkTitle^
-
GI: BODY
StartText: \n
-
GI: SUPPLEMENTS
StartText: \n
-
GI: PRELIMINARIES
-
# ______________________________________________________________________
# This just descends tree...
GI: _TITLE
SpecID: 1000
StartText: (
EndText: )
-
# Same, but no parens...
GI: _TITLE
SpecID: 1001
-
GI: ALT-TITLE
Ignore: all
-
# ______________________________________________________________________
# Pass through text of things inside a title
Relation: ancestor TITLE
-
Relation: ancestor REF-NAME
-
Relation: ancestor REF-PURPOSE
-
#
# Wildcard - skip all other elements...
GI: *
Ignore: all
-
# ______________________________________________________________________
# PostScript prolog stuff
GI: _Start
StartText: %!^
/in {72 mul} bind def^
/Home {/X 1 in def /Y 10 in def} def^
/BkTitle { % (title) ps^
\ /ps exch def^
\ /Times-Bold findfont ps scalefont setfont^
\ X Y moveto 0 ps neg rmoveto^
\ dup stringwidth pop /w exch def w 2 div neg 3.25 in add 0 rmoveto^
\ show^
\ 0 -3 rmoveto w neg 0 rlineto stroke^
\ /Y Y ps 1.1 mul sub def^
} def^
/DivTitle { % (title) (divname) ps^
\ /ps exch def^
\ /Times-Roman findfont ps scalefont setfont^
\ X Y moveto 0 ps neg rmoveto^
\ show ( ) show show^
\ /Y Y ps 1.1 mul sub def^
\ % check for end of page^
\ Y 1 in lt { showpage Home } if^
} def^
\nHome^
-
GI: _End
EndText: ^showpage^\n
-
# ______________________________________________________________________

View File

@@ -0,0 +1,52 @@
# ______________________________________________________________________
# Copyright 1993 Open Software Foundation, Inc., Cambridge, Massachusetts.
# All rights reserved.
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# $XConsortium: depend.ts /main/2 1996/07/18 14:22:57 drk $
# ______________________________________________________________________
#
# Generate part of the dependency list for Makefiles.
# For referenced graphic entities, output a line like:
# input-file.sgml: graphic-file.eps
# For elements whose name matches a blessed list, output a line like this:
# ID.latex: input-file.sgml
#
# These are sane places where you can start formatting
GI: CHAPTER SECTION DIVISION DISPLAY TABLE APPENDIX LIST
OSF-REFPAGE PART PREFACE PDIVSION OSF-BOOK
StartText: ${_attval ID 10}
Ignore: data
-
GI: GRAPHIC
Replace: ${_infile root}.dvi:\t${_filename}\n
-
GI: XREF
Replace: ${_infile root}.dvi:\t${_followlink LINKEND 20}\n
-
GI: *
Ignore: data
-
GI: _id
SpecID: 10
Replace: ${ID}.latex:\t${_infile}\n
-
GI: _xref
SpecID: 20
Replace: ${_infile}
#Message: XREF ${_infile}\n
-

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
# Characters that need to be mapped (quoted) for SDL
& &&
^ \^

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,575 @@
# Copyright (c) 1993 Open Software Foundation, Inc.
# All rights reserved.
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# ______________________________________________________________________
#
# refpage-to-man translation spec.
#
# $XConsortium: ref-man.ts /main/2 1996/07/18 14:23:11 drk $
# ______________________________________________________________________
#
Var: User !printenv USER
Var: Auth Open Software Foundation
# ______________________________________________________________________
GI: OSF-REFPAGE
StartText: ^
EndText: ^
-
# ______________________________________________________________________
GI: ROW
StartText: ^
EndText: ^${_osftable tbl rowend}^
-
GI: TITLE-ROW
StartText: ^
EndText: ^${_osftable tbl rowend}^
-
GI: CELL
Context: TITLE-ROW
Relation: sibling+ CELL
StartText: \\fB
EndText: \\fR@
-
GI: CELL
Context: TITLE-ROW
StartText: \\fB
EndText: \\fR
-
GI: CELL
Relation: sibling+ CELL
EndText: @
-
GI: CELL
-
GI: C-CELL
Relation: sibling+ C-CELL
StartText: T{^
EndText: ^T}@
-
GI: C-CELL
StartText: T{^
EndText: ^T}
-
# if you want a table title/caption, put it in a display
GI: TABLE
StartText: ^.TS^
${_osftable tbl}^${_osftable tbl top}^
EndText: ^${_osftable tbl bottom}^.TE^
-
# ______________________________________________________________________
#GI: TEXT-AS-FIGURE
#StartText: ^\n\\begin{verbatim}^
#EndText: ^\\end{verbatim}^\n
#-
GI: TITLE
Context: DISPLAY
Relation: sibling TABLE
StartText: ^.TB "
EndText: "^
-
GI: DISPLAY
Relation: child TABLE
#StartText: ^
#EndText: ^
-
GI: DISPLAY
AttValue: WRAP NOWRAP
StartText: ^.DS^.nf^
EndText: ^.ad^.DE^
-
GI: DISPLAY
AttValue: TYPE FIGURE
StartText: ^.DS^
EndText: ^.DE^
-
GI: TITLE
Context: DISPLAY
Relation: sibling GRAPHIC
StartText: ^.C 1^
EndText: ^
-
# default display
GI: DISPLAY
StartText: ^.DS^
EndText: ^.DE^
-
GI: TITLE
Context: DISPLAY
StartText: ^.C 1^
EndText: ^
-
# ______________________________________________________________________
GI: CMD-SYNOPSIS PROGLANG-SYNOPSIS FILE-SYNOPSIS
StartText: ^.na^.PP^
EndText: ^.ad^
-
GI: INCLUDE
StartText: ^.br^
EndText: ^.sp 1.5^
-
GI: DATA-DECLARATION
StartText: ^
EndText: ^
-
GI: CMD-ARGUMENT
AttValue: PRESENCE OPTIONAL
AttValue: REPEATABILITY REPEATABLE
StartText: \ [
EndText: \ ...]\s
-
GI: CMD-ARGUMENT
AttValue: REPEATABILITY REPEATABLE
StartText: \s
EndText: \ ...
-
GI: CMD-ARGUMENT
AttValue: PRESENCE OPTIONAL
StartText: \ [
EndText: ]\s
-
GI: CMD-ARGUMENT
StartText: \s
EndText: \s
-
# hack - should check value of parent's TYPE attr (for OR)
GI: OPTION-NAME
Context: CMD-ARGUMENT
PAttSet: TYPE
NthChild: 1
StartText: \ \\fB
EndText: \\fP\s
-
GI: OPTION-NAME
Context: CMD-ARGUMENT
PAttSet: TYPE
StartText: \ | \\fB
EndText: \\fP\s
-
GI: OPTION-NAME
Context: CMD-ARGUMENT
StartText: \ \\fB
EndText: \\fP\s
-
# ______________________________________________________________________
GI: LITERAL COMMAND FUNCTION FILE DIRECTORY DATATYPE E-MAIL
StartText: \\fB
EndText: \\fP
-
GI: VARIABLE EMPHASIS
StartText: \\fI
EndText: \\fP
-
GI: SUBSCRIPT
StartText: \\d\\s-2
EndText: \\s+2\\u
-
GI: SUPERSCRIPT
StartText: \\u\\s-2
EndText: \\s+2\\d
-
GI: TRADEMARK
StartText: \\fB
EndText: \\fP
-
GI: NUMBER DATE TIME PERSON PLACE HONORIFIC TELEPHONE YEAR ACRONYM
-
# change this if you have font C (Courier) instead of CW.
GI: KEYBOARD-INPUT
#StartText: \\fC
StartText: \\f(CW
EndText: \\fP
-
GI: COMPUTER-OUTPUT
Context: DISPLAY
#StartText: ^.DS^.nf^.ft CW^
#EndText: ^.ft R^.fi^.DE^
StartText: ^.nf^.ft CW^
EndText: ^.ft R^.fi^
-
GI: COMPUTER-OUTPUT
#StartText: \\fC
StartText: \\f(CW
EndText: \\fP
-
GI: KEYBOARD-KEY
StartText: <\\fB
EndText: \\fP>
-
GI: INPUT-INSTRUCT FOREIGN-PHRASE
StartText: \\fI
EndText: \\fP
-
GI: GUI-TEXT
StartText: \\fB
EndText: \\fP
-
GI: LOGICAL-NEGATION
StartText: ^.ul 1^
EndText: ^
-
GI: OPTION-NAME
StartText: \\fB
EndText: \\fP
-
GI: MISC-DATA
#StartText: {
#EndText: }
-
GI: MARKUP
AttValue: LANG sgml
AttValue: CATEGORY elem.*
StartText: \\fB<
EndText: >\\fP
-
GI: MARKUP
AttValue: CATEGORY (attr|entity)
StartText: \\fB
EndText: \\fP
-
GI: MARKUP
StartText: \\fB<
EndText: >\\fP
-
GI: SPECIAL-FORMAT
AttValue: SMALLCAPS SMALLCAPS
StartText: \\s-1
EndText: \\s+1
-
GI: SPECIAL-FORMAT
AttValue: HORIZKEEP NOBREAK
StartText: ^.DS^
EndText: ^.DE^
-
# a bit if a hack
GI: SPECIAL-FORMAT
AttValue: STYLE .
StartText: {\\${STYLE}\s
EndText: }
-
GI: EXCERPT
StartText: ^.br^.in +.7i^
EndText: ^.in^.br^
-
GI: QUOTE
StartText: ``
StartText: ''
-
# ______________________________________________________________________
# label/item for labeled list
GI: LABEL
StartText: ^.IP "
EndText: "^
-
GI: ITEM
Context: L-ITEM
StartText: ^
EndText: ^
-
# item for general list
GI: ITEM
StartText: ^.IP \\(bu^
EndText: ^
-
GI: _nested-list
SpecID: 881
#Replace: ^.RS 1cm^
Replace: ^.RS +\\n(INu^
-
GI: _nested-list
SpecID: 882
Replace: ^.RE^
-
GI: LIST
Relation: child L-ITEM
StartText: ^'br\\" labeled list^${_relation ancestor LIST 881}
EndText: ${_relation ancestor LIST 882}^'br\\" labeled list end^
-
GI: LIST
Relation: child ITEM
AttValue: TYPE UNORDERED
StartText: ^'br\\" unordered list^${_relation ancestor LIST 881}
EndText: ${_relation ancestor LIST 882}^^'br\\" unordered list end^
-
GI: LIST
Relation: child ITEM
AttValue: TYPE ORDERED
StartText: ^'br\\" ordered list^${_relation ancestor LIST 881}
EndText: ${_relation ancestor LIST 882}^^'br\\" ordered list end^
-
# default general list
GI: LIST
Relation: child ITEM
StartText: ^'br\\" unordered list^${_relation ancestor LIST 881}
EndText: ${_relation ancestor LIST 882}^^'br\\" unordered list end^
-
# procedure list
GI: LIST
Relation: child PROCEDURE-STEP
StartText: ^'br\\" procedure list^${_relation ancestor LIST 881}
EndText: ${_relation ancestor LIST 882}^^'br\\" procedure list end^
Set: stepnum 1
-
GI: PROCEDURE-STEP
StartText: ^.IP ${stepnum}. 2cm^
EndText: ^
Increment: stepnum
-
# note list
GI: LIST
Relation: child NOTE
StartText: ^
EndText: ^
-
# hack?? I have not tried this yet.
GI: BRIDGE-P
StartText: ^.PP^
EndText: ^
-
GI: L-ITEM
EndText: ^
-
GI: P
Context: ITEM
NthChild: 1
StartText: ^
EndText: ^
-
GI: P
Context: ITEM
StartText: ^.IP^
EndText: ^
-
# ______________________________________________________________________
GI: NOTE
Relation: child TITLE
StartText: ^.IP\s
EndText: ^
-
GI: NOTE
StartText: ^.IP Note: 2cm
EndText: ^
-
GI: TITLE
Context: NOTE
StartText: "
EndText: " 2 cm^
-
GI: ANNOTATION
StartText: ^.FS^
EndText: ^.FE^
Message: WARNING: Found ${_gi} in a manpage:\n${_location}\n
-
GI: FOOTNOTE
StartText: ^.FS^
EndText: ^.FE^
Message: WARNING: Found ${_gi} in a manpage:\n${_location}\n
-
GI: NOTEREF
-
# ______________________________________________________________________
# plain text...
GI: _
SpecID: 98
-
GI: REF-NAME
StartText: ^.TH "
EndText: " "${_pattr CATEGORY}"^.SH "Name"^${_action 98} -\s
-
GI: REF-PURPOSE
#StartText:
EndText: ^
-
GI: RSECTION
StartText: ^.SH\s
EndText: ^
-
GI: RSUBSECTION
StartText: ^.SS\s
EndText: ^
-
GI: RDIVISION
StartText: ^.SS\s
EndText: ^
-
GI: META
Ignore: all
-
GI: AUGMENTUM
Ignore: all
-
# ______________________________________________________________________
GI: BRIDGE-TITLE
StartText: ^.B "
EndText: "^
-
# ______________________________________________________________________
GI: MESSAGE
StartText: ^... Message^
-
GI: MSG-CODE
Context: MESSAGE
StartText: ^.LI "Code"^
EndText: ^
-
GI: MSG-SYMBOL
StartText: ^.LI "Symbol"^
EndText: ^
-
GI: MSG-TEXT
StartText: ^.LI "Text"^
Context: MESSAGE
EndText: ^
-
GI: MSG-TYPE
StartText: ^.LI "Type"^
EndText: ^
-
GI: MSG-DESC
StartText: ^.LI "Description"^
EndText: ^
-
GI: MSG-CAUSE
StartText: ^.LI "Cause"^
EndText: ^
-
GI: MSG-AUDIENCE
StartText: ^.LI "Audience"^
EndText: ^
-
GI: MSG-RESP
StartText: ^.LI "Response"^
EndText: ^
-
GI: MSG-ORIGIN
StartText: ^.LI "Origin"^
EndText: ^
-
# ______________________________________________________________________
# "default" handling of some common and keydata elements
GI: P
StartText: ^.PP^
EndText: ^
-
GI: MSG-CODE
StartText: \\fB
EndText: \\fP
-
GI: MSG-TEXT
#StartText: {
#EndText: }
-
GI: TITLE
StartText: "
EndText: "^
-
GI: ALT-TITLE
StartText: ^... Alt title:\s
EndText: ^
-
# ______________________________________________________________________
GI: TOC INDEX BIBLIOGRAPHY GLOSSARY NAVIGATION HY-LOCATOR HY-CONCEPT
Ignore: all
-
GI: HY-DEF HY-TERM
-
# ----
GI: ENTRY
AttValue: DAVROLE glossary
StartText: \\fB
EndText: \\fP
-
GI: ENTRY
AttValue: DAVROLE index
# no processing for manpage
-
GI: ENTRY
-
# ----
GI: XREF
AttValue: OSFROLE gettitle
StartText: Get-Title
-
GI: XREF
AttValue: OSFROLE getnumber
#StartText: Get-Division-Number
#EndText: \ \\ref{${LINKEND}}
-
GI: XREF
AttValue: OSFROLE getpage
#EndText: \ \\pageref{${LINKEND}}
-
GI: XREF
-
# ----
GI: HY-BIB-DESCRIPTION
StartText: \\fI
EndText: \\fP
-
# ______________________________________________________________________
GI: REV-BRACKET
StartText: ^'br rev-bracket^
-
GI: I18N-BRACKET REV-DESCRIPTION OCCURRENCES OCC-ASYNC OCC-SYNC
-
GI: DESC-POOL
Ignore: all
-
# ______________________________________________________________________
GI: GRAPHIC
Context: DISPLAY
StartText: ^'br\\" Graphic from file: ${_filename}^
EndText: ^
Message: WARNING: Found ${_gi} in a manpage:\n${_location}\n
-
GI: GRAPHIC
StartText: ^'br\\" Graphic from file: ${_filename}^
Message: WARNING: Found ${_gi} in a manpage:\n${_location}\n
-
GI: EQUATION
StartText: ^.EQ^
EndText: ^.EN^
-
# ______________________________________________________________________
#
GI: *
Message: Found element without a matching spec:\n${_location}\n
-
GI: _Start
StartText: ^'br Translated with ${transpec} by ${user} on ${host}, ${date}^
-
GI: _End
EndText: ^
-
# ______________________________________________________________________
#
# Processing Instructions
GI: _osf-break
Replace: ^.br^
-
GI: _osf-new-page
Replace: ^.bp^
-
GI: _osf-need
StartText: ^.ne\s
EndText: ^
-
GI: _osf-hyphen
Replace: -
-
# ______________________________________________________________________

View File

@@ -0,0 +1,743 @@
# Copyright (c) 1993 Open Software Foundation, Inc.
# All rights reserved.
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# ______________________________________________________________________
# $XConsortium: ref-tex.ts /main/2 1996/07/18 14:23:28 drk $
# ______________________________________________________________________
#
Var: User !printenv USER
#Var: Auth !egrep "^$USER:" /etc/passwd | sed -e 's/,.*//' -e 's/^.*://'
Var: Auth Open Software Foundation
#Var: Date !date
# ______________________________________________________________________
GI: AUGMENTUM
StartText: ^\\setcounter{page}{2}^
EndText: ^% recall ${_action 21}^
#Message: AUGMENTUM\n
-
# ______________________________________________________________________
GI: OSF-REFPAGE
StartText: ^\n\\begin{document}^
\\lhead{\\Pname} \\rhead{\\Pname} \\chead{OSF} \\rfoot{\\today}
EndText: ^\n\\end{document}^\n
-
GI: BODY
StartText: ^\n% start body^\\pagebreak^\\cleardoublepage^
\\pagenumbering{arabic}^\\setcounter{page}{1}
EndText: ^% end body^
-
GI: SECTION
StartText: ^\n\\section
EndText: ^
-
GI: CHAPTER
StartText: ^\n\\chapter
EndText: ^
-
GI: DIVISION
Context: SECTION
StartText: ^\n\\subsection
EndText: ^
-
GI: DIVISION
Context: DIVISION SECTION
StartText: ^\n\\subsubsection
EndText: ^
-
GI: DIVISION
Context: DIVISION
Message: ^Caught deep division (beyond subsubsection)!!\n${_location}
StartText: ^\n\\subsubsection*
EndText: ^
-
GI: TITLE
Context: CHAPTER
StartText: {
EndText: \\label{${_pattr ID}}}
-
GI: TITLE
Context: SECTION
StartText: {
EndText: \\label{${_pattr ID}}}
-
# ______________________________________________________________________
GI: ROW
StartText: ^
EndText: \\\\ \\hline^
-
GI: TITLE-ROW
StartText: ^
EndText: \\\\ \\hline\\hline^
-
GI: CELL
Context: TITLE-ROW
SibFollow: CELL
StartText: {\\bf\s
EndText: } &\s
-
GI: CELL
Context: TITLE-ROW
StartText: {\\bf\s
EndText: } \s
-
GI: CELL
SibFollow: CELL
StartText: {
EndText: } &\s
-
GI: CELL
StartText: {
EndText: }\s
-
# if you want a table title/caption, put it in a display
GI: TABLE
StartText: ^\n\\begin{center}^\\begin{tabular}{${HALIGN}} \\hline^
EndText: ^\\end{tabular}^\\end{center}^\n
-
# ______________________________________________________________________
GI: TEXT-AS-FIGURE
StartText: ^\n\\begin{verbatim}^
EndText: ^\\end{verbatim}^\n
-
GI: TITLE
Context: DISPLAY
Sibling: TABLE
StartText: ^\\caption{
EndText: }^
-
GI: DISPLAY
AttValue: IN-FLOW FLOAT
Child: TABLE
StartText: ^\n\\begin{table}^
EndText: ^\\end{table}^\n
-
GI: DISPLAY
Child: TABLE
StartText: ^\n\\begin{table}[h]^
EndText: ^\\end{table}^\n
-
GI: DISPLAY
AttValue: WRAP NOWRAP
StartText: ^\\begin{quote}^\\begingroup \\obeylines\\obeyspaces\\tt\\scriptsize^
EndText: ^\\endgroup^\\end{quote}^
-
GI: DISPLAY
AttValue: TYPE FIGURE
StartText: ^\\begin{figure}^
EndText: ^\\end{figure}^
-
GI: TITLE
Context: DISPLAY
Sibling: GRAPHIC
StartText: ^\\caption{
EndText: }^
-
# default display
GI: DISPLAY
StartText: ^\\begin{quote}^
EndText: ^\\end{quote}^
-
GI: TITLE
Context: DISPLAY
StartText: \\centerline{\\bf\\large\s
EndText: }
-
# ______________________________________________________________________
GI: PROGLANG-SYNOPSIS
StartText: ^\n% Prog lang synopsis^
EndText: ^\n
-
GI: INCLUDE
StartText: ^
EndText: \\vspace{2ex}\\\\^
-
GI: DATA-DECLARATION
StartText: ^{
EndText: }^
-
GI: FILE-SYNOPSIS
StartText: ^\n% File synopsis^
EndText: ^\n
-
GI: CMD-SYNOPSIS
StartText: ^\n% Command synopsis^
EndText: ^\n
-
GI: CMD-ARGUMENT
StartText: {
EndText: }
-
# ______________________________________________________________________
GI: LITERAL
StartText: {\\bf\s
EndText: }
-
GI: EMPHASIS
StartText: {\\em\s
EndText: }
-
GI: SUBSCRIPT
StartText: {\$\\sb{
EndText: }\$}
-
GI: SUPERSCRIPT
StartText: {\$\\sp{
EndText: }\$}
-
GI: ACRONYM
-
GI: TRADEMARK
StartText: {\\bf\s
EndText: }
-
GI: PERSON
-
GI: PLACE
-
GI: HONORIFIC
-
GI: DATE
-
GI: TIME
-
GI: TELEPHONE
-
# yes, a hack...
GI: YEAR
Context: COPYRIGHT-NOTICE
StartText: \\def\\copYr{
EndText: }
-
GI: YEAR
-
GI: E-MAIL
StartText: {\\bf\s
EndText: }
-
GI: NUMBER
-
GI: VARIABLE
StartText: {\\it\s
EndText: }
-
GI: COMMAND
StartText: {\\bf\s
EndText: }
-
GI: FUNCTION
StartText: {\\bf\s
EndText: }
-
GI: FILE
StartText: {\\bf\s
EndText: }
-
GI: DIRECTORY
StartText: {\\bf\s
EndText: }
-
GI: DATATYPE
StartText: {\\bf\s
EndText: }
-
GI: KEYBOARD-INPUT
StartText: {\\tt\s
EndText: }
-
GI: COMPUTER-OUTPUT
Context: DISPLAY
StartText: ^\\begin{verbatim}^
EndText: ^\\end{verbatim}^
-
GI: COMPUTER-OUTPUT
StartText: {\\tt\s
EndText: }
-
GI: KEYBOARD-KEY
StartText: {\$<\$\\bf\s
EndText: \$>\$}
-
GI: INPUT-INSTRUCT
StartText: {\\sl\s
EndText: }
-
GI: GUI-TEXT
StartText: {\\bf\s
EndText: }
-
GI: FOREIGN-PHRASE
StartText: {\\it\s
EndText: }
-
GI: LOGICAL-NEGATION
StartText: \$\\overline{
EndText: }\$
-
GI: OPTION-NAME
StartText: {\\bf\s
EndText: }
-
GI: MISC-DATA
StartText: {
EndText: }
-
GI: MARKUP
AttValue: LANG sgml
AttValue: CATEGORY elem.*
StartText: {\\bf\s\$<\$
EndText: \$>\$}
-
GI: MARKUP
AttValue: CATEGORY (attr|entity)
StartText: {\\bf\s
EndText: }
-
GI: MARKUP
StartText: {\\bf\s\$<\$
EndText: \$>\$}
-
GI: SPECIAL-FORMAT
AttValue: SMALLCAPS SMALLCAPS
StartText: {\\sc\s
EndText: }
-
GI: SPECIAL-FORMAT
AttValue: HORIZKEEP NOBREAK
StartText: \\mbox{
EndText: }
-
# a bit if a hack
GI: SPECIAL-FORMAT
AttValue: STYLE
StartText: {\\${STYLE}\s
EndText: }
-
GI: EXCERPT
StartText: ^\n\\begin{quote}^
EndText: ^\\end{quote}^
-
GI: QUOTE
StartText: ``
StartText: ''
-
# ______________________________________________________________________
# label/item for labeled list
GI: LABEL
StartText: ^\\item[{
EndText: }] \\ ^
-
GI: ITEM
Context: L-ITEM
StartText: ^\n
EndText: ^\n
-
# item for general list
GI: ITEM
StartText: ^\n\\item\s
-
GI: LIST
Child: L-ITEM
StartText: ^\n\\begin{description}^
EndText: ^\\end{description}^\n
#Message: -> LABELED LIST\n
-
GI: LIST
Child: ITEM
AttValue: TYPE UNORDERED
StartText: ^\n\\begin{itemize}^
EndText: ^\\end{itemize}^\n
-
GI: LIST
Child: ITEM
AttValue: TYPE ORDERED
StartText: ^\n\\begin{enumerate}^
EndText: ^\\end{enumerate}^\n
-
# default general list
GI: LIST
Child: ITEM
StartText: ^\n\\begin{itemize}^
EndText: ^\\end{itemize}^\n
-
# procedure list
GI: LIST
Child: PROCEDURE-STEP
StartText: ^\n\\begin{itemize}^
EndText: ^\\end{itemize}^\n
-
GI: PROCEDURE-STEP
StartText: ^\\item\s
-
# hack?? I have not tried this yet.
GI: BRIDGE-P
StartText: ^\\item{}\s
EndText: ^
-
GI: L-ITEM
-
# ______________________________________________________________________
GI: NOTE
Child: TITLE
StartText: ^\n\\osfnote{\\textwidth}{
EndText: }^\n
-
GI: NOTE
StartText: ^\n\\osfnote{\\textwidth}{Note:}{
EndText: }^\n
-
GI: TITLE
Context: NOTE
#StartText: {
EndText: }{
-
GI: P
Context: NOTE
-
GI: ANNOTATION
#StartText: ^\\osfannotation{
#EndText: }^\n
StartText: \\footnote{
EndText: }
-
GI: FOOTNOTE
StartText: \\footnote{
EndText: }
-
GI: P
Context: ANNOTATION
-
GI: P
Context: FOOTNOTE
EndText: ^
-
GI: NOTEREF
-
# ______________________________________________________________________
GI: REF-NAME
StartText: ^\\def\\Pname{
EndText: }^\\section*{Name}^{\\Pname} --\s
-
GI: REF-PURPOSE
#StartText:
EndText: ^
-
GI: RSECTION
StartText: ^\n\\section*
EndText: ^
-
GI: RSUBSECTION
StartText: ^\n\\subsection*
EndText: ^
-
GI: RDIVISION
StartText: ^\n\\subsection*
EndText: ^
-
GI: OSF-REFPAGE
-
GI: META
Context: OSF-REFPAGE
Ignore: all
-
# ______________________________________________________________________
GI: BRIDGE-TITLE
StartText: ^\n\\leftline{\\bf
EndText: }^
-
# ______________________________________________________________________
GI: MESSAGE
StartText: ^% Message^\\begin{description}^
EndText: ^\\end{description}^% Message end^
-
GI: MSG-CODE
Context: MESSAGE
StartText: ^\\item[{Code}]^
EndText: ^
-
GI: MSG-SYMBOL
StartText: ^\\item[{Symbol}]^
EndText: ^
-
GI: MSG-TEXT
StartText: ^\\item[{Text}]^
Context: MESSAGE
EndText: ^
-
GI: MSG-TYPE
StartText: ^\\item[{Type}]^
EndText: ^
-
GI: MSG-DESC
StartText: ^\\item[{Description}]^
EndText: ^
-
GI: MSG-CAUSE
StartText: ^\\item[{Cause}]^
EndText: ^
-
GI: MSG-AUDIENCE
StartText: ^\\item[{Audience}]^
EndText: ^
-
GI: MSG-RESP
StartText: ^\\item[{Response}]^
EndText: ^
-
GI: MSG-ORIGIN
StartText: ^\\item[{Origin}]^
EndText: ^
-
# ______________________________________________________________________
# "default" handling of some common and keydata elements
GI: P
StartText: ^\n
EndText: ^
-
GI: MSG-CODE
StartText: {\\bf\s
EndText: }
-
GI: MSG-TEXT
StartText: {
EndText: }
-
GI: TITLE
StartText: {
EndText: }^
-
GI: ALT-TITLE
Ignore: all
-
# ______________________________________________________________________
GI: TOC
Context: NAVIGATION AUGMENTUM OSF-BOOK
StartText: ^\n\\begingroup^\\tightenlist^\\tableofcontents^\\endgroup^
EndText: ^
-
GI: INDEX
#StartText: ^\n\\makeindex^
StartText: ^% This document wants an index:\s
EndText: ^
-
GI: BIBLIOGRAPHY
StartText: ^\n\\makebib^
EndText: ^
-
GI: GLOSSARY
StartText: ^% This document wants a glossary:\s
EndText: ^
-
# ______________________________________________________________________
# Set page number to 1 (roman) for TOC and friends
GI: AUGMENTUM
Context: OSF-BOOK
StartText: ^\\setcounter{page}{1}^
EndText: ^
-
GI: NAVIGATION
-
GI: HY-LOCATOR
Ignore: all
-
# ignore until we know how to process these
GI: HY-CONCEPT
Context: META
Ignore: all
-
GI: HY-CONCEPT
Ignore: all
-
GI: HY-DEF
-
GI: HY-TERM
-
# ----
GI: ENTRY
AttValue: DAVROLE glossary
StartText: {
EndText: }
-
GI: ENTRY
AttValue: DAVROLE index
StartText: {
EndText: }
#StartText: \\index{
#EndText: }
-
GI: ENTRY
-
# ----
GI: XREF
AttValue: OSFROLE gettitle
StartText: Get-Title
-
GI: XREF
AttValue: OSFROLE getnumber
#StartText: Get-Division-Number
EndText: \ \\ref{${LINKEND}}
-
GI: XREF
AttValue: OSFROLE getpage
EndText: \ \\pageref{${LINKEND}}
-
GI: XREF
-
# ----
GI: HY-BIB-DESCRIPTION
StartText: {\\it\s
EndText: }
-
# ______________________________________________________________________
GI: META
StartText: ^% start meta^
EndText: ^% end meta^
-
GI: DOC-ID
#StartText: ^.ad r^.S 20^.SP 1.5i^.\\" start doc id^
#EndText: ^.ad b^.br^.\\" end doc id^
-
GI: AUTHOR-INFO
StartText: ^\\begin{flushright}^
EndText: ^\\end{flushright}^
-
GI: PERSON
Context: AUTHOR-INFO
StartText: ^\\author{
EndText: }^
-
GI: AUTH-AFFILIATION
StartText: ^\\author{
EndText: }^
-
GI: ADDRESS
StartText: ^
EndText: \\\\^
-
GI: VALID-DATE
-
GI: PRODUCT
StartText: ^% PRODUCT...\s
EndText: ^
-
GI: PRODUCT-NAME
StartText: ^% PRODUCT-NAME...\s
EndText: ^
-
GI: PRODUCT-VERSION
StartText: ^%\s
-
GI: NOTICES
StartText: ^
-
GI: DISCLAIMER
StartText: ^\n
EndText: ^\n
-
GI: COPYRIGHTS
StartText: ^
-
GI: COPYRIGHT-NOTICE
EndText: ^
-
GI: OWNER
StartText: \\def\\copOwn{
EndText: }
-
# yes, a hack...
GI: STATEMENT
Context: COPYRIGHT-NOTICE
StartText: ^Copyright \\copyright{} \\copYr{} \\copOwn\\hfill\\\\
EndText: ^
-
GI: STATEMENT
StartText: \s
-
GI: TRADEMARKS
StartText: ^\\vskip 2em
-
GI: TRADEMARK-PAIR
StartText: ^
EndText: \\\\^
-
GI: PRODUCT-ID
StartText: ^
-
GI: AUDIENCE
StartText: ^\n
EndText: ^
-
# ______________________________________________________________________
GI: REV-BRACKET
StartText: \\osfrev{}
-
GI: I18N-BRACKET
-
GI: REV-DESCRIPTION
-
GI: OCCURRENCES
-
GI: OCC-ASYNC
-
GI: OCC-SYNC
-
GI: DESC-POOL
Ignore: all
-
GI: REV-DESCRIPTION
-
# ______________________________________________________________________
#GI: GRAPHIC
#StartText: ${NOTATION} graphic from file ${NAME} goes here.
#EndText: ^
#-
GI: GRAPHIC
Context: DISPLAY
StartText: ^\\begin{center}\\ ^\\psfig{figure=${_filename}}
EndText: ^\\end{center}^
-
GI: GRAPHIC
StartText: \\psfig{figure=${_filename}}
#EndText: }
-
GI: EQUATION
Context: DISPLAY
StartText: \\begin{center}^\$\$
EndText: \$\$\\end{center}^
-
GI: EQUATION
StartText: {\$
EndText: \$}
-
# ______________________________________________________________________
#
# For the "book.sty" LaTeX style
#
GI: _Start
StartText: ^\n\\documentstyle[11pt,osf-extras,osf-ref]{article}^
-
GI: _End
EndText: ^
-
GI: _Comment
StartText: ^%\s
EndText: ^
-
# ______________________________________________________________________

View File

@@ -0,0 +1,45 @@
# Copyright (c) 1993 Open Software Foundation, Inc., Cambridge, Massachusetts.
# All rights reserved
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# This will extract the name(s) and purpose(s) from and osf-refpage
# instance. The first line is category attr of osf-refpage.
# The second line is "REF-NAME: ", then the main name/purpose
# (ref-name/ref-purpose). (name/purpose are separated by a single tab.)
# Subsequent lines are, "SUB-NAME: ", then sub-name/sub-purpose.
#
# Usage: instant -t refname.ts your-document.esis
#
GI: OSF-REFPAGE
StartText: CATEGORY: ${CATEGORY x}
EndText: ^
-
GI: REF-NAME SUB-NAME
StartText: ^${_gi}:\s
-
GI: REF-PURPOSE SUB-PURPOSE
StartText: \t
EndText: ^
-
GI: RSECTION
Ignore: all
-
Relation: ancestor REF-NAME
-
GI: *
Ignore: data
-

View File

@@ -0,0 +1,50 @@
#
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# Copyright (c) 1996 X Consortium
# Copyright (c) 1996 Dalrymple Consulting
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the names of the X Consortium and
# Dalrymple Consulting shall not be used in advertising or otherwise to
# promote the sale, use or other dealings in this Software without prior
# written authorization.
#
#
# Character strings to map for troff/nroff.
#
# From To
#\\ \\e
^ \^
. \\&.
' \\&'

View File

@@ -0,0 +1,589 @@
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# Copyright (c) 1996 X Consortium
# Copyright (c) 1996 Dalrymple Consulting
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM OR DALRYMPLE CONSULTING BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the names of the X Consortium and
# Dalrymple Consulting shall not be used in advertising or otherwise to
# promote the sale, use or other dealings in this Software without prior
# written authorization.
#
#
# SDATA entity mappings to TeX instructions.
# sgmls outputs sdata references in the form: \\|[mdash ]\\|
#
# J.Bowe, 1993
#
# Numeric and Special Graphic ________________________________
#
[half ] \\(12
[frac12] \\(12
[frac14] \\(14
[frac34] \\(34
[frac18] 1/8
[frac38] 3/8
[frac58] 5/8
[frac78] 7/8
[sup1 ] \\u1\\l
[sup2 ] \\u2\\l
[sup3 ] \\u3\\l
[plus ] \\(pl
[plusmn] \\(+-
[lt ] <
[equals] =
[gt ] >
[divide] \\(di
[times ] \\(ti
# [curren] =general currency sign
[pound ] #
[dollar] $
[cent ] \\(ct
[yen ] yen
[num ] #
[percnt] %
[amp ] &
[ast ] *
[commat] @
[lsqb ] [
[bsol ] \\e
[rsqb ] ]
[lcub ] { /lbrace O: =left curly bracket
# [horbar] horizontal bar
[horbar] _
[verbar] \\(or
[rcub ] }
[micro ] \\(*m
[ohm ] \\(*W
[deg ] \\(de
# [ordm ] =ordinal indicator, masculine
# [ordf ] =ordinal indicator, feminine
[sect ] \\(sc
# [para ] =pilcrow (paragraph sign)
# [middot] /centerdot B: =middle dot
[larr ] \\(<-
[rarr ] \\(->
[uarr ] \\(ua
[darr ] \\(da
[copy ] \\(co
[reg ] \\(rg
#[trade ] trademark
[trade ] \\(tm
# [brvbar] =broken (vertical) bar
[brvbar] |
[not ] \\(no
# [sung ] =music note (sung text sign)
[excl ] !
# [iexcl ] =inverted exclamation mark
[quot ] "
[apos ] \\&'
[lpar ] (
[rpar ] )
[comma ] ,
[lowbar] _
[hyphen] \\-
[period] .
[sol ] /
[colon ] :
[semi ] ;
[quest ] ?
# [iquest] =inverted question mark
# [laquo ] =angle quotation mark, left
[laquo ] <<
# [raquo ] =angle quotation mark, right
[raquo ] >>
[lsquo ] `
[rsquo ] \\&'
[ldquo ] "
[rdquo ] "
[nbsp ] \\
[shy ] \\%
#
# Publishing ________________________________
#
# trailing space here
[emsp ] \\ \\
[ensp ] \\
[emsp3 ] \\
[emsp4 ] \\
[numsp ] \\0
[puncsp] \\|
[thinsp] \\!
[hairsp] \\\^
[mdash ] \\(em
[ndash ] -
[dash ] -
[blank ] \\
[hellip] \\&...
[nldr ] \\&..
[frac13] 1/3
[frac23] 2/3
[frac15] 1/5
[frac25] 2/5
[frac35] 3/5
[frac45] 4/5
[frac16] 1/6
[frac56] 5/6
# [incare] =in-care-of symbol
# [block ] =full block
# [uhblk ] =upper half block
# [lhblk ] =lower half block
# [blk14 ] =25% shaded block
# [blk12 ] =50% shaded block
# [blk34 ] =75% shaded block
# [marker] =histogram marker
[cir ] \\(ci
[squ ] \\(sq
# [rect ] =rectangle, open
# [utri ] /triangle =up triangle, open
# [dtri ] /triangledown =down triangle, open
[star ] \\(** =star, open
[bull ] \\(bu
# [squf ] /blacksquare =sq bullet, filled
# [utrif ] /blacktriangle =up tri, filled
# [dtrif ] /blacktriangledown =dn tri, filled
# [ltrif ] /blacktriangleleft R: =l tri, filled
# [rtrif ] /blacktriangleright R: =r tri, filled
# [clubs ] /clubsuit =club suit symbol
# [diams ] /diamondsuit =diamond suit symbol
# [hearts] /heartsuit =heart suit symbol
# [spades] /spadesuit =spades suit symbol
# [malt ] /maltese =maltese cross
[dagger] \\(dg
[Dagger] \\(dd
# [check ] /checkmark =tick, check mark
# [ballot] =ballot cross
# [sharp ] /sharp =musical sharp
# [flat ] /flat =musical flat
# [male ] =male symbol
# [female] =female symbol
# [phone ] =telephone symbol
# [telrec] =telephone recorder symbol
# [copysr] =sound recording copyright sign
[caret ] \^
[lsquor] `
[ldquor] ``
[fflig ] \\(ff
[filig ] \\(fi
# [fjlig ] small fj ligature
[ffilig] \\(Fi
[ffllig] \\(Fl
[fllig ] \\(fl
# [mldr ] em leader
[rdquor] \\&''
[rsquor] \\&'
# [vellip] vertical ellipsis
# [hybull] rectangle, filled (hyphen bullet)
# [loz ] /lozenge - lozenge or total mark
# [lozf ] /blacklozenge - lozenge, filled
# [ltri ] /triangleleft B: l triangle, open
# [rtri ] /triangleright B: r triangle, open
# [starf ] /bigstar - star, filled
# [natur ] /natural - music natural
# [rx ] pharmaceutical prescription (Rx)
# [sext ] sextile (6-pointed star)
# [target] register mark or target
# [dlcrop] downward left crop mark
# [drcrop] downward right crop mark
# [ulcrop] upward left crop mark
# [urcrop] upward right crop mark
#
# Added Latin 1 ________________________________
#
[aacute] \\(a'
[Aacute] \\(A'
[acirc ] \\(a^
[Acirc ] \\(A^
[agrave] \\(a`
[Agrave] \\(A`
# [aring ] =small a, ring
# [Aring ] =capital A, ring
# [atilde] =small a, tilde
# [Atilde] =capital A, tilde
[auml ] \\(a:
# [Auml ] =capital A, dieresis or umlaut mark
[aelig ] \\(ae
[AElig ] \\(AE
# [ccedil] =small c, cedilla
# [Ccedil] =capital C, cedilla
# [eth ] =small eth, Icelandic
# [ETH ] =capital Eth, Icelandic
[eacute] \\(e'
[Eacute] \\(E'
# [ecirc ] =small e, circumflex accent
# [Ecirc ] =capital E, circumflex accent
[egrave] \\(e`
[Egrave] \\(E`
# [euml ] =small e, dieresis or umlaut mark
# [Euml ] =capital E, dieresis or umlaut mark
[iacute] \\(i'
[Iacute] \\(I'
# [icirc ] =small i, circumflex accent
# [Icirc ] =capital I, circumflex accent
[igrave] \\(i`
[Igrave] \\(I`
# [iuml ] =small i, dieresis or umlaut mark
# [Iuml ] =capital I, dieresis or umlaut mark
[ntilde] \\(n~
[Ntilde] \\(N~
[oacute] \\(o'
[Oacute] \\(O'
# [ocirc ] =small o, circumflex accent
# [Ocirc ] =capital O, circumflex accent
[ograve] \\(o`
[Ograve] \\(O`
[oslash] \\(o/
[Oslash] \\(O/
# [otilde] =small o, tilde
# [Otilde] =capital O, tilde
# [ouml ] =small o, dieresis or umlaut mark
# [Ouml ] =capital O, dieresis or umlaut mark
[szlig ] \\(ss
[thorn ] \\(th
# [THORN ] =capital THORN, Icelandic
[uacute] \\(u'
[Uacute] \\(U'
# [ucirc ] =small u, circumflex accent
# [Ucirc ] =capital U, circumflex accent
[ugrave] \\(u`
[Ugrave] \\(U`
# [uuml ] =small u, dieresis or umlaut mark
# [Uuml ] =capital U, dieresis or umlaut mark
# [yacute] =small y, acute accent
# [Yacute] =capital Y, acute accent
# [yuml ] =small y, dieresis or umlaut mark
#
# Added Latin 2 ________________________________
#
# [abreve] =small a, breve
# [Abreve] =capital A, breve
# [amacr ] =small a, macron
# [Amacr ] =capital A, macron
[aogon ] \\(ao
# [Aogon ] =capital A, ogonek
# [cacute] =small c, acute accent
# [Cacute] =capital C, acute accent
# [ccaron] =small c, caron
# [Ccaron] =capital C, caron
# [ccirc ] =small c, circumflex accent
# [Ccirc ] =capital C, circumflex accent
# [cdot ] =small c, dot above
# [Cdot ] =capital C, dot above
# [dcaron] =small d, caron
# [Dcaron] =capital D, caron
# [dstrok] =small d, stroke
# [Dstrok] =capital D, stroke
# [ecaron] =small e, caron
# [Ecaron] =capital E, caron
# [edot ] =small e, dot above
# [Edot ] =capital E, dot above
# [emacr ] =small e, macron
# [Emacr ] =capital E, macron
# [eogon ] =small e, ogonek
# [Eogon ] =capital E, ogonek
# [gacute] =small g, acute accent
# [gbreve] =small g, breve
# [Gbreve] =capital G, breve
# [Gcedil] =capital G, cedilla
# [gcirc ] =small g, circumflex accent
# [Gcirc ] =capital G, circumflex accent
# [gdot ] =small g, dot above
# [Gdot ] =capital G, dot above
# [hcirc ] =small h, circumflex accent
# [Hcirc ] =capital H, circumflex accent
# [hstrok] =small h, stroke
# [Hstrok] =capital H, stroke
# [Idot ] =capital I, dot above
# [Imacr ] =capital I, macron
# [imacr ] =small i, macron
# [ijlig ] =small ij ligature
# [IJlig ] =capital IJ ligature
# [inodot] =small i without dot
# [iogon ] =small i, ogonek
# [Iogon ] =capital I, ogonek
# [itilde] =small i, tilde
# [Itilde] =capital I, tilde
# [jcirc ] =small j, circumflex accent
# [Jcirc ] =capital J, circumflex accent
# [kcedil] =small k, cedilla
# [Kcedil] =capital K, cedilla
# [kgreen] =small k, Greenlandic
# [lacute] =small l, acute accent
# [Lacute] =capital L, acute accent
# [lcaron] =small l, caron
# [Lcaron] =capital L, caron
# [lcedil] =small l, cedilla
# [Lcedil] =capital L, cedilla
# [lmidot] =small l, middle dot
# [Lmidot] =capital L, middle dot
# [lstrok] =small l, stroke
# [Lstrok] =capital L, stroke
# [nacute] =small n, acute accent
# [Nacute] =capital N, acute accent
# [eng ] =small eng, Lapp
# [ENG ] =capital ENG, Lapp
# [napos ] =small n, apostrophe
# [ncaron] =small n, caron
# [Ncaron] =capital N, caron
# [ncedil] =small n, cedilla
# [Ncedil] =capital N, cedilla
# [odblac] =small o, double acute accent
# [Odblac] =capital O, double acute accent
# [Omacr ] =capital O, macron
# [omacr ] =small o, macron
# [oelig ] =small oe ligature
# [OElig ] =capital OE ligature
# [racute] =small r, acute accent
# [Racute] =capital R, acute accent
# [rcaron] =small r, caron
# [Rcaron] =capital R, caron
# [rcedil] =small r, cedilla
# [Rcedil] =capital R, cedilla
# [sacute] =small s, acute accent
# [Sacute] =capital S, acute accent
# [scaron] =small s, caron
# [Scaron] =capital S, caron
# [scedil] =small s, cedilla
# [Scedil] =capital S, cedilla
# [scirc ] =small s, circumflex accent
# [Scirc ] =capital S, circumflex accent
# [tcaron] =small t, caron
# [Tcaron] =capital T, caron
# [tcedil] =small t, cedilla
# [Tcedil] =capital T, cedilla
# [tstrok] =small t, stroke
# [Tstrok] =capital T, stroke
# [ubreve] =small u, breve
# [Ubreve] =capital U, breve
# [udblac] =small u, double acute accent
# [Udblac] =capital U, double acute accent
# [umacr ] =small u, macron
# [Umacr ] =capital U, macron
# [uogon ] =small u, ogonek
# [Uogon ] =capital U, ogonek
# [uring ] =small u, ring
# [Uring ] =capital U, ring
# [utilde] =small u, tilde
# [Utilde] =capital U, tilde
# [wcirc ] =small w, circumflex accent
# [Wcirc ] =capital W, circumflex accent
# [ycirc ] =small y, circumflex accent
# [Ycirc ] =capital Y, circumflex accent
# [Yuml ] =capital Y, dieresis or umlaut mark
# [zacute] =small z, acute accent
# [Zacute] =capital Z, acute accent
# [zcaron] =small z, caron
# [Zcaron] =capital Z, caron
# [zdot ] =small z, dot above
# [Zdot ] =capital Z, dot above
#
# Greek Letters ________________________________
#
[agr ] \\(*a
[Agr ] \\(*A
[bgr ] \\(*b
[Bgr ] \\(*B
[ggr ] \\(*g
[Ggr ] \\(*G
[dgr ] \\(*d
[Dgr ] \\(*D
[egr ] \\(*e
[Egr ] \\(*E
[zgr ] \\(*z
[Zgr ] \\(*Z
[eegr ] \\(*y
[EEgr ] \\(*Y
[thgr ] \\(*h
[THgr ] \\(*H
[igr ] \\(*i
[Igr ] \\(*I
[kgr ] \\(*k
[Kgr ] \\(*K
[lgr ] \\(*l
[Lgr ] \\(*L
[mgr ] \\(*m
[Mgr ] \\(*M
[ngr ] \\(*n
[Ngr ] \\(*N
[xgr ] \\(*c
[Xgr ] \\(*C
[ogr ] \\(*o
[Ogr ] \\(*O
[pgr ] \\(*p
[Pgr ] \\(*P
[rgr ] \\(*r
[Rgr ] \\(*R
[sgr ] \\(*s
[Sgr ] \\(*S
[sfgr ] \\(ts
[tgr ] \\(*t
[Tgr ] \\(*T
[ugr ] \\(*u
[Ugr ] \\(*U
[phgr ] \\(*f
[PHgr ] \\(*F
[khgr ] \\(*x
[KHgr ] \\(*X
[psgr ] \\(*q
[PSgr ] \\(*Q
[ohgr ] \\(*w
[OHgr ] \\(*W
#
# Greek Symbols ________________________________
#
[alpha ] \\(*a
[beta ] \\(*b
[gamma ] \\(*g
[Gamma ] \\(*G
# [gammad] /digamma
[delta ] \\(*d
[Delta ] \\(*D
[epsi ] \\(*e
# [epsiv ] /varepsilon
[epsis ] \\(*e
[zeta ] \\(*z
[eta ] \\(*y
[thetas] \\(*h
[Theta ] \\(*H
# [thetav] /vartheta - curly or open theta
[iota ] \\(*i
[kappa ] \\(*k
# [kappav] /varkappa
[lambda] \\(*l
[Lambda] \\(*L
[mu ] \\(*m
[nu ] \\(*n
[xi ] \\(*c
[Xi ] \\(*C
[pi ] \\(*p
# [piv ] /varpi
[Pi ] \\(*P
[rho ] \\(*r
# [rhov ] /varrho
[sigma ] \\(*s
[Sigma ] \\(*S
# [sigmav] /varsigma
[tau ] \\(*t
[upsi ] \\(*u
[Upsi ] \\(*U
[phis ] \\(*f
[Phi ] \\(*F
# [phiv ] /varphi - curly or open phi
[chi ] \\(*x
[psi ] \\(*q
[Psi ] \\(*X
[omega ] \\(*w
[Omega ] \\(*W
#
# General Technical ________________________________
#
# [aleph ] /aleph =aleph, Hebrew
# [and ] /wedge /land B: =logical and
# [ang90 ] =right (90 degree) angle
# [angsph] /sphericalangle =angle-spherical
[ap ] \\(ap
# [becaus] /because R: =because
# [bottom] /bot B: =perpendicular
# [cap ] /cap B: =intersection
# [cong ] /cong R: =congruent with
# [conint] /oint L: =contour integral operator
# [cup ] /cup B: =union or logical sum
[equiv ] \\(==
# [exist ] /exists =at least one exists
# [forall] /forall =for all
# [fnof ] =function of (italic small f)
[ge ] \\(>=
# [iff ] /iff =if and only if
[infin ] \\(if
# [int ] /int L: =integral operator
[isin ] \\(sb
# [lang ] /langle O: =left angle bracket
# [lArr ] /Leftarrow A: =is implied by
[le ] \\(<=
[minus ] \\(mi
# [mnplus] /mp B: =minus-or-plus sign
# [nabla ] /nabla =del, Hamilton operator
[ne ] \\(!=
# [ni ] /ni /owns R: =contains
# [or ] /vee /lor B: =logical or
# [par ] /parallel R: =parallel
# [part ] /partial =partial differential
# [permil] =per thousand
# [perp ] /perp R: =perpendicular
# [prime ] /prime =prime or minute
# [Prime ] =double prime or second
[prop ] \\(pt
# [radic ] /surd =radical
# [rang ] /rangle C: =right angle bracket
# [rArr ] /Rightarrow A: =implies
# [sim ] /sim R: =similar
# [sime ] /simeq R: =similar, equals
[square] \\(sq
[sub ] \\(sb
[sube ] \\(ib
[sup ] \\(sp
[supe ] \\(ip
# [there4] /therefore R: =therefore
# [Verbar] /Vert =dbl vertical bar
# [angst ] Angstrom =capital A, ring
# [bernou] Bernoulli function (script capital B)
# [compfn] B: composite function (small circle)
# [Dot ] =dieresis or umlaut mark
# [DotDot] four dots above
# [hamilt] Hamiltonian (script capital H)
# [lagran] Lagrangian (script capital L)
# [lowast] low asterisk
# [notin ] N: negated set membership
# [order ] order of (script small o)
# [phmmat] physics M-matrix (script capital M)
# [tdot ] three dots above
# [tprime] triple prime
# [wedgeq] R: corresponds to (wedge, equals)
#
# Diacritical Marks ________________________________
#
[acute ] \\&'
[breve ] \\(be
[caron ] \\(hc
[cedil ] \\(cd
# [circ ] =circumflex accent
# [dblac ] =double acute accent
# [die ] =dieresis
[dot ] \\(dt
[grave ] `
[macr ] \\(ma
[ogon ] \\(og
[ring ] \\(ri
[tilde ] ~
[uml ] \\(..
#

View File

@@ -0,0 +1,23 @@
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# Character strings to map for SGML.
#
# From To
< &lt;
> &gt;
& &amp;

View File

@@ -0,0 +1,557 @@
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# SDATA entity mappings BACK to entity references.
# I think this is only usefule for creating a normalized instance.
#
# J.Bowe, 1993
#
# Numeric and Special Graphic ________________________________
#
[half ] &half;
[frac12] &frac12;
[frac14] &frac14;
[frac34] &frac34;
[frac18] &frac18;
[frac38] &frac38;
[frac58] &frac58;
[frac78] &frac78;
[sup1 ] &sup1;
[sup2 ] &sup2;
[sup3 ] &sup3;
[plus ] &plus;
[plusmn] &plusmn;
[lt ] &lt;
[equals] &equals;
[gt ] &gt;
[divide] &divide;
[times ] &times;
[curren] &curren;
[pound ] &pound;
[dollar] &dollar;
[cent ] &cent;
[yen ] &yen;
[num ] &num;
[percnt] &percnt;
[amp ] &amp;
[ast ] &ast;
[commat] &commat;
[lsqb ] &lsqb;
[bsol ] &bsol;
[rsqb ] &rsqb;
[lcub ] &lcub;
[horbar] &horbar;
[verbar] &verbar;
[rcub ] &rcub;
[micro ] &micro;
[ohm ] &ohm;
[deg ] &deg;
[ordm ] &ordm;
[ordf ] &ordf;
[sect ] &sect;
[para ] &para;
[middot] &middot;
[larr ] &larr;
[rarr ] &rarr;
[uarr ] &uarr;
[darr ] &darr;
[copy ] &copy;
[reg ] &reg;
[trade ] &trade;
[brvbar] &brvbar;
[not ] &not;
[sung ] &sung;
[excl ] &excl;
[iexcl ] &iexcl;
[quot ] &quot;
[apos ] &apos;
[lpar ] &lpar;
[rpar ] &rpar;
[comma ] &comma;
[lowbar] &lowbar;
[hyphen] &hyphen;
[period] &period;
[sol ] &sol;
[colon ] &colon;
[semi ] &semi;
[quest ] &quest;
[iquest] &iquest;
[laquo ] &laquo;
[raquo ] &raquo;
[lsquo ] &lsquo;
[rsquo ] &rsquo;
[ldquo ] &ldquo;
[rdquo ] &rdquo;
[nbsp ] &nbsp;
[shy ] &shy;
#
# Publishing ________________________________
#
[emsp ] &emsp;
[ensp ] &ensp;
[emsp3 ] &emsp3;
[emsp4 ] &emsp4;
[numsp ] &numsp;
[puncsp] &puncsp;
[thinsp] &thinsp;
[hairsp] &hairsp;
[mdash ] &mdash;
[ndash ] &ndash;
[dash ] &dash;
[blank ] &blank;
[hellip] &hellip;
[nldr ] &nldr;
[frac13] &frac13;
[frac23] &frac23;
[frac15] &frac15;
[frac25] &frac25;
[frac35] &frac35;
[frac45] &frac45;
[frac16] &frac16;
[frac56] &frac56;
[incare] &incare;
[block ] &block;
[uhblk ] &uhblk;
[lhblk ] &lhblk;
[blk14 ] &blk14;
[blk12 ] &blk12;
[blk34 ] &blk34;
[marker] &marker;
[cir ] &cir;
[squ ] &squ;
[rect ] &rect;
[utri ] &utri;
[dtri ] &dtri;
[star ] &star;
[bull ] &bull;
[squf ] &squf;
[utrif ] &utrif;
[dtrif ] &dtrif;
[ltrif ] &ltrif;
[rtrif ] &rtrif;
[clubs ] &clubs;
[diams ] &diams;
[hearts] &hearts;
[spades] &spades;
[malt ] &malt;
[dagger] &dagger;
[Dagger] &Dagger;
[check ] &check;
[ballot] &ballot;
[sharp ] &sharp;
[flat ] &flat;
[male ] &male;
[female] &female;
[phone ] &phone;
[telrec] &telrec;
[copysr] &copysr;
[caret ] &caret;
[lsquor] &lsquor;
[ldquor] &ldquor;
[fflig ] &fflig;
[filig ] &filig;
[fjlig ] &fjlig;
[ffilig] &ffilig;
[ffllig] &ffllig;
[fllig ] &fllig;
[mldr ] &mldr;
[rdquor] &rdquor;
[rsquor] &rsquor;
[vellip] &vellip;
[hybull] &hybull;
[loz ] &loz;
[lozf ] &lozf;
[ltri ] &ltri;
[rtri ] &rtri;
[starf ] &starf;
[natur ] &natur;
[rx ] &rx;
[sext ] &sext;
[target] &target;
[dlcrop] &dlcrop;
[drcrop] &drcrop;
[ulcrop] &ulcrop;
[urcrop] &urcrop;
#
# Added Latin 1 ________________________________
#
[aacute] &aacute;
[Aacute] &Aacute;
[acirc ] &acirc;
[Acirc ] &Acirc;
[agrave] &agrave;
[Agrave] &Agrave;
[aring ] &aring;
[Aring ] &Aring;
[atilde] &atilde;
[Atilde] &Atilde;
[auml ] &auml;
[Auml ] &Auml;
[aelig ] &aelig;
[AElig ] &AElig;
[ccedil] &ccedil;
[Ccedil] &Ccedil;
[eth ] &eth;
[ETH ] &ETH;
[eacute] &eacute;
[Eacute] &Eacute;
[ecirc ] &ecirc;
[Ecirc ] &Ecirc;
[egrave] &egrave;
[Egrave] &Egrave;
[euml ] &euml;
[Euml ] &Euml;
[iacute] &iacute;
[Iacute] &Iacute;
[icirc ] &icirc;
[Icirc ] &Icirc;
[igrave] &igrave;
[Igrave] &Igrave;
[iuml ] &iuml;
[Iuml ] &Iuml;
[ntilde] &ntilde;
[Ntilde] &Ntilde;
[oacute] &oacute;
[Oacute] &Oacute;
[ocirc ] &ocirc;
[Ocirc ] &Ocirc;
[ograve] &ograve;
[Ograve] &Ograve;
[oslash] &oslash;
[Oslash] &Oslash;
[otilde] &otilde;
[Otilde] &Otilde;
[ouml ] &ouml;
[Ouml ] &Ouml;
[szlig ] &szlig;
[thorn ] &thorn;
[THORN ] &THORN;
[uacute] &uacute;
[Uacute] &Uacute;
[ucirc ] &ucirc;
[Ucirc ] &Ucirc;
[ugrave] &ugrave;
[Ugrave] &Ugrave;
[uuml ] &uuml;
[Uuml ] &Uuml;
[yacute] &yacute;
[Yacute] &Yacute;
[yuml ] &yuml;
#
# Added Latin 2 ________________________________
#
[abreve] &abreve;
[Abreve] &Abreve;
[amacr ] &amacr;
[Amacr ] &Amacr;
[aogon ] &aogon;
[Aogon ] &Aogon;
[cacute] &cacute;
[Cacute] &Cacute;
[ccaron] &ccaron;
[Ccaron] &Ccaron;
[ccirc ] &ccirc;
[Ccirc ] &Ccirc;
[cdot ] &cdot;
[Cdot ] &Cdot;
[dcaron] &dcaron;
[Dcaron] &Dcaron;
[dstrok] &dstrok;
[Dstrok] &Dstrok;
[ecaron] &ecaron;
[Ecaron] &Ecaron;
[edot ] &edot;
[Edot ] &Edot;
[emacr ] &emacr;
[Emacr ] &Emacr;
[eogon ] &eogon;
[Eogon ] &Eogon;
[gacute] &gacute;
[gbreve] &gbreve;
[Gbreve] &Gbreve;
[Gcedil] &Gcedil;
[gcirc ] &gcirc;
[Gcirc ] &Gcirc;
[gdot ] &gdot;
[Gdot ] &Gdot;
[hcirc ] &hcirc;
[Hcirc ] &Hcirc;
[hstrok] &hstrok;
[Hstrok] &Hstrok;
[Idot ] &Idot;
[Imacr ] &Imacr;
[imacr ] &imacr;
[ijlig ] &ijlig;
[IJlig ] &IJlig;
[inodot] &inodot;
[iogon ] &iogon;
[Iogon ] &Iogon;
[itilde] &itilde;
[Itilde] &Itilde;
[jcirc ] &jcirc;
[Jcirc ] &Jcirc;
[kcedil] &kcedil;
[Kcedil] &Kcedil;
[kgreen] &kgreen;
[lacute] &lacute;
[Lacute] &Lacute;
[lcaron] &lcaron;
[Lcaron] &Lcaron;
[lcedil] &lcedil;
[Lcedil] &Lcedil;
[lmidot] &lmidot;
[Lmidot] &Lmidot;
[lstrok] &lstrok;
[Lstrok] &Lstrok;
[nacute] &nacute;
[Nacute] &Nacute;
[eng ] &eng;
[ENG ] &ENG;
[napos ] &napos;
[ncaron] &ncaron;
[Ncaron] &Ncaron;
[ncedil] &ncedil;
[Ncedil] &Ncedil;
[odblac] &odblac;
[Odblac] &Odblac;
[Omacr ] &Omacr;
[omacr ] &omacr;
[oelig ] &oelig;
[OElig ] &OElig;
[racute] &racute;
[Racute] &Racute;
[rcaron] &rcaron;
[Rcaron] &Rcaron;
[rcedil] &rcedil;
[Rcedil] &Rcedil;
[sacute] &sacute;
[Sacute] &Sacute;
[scaron] &scaron;
[Scaron] &Scaron;
[scedil] &scedil;
[Scedil] &Scedil;
[scirc ] &scirc;
[Scirc ] &Scirc;
[tcaron] &tcaron;
[Tcaron] &Tcaron;
[tcedil] &tcedil;
[Tcedil] &Tcedil;
[tstrok] &tstrok;
[Tstrok] &Tstrok;
[ubreve] &ubreve;
[Ubreve] &Ubreve;
[udblac] &udblac;
[Udblac] &Udblac;
[umacr ] &umacr;
[Umacr ] &Umacr;
[uogon ] &uogon;
[Uogon ] &Uogon;
[uring ] &uring;
[Uring ] &Uring;
[utilde] &utilde;
[Utilde] &Utilde;
[wcirc ] &wcirc;
[Wcirc ] &Wcirc;
[ycirc ] &ycirc;
[Ycirc ] &Ycirc;
[Yuml ] &Yuml;
[zacute] &zacute;
[Zacute] &Zacute;
[zcaron] &zcaron;
[Zcaron] &Zcaron;
[zdot ] &zdot;
[Zdot ] &Zdot;
#
# Greek Letters ________________________________
#
[agr ] &agr;
[Agr ] &Agr;
[bgr ] &bgr;
[Bgr ] &Bgr;
[ggr ] &ggr;
[Ggr ] &Ggr;
[dgr ] &dgr;
[Dgr ] &Dgr;
[egr ] &egr;
[Egr ] &Egr;
[zgr ] &zgr;
[Zgr ] &Zgr;
[eegr ] &eegr;
[EEgr ] &EEgr;
[thgr ] &thgr;
[THgr ] &THgr;
[igr ] &igr;
[Igr ] &Igr;
[kgr ] &kgr;
[Kgr ] &Kgr;
[lgr ] &lgr;
[Lgr ] &Lgr;
[mgr ] &mgr;
[Mgr ] &Mgr;
[ngr ] &ngr;
[Ngr ] &Ngr;
[xgr ] &xgr;
[Xgr ] &Xgr;
[ogr ] &ogr;
[Ogr ] &Ogr;
[pgr ] &pgr;
[Pgr ] &Pgr;
[rgr ] &rgr;
[Rgr ] &Rgr;
[sgr ] &sgr;
[Sgr ] &Sgr;
[sfgr ] &sfgr;
[tgr ] &tgr;
[Tgr ] &Tgr;
[ugr ] &ugr;
[Ugr ] &Ugr;
[phgr ] &phgr;
[PHgr ] &PHgr;
[khgr ] &khgr;
[KHgr ] &KHgr;
[psgr ] &psgr;
[PSgr ] &PSgr;
[ohgr ] &ohgr;
[OHgr ] &OHgr;
#
# Greek Symbols ________________________________
#
[alpha ] &alpha;
[beta ] &beta;
[gamma ] &gamma;
[Gamma ] &Gamma;
[gammad] &gammad;
[delta ] &delta;
[Delta ] &Delta;
[epsi ] &epsi;
[epsiv ] &epsiv;
[epsis ] &epsis;
[zeta ] &zeta;
[eta ] &eta;
[thetas] &thetas;
[Theta ] &Theta;
[thetav] &thetav;
[iota ] &iota;
[kappa ] &kappa;
[kappav] &kappav;
[lambda] &lambda;
[Lambda] &Lambda;
[mu ] &mu;
[nu ] &nu;
[xi ] &xi;
[Xi ] &Xi;
[pi ] &pi;
[piv ] &piv;
[Pi ] &Pi;
[rho ] &rho;
[rhov ] &rhov;
[sigma ] &sigma;
[Sigma ] &Sigma;
[sigmav] &sigmav;
[tau ] &tau;
[upsi ] &upsi;
[Upsi ] &Upsi;
[phis ] &phis;
[Phi ] &Phi;
[phiv ] &phiv;
[chi ] &chi;
[psi ] &psi;
[Psi ] &Psi;
[omega ] &omega;
[Omega ] &Omega;
#
# General Technical ________________________________
#
[aleph ] &aleph;
[and ] &and;
[ang90 ] &ang90;
[angsph] &angsph;
[ap ] &ap;
[becaus] &becaus;
[bottom] &bottom;
[cap ] &cap;
[cong ] &cong;
[conint] &conint;
[cup ] &cup;
[equiv ] &equiv;
[exist ] &exist;
[forall] &forall;
[fnof ] &fnof;
[ge ] &ge;
[iff ] &iff;
[infin ] &infin;
[int ] &int;
[isin ] &isin;
[lang ] &lang;
[lArr ] &lArr;
[le ] &le;
[minus ] &minus;
[mnplus] &mnplus;
[nabla ] &nabla;
[ne ] &ne;
[ni ] &ni;
[or ] &or;
[par ] &par;
[part ] &part;
[permil] &permil;
[perp ] &perp;
[prime ] &prime;
[Prime ] &Prime;
[prop ] &prop;
[radic ] &radic;
[rang ] &rang;
[rArr ] &rArr;
[sim ] &sim;
[sime ] &sime;
[square] &square;
[sub ] &sub;
[sube ] &sube;
[sup ] &sup;
[supe ] &supe;
[there4] &there4;
[Verbar] &Verbar;
[angst ] &angst;
[bernou] &bernou;
[compfn] &compfn;
[Dot ] &Dot;
[DotDot] &DotDot;
[hamilt] &hamilt;
[lagran] &lagran;
[lowast] &lowast;
[notin ] &notin;
[order ] &order;
[phmmat] &phmmat;
[tdot ] &tdot;
[tprime] &tprime;
[wedgeq] &wedgeq;
#
# Diacritical Marks ________________________________
#
[acute ] &acute;
[breve ] &breve;
[caron ] &caron;
[cedil ] &cedil;
[circ ] &circ;
[dblac ] &dblac;
[die ] &die;
[dot ] &dot;
[grave ] &grave;
[macr ] &macr;
[ogon ] &ogon;
[ring ] &ring;
[tilde ] &tilde;
[uml ] &uml;
#

View File

@@ -0,0 +1,41 @@
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# Character strings to map for TeX.
#
# Be sure \ is first, if you have it.
#
# From To
#\\ \\\\
#[ \\lbrack\s
#] \\rbrack\s
{ \\{
} \\}
% \\%
\# \\#
$ \\$
& \\&
~ \\~
_ \\_
^ \\^
| $\\vert\s$
# comments:
# brackets:
# brackets can screw things up when used within an optinal arg.
# You can't escape them, because that means a displayed equation.
# vertical bar:
# These seem to come out as long (longer than em) dashes. Dunno why.

View File

@@ -0,0 +1,571 @@
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# SDATA entity mappings to TeX instructions.
# sgmls outputs sdata references in the form: \\|[mdash ]\\|
#
# I found most of these from the LaTeX and TeX books. I found a few on
# various places around the net.
#
# J.Bowe, 1993
#
# Numeric and Special Graphic ________________________________
#
[half ] $\\scriptstyle{1\\over2}$
[frac12] $\\frac{1}{2}$
[frac14] $\\frac{1}{4}$
[frac34] $\\frac{3}{4}$
[frac18] $\\frac{1}{8}$
[frac38] $\\frac{3}{8}$
[frac58] $\\frac{5}{8}$
[frac78] $\\frac{7}{8}$
#
[sup1 ] $^1$
[sup2 ] $^2$
[sup3 ] $^3$
#
[plus ] $+$
[plusmn] $\\pm$
[lt ] $<$
[equals] $=$
[gt ] $>$
[divide] $\\div$
[times ] $\\times$
#
[curren] [curren]
[pound ] \pounds{}
[dollar] \\$
[cent ] \\hbox{\\rm\\rlap\\/c}
[yen ] [yen]
#
[num ] \\#{}
[percnt] \\%
[amp ] \\&
[ast ] {*}
[commat] @
[lsqb ] $\\lbrack$
[bsol ] $\\backslash$
[rsqb ] $\\rbrack$
[lcub ] $\\lbrace$
[horbar] {--}
[verbar] $|$
[rcub ] $\\rbrace$
[micro ] $\\mu$
[ohm ] $\\Omega$
[deg ] $^\\circ$
[ordm ] [ordm]
[ordf ] [ordf]
[sect ] \\S{}
[para ] \\P{}
[middot] $\\cdot$
[larr ] $\\leftarrow$
[rarr ] $\\rightarrow$
[uarr ] $\\uparrrow$
[darr ] $\\downarrrow$
[copy ] \\copyright{}
[reg ] \\ooalign{\\hfil\\raise.07ex\\hbox{r}\\hfil\\crcr\\mathhexbox20D}
[trade ] {$\\sp{TM}$}
[brvbar] [brvbar]
[not ] $\\neg$
[sung ] [sung]
#
[excl ] !
[iexcl ] {!`}
[quot ] {\\tt\\char`\\"}
[apos ] '
[lpar ] (
[rpar ] )
[comma ] ,
[lowbar] \\_
[hyphen] -
[period] .
[sol ] \\/
[colon ] :
[semi ] ;
[quest ] ?
[iquest] {?`}
[laquo ] \\laquo{}
[raquo ] \\raquo{}
[lsquo ] {`}
[rsquo ] {'}
[ldquo ] {``}
[rdquo ] {''}
[nbsp ] ~
[shy ] \\-
#
# Publishing ________________________________
#
[emsp ] \\hskip1em
[ensp ] \\hskip0.5em
[emsp3 ] \\hskip0.33333em
[emsp4 ] \\hskip0.25em
[numsp ] \\hskip0.5em
[puncsp] \\hskip0.25em
[thinsp] \\hskip0.16667em
[hairsp] \\hskip0.08333em
[mdash ] {---}
[ndash ] {--}
[dash ] {-}
# trailing blank next:
[blank ] \\
[hellip] $\\ldots$
[nldr ] [nldr]
[frac13] $\\frac{1}{3}$
[frac23] $\\frac{2}{3}$
[frac15] $\\frac{1}{5}$
[frac25] $\\frac{2}{5}$
[frac35] $\\frac{3}{5}$
[frac45] $\\frac{4}{5}$
[frac16] $\\frac{1}{6}$
[frac56] $\\frac{5}{6}$
# [incare] =in-care-of symbol
# [block ] =full block
# [uhblk ] =upper half block
# [lhblk ] =lower half block
# [blk14 ] =25% shaded block
# [blk12 ] =50% shaded block
# [blk34 ] =75% shaded block
# [marker] =histogram marker
[cir ] $\\bigcirc$
# [squ ] =square, open
# [rect ] =rectangle, open
[utri ] $\\bigtriangleup$
[dtri ] $\\bigtriangledown$
# [star ] =star, open
[bull ] $\\bullet$
[squf ] {\\vrule height .9ex width .8ex depth -.1ex}
# [utrif ] /blacktriangle =up tri, filled
# [dtrif ] /blacktriangledown =dn tri, filled
# [ltrif ] /blacktriangleleft R: =l tri, filled
# [rtrif ] /blacktriangleright R: =r tri, filled
[clubs ] $\\clubsuit$
[diams ] $\\diamondsuit$
[hearts] $\\heartsuit$
[spades] $\\spadesuit$
# [malt ] /maltese =maltese cross
[dagger] $\\daggar$
[Dagger] $\\ddaggar$
[check ] $\\surd$
[ballot] $\\times$
[sharp ] $\\sharp$
[flat ] $\\flat$
[male ] $\\bigcirc^{\\mkern-5.5mu\\raise.5ex\\hbox{$\\nearrow$}}$
[female] $\\bigcirc\\mkern-15.64mu\\lower1.75ex\\hbox{+}$
[phone ] [phone]
# [telrec] =telephone recorder symbol
# [copysr] =sound recording copyright sign
[caret ] \\char94
[lsquor] \\lsquor{}
[ldquor] \\lsquor{}
#
[fflig ] {ff}
[filig ] {fi}
[fjlig ] {fj}
[ffilig] {ffi}
[ffllig] {ffl}
[fllig ] {fl}
#
[mldr ] [mldr]
[rdquor] {''}
[rsquor] {'}
[vellip] $\\vdots$
#
[hybull] {\\vrule height .6ex width .8ex depth -.4ex}
# [loz ] /lozenge - lozenge or total mark
# [lozf ] /blacklozenge - lozenge, filled
[ltri ] $\\triangleleft$
[rtri ] $\\triangleright$
[starf ] $\\star$
#
[natur ] $\\natural$
[rx ] [Rx]
# [sext ] sextile (6-pointed star)
#
[target] $\\mathchar"2208$
# [dlcrop] downward left crop mark
# [drcrop] downward right crop mark
# [ulcrop] upward left crop mark
# [urcrop] upward right crop mark
#
# Added Latin 1 ________________________________
#
[aacute] \\'{a}
[Aacute] \\'{A}
[acirc ] \\^{a}
[Acirc ] \\^{A}
[agrave] \\`{a}
[Agrave] \\`{A}
[aring ] \\aa{}
[Aring ] \\AA{}
[atilde] \\~{a}
[Atilde] \\~{A}
[auml ] \\"{a}
[Auml ] \\"{A}
[aelig ] \\ae{}
[AElig ] \\AE{}
[ccedil] \\c{c}
[Ccedil] \\c{C}
[eth ] $\\partial$
[ETH ] \\hbox{\\rlap{\\raise.3ex\\hbox{--}}D}
[eacute] \\'{e}
[Eacute] \\'{E}
[ecirc ] \\^{e}
[Ecirc ] \\^{E}
[egrave] \\`{e}
[Egrave] \\`{E}
[euml ] \\"{e}
[Euml ] \\"{E}
[iacute] \\'{\\i}
[Iacute] \\'{I}
[icirc ] \\^{\\i}
[Icirc ] \\^{I}
[igrave] \\`{\\i}
[Igrave] \\`{I}
[iuml ] \\"{\\i}
[Iuml ] \\"{I}
[ntilde] \\~{n}
[Ntilde] \\~{N}
[oacute] \\'{o}
[Oacute] \\'{O}
[ocirc ] \\^{o}
[Ocirc ] \\^{O}
[ograve] \\`{o}
[Ograve] \\`{O}
[oslash] \\o
[Oslash] \\O
[otilde] \\~{o}
[Otilde] \\~{O}
[ouml ] \\"{o}
[Ouml ] \\"{O}
[szlig ] \\ss{}
[thorn ] th
[THORN ] Th
[uacute] \\'{u}
[Uacute] \\'{U}
[ucirc ] \\^{u}
[Ucirc ] \\^{U}
[ugrave] \\`{u}
[Ugrave] \\`{U}
[uuml ] \\"{u}
[Uuml ] \\"{U}
[yacute] \\'{y}
[Yacute] \\'{Y}
[yuml ] \\"{y}
#
# Added Latin 2 ________________________________
#
# [abreve] =small a, breve
# [Abreve] =capital A, breve
# [amacr ] =small a, macron
# [Amacr ] =capital A, macron
# [aogon ] =small a, ogonek
# [Aogon ] =capital A, ogonek
# [cacute] =small c, acute accent
# [Cacute] =capital C, acute accent
# [ccaron] =small c, caron
# [Ccaron] =capital C, caron
# [ccirc ] =small c, circumflex accent
# [Ccirc ] =capital C, circumflex accent
# [cdot ] =small c, dot above
# [Cdot ] =capital C, dot above
# [dcaron] =small d, caron
# [Dcaron] =capital D, caron
# [dstrok] =small d, stroke
# [Dstrok] =capital D, stroke
# [ecaron] =small e, caron
# [Ecaron] =capital E, caron
# [edot ] =small e, dot above
# [Edot ] =capital E, dot above
# [emacr ] =small e, macron
# [Emacr ] =capital E, macron
# [eogon ] =small e, ogonek
# [Eogon ] =capital E, ogonek
# [gacute] =small g, acute accent
# [gbreve] =small g, breve
# [Gbreve] =capital G, breve
# [Gcedil] =capital G, cedilla
# [gcirc ] =small g, circumflex accent
# [Gcirc ] =capital G, circumflex accent
# [gdot ] =small g, dot above
# [Gdot ] =capital G, dot above
# [hcirc ] =small h, circumflex accent
# [Hcirc ] =capital H, circumflex accent
# [hstrok] =small h, stroke
# [Hstrok] =capital H, stroke
# [Idot ] =capital I, dot above
# [Imacr ] =capital I, macron
# [imacr ] =small i, macron
# [ijlig ] =small ij ligature
# [IJlig ] =capital IJ ligature
# [inodot] =small i without dot
# [iogon ] =small i, ogonek
# [Iogon ] =capital I, ogonek
# [itilde] =small i, tilde
# [Itilde] =capital I, tilde
# [jcirc ] =small j, circumflex accent
# [Jcirc ] =capital J, circumflex accent
# [kcedil] =small k, cedilla
# [Kcedil] =capital K, cedilla
# [kgreen] =small k, Greenlandic
# [lacute] =small l, acute accent
# [Lacute] =capital L, acute accent
# [lcaron] =small l, caron
# [Lcaron] =capital L, caron
# [lcedil] =small l, cedilla
# [Lcedil] =capital L, cedilla
# [lmidot] =small l, middle dot
# [Lmidot] =capital L, middle dot
[lstrok] \\l{}
[Lstrok] \\L{}
# [nacute] =small n, acute accent
# [Nacute] =capital N, acute accent
# [eng ] =small eng, Lapp
# [ENG ] =capital ENG, Lapp
# [napos ] =small n, apostrophe
# [ncaron] =small n, caron
# [Ncaron] =capital N, caron
# [ncedil] =small n, cedilla
# [Ncedil] =capital N, cedilla
# [odblac] =small o, double acute accent
# [Odblac] =capital O, double acute accent
# [Omacr ] =capital O, macron
# [omacr ] =small o, macron
[oelig ] $\\oe$
[OElig ] $\\OE$
# [racute] =small r, acute accent
# [Racute] =capital R, acute accent
# [rcaron] =small r, caron
# [Rcaron] =capital R, caron
# [rcedil] =small r, cedilla
# [Rcedil] =capital R, cedilla
# [sacute] =small s, acute accent
# [Sacute] =capital S, acute accent
# [scaron] =small s, caron
# [Scaron] =capital S, caron
# [scedil] =small s, cedilla
# [Scedil] =capital S, cedilla
# [scirc ] =small s, circumflex accent
# [Scirc ] =capital S, circumflex accent
# [tcaron] =small t, caron
# [Tcaron] =capital T, caron
# [tcedil] =small t, cedilla
# [Tcedil] =capital T, cedilla
# [tstrok] =small t, stroke
# [Tstrok] =capital T, stroke
# [ubreve] =small u, breve
# [Ubreve] =capital U, breve
# [udblac] =small u, double acute accent
# [Udblac] =capital U, double acute accent
# [umacr ] =small u, macron
# [Umacr ] =capital U, macron
# [uogon ] =small u, ogonek
# [Uogon ] =capital U, ogonek
# [uring ] =small u, ring
# [Uring ] =capital U, ring
# [utilde] =small u, tilde
# [Utilde] =capital U, tilde
# [wcirc ] =small w, circumflex accent
# [Wcirc ] =capital W, circumflex accent
# [ycirc ] =small y, circumflex accent
# [Ycirc ] =capital Y, circumflex accent
# [Yuml ] =capital Y, dieresis or umlaut mark
# [zacute] =small z, acute accent
# [Zacute] =capital Z, acute accent
# [zcaron] =small z, caron
# [Zcaron] =capital Z, caron
# [zdot ] =small z, dot above
# [Zdot ] =capital Z, dot above
#
# Greek Letters ________________________________
#
[agr ] $\\alpha$
# [Agr ] =capital Alpha, Greek
[bgr ] $\\beta$
# [Bgr ] =capital Beta, Greek
[ggr ] $\\gamma$
[Ggr ] $\\Gamma$
[dgr ] $\\delta$
[Dgr ] $\\Delta$
[egr ] $\\epsilon$
# [Egr ] =capital Epsilon, Greek
[zgr ] $\\zeta$
# [Zgr ] =capital Zeta, Greek
[eegr ] $\\eta$
# [EEgr ] =capital Eta, Greek
[thgr ] $\\theta$
# [THgr ] =capital Theta, Greek
[igr ] $\\iota$
# [Igr ] =capital Iota, Greek
[kgr ] $\\kappa$
# [Kgr ] =capital Kappa, Greek
[lgr ] $\\lamda$
[Lgr ] $\\Lambda$
[mgr ] $\\mu$
# [Mgr ] =capital Mu, Greek
[ngr ] $\\nu$
# [Ngr ] =capital Nu, Greek
[xgr ] $\\xi$
[Xgr ] $\\Xi$
[ogr ] $o$
# [Ogr ] =capital Omicron, Greek
[pgr ] $\\pi$
[Pgr ] $\\Pi$
[rgr ] $\\rho$
# [Rgr ] =capital Rho, Greek
[sgr ] $\\sigma$
[Sgr ] $\\Sigma$
# [sfgr ] =final small sigma, Greek
[tgr ] $\\tau$
# [Tgr ] =capital Tau, Greek
[ugr ] $\\upsilon$
[Ugr ] $\\Upsilon$
[phgr ] $\\phi$
[PHgr ] $\\Phi$
[khgr ] $\\chi$
# [KHgr ] =capital Chi, Greek
[psgr ] $\\psi$
[PSgr ] $\\Psi$
[ohgr ] $\\omega$
[OHgr ] $\\Omega$
#
# Greek Symbols ________________________________
#
[alpha ] $\\alpha$
[beta ] $\\beta$
[gamma ] $\\gamma$
[Gamma ] $\\Gamma$
# [gammad] /digamma
[delta ] $\\delta$
[Delta ] $\\Delta$
[epsi ] $\\epsilon$
[epsiv ] $\\varepsilon$
[epsis ] $\\epsilon$
[zeta ] $\\zeta$
[eta ] $\\eta$
[thetas] $\\theta$
[Theta ] $\\Theta$
[thetav] $\\vartheta$
[iota ] $\\iota$
[kappa ] $\\kappa$
# [kappav] /varkappa
[lambda] $\\lamda$
[Lambda] $\\Lambda$
[mu ] $\\mu$
[nu ] $\\nu$
[xi ] $\\zi$
[Xi ] $\\Xi$
[pi ] $\\pi$
[piv ] $\\varpi$
[Pi ] $\\Pi$
[rho ] $\\rho$
[rhov ] $\\varrho$
[sigma ] $\\sigma$
[Sigma ] $\\Sigma$
[sigmav] $\\varsigma$
[tau ] $\\tau$
[upsi ] $\\upsilon$
[Upsi ] $\\Upsilon$
[phis ] $\\phi$
[Phi ] $\\phi$
[phiv ] $\\varphi$
[chi ] $\\chi$
[psi ] $\\psi$
[Psi ] $\\Psi$
[omega ] $\\omega$
[Omega ] $\\Omega$
#
# General Technical ________________________________
#
[aleph ] $\\aleph$
[and ] $\\wedge$
# [ang90 ] =right (90 degree) angle
# [angsph] /sphericalangle =angle-spherical
[ap ] $\\approx$
# [becaus] /because R: =because
# [bottom] /bot B: =perpendicular
[cap ] $\\cap$
# [cong ] /cong R: =congruent with
# [conint] /oint L: =contour integral operator
[cup ] $\\cup$
[equiv ] $\\equiv$
[exist ] $\\exists$
[forall] $\\forall$
# [fnof ] =function of (italic small f)
[ge ] $\\ge$
[iff ] $\\iff$
[infin ] $\\infty$
# [int ] $\\int$
[isin ] $\\in$
[lang ] $\\langle$
[lArr ] $\\Leftarrow$
[le ] $\\le$
[minus ] $\\-$
[mnplus] $\\mp$
[nabla ] $\\nabla$
[ne ] $\\ne$
[ni ] $\\ni$
[or ] $\\vee$
[par ] $\\vert$
[part ] $\\partial$
# [permil] =per thousand
[perp ] $\\perp$
[prime ] \\prime{}
# [Prime ] =double prime or second
# [prop ] /propto R: =is proportional to
# [radic ] /surd =radical
# [rang ] /rangle C: =right angle bracket
[rArr ] $\\Rightarrow$
[sim ] $\\sim$
[sime ] $\\simeq$
# [square] /square B: =square
[sub ] $\\subset$
[sube ] $\\subseteq$
[sup ] $\\supset$
[supe ] $\\supseteq$
# [there4] /therefore R: =therefore
# [Verbar] $\\|$
# [angst ] Angstrom =capital A, ring
# [bernou] Bernoulli function (script capital B)
# [compfn] B: composite function (small circle)
# [Dot ] =dieresis or umlaut mark
# [DotDot] four dots above
# [hamilt] Hamiltonian (script capital H)
# [lagran] Lagrangian (script capital L)
# [lowast] low asterisk
# [notin ] N: negated set membership
# [order ] order of (script small o)
# [phmmat] physics M-matrix (script capital M)
# [tdot ] three dots above
# [tprime] triple prime
# [wedgeq] R: corresponds to (wedge, equals)
#
# Diacritical Marks ________________________________
#
[acute ] \\'
[breve ] \\u
# [caron ] =caron
[cedil ] \\c
[circ ] \\^
# [dblac ] =double acute accent
[die ] \\"
[dot ] \\.
[grave ] \\`
[macr ] \\=
# [ogon ] =ogonek
[ring ] \\accent23
[tilde ] \\tilde
[uml ] \\"
#

View File

@@ -0,0 +1,26 @@
# Copyright 1993 Open Software Foundation, Inc., Cambridge, Massachusetts.
# All rights reserved.
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# Character strings to map for texinfo.
#
# From To
@ @@
{ @{
} @}

View File

@@ -0,0 +1,560 @@
#
# Copyright (c) 1994
# Open Software Foundation, Inc.
#
# Permission is hereby granted to use, copy, modify and freely distribute
# the software in this file and its documentation for any purpose without
# fee, provided that the above copyright notice appears in all copies and
# that both the copyright notice and this permission notice appear in
# supporting documentation. Further, provided that the name of Open
# Software Foundation, Inc. ("OSF") not be used in advertising or
# publicity pertaining to distribution of the software without prior
# written permission from OSF. OSF makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
#
# SDATA entity mappings to TeX instructions.
# sgmls outputs sdata references in the form: \\|[mdash ]\\|
#
# I found many of these with the "gf" program, on ftp.th-darmstadt.de.
#
# J.Bowe, 1993
#
# Nore: there are trailing spaces with some of these (tab, then space)...
#
# Numeric and Special Graphic ________________________________
#
[half ] 1/2
[frac12] 1/2
[frac14] 1/4
[frac34] 3/4
[frac18] 1/8
[frac38] 3/8
[frac58] 5/8
[frac78] 7/8
[sup1 ] ^1
[sup2 ] ^2
[sup3 ] ^3
[plus ] +
[plusmn] +-
[lt ] <
[equals] =
[gt ] >
[divide] /
[times ] x
[curren] [curren]
[pound ] L-
[dollar] $
[cent ] c
[yen ] Y-
[num ] #
[percnt] %
[amp ] &
[ast ] *
[commat] @
[lsqb ] [
[bsol ] \
[rsqb ] ]
[lcub ] {
[horbar] -
[verbar] |
[rcub ] }
[micro ] u
[ohm ] [ohm ]
[deg ] [deg ]
[ordm ] [ordm ]
[ordf ] [ordf ]
[sect ] [sect ]
[para ] [para ]
[middot] [middot]
[larr ] <-
[rarr ] ->
[uarr ] [uarr ]
[darr ] [darr ]
[copy ] (C)
[reg ] (R)
[trade ] (TM)
[brvbar] [brvbar]
[not ] [not ]
[sung ] [sung ]
[excl ] !
[iexcl ] -!
[quot ] "
[apos ] '
[lpar ] (
[rpar ] )
[comma ] ,
[lowbar] _
[hyphen] -
[period] .
[sol ] /
[colon ] :
[semi ] ;
[quest ] ?
[iquest] -?
[laquo ] <<
[raquo ] >>
[lsquo ] `
[rsquo ] '
[ldquo ] "
[rdquo ] "
[nbsp ]
[shy ]
#
# Publishing ________________________________
#
[emsp ]
[ensp ]
[emsp3 ]
[emsp4 ]
[numsp ]
[puncsp]
[thinsp]
[hairsp]
[mdash ] ---
[ndash ] --
[dash ] -
[blank ]
[hellip] ...
[nldr ] [nldr ]
[frac13] 1/3
[frac23] 2/3
[frac15] 1/5
[frac25] 2/5
[frac35] 3/5
[frac45] 4/5
[frac16] 1/6
[frac56] 5/6
[incare] [incare]
[block ] [block ]
[uhblk ] [uhblk ]
[lhblk ] [lhblk ]
[blk14 ] [blk14 ]
[blk12 ] [blk12 ]
[blk34 ] [blk34 ]
[marker] [marker]
[cir ] o
[squ ] [squ ]
[rect ] [rect ]
[utri ] [utri ]
[dtri ] [dtri ]
[star ] [star ]
[bull ] o
[squf ] [squf ]
[utrif ] [utrif ]
[dtrif ] [dtrif ]
[ltrif ] [ltrif ]
[rtrif ] [rtrif ]
[clubs ] [clubs ]
[diams ] [diams ]
[hearts] [hearts]
[spades] [spades]
[malt ] [malt ]
[dagger] [dagger]
[Dagger] [Dagger]
[check ] [check ]
[ballot] [ballot]
[sharp ] [sharp ]
[flat ] [flat ]
[male ] [male ]
[female] [female]
[phone ] [phone ]
[telrec] [telrec]
[copysr] [copysr]
[caret ] ^
[lsquor] [lsquor]
[ldquor] [ldquor]
[fflig ] ff
[filig ] fi
[fjlig ] fj
[ffilig] ff
[ffllig] ffl
[fllig ] fl
[mldr ] [mldr ]
[rdquor] "
[rsquor] '
[vellip] [vellip]
[hybull] [hybull]
[loz ] [loz ]
[lozf ] [lozf ]
[ltri ] [ltri ]
[rtri ] [rtri ]
[starf ] [starf ]
[natur ] [natur ]
[rx ] [rx ]
[sext ] [sext ]
[target] [target]
[dlcrop] [dlcrop]
[drcrop] [drcrop]
[ulcrop] [ulcrop]
[urcrop] [urcrop]
#
# Added Latin 1 ________________________________
#
[aacute] a'
[Aacute] A'
[acirc ] a>
[Acirc ] A>
[agrave] a!
[Agrave] A!
[aring ] a.
[Aring ] A.
[atilde] a?
[Atilde] A?
[auml ] a:
[Auml ] A:
[aelig ] ae
[AElig ] AE
[ccedil] c,
[Ccedil] C,
[eth ] d/
[ETH ] D/
[eacute] e'
[Eacute] E'
[ecirc ] e>
[Ecirc ] E>
[egrave] e!
[Egrave] E!
[euml ] e:
[Euml ] E:
[Iacute] I'
[icirce] i>
[Icirc ] I>
[igrave] i!
[Igrave] I!
[iuml ] i:
[Iuml ] I:
[ntilde] n?
[Ntilde] N?
[oacute] o'
[Oacute] O'
[ocirc ] o>
[Ocirc ] O>
[ograve] o!
[Ograve] O!
[oslash] o/
[Oslash] O/
[otilde] o?
[Otilde] O?
[ouml ] o:
[Ouml ] O:
[szlig ] ss
[thorn ] th
[THORN ] Th
[uacute] u'
[Uacute] U'
[ucirc ] u>
[Ucirc ] U>
[ugrave] u!
[Ugrave] U!
[uuml ] u:
[Uuml ] U:
[yacute] y'
[Yacute] Y'
[yuml ] y:
#
# Added Latin 2 ________________________________
#
# [abreve] =small a, breve
# [Abreve] =capital A, breve
# [amacr ] =small a, macron
# [Amacr ] =capital A, macron
# [aogon ] =small a, ogonek
# [Aogon ] =capital A, ogonek
# [cacute] =small c, acute accent
# [Cacute] =capital C, acute accent
# [ccaron] =small c, caron
# [Ccaron] =capital C, caron
# [ccirc ] =small c, circumflex accent
# [Ccirc ] =capital C, circumflex accent
# [cdot ] =small c, dot above
# [Cdot ] =capital C, dot above
# [dcaron] =small d, caron
# [Dcaron] =capital D, caron
# [dstrok] =small d, stroke
# [Dstrok] =capital D, stroke
# [ecaron] =small e, caron
# [Ecaron] =capital E, caron
# [edot ] =small e, dot above
# [Edot ] =capital E, dot above
# [emacr ] =small e, macron
# [Emacr ] =capital E, macron
# [eogon ] =small e, ogonek
# [Eogon ] =capital E, ogonek
# [gacute] =small g, acute accent
# [gbreve] =small g, breve
# [Gbreve] =capital G, breve
# [Gcedil] =capital G, cedilla
# [gcirc ] =small g, circumflex accent
# [Gcirc ] =capital G, circumflex accent
# [gdot ] =small g, dot above
# [Gdot ] =capital G, dot above
# [hcirc ] =small h, circumflex accent
# [Hcirc ] =capital H, circumflex accent
# [hstrok] =small h, stroke
# [Hstrok] =capital H, stroke
# [Idot ] =capital I, dot above
# [Imacr ] =capital I, macron
# [imacr ] =small i, macron
# [ijlig ] =small ij ligature
# [IJlig ] =capital IJ ligature
# [inodot] =small i without dot
# [iogon ] =small i, ogonek
# [Iogon ] =capital I, ogonek
# [itilde] =small i, tilde
# [Itilde] =capital I, tilde
# [jcirc ] =small j, circumflex accent
# [Jcirc ] =capital J, circumflex accent
# [kcedil] =small k, cedilla
# [Kcedil] =capital K, cedilla
# [kgreen] =small k, Greenlandic
# [lacute] =small l, acute accent
# [Lacute] =capital L, acute accent
# [lcaron] =small l, caron
# [Lcaron] =capital L, caron
# [lcedil] =small l, cedilla
# [Lcedil] =capital L, cedilla
# [lmidot] =small l, middle dot
# [Lmidot] =capital L, middle dot
[lstrok] \\l{}
[Lstrok] \\L{}
# [nacute] =small n, acute accent
# [Nacute] =capital N, acute accent
# [eng ] =small eng, Lapp
# [ENG ] =capital ENG, Lapp
# [napos ] =small n, apostrophe
# [ncaron] =small n, caron
# [Ncaron] =capital N, caron
# [ncedil] =small n, cedilla
# [Ncedil] =capital N, cedilla
# [odblac] =small o, double acute accent
# [Odblac] =capital O, double acute accent
# [Omacr ] =capital O, macron
# [omacr ] =small o, macron
[oelig ] $\\oe$
[OElig ] $\\OE$
# [racute] =small r, acute accent
# [Racute] =capital R, acute accent
# [rcaron] =small r, caron
# [Rcaron] =capital R, caron
# [rcedil] =small r, cedilla
# [Rcedil] =capital R, cedilla
# [sacute] =small s, acute accent
# [Sacute] =capital S, acute accent
# [scaron] =small s, caron
# [Scaron] =capital S, caron
# [scedil] =small s, cedilla
# [Scedil] =capital S, cedilla
# [scirc ] =small s, circumflex accent
# [Scirc ] =capital S, circumflex accent
# [tcaron] =small t, caron
# [Tcaron] =capital T, caron
# [tcedil] =small t, cedilla
# [Tcedil] =capital T, cedilla
# [tstrok] =small t, stroke
# [Tstrok] =capital T, stroke
# [ubreve] =small u, breve
# [Ubreve] =capital U, breve
# [udblac] =small u, double acute accent
# [Udblac] =capital U, double acute accent
# [umacr ] =small u, macron
# [Umacr ] =capital U, macron
# [uogon ] =small u, ogonek
# [Uogon ] =capital U, ogonek
# [uring ] =small u, ring
# [Uring ] =capital U, ring
# [utilde] =small u, tilde
# [Utilde] =capital U, tilde
# [wcirc ] =small w, circumflex accent
# [Wcirc ] =capital W, circumflex accent
# [ycirc ] =small y, circumflex accent
# [Ycirc ] =capital Y, circumflex accent
# [Yuml ] =capital Y, dieresis or umlaut mark
# [zacute] =small z, acute accent
# [Zacute] =capital Z, acute accent
# [zcaron] =small z, caron
# [Zcaron] =capital Z, caron
# [zdot ] =small z, dot above
# [Zdot ] =capital Z, dot above
#
# Greek Letters ________________________________
#
[agr ] $\\alpha$
# [Agr ] =capital Alpha, Greek
[bgr ] $\\beta$
# [Bgr ] =capital Beta, Greek
[ggr ] $\\gamma$
[Ggr ] $\\Gamma$
[dgr ] $\\delta$
[Dgr ] $\\Delta$
[egr ] $\\epsilon$
# [Egr ] =capital Epsilon, Greek
[zgr ] $\\zeta$
# [Zgr ] =capital Zeta, Greek
[eegr ] $\\eta$
# [EEgr ] =capital Eta, Greek
[thgr ] $\\theta$
# [THgr ] =capital Theta, Greek
[igr ] $\\iota$
# [Igr ] =capital Iota, Greek
[kgr ] $\\kappa$
# [Kgr ] =capital Kappa, Greek
[lgr ] $\\lamda$
[Lgr ] $\\Lambda$
[mgr ] $\\mu$
# [Mgr ] =capital Mu, Greek
[ngr ] $\\nu$
# [Ngr ] =capital Nu, Greek
[xgr ] $\\xi$
[Xgr ] $\\Xi$
[ogr ] $o$
# [Ogr ] =capital Omicron, Greek
[pgr ] $\\pi$
[Pgr ] $\\Pi$
[rgr ] $\\rho$
# [Rgr ] =capital Rho, Greek
[sgr ] $\\sigma$
[Sgr ] $\\Sigma$
# [sfgr ] =final small sigma, Greek
[tgr ] $\\tau$
# [Tgr ] =capital Tau, Greek
[ugr ] $\\upsilon$
[Ugr ] $\\Upsilon$
[phgr ] $\\phi$
[PHgr ] $\\Phi$
[khgr ] $\\chi$
# [KHgr ] =capital Chi, Greek
[psgr ] $\\psi$
[PSgr ] $\\Psi$
[ohgr ] $\\omega$
[OHgr ] $\\Omega$
#
# Greek Symbols ________________________________
#
[alpha ] $\\alpha$
[beta ] $\\beta$
[gamma ] $\\gamma$
[Gamma ] $\\Gamma$
# [gammad] /digamma
[delta ] $\\delta$
[Delta ] $\\Delta$
[epsi ] $\\epsilon$
[epsiv ] $\\varepsilon$
[epsis ] $\\epsilon$
[zeta ] $\\zeta$
[eta ] $\\eta$
[thetas] $\\theta$
[Theta ] $\\Theta$
[thetav] $\\vartheta$
[iota ] $\\iota$
[kappa ] $\\kappa$
# [kappav] /varkappa
[lambda] $\\lamda$
[Lambda] $\\Lambda$
[mu ] $\\mu$
[nu ] $\\nu$
[xi ] $\\zi$
[Xi ] $\\Xi$
[pi ] $\\pi$
[piv ] $\\varpi$
[Pi ] $\\Pi$
[rho ] $\\rho$
[rhov ] $\\varrho$
[sigma ] $\\sigma$
[Sigma ] $\\Sigma$
[sigmav] $\\varsigma$
[tau ] $\\tau$
[upsi ] $\\upsilon$
[Upsi ] $\\Upsilon$
[phis ] $\\phi$
[Phi ] $\\phi$
[phiv ] $\\varphi$
[chi ] $\\chi$
[psi ] $\\psi$
[Psi ] $\\Psi$
[omega ] $\\omega$
[Omega ] $\\Omega$
#
# General Technical ________________________________
#
[aleph ] $\\aleph$
[and ] $\\wedge$
# [ang90 ] =right (90 degree) angle
# [angsph] /sphericalangle =angle-spherical
[ap ] $\\approx$
# [becaus] /because R: =because
# [bottom] /bot B: =perpendicular
[cap ] $\\cap$
# [cong ] /cong R: =congruent with
# [conint] /oint L: =contour integral operator
[cup ] $\\cup$
[equiv ] $\\equiv$
[exist ] $\\exists$
[forall] $\\forall$
# [fnof ] =function of (italic small f)
[ge ] $\\ge$
[iff ] $\\iff$
[infin ] $\\infty$
# [int ] $\\int$
[isin ] $\\in$
[lang ] $\\langle$
[lArr ] $\\Leftarrow$
[le ] $\\le$
[minus ] $\\-$
[mnplus] $\\mp$
[nabla ] $\\nabla$
[ne ] $\\ne$
[ni ] $\\ni$
[or ] $\\vee$
[par ] $\\vert$
[part ] $\\partial$
# [permil] =per thousand
[perp ] $\\perp$
[prime ] \\prime{}
# [Prime ] =double prime or second
# [prop ] /propto R: =is proportional to
# [radic ] /surd =radical
# [rang ] /rangle C: =right angle bracket
[rArr ] $\\Rightarrow$
[sim ] $\\sim$
[sime ] $\\simeq$
# [square] /square B: =square
[sub ] $\\subset$
[sube ] $\\subseteq$
[sup ] $\\supset$
[supe ] $\\supseteq$
# [there4] /therefore R: =therefore
# [Verbar] $\\|$
# [angst ] Angstrom =capital A, ring
# [bernou] Bernoulli function (script capital B)
# [compfn] B: composite function (small circle)
# [Dot ] =dieresis or umlaut mark
# [DotDot] four dots above
# [hamilt] Hamiltonian (script capital H)
# [lagran] Lagrangian (script capital L)
# [lowast] low asterisk
# [notin ] N: negated set membership
# [order ] order of (script small o)
# [phmmat] physics M-matrix (script capital M)
# [tdot ] three dots above
# [tprime] triple prime
# [wedgeq] R: corresponds to (wedge, equals)
#
# Diacritical Marks ________________________________
#
[acute ] '
[breve ] [breve ]
[caron ] [caron ]
[cedil ] ,
[circ ] >
[dblac ] [dblac ]
[die ] :
[dot ] [dot ]
[grave ] `
[macr ] [macr ]
[ogon ] [ogon ]
[ring ] .
[tilde ] ?
[uml ] :
#