% This is the default list of commands for tex conversion programs to read
% It tells how many arguments each command takes, and which of them
% (if any) are optional.
-% It is taken from the list of commands written by John Weiss 970311 for reLyX
-% plus the math commands from math_hash.C
+% It is taken from the list of commands originally written by John Weiss
+% 1997-03-11 for reLyX plus the math commands from math_hash.C
%
% Also had to add textrm etc. commands and many size commands (like \small)
%
\`{}
\~{}
\b{}
-% \begin{}[] %reLyX will get confused if \begin is found in this file!
+%\begin{}[] %tex2lyx will get confused if \begin is found in this file!
%\begin{}[]{} % All of these show the different variations of \begin (jpw)
-%\begin{}{} % reLyX can only handle \begin{}
+%\begin{}{}
%\begin{}{}{}
%\begin{}[][][]{}
%\begin{}(,)
\documentstyle[]{}
\em
\emph{}
-% \end{} %reLyX will get confused if \end is found in this file!
+%\end{} %tex2lyx will get confused if \end is found in this file!
\epsf{}
\epsfbox{}
\epsffile{}
\epsfig{}
\epsfxsize
\epsfysize
+\fancyhead[]{}
\footnote[]{}
\footnotesize
\H{}
% arguments] and those that insert lists, since a list isn't a single
% object.
%
-% I had to remove things that TeX.pm doesn't recognize as a token, and hardcode
-% those into reLyX. This included !' ?' -- --- and maybe some other things
\ % A "\" followed by a space.
\,
% support it, but only the "\mbox{" and the "}" need to be in TeX mode.
\abstractname
+\Acrobatmenu{}{} % from the hyperref package
\addcontentsline{}{}{translate}
\address{}
\addtime{}
\clearpage
\closing{}
\color[]{,,} % Two variants of this command and the next (jpw)
-% \color{} % This variant doesn't matter to reLyX (adk)
+%\color{}
\colorspec[]{,,}{}
-%\colorspec{}{} % This variant doesn't matter to reLyX (adk)
+%\colorspec{}{}
%\contentsline{}{\numberline{} }{} % Appears only in .toc file (JMarc)
\contentsname
-% \dashbox{}(,)[]{} %picture
+%\dashbox{}(,)[]{} %picture
\date{}
\dblfigrule
\dblfloatpagefraction
\dbltopfraction
\def{}{}
\definecolor{}{}{,,}
+\DeleteShortVerb{} % from doc.sty, argument must be verbatim
\DescribeMacro{}
\discretionary{}{}{}
\encl{}
\extracolsep{}
\fbox{translate}
\fcolorbox[]{,,}{,,}{} % Two variants of this command
-%\fcolorbox{}{}{} % This variant doesn't matter to reLyX (adk)
+%\fcolorbox{}{}{}
\figurename
\floatpagefraction
\flushbottom
\glossaryentry{}{} %only in .glo file (JMarc)
% \graphpaper[](,)(,) %picture
\headtoname
+\href{}{translate} % from the hyperref package
\hspace{}
\hspace*{}
+\hyperdef{}{}{translate} % from the hyperref package
+\hyperlink{}{translate} % from the hyperref package
+\hyperref{}{}{translate} % from the hyperref package
+\hypertarget{}{translate} % from the hyperref package
\hyphenation{}
\iflanguage{}{}{}
\ifthenelse
\labelitemiv
\language{}
% We need this because the arguments must not be interpreted
-\let{}{}
+\let{item}{item}
% \line(,){} %picture
\linebreak[]
\linethickness{}
\makelabel{translate}
\makelabels
\maketitle
+\MakeShortVerb{} % from doc.sty, argument must be verbatim
\markboth{}{translate}
\markright{translate}
\mathversion{}
\newboolean{}
\newcommand{}[][]{}
\newcommand*{}[][]{}
-%\newcommand{}[]{} % reLyX doesn't care about missing optarg
+%\newcommand{}[]{} % tex2lyx can support this when the file format is the one of LyX 1.6.x
\newcounter{}[]
\newenvironment{}[][]{}{}
\newenvironment*{}[][]{}{}
-% \newenvironment{}[]{}{} % reLyX doesn't care about missing optarg
+%\newenvironment{}[]{}{} % tex2lyx can support this when the file format is the one of LyX 1.6.x
\newfont{}{ scaled }
\newlength{}
\newpage
% \oval(,)[] %picture
\pagebreak[]
\pagecolor[]{,,}
-% \pagecolor{} % reLyX doesn't care about this version
+% \pagecolor{} % tex2lyx can first care about this when fileformat 351 is supported
\pagename
\pagenumbering{}
\par
\part[]{}
\part*{}
\partname
+\pdfbookmark[]{}{} % from the hyperref package
+\pdfstringdef{}{} % from the hyperref package
\poptabs
\prefacename
\printindex
\refstepcounter{}
\renewcommand{}[][]{}
\renewcommand*{}[][]{}
-% \renewcommand{}[]{} %reLyX doesn't care about variants
+%\renewcommand{}[]{} % tex2lyx can support this when the file format is the one of LyX 1.6.x
\renewenvironment{}[][]{}{}
\renewenvironment*{}[][]{}{}
-% \renewenvironment{}[]{}{}
+%\renewenvironment{}[]{}{}
\resizebox{}{}{translate}
\resizebox*{}{}{translate}
\reversemarginpar
\tableofcontents
\tabularnewline[]
\telephone{translate}
+\texorpdfstring{}{} % from the hyperref package
\textcircled{translate}
\textcolor[]{,,}{translate}
-%\textcolor{}{} % reLyX doesn't care about this version
-\textnormal{translate}
+%\textcolor{}{}
+\textbf{translate} % hardcoded, but needed nevertheless for \let\xyz\textbf
+\textnormal{translate} % hardcoded, but needed nevertheless for \let\xyz\textnormal
+\textmd{translate} % hardcoded, but needed nevertheless for \let\xyz\textmd
+\textit{translate} % hardcoded, but needed nevertheless for \let\xyz\textit
+\textrm{translate} % hardcoded, but needed nevertheless for \let\xyz\textrm
+\textsc{translate} % hardcoded, but needed nevertheless for \let\xyz\textsc
+\textsf{translate} % hardcoded, but needed nevertheless for \let\xyz\textsf
+\textsl{translate} % hardcoded, but needed nevertheless for \let\xyz\textsl
+\texttt{translate} % hardcoded, but needed nevertheless for \let\xyz\texttt
+\textup{translate} % hardcoded, but needed nevertheless for \let\xyz\textup
\textfraction
\thanks{translate}
\thicklines
\usepackage[]{}[]
\value{}
% \vector(,){} %picture
-% \verb|| % reLyX needs \verb to be hardcoded
+% \verb|| % tex2lyx fails on \verb, see http://www.lyx.org/trac/ticket/4468 and http://www.lyx.org/trac/ticket/5408
% \verb*||
\visible
\vline
\vspace*{}
\whiledo{}{}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% There are some environments which reLyX doesn't have an equivalent for.
-% However, *within* that environment, simple translatable LaTeX appears.
-% (E.g., this doesn't include something like "picture" because the TeX
-% parser can't (yet?) understand the parentheses as being delimiters of
-% coordinates rather than plain text.)
-% The environment names are placed in a "reLyXre" environment.
-% There aren't very many of these; the idea is that the user can add
-% user-defined environments in personal syntax files
-
-\begin{reLyXre}
-% filecontents can only appear before \documentclass command, so not worth it
-fussypar
-sloppypar
-% slide only appears in the slides class, but if we don't put this in, then
-% the whole document will be copied in TeX mode!
-slide
-titlepage
-\end{reLyXre}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Keep bugging André until he adds 'support' for these in mathed,
-% meaning that they can be removed from here.
-
-\begin{reLyXmt}
-\sb {_}
-\sp {^}
-\ensuremath {} % If it's in math mode, \ensuremath is unnec.
-\end{reLyXmt}
-
-
% LaTeX environments.
% They have always one extra "argument":
% It contains "translate" if the contents of the environment contains normal
\begin{environments}
bibunit[]{translate}
psmatrix[]{}
+thebibliography{}
\end{environments}
% Environments that start math mode.
% These are not known by LyX but work nevertheless:
empheq
\end{mathenvironments}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Sweave stuff
+\Sexpr{}
+\SweaveOpts{}
+\SweaveInput{}
+\SweaveSyntax{}
+\Scoderef{}
+
+\Rcode{}
+\Robject{}
+\Rcommand{}
+\Rfunction{}
+\Rfunarg{}
+\Rpackage{}
+\Rclass{}
+\Rmethod{}