% The first thing listed here is commands that are hard-coded into reLyX.
% Redefining these commands in a new syntax file will probably not help%
-% and may break things.
+% and may break things.
\#
\$
\%
\bibliographystyle{}
\c{}
\cite[]{}
+
+% Natbib citations can usually have two optional args, but LyX currently
+% supports only one.
+\citet[]{}
+\Citet[]{}
+\citet*[]{}
+\Citet*[]{}
+%\citet[][]{}
+%\Citet[][]{}
+%\citet*[][]{}
+%\Citet*[][]{}
+
+\citealt[]{}
+\Citealt[]{}
+\citealt*[]{}
+\Citealt*[]{}
+%\citealt[][]{}
+%\Citealt[][]{}
+%\citealt*[][]{}
+%\Citealt*[][]{}
+
+\citep[]{}
+\Citep[]{}
+\citep*[]{}
+\Citep*[]{}
+%\citep[][]{}
+%\Citep[][]{}
+%\citep*[][]{}
+%\Citep*[][]{}
+
+\citealp[]{}
+\Citealp[]{}
+\citealp*[]{}
+\Citealp*[]{}
+%\citealp[][]{}
+%\Citealp[][]{}
+%\citealp*[][]{}
+%\Citealp*[][]{}
+
+\citeauthor[]{}
+\Citeauthor[]{}
+\citeauthor*[]{}
+\Citeauthor*[]{}
+
+\citeyear[]{}
+\citeyearpar[]{}
+%\citeyearpar[][]{}
+
\cline{ - }
\d{}
\documentclass[]{}[]
\providecommand{}[][]{}
\providecommand*{}[][]{}
\ps
+\psfrag{}[][][][]{translate}
+\psfrag*{}[][][][]{translate}
\pushtabs
% \put(,){} %picture
% \qbezier[](,)(,)(,) %picture
\end{reLyXre}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% There are some math commands which LyX doesn't support. If there's an
-% equivalent command that it *does* support, then we might as well
-% translate it.
-% While copying things in math mode, reLyX will replace anything of the
-% following commands with (exactly) whatever text is in braces, so, e.g.,
-% $x\sb{a}$ will be converted to $x_{a}$ in the LyX file.
-% In most cases, this simply avoids "evil red text" in math mode, but
-% in a couple cases, it actually fixes things (e.g. '\ ')
-% Tokens to replace should be "normal" tokens, backslash followed by a
-% nonletter or one or more letters. (Token may also have * at the end.)
+% Keep bugging André until he adds 'support' for these in mathed,
+% meaning that they can be removed from here.
\begin{reLyXmt}
\sb {_}
\sp {^}
-\| {\Vert}
-\vert {|}
-\ {\,\,} % That's '\ ', same length (6/18 quad) as two '\,' tokens
-\to {\rightarrow}
-\gets {\leftarrow}
-\le {\leq}
-\ge {\geq}
\ensuremath {} % If it's in math mode, \ensuremath is unnec.
\end{reLyXmt}