General ⇒ Database and latex
Database and latex
I require to prepare question papers, is there any way by which i can store all question in a database (say 100 questions) and then choose question form them (say 10 question choose)
Once i choose the question a latex file of that question will be created , so that i compile i and get my question paper ready.
I'll store all question in latex language ( a majority of them are mathematic qustns).
Please let me know if there is any mean to do this.
Thanks,
metric
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Database and latex
http://www.tex.ac.uk/tex-archive/macros ... v-texdata/
B.A.
Database and latex
Thanks for the info, i have downloaded the package, have read the documentation, seems it will work, thanks, thanks a lot.balf wrote:Maybe you should take a look at the ktv-texdata package (it is in the MiKTeX distribution). Here's an address on CTAN:
http://www.tex.ac.uk/tex-archive/macros ... v-texdata/
B.A.
metric
Database and latex
metric wrote:Thanks for the info, i have downloaded the package, have read the documentation, seems it will work, thanks, thanks a lot.balf wrote:Maybe you should take a look at the ktv-texdata package (it is in the MiKTeX distribution). Here's an address on CTAN:
http://www.tex.ac.uk/tex-archive/macros ... v-texdata/
B.A.
metric
The package is good but help need help, also the email id given in the help file is not working. any place where i can ask questions related the package.
Is there any other package which can also do my job, i.e store all question and then selected ones can be compiled for the out put file, Pls. assist...
Thanks,
metric
Re: Database and latex
However, maybe we could help you if you tell us your problems when using that package .
Database and latex
gmedina wrote:I do not know any other packages that allow you to extract parts of documents in the way ktv-texdata does.
However, maybe we could help you if you tell us your problems when using that package .
I use ktv-texdata package
----------------our data file (data.tex)---------------------
\bxx(chapter5)Ex1;
This is chapter 5 Excercise 1
\exx
\bxx(chapter5)Ex2;
This is chapter 5 Excercise 2
\exx
\endinput
----------------end of our data file---------------
---------------------our main file -------------------
\documentclass{article}
\usepackage{ktv-texdata}
\usepackage{amsthm}
\begin{document}
\xdetailoff
\xenv(chapter5)
\xget{Ex1,Ex2)
\end{document}
-----------------------------end of our main file----------------
while compiling i get an error.
Runaway argument?{Ex1,Ex2),
Once i press enter it gets compiled and the output dvi file is generated data next to each other.
I use LED as an editor and miktex distribution.
can some one helpme about that error and how to i go about get the below mentioned out put
am really stuck and am desparetly looking for some one who can help me out, Pls. assist
Could any one tell how can i get the following output(assume there is a data file with 100 questions)
now how will i be able to create my test papers that would look like this ..
I Solve the following differentily equation (3 marks each)
i) Question 1
ii) Question 2
a) part 1 b) part 2
iii) Qustion 3
II Solve the following integration (4 marks each)
i) Question 1
ii) Question 2
iii) Qustion 3
a) part 1 b) part 2
...............end of the paper................
an example of both data file and main file will really be much helpful
Thanks a million
metric