ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Resume module with moderncv interface
@ 2016-10-06 11:38 Jonas Baggett
  2016-10-10 20:29 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Jonas Baggett @ 2016-10-06 11:38 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

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 ?


Best regards,
Jonas Baggett

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: CV.log --]
[-- Type: text/x-log; name="CV.log", Size: 9082 bytes --]

open source     > 1 > 1 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv

ConTeXt  ver: 2016.05.17 19:20 MKIV current  fmt: 2016.10.6  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > /usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv
close source    > 2 > 2 > /usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv
system          > files > jobname 'CV', input './CV', result 'CV'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > /home/jonas/Documents/context/CV/CV.tex
resolvers       > modules > 'resume' is loaded
interface       > macros > processed mkvi file '/usr/share/texmf/tex/context/third/letter/base/s-cor-03.mkvi', delta 84
interface       > macros > processed mkvi file '/usr/share/texmf/tex/context/third/letter/base/s-cor-03.mkvi', delta 0
open source     > 3 > 4 > /usr/share/texmf/tex/context/third/letter/base/s-cor-03.mkvi
resolvers       > modules > 'cor-00' is loaded
interface       > macros > processed mkvi file '/usr/share/texmf/tex/context/third/letter/base/s-cor-00.mkvi', delta 2365
interface       > macros > processed mkvi file '/usr/share/texmf/tex/context/third/letter/base/s-cor-00.mkvi', delta 0
open source     > 4 > 5 > /usr/share/texmf/tex/context/third/letter/base/s-cor-00.mkvi
resolvers       > lua > loading file '/usr/share/texmf/tex/context/third/letter/base/s-cor-00.lua' succeeded
close source    > 4 > 5 > /usr/share/texmf/tex/context/third/letter/base/s-cor-00.mkvi
open source     > 4 > 6 > /usr/share/texmf/tex/context/third/letter/style/resume-imp-default.mkiv
close source    > 4 > 6 > /usr/share/texmf/tex/context/third/letter/style/resume-imp-default.mkiv
open source     > 4 > 7 > /usr/share/texmf/tex/context/third/letter/style/resume-imp-casual.mkiv
open source     > 5 > 8 > /usr/share/texmf/tex/context/third/letter/style/resume-imp-default.mkiv
close source    > 5 > 8 > /usr/share/texmf/tex/context/third/letter/style/resume-imp-default.mkiv
close source    > 4 > 8 > /usr/share/texmf/tex/context/third/letter/style/resume-imp-casual.mkiv
close source    > 3 > 8 > /usr/share/texmf/tex/context/third/letter/base/s-cor-03.mkvi
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded

tex error       > tex error on line 5 in file /home/jonas/Documents/context/CV/CV.tex: ! Undefined control sequence

l.5 \setresumevalue
                 {firstname} {John}

 1     \usemodule[resume][interface=moderncv,style=casual]
 2     
 3     \starttext
 4     
 5 >>  \setresumevalue{firstname} {John}
 6     \setresumevalue{familyname}{Doe}
 7     
 8     \startresume
 9     
10     \cvline{A} {B}
11     
12     \stopresume
13     
14     \stoptext
15     


? 

tex error       > tex error on line 6 in file /home/jonas/Documents/context/CV/CV.tex: ! Undefined control sequence

l.6 \setresumevalue
                 {familyname}{Doe}

 1     \usemodule[resume][interface=moderncv,style=casual]
 2     
 3     \starttext
 4     
 5     \setresumevalue{firstname} {John}
 6 >>  \setresumevalue{familyname}{Doe}
 7     
 8     \startresume
 9     
10     \cvline{A} {B}
11     
12     \stopresume
13     
14     \stoptext
15     


? 
backend         > xmp > using file '/usr/share/texmf/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1

tex error       > tex error on line 1 in file virtual://buffer.616>resume.1: ! Undefined control sequence

l.1 \par\cvline
             {A} {B}

<empty file>


? 
pages           > flushing realpage 2, userpage 2, subpage 1
close source    > 2 > 8 > /home/jonas/Documents/context/CV/CV.tex
close source    > 1 > 8 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv

system          > structure > start used structure

used structure  > text: CV

system          > structure > stop used structure


system          > files > start used files

used file       >    1: filename=cont-yes.mkiv filetype=tex foundname=/usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
used file       >    2: filename=publ-imp-default.lua filetype=lua foundname=/usr/share/texmf/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
used file       >    3: filename=cont-new.mkiv filetype=tex foundname=/usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
used file       >    4: filename=lang-us.lua filetype=lua foundname=/usr/share/texmf/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
used file       >    5: filename=/home/jonas/Documents/context/CV/CV.tex foundname=/home/jonas/Documents/context/CV/CV.tex usedmethod=direct
used file       >    6: filename=s-cor-03.mkvi filetype=tex foundname=/usr/share/texmf/tex/context/third/letter/base/s-cor-03.mkvi usedmethod=database
used file       >    7: filename=s-cor-00.mkvi filetype=tex foundname=/usr/share/texmf/tex/context/third/letter/base/s-cor-00.mkvi usedmethod=database
used file       >    8: filename=s-cor-00.lua filetype=tex format=tex foundname=/usr/share/texmf/tex/context/third/letter/base/s-cor-00.lua usedmethod=database
used file       >    9: filename=resume-imp-default.mkiv filetype=tex foundname=/usr/share/texmf/tex/context/third/letter/style/resume-imp-default.mkiv usedmethod=database
used file       >   10: filename=resume-imp-casual.mkiv filetype=tex foundname=/usr/share/texmf/tex/context/third/letter/style/resume-imp-casual.mkiv usedmethod=database
used file       >   11: filename=lm.lfg filetype=tex foundname=/usr/share/texmf/tex/context/fonts/mkiv/lm.lfg usedmethod=database
used file       >   12: filename=lmroman12-regular filetype=otf format=otf foundname=/usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used file       >   13: filename=latinmodern-math.otf filetype=opentypefonts foundname=/usr/share/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used file       >   14: filename=lpdf-pdx.xml filetype=tex foundname=/usr/share/texmf/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database
used file       >   15: filename=lmroman10-regular filetype=otf format=otf foundname=/usr/share/texmf/fonts/opentype/public/lm/lmroman10-regular.otf usedmethod=database
used file       >   16: filename=lmroman12-italic filetype=otf format=otf foundname=/usr/share/texmf/fonts/opentype/public/lm/lmroman12-italic.otf usedmethod=database

system          > files > stop used files


system          > options > start commandline options

used option     > currentrun="1"
used option     > fulljobname="./CV.tex"
used option     > input="./CV.tex"
used option     > kindofrun="1"
used option     > maxnofruns="9"
used option     > no-parse-first-line="true"

system          > options > stop commandline options

system          > options > start commandline files

used file       >    1: ./CV.tex

system          > options > stop commandline files


mkiv lua stats  > used config file: /usr/share/texmf/web2c/texmfcnf.lua;/usr/share/texlive/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: readable: '/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442' | readable+writable: '/home/jonas/.texlive2016/texmf-var/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442'
mkiv lua stats  > resource resolver: loadtime 0.018 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 16 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 387 modules (0.189 sec), 82 tables (0.009 sec), 469 chunks (0.198 sec)
mkiv lua stats  > traced context: maxstack: 1175, freed: 0, unreachable: 1175
mkiv lua stats  > cleaned up reserved nodes: 47 nodes, 10 lists of 446
mkiv lua stats  > node memory usage: 12 glue, 3 penalty, 28 attribute, 38 glue_spec, 10 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances (re)created, 92 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.000 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: 684 direct, 2092 indirect, 2776 total
mkiv lua stats  > loaded tex modules: 2 requested, all found (*-cor-00 *-cor-03)
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > result saved in file: CV.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 4 files: latinmodern-math.otf, lmroman10-regular.otf, lmroman12-italic.otf, lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.020, afm 1.512, tfm 1.000, 6 instances, load time 0.190 seconds 
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: usr
mkiv lua stats  > luatex banner: this is luatex, version 0.95.0 (tex live 2016/debian)
mkiv lua stats  > control sequences: 45038 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 60 MB (ctx: 60 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 3.381 seconds, 2 processed pages, 2 shipped pages, 0.592 pages/second


[-- Attachment #3: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Resume module with moderncv interface
  2016-10-06 11:38 Resume module with moderncv interface Jonas Baggett
@ 2016-10-10 20:29 ` Wolfgang Schuster
  2016-10-11 21:11   ` Jonas Baggett
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2016-10-10 20:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Resume module with moderncv interface
  2016-10-10 20:29 ` Wolfgang Schuster
@ 2016-10-11 21:11   ` Jonas Baggett
  0 siblings, 0 replies; 3+ messages in thread
From: Jonas Baggett @ 2016-10-11 21:11 UTC (permalink / raw)
  To: ntg-context

Le 10. 10. 16 à 22:29, Wolfgang Schuster a écrit :

> 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.

I have finally used latex with the moderncv package for my CV and I am 
using ConTeXt with the letter module for my cover letters and I am happy 
with this solution. I have made my cover letter template look a lot like 
the cover letter generated by the moderncv latex package.

I saw that you are the creator of the letter module, so I want to thank 
you for the work !

Greetings,
Jonas
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-11 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-06 11:38 Resume module with moderncv interface Jonas Baggett
2016-10-10 20:29 ` Wolfgang Schuster
2016-10-11 21:11   ` Jonas Baggett

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).