From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96438 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Resume module with moderncv interface Date: Mon, 10 Oct 2016 22:29:22 +0200 Message-ID: <57FBFA22.7060904@gmail.com> References: <835d1a38-9b69-2c93-8cd5-e817f00da3c5@tranquille.ch> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6361625150297804157==" X-Trace: blaine.gmane.org 1476131438 18328 195.159.176.226 (10 Oct 2016 20:30:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2016 20:30:38 +0000 (UTC) User-Agent: Postbox 5.0.4 (Macintosh/20161007) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 10 22:30:33 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bthD8-0001N5-P9 for gctc-ntg-context-518@m.gmane.org; Mon, 10 Oct 2016 22:30:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8C0BD1AB56; Mon, 10 Oct 2016 22:29:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HLgGepN5oXfw; Mon, 10 Oct 2016 22:29:40 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id B67CD1AB59; Mon, 10 Oct 2016 22:29:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8AC171AB53 for ; Mon, 10 Oct 2016 22:29:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WYLvYnXKU-wQ for ; Mon, 10 Oct 2016 22:29:38 +0200 (CEST) Original-Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 403641AB4E for ; Mon, 10 Oct 2016 22:29:28 +0200 (CEST) Original-Received: by mail-qk0-f173.google.com with SMTP id o68so1445859qkf.3 for ; Mon, 10 Oct 2016 13:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=JQjMDFdfQVraJnLVtkHSsjkK3KpQqsXPvCmjLGGLay0=; b=d8nT18Yjj5K3j05eCejL7yJfIETuxfb3skAGc9sXt+okT7yzOFiaoMW8O/8c3wb4K7 6wgmUzDD1QvAody8RPuJ8JxFw6wGv0dGImYD5tWRuXPr2HkjtCJRELlneUnUbHUIRpwl it38WH0UsmuMwwOZNt13bP/GBZvwrIptsz9qGWIVbRkdrQxvnfFyJqVqI9CthgxGIAGH ICucPCIPJPzpEKssGCpO8IhA9eF1zhWaAjZ1lZwrB3ubLXYCWkuRBC9LWUWLwIxrKPp5 gu0oLby7xpQRPoepzn5keLnLQc/GLk36DNxqxT5NA0PJmdvr6NxTDRUbA/9kztulZYfv I5dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=JQjMDFdfQVraJnLVtkHSsjkK3KpQqsXPvCmjLGGLay0=; b=IUeN01aOnBT/IfQ9jl4q5Ftti4fAdu9HrKI/7GUOwWbZ05uYeeoP1BKRFf/w9N5Rcl XJnCuzz+d34PeG/8N28/qE4zeyKS++DacuKuAvNB2Zv4C/3WDrvanTV/gOGLFGFCYOvr x0BLbwgI5GJlC1NCh+mG+DJxXXAXwc5f+MNYIyOXkl+POUc+hiqm8/v0MdzyzuvvifHd bGIdNGKnG6QlqXSjKPyg66Z1Hcra7db9zXCtkAkqvjzNA9FJdAQDbYTRZBv29Y7woH42 rJM6uo+Urp4LrwwjbqA3c6NGNrqaH4/0WqN9CjAeFJ6hB5CIjut/v4Mmj564pazwe6pl E8Rg== X-Gm-Message-State: AA6/9RkXSfL49oMyHxMMOVsLHBp7u8goLUpQKOX8HsDWzK5bbTbnmHkofiHepIDkHBZG0A== X-Received: by 10.194.90.239 with SMTP id bz15mr92752wjb.146.1476131366631; Mon, 10 Oct 2016 13:29:26 -0700 (PDT) Original-Received: from keima.localdomain (x2f23e0b.dyn.telefonica.de. [2.242.62.11]) by smtp.gmail.com with ESMTPSA id f2sm26120807wjr.2.2016.10.10.13.29.25 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Oct 2016 13:29:25 -0700 (PDT) In-Reply-To: <835d1a38-9b69-2c93-8cd5-e817f00da3c5@tranquille.ch> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:96438 Archived-At: This is a multi-part message in MIME format. --===============6361625150297804157== Content-Type: multipart/alternative; boundary="------------000600010602010802060002" This is a multi-part message in MIME format. --------------000600010602010802060002 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Jonas Baggett > 6. Oktober 2016 um 13:38 > Hello, > > I am trying to use the resume module with the moderncv interface > without any success so far. I have errors when I am trying to use any > of the added commands like \setresumevalue or \cvline. Log file is > attached. > > Here is my context file (CV.tex) : > > > \usemodule[resume][interface=moderncv,style=casual] > > \starttext > > \setresumevalue{firstname} {John} > \setresumevalue{familyname}{Doe} > > \startresume > > \cvline{A} {B} > > \stopresume > > \stoptext > > > I have compared the list of the installed files of an old version of > the ubuntu context-modules package > (http://packages.ubuntu.com/fr/precise/all/context-modules/filelist) > with a recent one > (http://packages.ubuntu.com/fr/xenial/all/context-modules/filelist) > and it seems to me that the moderncv interface was removed in ConTeXt > some time ago. Is it really the case ? Yes, the moderncv interface is gone (together with the alternative interfaces for the letter module) but you can see a different method below. If you really want a copy of the moderncv package for ConTeXt you should convert the LaTeX code to ConTeXt and make a separate module for it. %%%% begin example \usemodule[resume] %\useresumestyle[casual-blue] \useresumestyle[classic-blue] \setupresumeoptions [bodyfont=calluna] \setupresume [firstname=John, familyname=Doe, title=Resumé title (optional),% classic style only quote=My quote,% casual style only image={\externalfigure[dummy][width=3cm,height=4cm]}] \setupresume [street={street and number}, town={postcode city}, mobile={+1(234)567890}, phone={+2(345)678901}, fax={+3(456)789012}, email={john@doe.org}, info={additional information}] \startresume \startresumesection[title={Knuth}] \startresumesubsection[title={Zapf}] \starttwocolumns \input ward \stoptwocolumns \stopresumesubsection \stopresumesection \page \startresumesection[title={Knuth}] \startresumesubsection[title={Zapf}] \starttwocolumns \input ward \stoptwocolumns \stopresumesubsection \stopresumesection \stopresume %%%% end example To add dates to entries you can use the lefttext key for the twocolumns environment, e.g. \starttwocolumns[lefttext=...] ... \stoptwocolumns Wolfgang --------------000600010602010802060002 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
6. Oktober 2016 um 13:38
Hello,

I am trying to use the resume module with the moderncv interface without any success so far. I have errors when I am trying to use any of the added commands like \setresumevalue or \cvline. Log file is attached.

Here is my context file (CV.tex) :


\usemodule[resume][interface=moderncv,style=casual]

\starttext

\setresumevalue{firstname} {John}
\setresumevalue{familyname}{Doe}

\startresume

\cvline{A} {B}

\stopresume

\stoptext


I have compared the list of the installed files of an old version of the ubuntu context-modules package (http://packages.ubuntu.com/fr/precise/all/context-modules/filelist) with a recent one (http://packages.ubuntu.com/fr/xenial/all/context-modules/filelist) and it seems to me that the moderncv interface was removed in ConTeXt some time ago. Is it really the case ?
Yes, the moderncv interface is gone (together with the alternative interfaces for the letter module) but you can see a different method below. If you really want a copy of the moderncv package for ConTeXt you should convert the LaTeX code to ConTeXt and make a separate module for it.

%%%% begin example
\usemodule[resume]

%\useresumestyle[casual-blue]
\useresumestyle[classic-blue]

\setupresumeoptions
  [bodyfont=calluna]

\setupresume
  [firstname=John,
   familyname=Doe,
   title=Resumé title (optional),% classic style only
   quote=My quote,% casual style only
   image={\externalfigure[dummy][width=3cm,height=4cm]}]

\setupresume
  [street={street and number},
   town={postcode city},
   mobile={+1(234)567890},
   phone={+2(345)678901},
   fax={+3(456)789012},
   email={john@doe.org},
   info={additional information}]

\startresume

\startresumesection[title={Knuth}]

\startresumesubsection[title={Zapf}]

\starttwocolumns
\input ward
\stoptwocolumns

\stopresumesubsection

\stopresumesection

\page

\startresumesection[title={Knuth}]

\startresumesubsection[title={Zapf}]

\starttwocolumns
\input ward
\stoptwocolumns

\stopresumesubsection

\stopresumesection

\stopresume
%%%% end example


To add dates to entries you can use the lefttext key for the twocolumns environment, e.g.

\starttwocolumns[lefttext=...]
...
\stoptwocolumns


Wolfgang
--------------000600010602010802060002-- --===============6361625150297804157== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwOi8vZm91bmRyeS5zdXBl bGVjLmZyL3Byb2plY3RzL2NvbnRleHRyZXYvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRnYXJk ZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============6361625150297804157==--