summaryrefslogtreecommitdiff
path: root/support/SQLTeX/src/SQLTeX_r.dat
blob: e71e66f82baf49d86b8aebb901006ed865bc7ef3 (plain)
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
; This file contains all characters or character sequences that
; will be be replaced by SQLTeX when the occur in the response
; of an SQL query.
;
; The first column is the character (sequence) that will be replaced.
; The second column is the value to replace col 1 with.
; Columns are separated with one or more tab characters.
;
; Note all values are case sensitive; if you add the line:
;   LaTeX	\LaTeX\ 
; the word "latex" will be untouched, but "LaTeX" will be replaced.
;
; To replace using regular expressions, use 're(<regular expression>)'
; as key (or any other regexp indicator if that has been changed in the
; config file), e.g.
;   re(<p\.*?>)		\paragraph*{}
; will replace all HTML <p> variants (<p style='font-size: normal'>,
; <p align='center'> etc)
;
;
; LaTeX special characters
; ------------------------
;
$		\$
_		\_
%		\%
&		\&
<		\texttt{<}
>		\texttt{>}
{		\{
}		\}
#		\#
~		\~{}
\		\ensuremath{\backslash}
;
; Diacretics
; ----------
;
ñ		\~{n}
â		\^{a}
ä		\"{a}
á		\'{a}
à		\`{a}
ç		\c{c}
ê		\^{e}
ë		\"{e}
è		\`{e}
é		\'{e}
î		\^{i}
ï		\"{i}
í		\'{i}
ì		\`{i}
ô		\^{o}
ö		\"{o}
ó		\'{o}
ò		\`{o}
û		\^{u}
ü		\"{u}
ú		\'{u}
ù		\`{u}
ÿ		\"{y}
;
; Other special characters
; ------------------------
;
"		''
´		'
…		.
‘		'
’		'
“		'
”		'
–		---
±		$\pm$
;
; HTML special characters
; -----------------------
;
&nbsp;	\hspace{1em}
&amp;	\&
&#38;	\&
&#39;	'
;
; HTML font types
; ---------------
;
re(<strong.*?>)	\textbf{
</strong>		}
re(<em.*?>)		\textit{
</em>			}
<del>			\sout{
</del>			}
<sup>			$^{
</sup>			}$
;
; HTML links (ignored)
; --------------------
;
re(<a .*?>)		
</a>			
;
; HTML sections and breaks
; ------------------------
;
re(<p.*?>)		
</p>			\\[0pt]
re(<h1.*?>)		\section{
re(<h2.*?>)		\subsection{
re(<h3.*?>)		\subsubsection{
re(</h\d>)		}
<br />			\\
;
; HTML lists
; ----------
;
<ul>			\begin{itemize}
<li>			\item\
</li>			
</ul>			\end{itemize}
;
; HTML tables
; -----------
; This is meant as an example only and outcommented.
; Replace the tabular with the desired number of columns
; before using this.
;
;re(<table.*?>)	\begin{tabular}{lll}
;re(</?tbody>)	
;re(<tr.*?>)		
;</tr>			\\
;re(<td.*?>)		
;</td>			&
;</table>		\end{tabular} \\
;