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: \showsetup not working?
Date: Wed, 3 Jul 2013 22:28:23 +0200	[thread overview]
Message-ID: <76DA6689-FDB8-4246-A113-6BB6BEE1C6DE@gmail.com> (raw)
In-Reply-To: <51D466AD.6080108@web.de>


Am 03.07.2013 um 20:00 schrieb Pablo Rodríguez <oinos@web.de>:

> Dear list,
> 
> I think I have used once or twice in the past, but has \showsetup been
> deprecated?
> 
> When I try to compile:
> 
>  \starttext
>  \showsetup{language}
>  \stoptext
> 
> I get:
> 
>  ! Undefined control sequence.
> 
> Is there a replacement for \showsetup.
> 
> Many thanks for your help,

1. You have to load the “int-load” module.

2. You have to load the definitions for the core commands.

3. Even though you can use \showsetup{…} it’s better to use \showsetup[…] because braces are for commands which expect text but you pass only a keyword to the command.

\usemodule[int-load]

\loadsetups[cont-en.xml]

\starttext
\showsetup[language]
\stoptext

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:[~2013-07-03 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 18:00 Pablo Rodríguez
2013-07-03 20:28 ` Wolfgang Schuster [this message]
2013-07-03 21:10   ` Pablo Rodríguez
2013-07-03 21:21     ` Wolfgang Schuster

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=76DA6689-FDB8-4246-A113-6BB6BEE1C6DE@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).