From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33013 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: new cv-resume module Date: Mon, 29 Jan 2007 12:32:08 -0700 Organization: Colorado State University Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170101777 17932 80.91.229.10 (29 Jan 2007 20:16:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Jan 2007 20:16:17 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 29 21:16:14 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by dough.gmane.org with esmtp (Exim 4.50) id 1HBcvF-0001be-Cr for gctc-ntg-context-518@m.gmane.org; Mon, 29 Jan 2007 21:16:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DA4DA1FAFB; Mon, 29 Jan 2007 21:07:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24864-03-7; Mon, 29 Jan 2007 21:07:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DE3C61FD37; Mon, 29 Jan 2007 20:33:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 952461FD19 for ; Mon, 29 Jan 2007 20:33:17 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23718-07 for ; Mon, 29 Jan 2007 20:33:04 +0100 (CET) Original-Received: from trueband.net (trueband.net [216.163.120.10]) by ronja.ntg.nl (Postfix) with SMTP id 7B4E11FD37 for ; Mon, 29 Jan 2007 20:32:21 +0100 (CET) Original-Received: (qmail 32546 invoked by uid 1006); 29 Jan 2007 19:32:23 -0000 Original-Received: from ishamid@colostate.edu by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(0.0/100.0):. Processed in 1.84006 secs); 29 Jan 2007 19:32:23 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.4) by -v with SMTP; 29 Jan 2007 19:32:20 -0000 Original-Received: (qmail 32547 invoked from network); 29 Jan 2007 19:32:16 -0000 Original-Received: from unknown (HELO walayah-main) (67.54.131.34) by -v with SMTP; 29 Jan 2007 19:32:16 -0000 User-Agent: Opera Mail/9.02 (Win32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:33013 Archived-At: Dear gang, A couple of days ago I decided to port my old LaTeX cv to ConTeXt. Could not find any ConTeXt templates, and the currvita.sty referred to in the ConTeXt archives was ugly compared to my present cv. So I wrote an experimental module which I present here. Following is the module and a sample file. Please give me your suggestions for improvement, and any of you should feel free to post it to the wiki. Best Idris =============m-resume.tex=============== %D \module \setuppapersize[letter][letter] \setuplayout[backspace=1.5in,width=5.5in,margin=2.5em] \setuppagenumbering[location=footer] \setupinmargin[align=right] \setupitemize[1][paragraph,atmargin,unpacked][symbol=n,indentnext=no,] \setupitemize[2][symbol=a][indentnext=no] %\setupitemize[3][symbol=a][indentnext=no] \definehead[CVHEAD][subject] \setuphead[subject][style=\bfa,after={\blank[medium]}] \definehead[SUBCVHEAD][subsubject] \setuphead[subsubject][style=\bf,after={\blank[small]},before={\blank[small]}] \defineparagraphs[ContactColumns][n=2] \setupparagraphs[ContactColumns][each][rule=off,distance=0pt] \define[2]\CVTITLE{\midaligned{\framed[frame=off,align=middle] {{\bfa #1}\blank[medium]{\tfb#2}}}\blank[small]} \define[1]\CVEMAIL{{\bf Email:}{ \type{#1}}\blank} % \framed is good for testing or fine-tuning \CONTACT \define[2]\CONTACT{%\framed[frame=off,width=broad,align=right,strut=no, %offset=none,height=fit] %{% \startalignment[middle] \startContactColumns {\bf Office:}\crlf {#1} \ContactColumns {\bf Home:}\crlf {#2} \stopContactColumns \stopalignment} %} % \framed is used to prevent pagebreaks within an \<>ITEM<> \define[5]\EDUITEM{\framed[frame=off,align=right,width=broad] {{\bf #1}\inmargin{\it #2}\ (#3).\crlf {\bf #4}, #5.\blank[small]}} \define[6]\EDUITEMMA{\framed[frame=off,align=right,width=broad] {{\bf #1}\inmargin{\it #2}\ (#3).\crlf {\bf #4}, #5.\crlf {\bf Thesis:} {\em #6}. \blank[small]}} \define[7]\EDUITEMPHD{\framed[frame=off,align=right,width=broad] {{\bf #1}\inmargin{\it #2}\ (#3).\crlf {\bf #4}, #5.\crlf {\bf Dissertation:} {\em #6}.\crlf {\bf Advisor:} #7. \blank[small]}} \define[4]\ACADITEM{\framed[frame=off,align=right,width=broad] {{\bf Location:}\inmargin{\it #1}\ #2.\crlf {\bf Position:} #3.\crlf {\bf Responsibilities:} #4. \blank[small]}} \define[2]\GRANTITEM{\framed[frame=off,align=right,width=broad] {\inmargin{\it #1} #2.}} \setupbodyfont[11pt] % 11pt seems pretty standard for cv's \endinput ========================================= ===============cv-resume.tex============= \usemodule[resume] \starttext \CVTITLE{Curriculum Vitae}{Idris Samawi Hamid} \CONTACT{Department of \TeX\ Studies\crlf % 221 Eddy Hall\crlf \TeX\ State University\crlf Fort Collins, CO 80523 \crlf USA\crlf (970) 491-2406/6315 } {1234 \TeX\ Road\crlf \TeX{}ville, CO 80555 \crlf USA\crlf (800) TEX-5555\crlf} \CVEMAIL{ishamid@texstate.edu} \CVHEAD{Education} \EDUITEMPHD {PhD} {2007} {\TeX\ Studies} {\TeX\ University} {Amherst, NY} {Arabic Critical Editions} {\TeX\ Distinguished Professor Hans Hagen} \EDUITEMMA {MA} {1996} {Physics} {University at Buffalo, State University of New York} {Amherst, NY} {G\"{o}del's Universe, the Mach Principle, and the Cosmological Principle: Considerations for the Philosophy of Physics} \EDUITEM{BSc}{1990}{Physics; minor, Mathematics}{Georgia State University}{Atlanta, GA} %% positions % academic positions \CVHEAD{Academic Positions} \ACADITEM {2001--2007} {\TeX\ State University, \TeX{}ville, CO} {Associate Professor} {Instruction and research, especially the development of upper-level courses in \TeX\ and \Context} \CVHEAD{Areas of Specialization} Metaphysics of \TeX, Islamic Philosophy, Philosophy of Mysticism, Philosophy of Science. \CVHEAD{Philosophic Interests} \TeX\ Logic, Category Theory, Chinese Philosophy. % other skills \CVHEAD{Languages and Technical Skills} Arabic, French, and the professional computer typesetting language \TeX, including the major dialects \LaTeX, \Context, as well as the minor dialects Arab\TeX (for typesetting in Arabic script) and EDMAC (for critical edition typesetting). I am also developing a new Arabic-script system for scholarly typesetting, {\sc Oriental \TeX}, based upon \TeX\ and \Context. % patents \CVHEAD{Publications} \SUBCVHEAD{Books Authored} \startitemize \item Idris Samawi Hamid, 2006, {\it The Cosmology of \TeX}, \TeX\ University Press, 240 pp. \stopitemize \SUBCVHEAD{Articles} \startitemize \item Idris Samawi Hamid, 2005, {\it Installing Expert Fonts: Minion Pro}. In {\it MAPS}, Issue~33; pp.~19--35. Published by the Nederlandstalige \TEX\ Gebruikersgroep (NTG), Netherlands. \stopitemize \CVHEAD{Grants} \GRANTITEM{2006--2007} {{\it Oriental \TeX: A New Direction in Scholarly Complex-Script Typesetting}; Academic Enrichment Program, College of Liberal Arts, CSU; \$42,927} \CVHEAD{Presentations} \startitemize \item 2007, ``Oriental \TeX'', 1\high{st} Annual \Context\ Conference, Epen, the Netherlands. \stopitemize \CVHEAD{Service} \SUBCVHEAD{Profession} \startitemize \item The \TeX\ Users Group. \stopitemize \SUBCVHEAD{Department} \startitemize \item Graduate Committee, 2002--2005, 2006--2007. \item Advisory Committee, 2005--2006. \stopitemize \SUBCVHEAD{College} \startitemize \item \TeX\ Studies Committee, 2001--2006. \stopitemize \SUBCVHEAD{University} \startitemize \item Faculty Council, Fall 2005. \stopitemize \CVHEAD{Thesis/Dissertation Direction} \startitemize \item Joseph Ramagli (MA), ``\TeX\ Theology in Context'', in progress. \stopitemize \stoptext ========================================= -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/