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: issue with module name "resume"
Date: Mon, 23 Jul 2012 18:50:34 +0200	[thread overview]
Message-ID: <B70364E8-3CA1-41A7-BD8D-806744F3D56B@gmail.com> (raw)
In-Reply-To: <500CD68A.2030000@yahoo.com>


Am 23.07.2012 um 06:43 schrieb Martin:

> (apologies if this is sent twice, problem with mail)
> 
> I am trying out the resume module mentioned on http://wiki.contextgarden.net/Curriculum_Vitae
> 
> I saved the given code into a file "p-resume.tex" within the minimals folder (updated 20.7.2012), ran:
> 
> context --generate
> 
> When using it I consistently get told "module not found". If I rename it to eg. p-lebenslauf.tex, using \usemodule[lebenslauf] works as expected. I have created other modules in the same folder without problems. There is not other file with the (partial) name "resume" in the minimals folder.
> 
> Is the word "resume" reserved? What is happening?

Yes, the name “resume” is a reserved module name.

You can take a look into cont-fil.mkiv you can font the following three lines:

\definefilesynonym [letter]          [cor-01]
\definefilesynonym [memo]            [cor-02]
\definefilesynonym [resume]          [cor-03]

With the \definefilesynonym you define a different name for a module. When
you now load a module with the name from the first argument (e.g. letter)
context looks if a file with the name from the second argument (e.g. s-cor-01.mkvi)
does exist it loads this file otherwise you get a error message.

Wolfgang

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


      reply	other threads:[~2012-07-23 16:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23  4:43 Martin
2012-07-23 16:50 ` Wolfgang Schuster [this message]

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=B70364E8-3CA1-41A7-BD8D-806744F3D56B@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).