1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
|
/*
* TransFig: Facility for Translating Fig code
* Copyright (c) 1985 Supoj Sutantavibul
* Copyright (c) 1991 Micah Beck
*
* THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
* EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*
* The X Consortium, and any party obtaining a copy of these files from
* the X Consortium, directly or indirectly, is granted, free of charge, a
* full and unrestricted irrevocable, world-wide, paid up, royalty-free,
* nonexclusive right and license to deal in this software and
* documentation files (the "Software"), including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons who receive
* copies from any such party to do so, with the only requirement being
* that this copyright notice remain intact. This license includes without
* limitation a license to do the foregoing actions under any patents of
* the party supplying this software to the X Consortium.
*/
/* map ISO-Font Symbols to appropriate sequences in TeX */
/* Herbert Bauer 22.11.1991 */
/* B.Raichle 12.10.92, changed some of the definitions */
/* B.Raichle 12.10.92, changed some of the definitions */
char *ISOtoTeX[] = /* starts at octal 240 */
{
"{}",
"{!`}", /* inverse ! */
"{}", /* cent sign (?) */
"\\pounds{}",
"{}", /* circle with x mark */
"{}", /* Yen */
"{}", /* some sort of space - doen't work under mwm */
"\\S{}", /* paragraph sign */
"\\\"{}", /* diaresis points */
"\\copyright{}",
"\\b{a}",
"\\mbox{$\\ll$}", /* << */
"{--}", /* longer dash - doesn't work with mwm */
"{-}", /* short dash */
"{}", /* trademark */
"{}", /* overscore */
/* 0xb0 */
"{\\lower.2ex\\hbox{\\char\\'27}}", /* degree */
"\\mbox{$\\pm$}", /* plus minus - math mode */
"\\mbox{$\\mathsurround 0pt{}^2$}", /* squared - math mode */
"\\mbox{$\\mathsurround 0pt{}^3$}", /* cubed - math mode */
"\\'{}", /* accent egue */
"\\mbox{$\\mu$}", /* greek letter mu - math mode */
"\\P{}", /* paragraph */
"\\mbox{$\\cdot$}", /* centered dot - math mode */
"",
"\\mbox{$\\mathsurround 0pt{}^1$}", /* superscript 1 - math mode */
"\\b{o}",
"\\mbox{$\\gg$}", /* >> */
"\\mbox{$1\\over 4$}", /* 1/4 - math mode */
"\\mbox{$1\\over 2$}", /* 1/2 - math mode */
"\\mbox{$3\\over 4$}", /* 3/4 - math mode */
"{?`}", /* inverse ? */
/* 0xc0 */
"\\`A",
"\\'A",
"\\^A",
"\\~A",
"\\\"A",
"\\AA{}",
"\\AE{}",
"\\c C",
"\\`E",
"\\'E",
"\\^E",
"\\\"E",
"\\`I",
"\\'I",
"\\^I",
"\\\"I",
/* 0xd0 */
"{\\rlap{\\raise.3ex\\hbox{--}}D}", /* Eth */
"\\~N",
"\\`O",
"\\'O",
"\\^O",
"\\~O",
"\\\"O",
"\\mbox{$\\times$}", /* math mode */
"\\O{}",
"\\`U",
"\\'U",
"\\^U",
"\\\"U",
"\\'Y",
"{}", /* letter P wide-spaced */
"\\ss{}",
/* 0xe0 */
"\\`a",
"\\'a",
"\\^a",
"\\~a",
"\\\"a",
"\\aa{}",
"\\ae{}",
"\\c c",
"\\`e",
"\\'e",
"\\^e",
"\\\"e",
"\\`\\i{}",
"\\'\\i{}",
"\\^\\i{}",
"\\\"\\i{}",
/* 0xf0 */
"\\mbox{$\\partial$}", /* correct? - math mode */
"\\~n",
"\\`o",
"\\'o",
"\\^o",
"\\~o",
"\\\"o",
"\\mbox{$\\div$}", /* math mode */
"\\o{}",
"\\`u",
"\\'u",
"\\^u",
"\\\"u",
"\\'y",
"{}", /* letter p wide-spaced */
"\\\"y"
};
|