From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26278 Path: news.gmane.org!not-for-mail From: WN Newsgroups: gmane.comp.tex.context Subject: New math collection ? Date: Wed, 08 Mar 2006 14:50:10 +0100 Message-ID: <440EE112.1010702@cs.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020209080508090303010500" X-Trace: sea.gmane.org 1141825958 21082 80.91.229.2 (8 Mar 2006 13:52:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Mar 2006 13:52:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 08 14:52:25 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FGz55-0007v5-58 for gctc-ntg-context-518@m.gmane.org; Wed, 08 Mar 2006 14:51:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9FF281279E; Wed, 8 Mar 2006 14:51:58 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05347-03; Wed, 8 Mar 2006 14:51:53 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D428C12793; Wed, 8 Mar 2006 14:51:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 16BE912793 for ; Wed, 8 Mar 2006 14:51:51 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04186-02 for ; Wed, 8 Mar 2006 14:51:49 +0100 (CET) Original-Received: from imo-m27.mx.aol.com (imo-m27.mx.aol.com [64.12.137.8]) by ronja.ntg.nl (Postfix) with SMTP id EBFFA12778 for ; Wed, 8 Mar 2006 14:51:48 +0100 (CET) Original-Received: from Wneimeijer01@cs.com by imo-m27.mx.aol.com (mail_out_v38_r7.3.) id a.221.94374a2 (16097) for ; Wed, 8 Mar 2006 08:51:40 -0500 (EST) Original-Received: from [192.168.1.34] (3e331ada.dslaccess.aol.com [62.51.26.218]) by air-id11.mx.aol.com (vx) with ESMTP id MAILINID111-3ee1440ee1621da; Wed, 08 Mar 2006 08:51:38 -0500 User-Agent: Thunderbird 1.5 (X11/20051201) Original-To: ntg-context@ntg.nl X-AOL-IP: 62.51.26.218 X-Mailer: Unknown (No Version) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26278 Archived-At: --------------020209080508090303010500 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I defined some extra math symbols based on the help of David Munger. David posted a question 2 years ago, asking the group how to define extra math symbols. He found a solution himself (see below) and what I am trying to do is to put this into a math collection like math-eul.tex but I am not successfull. I used his solution to define a module math-extra.tex based on math-eul.tex but I am getting errors like ! \textfont 14 is undefined (character). \stopdisplaymath ->\stopinnermath $$ \ifgridsnapping \egroup \afterdisplayspa... \dostopformula ...eter \c!alternative \v!formula } \resetlastlinewidth \nonoi... l.18 \stopformula I don't know what I am doing wrong, hope someone can help me Attached my test files. Kind regards W. Neimeijer David's solution %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \definebodyfont [28pt,24pt,18pt, 17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [ ex=txex sa 1, mc=txexa sa 1, mrbf=cmbx10 sa 1, exbf=cmex10 sa 1, mibf=cmmib10 sa 1, sybf=cmbsy10 sa 1, mabf=msam10 sa 1] \setupbodyfont [12pt] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % txfonts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \definemathsymbol [oiint] [op] [mc] ["08] [mc] ["09] \definemathsymbol [oiiint] [op] [mc] ["29] [mc] ["2a] \definemathsymbol [ointctrclockwise] [op] [mc] ["0A] [mc] ["0B] \definemathsymbol [ointclockwise] [op] [mc] ["0C] [mc] ["0D] \definemathsymbol [varointctrclockwise] [op] [mc] ["2B] [mc] ["2C] \definemathsymbol [varointclockwise] [op] [mc] ["2D] [mc] ["2E] \definemathsymbol [iint] [op] [mc] ["21] [mc] ["22] \definemathsymbol [iiint] [op] [mc] ["23] [mc] ["24] \definemathsymbol [iiiint] [op] [mc] ["25] [mc] ["26] \definemathsymbol [idotsint] [op] [mc] ["27] [mc] ["28] \definemathsymbol [oiintctrclockwise] [op] [mc] ["40] [mc] ["41] \definemathsymbol [oiintclockwise] [op] [mc] ["48] [mc] ["49] \definemathsymbol [varoiintctrclockwise][op] [mc] ["4A] [mc] ["4B] \definemathsymbol [varoiintclockwise] [op] [mc] ["42] [mc] ["43] \definemathsymbol [oiiintctrclockwise] [op] [mc] ["44] [mc] ["45] \definemathsymbol [oiiintclockwise] [op] [mc] ["4C] [mc] ["4D] \definemathsymbol [varoiiintctrclockwise][op] [mc] ["4E] [mc] ["4F] \definemathsymbol [varoiiintclockwise] [op] [mc] ["46] [mc] ["47] \starttext The integral equation \startformula \frac{d}{dt} \iiint_{\Omega} f \,dV = \iiint_{\Omega} Q \,dV - \oiint_{\partial\Omega} \vec J \cdot \vec{da} \stopformula can be written under the differential form \startformula \frac{\partial f}{\partial t} = Q - \vec\nabla\cdot\vec J. \stopformula \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --------------020209080508090303010500 Content-Type: text/x-tex; name="csymbols.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="csymbols.tex" \usemodule[math-extra] \def\X#1{$#1$ \space {\rm{\string#1}}} \def\Y#1{$#1$ \space \rm{\string#1}} \usetypescript[wim] \enablemathcollection[wim] \usemathcollection[wim] \usemathcollection[ams] %\usetypescript[wim] %\switchtobodyfont[wim] \starttext \startformula \oiint , \oiiint, \ointctrclockwise, \ointclockwise, \varointctrclockwise \stopformula \stoptext \placetable{Binary Operators} \starttable[|l|l|l|l|] \NC \X\amalg \NC \X\cup \NC \X\oplus \NC \X\times \NC\NR \NC \X\ast \NC \X\dagger \NC \X\oslash \NC \X\triangleleft \NC\NR \NC \X\bigcirc \NC \X\ddagger \NC \X\otimes \NC \X\triangleright \NC\NR \NC \X\bigtriangledown \NC \X\diamond \NC \X\pm \NC \X\unlhd \NC\NR \NC \X\bigtriangleup \NC \X\div \NC \X\rhd \NC \X\unrhd \NC\NR \NC \X\bullet \NC \X\lhd \NC \X\setminus \NC \X\uplus \NC\NR \NC \X\cap \NC \X\mp \NC \X\sqcap \NC \X\vee \NC\NR \NC \X\cdot \NC \X\odot \NC \X\sqcup \NC \X\wedge \NC\NR \NC \X\circ \NC \X\ominus \NC \X\star \NC \X\wr \NC\NR \stoptable \blank \placetable{AMS Binary Operators} \starttable[|l|l|l|] \NC \X\barwedge \NC \X\circledcirc \NC \X\intercal \NC\NR \NC \X\boxdot \NC \X\circleddash \NC \X\leftthreetimes \NC\NR \NC \X\boxminus \NC \X\Cup \NC \X\ltimes \NC\NR \NC \X\boxplus \NC \X\curlyvee \NC \X\rightthreetimes \NC\NR \NC \X\boxtimes \NC \X\curlywedge \NC \X\rtimes \NC\NR \NC \X\Cap \NC \X\divideontimes \NC \X\smallsetminus \NC\NR \NC \X\centerdot \NC \X\dotplus \NC \X\veebar \NC\NR \NC \X\circledast \NC \X\doublebarwedge \NC \NC\NR \stoptable \blank \placetable{AMS Negated Binary Operators} \starttable[|l|l|l|] \NC \X\ncong \NC \X\nshortparallel \NC \X\nVDash \NC\NR \NC \X\nmid \NC \X\nsim \NC \X\precnapprox \NC\NR \NC \X\nparallel \NC \X\nsucc \NC \X\precnsim \NC\NR \NC \X\nprec \NC \X\nsucceq \NC \X\succnapprox \NC\NR \NC \X\npreceq \NC \X\nvDash \NC \X\succnsim \NC\NR \NC \X\nshortmid \NC \X\nvdash \NC \NC\NR \stoptable \showfont[stmary10] \showfont[wasy10] \placetable{Wasysym Binary Operators} \starttable[|l|l|l|l|] \NC \X\lhd \NC \X\ocircle \NC \X\RHD \NC \X\unrhd \NC\NR \NC \X\LHD \NC \X\rhd \NC \X\unlhd \NC \NC\NR \stoptable \placetable{{\tt stmaryrd} Binary Operators} \starttable[|l|l|l|] \NC \Y\baro \NC \Y\interleave \NC \Y\varoast \NC\NR \NC \Y\bbslash \NC \Y\leftslice \NC \Y\varobar \NC\NR \NC \Y\binampersand \NC \Y\merge \NC \Y\varobslash \NC\NR \NC\Y\bindnasrepma \NC \Y\minuso \NC \Y\varocircle \NC\NR \NC\Y\boxast \NC \Y\moo \NC \Y\varodot \NC\NR \NC\Y\boxbar \NC \Y\nplus \NC \Y\varogreaterthan \NC\NR \NC\Y\boxbox \NC \Y\obar \NC \Y\varolessthan \NC\NR \NC\Y\boxbslash \NC \Y\oblong \NC \Y\varominus \NC\NR \NC\Y\boxcircle \NC \Y\obslash \NC \Y\varoplus \NC\NR \NC\Y\boxdot \NC \Y\ogreaterthan \NC \Y\varoslash \NC\NR \NC\Y\boxempty \NC \Y\olessthan \NC \Y\varotimes \NC\NR \NC\Y\boxslash \NC \Y\ovee \NC \Y\varovee \NC\NR \NC\Y\curlyveedownarrow \NC \Y\owedge \NC \Y\varowedge \NC\NR \NC\Y\curlyveeuparrow \NC \Y\rightslice \NC \Y\vartimes \NC\NR \NC\Y\curlywedgedownarrow \NC \Y\sslash \NC \Y\Ydown \NC\NR \NC\Y\curlywedgeuparrow \NC \Y\talloblong \NC \Y\Yleft \NC\NR \NC\Y\fatbslash \NC \Y\varbigcirc \NC \Y\Yright \NC\NR \NC\Y\fatsemi \NC \Y\varcurlyvee \NC \Y\Yup \NC\NR \NC\Y\fatslash \NC \Y\varcurlywedge \NC \NC\NR \stoptable \stoptext --------------020209080508090303010500 Content-Type: text/x-tex; name="math-extra.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="math-extra.tex" %D \module %D [ file=math-extra, %D version=2006.03.06, %D title=Extra Math Macros, %D subtitle=Extra Math Symbols, %D author={Wim Neimeijer}, %D date=\currentdate, %D copyright=none] %C \unprotect \loadmapfile[original-youngryu-tx.map] \starttypescript [math] [wim] [size] \definebodyfont [28pt,24pt,18pt, 17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [ ex=txex sa 1, mc=txexa sa 1, mrbf=cmbx10 sa 1, exbf=cmex10 sa 1, mibf=cmmib10 sa 1, sybf=cmbsy10 sa 1, mabf=msam10 sa 1] \stoptypescript \setupbodyfont [12pt] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % txfonts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \startmathcollection [wim] \definemathsymbol [oiint] [op] [mc] ["08] [mc] ["09] \definemathsymbol [oiiint] [op] [mc] ["29] [mc] ["2a] \definemathsymbol [ointctrclockwise] [op] [mc] ["0A] [mc] ["0B] \definemathsymbol [ointclockwise] [op] [mc] ["0C] [mc] ["0D] \definemathsymbol [varointctrclockwise] [op] [mc] ["2B] [mc] ["2C] \definemathsymbol [varointclockwise] [op] [mc] ["2D] [mc] ["2E] \definemathsymbol [iint] [op] [mc] ["21] [mc] ["22] \definemathsymbol [iiint] [op] [mc] ["23] [mc] ["24] \definemathsymbol [iiiint] [op] [mc] ["25] [mc] ["26] \definemathsymbol [idotsint] [op] [mc] ["27] [mc] ["28] \definemathsymbol [oiintctrclockwise] [op] [mc] ["40] [mc] ["41] \definemathsymbol [oiintclockwise] [op] [mc] ["48] [mc] ["49] \definemathsymbol [varoiintctrclockwise][op] [mc] ["4A] [mc] ["4B] \definemathsymbol [varoiintclockwise] [op] [mc] ["42] [mc] ["43] \definemathsymbol [oiiintctrclockwise] [op] [mc] ["44] [mc] ["45] \definemathsymbol [oiiintclockwise] [op] [mc] ["4C] [mc] ["4D] \definemathsymbol [varoiiintctrclockwise][op] [mc] ["4E] [mc] ["4F] \definemathsymbol [varoiiintclockwise] [op] [mc] ["46] [mc] ["47] \stopmathcollection \protect \endinput --------------020209080508090303010500 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------020209080508090303010500--