# Converting Big List of Questions in TeX into Single Question View

I have questions in this format in tex files

Systemic venous congestion caused by
\begin{enumerate}[(a)]
\item heart problems,
\item thrombosis of the portal vein,
\item la la la lorem
\end{enumerate}a
... 777 questions
Systemic venous congestion caused by
\begin{enumerate}[(a)]
\item heart problems,
\item thrombosis of the portal vein,
\item la la la lorem
\end{enumerate}


I would like to make a simple app that asks me these questions randomly one at a time and finally returns rate. iPad and iPhone apps would be nice - probably HTML version is enough seen can be seen on the browser. Very simple GUI is enough.

Which software would you use for this?

• I doubt that you'll find something that handles everything from the LaTeX source to the prompting and scorekeeping. How much fiddling are you prepared to do to, say, convert that TeX source into a bunch of text or HTML files, that could be input to a flash card app? – Gilles 'SO- stop being evil' Feb 24 '14 at 20:39
• @Gilles The conversion of TeX into HTML should be straightforward. – Léo Léopold Hertz 준영 Feb 24 '14 at 20:42
• @Masi True, but you won't find a tool that does both the conversion AND the question asking. Maybe it is better to focus on the questioning and scorekeeping part, and take care of the conversion to the required format afterwards – Bernhard Feb 25 '14 at 6:42
• I think you need to break this up so that the recommendation here is for a flash-card like program with the options you need and some sort of import, this figure out how to convert your tex data to the input format required. I doubt asking for a flash card program that understands tex is going to get you anywhere. – Caleb Feb 25 '14 at 9:54

% -*- coding-system:utf-8 -*- \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \newenvironment{note}{\paragraph{NOTE:}}{} \newenvironment{field}{\paragraph{field:}}{} \begin{document} \begin{note} \begin{field} Is it true that $$1 + 1 = 0$$? \end{field} \begin{field} Yes and no. The equation \begin{equation*} 1+1 = 0 \end{equation*} holds only in characteristic two. \end{field} \end{note} \end{document}