ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <gesang@stud.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Ctx: list of commands
Date: Mon, 17 Sep 2012 21:29:56 +0200	[thread overview]
Message-ID: <20120917192956.GA7316@phlegethon> (raw)
In-Reply-To: <op.wkr7960otpjj8f@lpr>


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

···<date: 2012-09-17, Monday>···<from: Procházka Lukáš Ing. - Pontex s. r. o.>···

> Hello,
> 
> 1) is there a Ctx command/switch which would generate list of all current ConTeXt commands? E.g.

Hi Lukáš, if you interpret “current Context commands” as “macros
known to TeX”, you may try dumping the hashtable with these lines:

·······································································
\starttext
  \startluacode
    table.print(tex.hashtokens())
  \stopluacode
\stoptext
·······································································

It’s already sorted, too!

Hth, Philipp




> 
> "
> context --list-of-commands > Cmds.txt
> "
> 
> to produce
> 
> ---- Cmds.txt
> \startCAP
> \stopCAP
> \startCap
> \stopCap
> ...
> \writetoregister
> ----
> 
> 
> 2) The directory "c:\Ctx-Beta\tex\texmf-context\context\data\textpad" is empty (by default?).
> 
> Its content:
> 
>   - is filled when context.exe is launched with a command/switch (if so, which command?), or
> 
>   - is filled when a newer version of ConTeXt is downloaded (if so, which "extras" - like "first-setup.bat --extras=all --modules=all" - should be specified to fill the directory)?
> 
> TIA.
> 
> Best regards,
> 
> Lukas
> 
> 
> -- 
> Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
> Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
> Bezová 1658
> 147 14 Praha 4
> 
> Tel: +420 244 062 238
> Fax: +420 244 461 038
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: 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
___________________________________________________________________________________

  parent reply	other threads:[~2012-09-17 19:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 13:40 Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-17 13:56 ` Marco Patzer
2012-09-17 14:20   ` Sietse Brouwer
2012-09-17 15:11     ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-17 19:29 ` Philipp Gesang [this message]
2012-09-17 22:24   ` Hans Hagen
2012-09-18  9:52     ` output of token.command_name() [was: Ctx: list of commands] Philipp Gesang
2012-09-18 10:25       ` Hans Hagen
2012-09-18  6:44   ` Ctx: list of commands Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-18  7:36     ` Peter Münster
2012-09-18  7:44       ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-18  8:28     ` Hans Hagen
2012-09-18 13:49     ` Rogers, Michael K
2012-09-18 14:00       ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-18 14:59         ` Hans Hagen
2012-09-18 16:44           ` Sietse Brouwer
2012-09-18 17:52             ` Hans Hagen
2012-09-18 14:58       ` Hans Hagen

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=20120917192956.GA7316@phlegethon \
    --to=gesang@stud.uni-heidelberg.de \
    --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).