]> git.lyx.org Git - lyx.git/blobdiff - lib/reLyX/syntax.default
some trivial fixes
[lyx.git] / lib / reLyX / syntax.default
index 057ac5f3916e7e2b19e1c58670df74e1ecaac1a1..977026b1de2ca6e9af1a65dfd8f4a546bbe2e246 100644 (file)
@@ -17,7 +17,7 @@
 
 % 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.
 \#
 \$
 \%
@@ -69,6 +69,54 @@ $$
 \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[]{}[]
@@ -497,6 +545,8 @@ $$
 \providecommand{}[][]{}
 \providecommand*{}[][]{}
 \ps
+\psfrag{}[][][][]{translate}
+\psfrag*{}[][][][]{translate}
 \pushtabs
 % \put(,){}     %picture
 % \qbezier[](,)(,)(,)     %picture
@@ -616,26 +666,11 @@ titlepage
 \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}