ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Resume module with moderncv interface
Date: Mon, 10 Oct 2016 22:29:22 +0200	[thread overview]
Message-ID: <57FBFA22.7060904@gmail.com> (raw)
In-Reply-To: <835d1a38-9b69-2c93-8cd5-e817f00da3c5@tranquille.ch>


[-- Attachment #1.1: Type: text/plain, Size: 2335 bytes --]

> Jonas Baggett <mailto:jonasb@tranquille.ch>
> 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

[-- Attachment #1.2: Type: text/html, Size: 3911 bytes --]

[-- Attachment #2: Type: text/plain, Size: 489 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-10-10 20:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-06 11:38 Jonas Baggett
2016-10-10 20:29 ` Wolfgang Schuster [this message]
2016-10-11 21:11   ` Jonas Baggett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57FBFA22.7060904@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).