ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: pol stra <ryzz@hotmail.fr>
To: conteXt mail <ntg-context@ntg.nl>
Subject: Display math characters
Date: Fri, 14 Sep 2012 16:45:02 +0200	[thread overview]
Message-ID: <BAY002-W1218A7141B3892B543DB6BEB1900@phx.gbl> (raw)


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

Hello,

from the wiki (http://wiki.contextgarden.net/Math/basic#List_of_All_Math_macros) I tryed the following snippet:
\usemodule[fnt-25]
\showmathfontcharacters

But context complains that there is no fnt-25 module, so let’s grep showmathfontcharacters in conteXt directory.
I found that it is defined into the mat-10 module. So new snippet:
\usemodule[mat-10]
\showmathfontcharacters

End new error:

ConTeXt  ver: 2012.09.11 20:36 MKIV  fmt: 2012.9.12  int: english/english

system          > cont-new.mkiv loaded
(/opt/context-minimals/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
(mathsymbols.tex
resolvers       > modules > loaded: 'mat-10'
(/opt/context-minimals/texmf-context/tex/context/base/s-mat-10.mkiv))
fonts           > defining > font with asked name 'unknown' is not found using lookup 'file'
fonts           > defining > unknown font unknown, loading aborted
fonts           > defining > unable to define unknown as [thedefinedfont--0]
! LuaTeX error <main ctx instance>:22: attempt to index local 'resources' (a nil value)
stack traceback:
        <main ctx instance>:22: in function 'showmathfont'
        <main ctx instance>:1: in main chunk.

system          > tex > error on line 5 in file /opt/context-minimals/texmf-context/tex/context/base/cont-yes.mkiv: LuaTeX error  ...

 1     %D \module
 2     %D   [       file=cont-yes,
 3     %D        version=2012.06.01,
 4     %D          title=\CONTEXT\ Miscellaneous Macros,
 5 >>  %D       subtitle=Startup Stub,
 6     %D         author=Hans Hagen,
 7     %D           date=\currentdate,
 8     %D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
 9     %C
10     %C This module is part of the \CONTEXT\ macro||package and is
11     %C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12     %C details.
13     
14     % At some point I will reconsider the \starttext .. \stoptext
15     % wraping as we can assume proper styling. It's a left-over from

<argument> ...cument.showmathfont(font.current())}
                                                  
\firstoftwoarguments #1#2->#1
                             
\doshowmathfontcharacters ...wmathfontcharacters }
                                                  \endgroup 
<to be read again> 
                   \finishjob 
l.5 \finishjob
              
}   context.finishjob()
                                                  
...
l.86 \stopluacode


I do not realy care about this list, I was just currious and it did not work so I point it out.
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 5291 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
___________________________________________________________________________________

             reply	other threads:[~2012-09-14 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-14 14:45 pol stra [this message]
2012-09-14 19:52 ` Otared Kavian

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=BAY002-W1218A7141B3892B543DB6BEB1900@phx.gbl \
    --to=ryzz@hotmail.fr \
    --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).