<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif">What I have made good experience was to directly use Excel without exporting to CSV.<br><br></div><div class="gmail_default" style="font-family:times new roman,serif">Just assume you have data in the cells A1 and B1 like in the attached graphics. Using Excel formulas you can simply generate the LaTeX code.<br><br></div><div class="gmail_default" style="font-family:times new roman,serif">I use in the German Excel "Zeichen(10)" to create a line break, I'd expect the English function name to be something like "character(10)". After that I simply copy all rows to my TeX editor and remove the " via search/replace.<br><br></div><div class="gmail_default" style="font-family:times new roman,serif">Normally I use this functionality to maintain lists of captions in Excel, in you case it could work as well.<br><br></div><div class="gmail_default" style="font-family:times new roman,serif">Uwe<br></div><div class="gmail_default" style="font-family:times new roman,serif"><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-10 12:50 GMT+01:00 bhutex <span dir="ltr"><<a href="mailto:bhutex@gmail.com" target="_blank">bhutex@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>We have to create desk slips for conducting an examination. The desk slip/ label will have the following information :<br><br></div>...... examination - 2014<br></div>Subject : xyz<br></div>Roll No. 0293993<br clear="all"><div><div><div><div><br></div><div>The data of RollNo, Subject and Venue of examination (examination center) are maintained in an excel sheet - nearly 40 examination centres and 80 subjects total candidates about 20 thousand.<br><br></div><div>I created desk slip with the use of csvtools and the code is given below :<br><br>\documentclass[a4paper,12pt]{article}<br><br>\usepackage{csvtools}<br>\usepackage[left=.5cm,right=.5cm,top=.5cm,bottom=.5cm]{geometry}<br>\usepackage{multicol}<br>\usepackage{xcolor}<br><br>\begin{document}<br><br>\applyCSVfile{data.csv}{% here put the name of the file<br>%\begin{multicols}{2}<br>\noindent\fbox{\parbox{6.3cm}{%<br>{\color{white}.}\\[7pt]<br>\centering{\LARGE UGC NET - 2014}\\[2pt]<br>\raggedright<br>{\Large Subject : \insertSubject}\\[5pt]<br>{\Large Roll No. : \textbf{0\insertRollNo}}\\[12pt]<br>}} % This is for parbox<br>%\end{multicols}<br>}% This is for CSV file<br><br><br>\end{document}<br><br></div><div>With the above my purpose is solved. But for this for every subject and centre we have to create separate csv files.<br><br></div><div>Is there any better to get the lables printed - centre wise/ subject wise from a single csv file without creating many csv files. It will be better If we can print 8 x 3 lables on a4paper.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br>-- <br><div>Happy (La)TeXing<br>The BHU TeX Group<br>क्या आप यह देख पा रहें हैं।<br>इस का मतलब आप का कम्प्यूटर यूनीकोड<br>को समझती है। देर किस बात की हिन्दी मे<br>चिठ्ठियां लिखिये।<br><br></div>
</div></font></span></div></div></div></div>
<br>_______________________________________________<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>
Mailing list archives: <a href="http://tug.org/pipermail/texhax/" target="_blank">http://tug.org/pipermail/texhax/</a><br>
More links: <a href="http://tug.org/begin.html" target="_blank">http://tug.org/begin.html</a><br>
<br>
Automated subscription management: <a href="http://tug.org/mailman/listinfo/texhax" target="_blank">http://tug.org/mailman/listinfo/texhax</a><br>
Human mailing list managers: <a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Dr. Uwe Ziegenhagen<br><<a href="http://www.uweziegenhagen.de" target="_blank">http://www.uweziegenhagen.de</a>></div>
</div>