Is there any software that converts latex file to tex file?
Adding
\def\patterns#1{}
\catcode`\{=12
\let\newtoks\relax
\let\dump\relax
\let\+\relax
\let\newinsert\relax
\input latex.ltx
To a LaTeX file makes it a plain TeX file.
This is a LaTeX answer I gave to a question earlier today which runs without error in pdftex
as modified:
\def\patterns#1{}
\catcode`\{=12
\let\newtoks\relax
\let\dump\relax
\let\+\relax
\let\newinsert\relax
\input latex.ltx
\documentclass[a4paper]{IEEEtran}
%\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lipsum,tabularx}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Here, main documents begins %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\title{FooBar}
\author{Bar Foo,~\IEEEmembership{[email protected]}}
% The paper headers
\markboth{FooBar 2013}%
{FooBar2013}
% make the title area
\maketitle
%% -----------------
%% | Main part |
%% -----------------
\lipsum
\section{aaa}
\noindent
\begin{tabularx}{\linewidth}{@{} r X @{}}
Step 1: & \lipsum[1] \\
Step 2: & \lipsum[2] \\
Step 3 ggggggg kk kk jj gg : & \lipsum[3] \\
\end{tabularx}
\makeatletter
\renewcommand*\@IEEEiedmakelabel[1]{\hspace\labelsep
\parbox[t][0pt][t]{\itemindent}{\raggedright\normalfont\bfseries #1}}
\makeatother
\section{bbb}
\begin{description}
\item[Step 1]
\lipsum[1]
\item[Step 2]
\lipsum[2]
\item[Step 3 ggggggg kk kk jj gg ]
\lipsum[3]
\end{description}
\makeatletter
\renewcommand*\@IEEEiedmakelabel[1]{\hspace\labelsep
\makebox[\linewidth][l]{{\normalfont\bfseries #1}}}
\makeatother
\section{bbb}
\begin{description}
\item[Step 1]
\lipsum[1]
\item[Step 2]
\lipsum[2]
\item[Step 3 ggggggg kk kk jj gg ]
\lipsum[3]
\end{description}
\end{document}
»So the file should not only be compiled by TeX, but the grammar should also be TeX style so my supervisor could understand and modify it.«
I'd be very surprised to see a full solution to this problem. One thing is that TeX can compile a file, but it is a completely other thing to convert LaTeX into readable TeX, which can be handled, revised, changed, amended, in short: be a basis for further writing.
Just as an example:
The line \documentclass[pagesize, parskip=half, headings=big, english, DIV=calc, BCOR=5mm]{scrartcl}
contains quite a lot of instructions. How in the world transfer this into plain TeX except including more or less the whole KOMA-script bundle into the file?
Maybe you tell us a bit more about your file and the intentions of your supervisor.