Re: [NTG-context] System fonts not loading
Hi Hans, That did not seems to solve the problem. I'll assume there is a problem elsewhere with my system, unless there is anything else I can try. It is strange, as this worked before when Debian Jessie was still "testing." Thanks, Mica On 04/27, Hans Hagen wrote: On 4/26/2015 11:57 PM, Mica Semrick wrote: Hello, I seem to be having some trouble getting the system fonts to load from my Debian Jessie system. I'm using: mica@box:~/Working$ context -version mtx-context | ConTeXt Process Management 0.61 mtx-context | mtx-context | main context file: /home/mica/.context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2015.04.18 14:41 and OSFONTDIR is set and all the fonts I want to use are in ~/.fonts: mica@box:~/Working$ echo $OSFONTDIR /home/mica/.fonts/ Usually when I run into font problems or add a new font, I run: fc-cache -fv mtxrun --generate context --make This has worked for some time, however now it will not. Consider the following: \definefontfamily [junction] [rm] [Junction Regular] \definefontfamily [junction] [mm] [Latin Modern Math] \setupbodyfont[junction] \starttext \input ward \bf \input ward \tf \input ward \bf \input ward \stoptext which results in a pdf with Latin Modern. mtxrun --script fonts --list --all doesn't seem to be seeing the OS fonts, but sees all of ConTeXt's fonts. However, fc-list : family (which will list all the system fonts known by fc-cache) shows all the fonts as available. mtxrun --script --reload -force normally this is run automatically (in a fast mode) but there can be cases where it needs a full scan esp when fonts are moved. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___ ___ 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 ___
[NTG-context] caption alignment with floats in the margin
Hi, I am trying to place some floats in the margin and noticed that the caption gets centered instead of following my specification to flushleft. If the float is in the main body it is ok. . I have a small example below. I tested with 2015.04.18 14:41. Is there a way to fix the alignment? Thanks, Brian \setuppapersize[letter,portrait][letter,portrait] \setupcaption[figure][location=top,align={flushleft}] \showframe \starttext \setuplayout[backspace=2.75in,leftmargin=2.25in,rightmargin=0.5in,cutspace=0.5in,location=middle,width=middle,margindistance=0.00in] \placefigure[inleft,hanging]{My Title}{\framed[width=2.75in,height=1.0in]{!}} \placefigure[here,hanging]{My Title}{\framed[width=2.75in,height=1.0in]{!}} \placefigure[inright,hanging]{My Title}{\framed[width=2.75in,height=1.0in]{!}} \stoptext ___ 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 ___
[NTG-context] \lfloor, \rfloor, \lceil, \rceil vanish with \big, \Big, \bigg, \Bigg and their left and right variants
Mr Hagen, is it the expected behaviour? \starttext The delimiters are correctly displayed: \startformula \left\lfloor \frac{x}{y}\right\rfloor \stopformula The delimiters vanish: \startformula \Bigl\lfloor \frac{x}{y}\Bigr\rfloor \stopformula \stoptext Maggyero ___ 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 ___
[NTG-context] ConTeXt equivalent of \newmcodes@
> \definemathcommand[xyz][nolop]{\text{fancy-function-name'*.:}} The problem with this solution is that the font of the operator becomes the normal text font whereas I want to use the standard math upright font (so \mfunction + \kern\zeropoint + \newmathcodes is the way to go). For instance with \setupbodyfont[sansserif] the operator name becomes sans serif, which I don't want. I only need to make this code compile: \begingroup \catcode`\"=12 \gdef\newmcodes@{\mathcode`\'39\mathcode`\*42\mathcode`\."613A% \ifnum\mathcode`\-=45 \else \mathchardef\std at minus\mathcode`\-\relax \fi \mathcode`\-45\mathcode`\/47\mathcode`\:"603A\relax} \endgroup \definemathcommand[xyz][nolop]{\newmcodes@ \kern\zeropoint\mfunction{fancy-function-name'*.:}} \starttext \xyz \stoptext How can I do that? The compilation fails at the \ifnum condition. Isn't \ifnum a ConTeXt macro? Maggyero ___ 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 ___
Re: [NTG-context] ConTeXt equivalent of \newmcodes@
On 4/27/2015 9:14 PM, Maggyero wrote: > Does \definemathcommand [xyz] [nolop] {xyz} do what you want? Not really if, instead of xyz, I want a name with hyphens, quotes, stars or colons. Compare the output of \definemathcommand[xyz][nolop]{fancy-function-name'*.:} in ConTeXt with the output of \DeclareMathOperator{\xyz}{fancy-function-name'*.:} in LaTeX. What I can do is \definemathcommand[xyz][nolop]{\kern\zeropoint\mfunction{fancy-function-name'*.:}} which gives the same result as \DeclareMathOperator, except for the hyphens and the star are converted into binary operators and the colon which is preceded by a space, since I didn't use \newmcodes@, that is why I asked how to implement the macro \newmcodes@ in ConTeXt, which is defined in LaTeX as \begingroup \catcode`\"=12 \gdef\newmcodes@{\mathcode`\'39\mathcode`\*42\mathcode`\."613A% \ifnum\mathcode`\-=45 \else \mathchardef\std at minus\mathcode`\-\relax \fi \mathcode`\-45\mathcode`\/47\mathcode`\:"603A\relax} \endgroup so that the following code can compile in ConTeXt: \definemathcommand[xyz][nolop]{\newmcodes@\kern\zeropoint\mfunction{fancy-function-name'*.:}} \definemathcommand[xyz][nolop]{\text{fancy-function-name'*.:}} $\xyz^{\xyz}$ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
[NTG-context] ConTeXt equivalent of \newmcodes@
> Does \definemathcommand [xyz] [nolop] {xyz} do what you want? Not really if, instead of xyz, I want a name with hyphens, quotes, stars or colons. Compare the output of \definemathcommand[xyz][nolop]{fancy-function-name'*.:} in ConTeXt with the output of \DeclareMathOperator{\xyz}{fancy-function-name'*.:} in LaTeX. What I can do is \definemathcommand[xyz][nolop]{\kern\zeropoint\mfunction{fancy-function-name'*.:}} which gives the same result as \DeclareMathOperator, except for the hyphens and the star are converted into binary operators and the colon which is preceded by a space, since I didn't use \newmcodes@, that is why I asked how to implement the macro \newmcodes@ in ConTeXt, which is defined in LaTeX as \begingroup \catcode`\"=12 \gdef\newmcodes@{\mathcode`\'39\mathcode`\*42\mathcode`\."613A% \ifnum\mathcode`\-=45 \else \mathchardef\std at minus\mathcode`\-\relax \fi \mathcode`\-45\mathcode`\/47\mathcode`\:"603A\relax} \endgroup so that the following code can compile in ConTeXt: \definemathcommand[xyz][nolop]{\newmcodes@ \kern\zeropoint\mfunction{fancy-function-name'*.:}} Maggyero ___ 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 ___
Re: [NTG-context] Windows console message from utf-8 source
On 04/27/2015 08:09 PM, Hans Hagen wrote: > On 4/27/2015 6:29 PM, Pablo Rodriguez wrote: >> [...] >> Is there any way to display the content of the \message above as cp850 >> from a utf-8 source? > > choose a font that has the glyphs and run > > chcp 65001 Many thanks for your reply, Hans. I thought chcp didn’t allow utf-8, because Microsoft doesn’t mention it (https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/chcp.mspx). Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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 ___
Re: [NTG-context] Windows console message from utf-8 source
On 4/27/2015 7:48 PM, luigi scarso wrote: On Mon, Apr 27, 2015 at 6:29 PM, Pablo Rodriguez mailto:oi...@gmx.es>> wrote: Dear list, I have the following minimal example: \starttext \message{En español usamos acentuación} \stoptext Saved as utf-8, Linux displays the message fine. (I guess MacOS X would do the same.) The problem is the standard console in Windows. It requires IBM codepage 850 exclusively. (Or at least, I don’t know how to display utf-8 strings.) Is there any way to display the content of the \message above as cp850 from a utf-8 source? Many thanks for your help, What happen when you use Lucida Console as font ? https://code.google.com/p/conemu-maximus5/wiki/CheckUnicode - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] Windows console message from utf-8 source
On 4/27/2015 6:29 PM, Pablo Rodriguez wrote: Dear list, I have the following minimal example: \starttext \message{En español usamos acentuación} \stoptext Saved as utf-8, Linux displays the message fine. (I guess MacOS X would do the same.) The problem is the standard console in Windows. It requires IBM codepage 850 exclusively. (Or at least, I don’t know how to display utf-8 strings.) Is there any way to display the content of the \message above as cp850 from a utf-8 source? choose a font that has the glyphs and run chcp 65001 - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] Windows console message from utf-8 source
On 04/27/2015 07:48 PM, luigi scarso wrote: > On Mon, Apr 27, 2015 at 6:29 PM, Pablo Rodriguez wrote: > [...] > Is there any way to display the content of the \message above as cp850 > from a utf-8 source? > > What happen when you use Lucida Console as font ? Many thanks for your help, Luigi. As far as I remember, I use Lucida Console as font? (I will have to check it tomorrow.) Pablo -- http://www.ousia.tk ___ 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 ___
Re: [NTG-context] Windows console message from utf-8 source
On Mon, Apr 27, 2015 at 6:29 PM, Pablo Rodriguez wrote: > Dear list, > > I have the following minimal example: > > \starttext > \message{En español usamos acentuación} > \stoptext > > Saved as utf-8, Linux displays the message fine. (I guess MacOS X would > do the same.) > > The problem is the standard console in Windows. It requires IBM codepage > 850 exclusively. (Or at least, I don’t know how to display utf-8 strings.) > > Is there any way to display the content of the \message above as cp850 > from a utf-8 source? > > Many thanks for your help, > > What happen when you use Lucida Console as font ? -- luigi ___ 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 ___
[NTG-context] Windows console message from utf-8 source
Dear list, I have the following minimal example: \starttext \message{En español usamos acentuación} \stoptext Saved as utf-8, Linux displays the message fine. (I guess MacOS X would do the same.) The problem is the standard console in Windows. It requires IBM codepage 850 exclusively. (Or at least, I don’t know how to display utf-8 strings.) Is there any way to display the content of the \message above as cp850 from a utf-8 source? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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 ___
Re: [NTG-context] Obtaining "font-related binaries"
On 4/27/2015 3:53 PM, david.boerschl...@juno.com wrote: How do I obtain the "font-related binaries" mentioned on http://wiki.contextgarden.net/ConTeXt_Standalone/Contents ??? by installing tex live (they are not needed for mkiv) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] Obtaining "font-related binaries"
> Am 27.04.2015 um 15:53 schrieb david.boerschl...@juno.com: > > > How do I obtain the "font-related binaries" mentioned on > http://wiki.contextgarden.net/ConTeXt_Standalone/Contents ??? They come with the normal installation of the context suite but you don’t need them when you want to use a font with MkIV because truetype and opentype font work out of the box. 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 ___
Re: [NTG-context] ConTeXt equivalent of \newmcodes@
On Mon, 27 Apr 2015, Maggyero wrote: do you have an example of usage Yes, I am trying to create the command \operatorname in ConTeXt. I know that in LaTeX \operatorname{xyz} is equivalent to \mathop{\newmcodes@\kern\z@\operator@font xyz}\csname nolimits@\endcsname} I also know that there is the ConTeXt command \definemathcommand[nolop]{xyz} which I thought stands as an equivalent to the \operatorname wrapper \DeclareMathOperator, but apparently not since it doe not use the 3 commands 1. \newmcodes@ 2. \kern\z@ 3. \operator@font in it, so I wonder the point of such a wrapper since all it seems it does is translates to Does \definemathcommand [xyz] [nolop] {xyz} do what you want? Aditya ___ 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 ___
[NTG-context] Obtaining "font-related binaries"
How do I obtain the "font-related binaries" mentioned on http://wiki.contextgarden.net/ConTeXt_Standalone/Contents ??? David Boerschlein (214) 412-3275 home office land (585) 278-4687 cell www.linkedin.com/in/davidboerschlein Old School Yearbook Pics View Class Yearbooks Online Free. Search by School & Year. Look Now! http://thirdpartyoffers.juno.com/TGL3141/553e3f7fcb333f7e2005st01duc ___ 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 ___
Re: [NTG-context] Changing coversion of formulas
On Mon, 27 Apr 2015, Aditya Mahajan wrote: On Mon, 27 Apr 2015, Wolfgang Schuster wrote: Am 27.04.2015 um 15:23 schrieb Aditya Mahajan : On Mon, 27 Apr 2015, Hans Hagen wrote: On 4/27/2015 11:24 AM, Aditya Mahajan wrote: Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. \setupcounter[formula][numberconversion=set 1] Using `characters` as numberconversion works, but `set 1` does not. Your original example with \setupformulas[numberconversion=set 1] works for me. Thanks. I am using the beta from 2015.04.03. I'll update and test again. Indeed, both versions work with the latest beta. Sorry about the noise. Aditya ___ 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 ___
Re: [NTG-context] Changing coversion of formulas
On Mon, 27 Apr 2015, Wolfgang Schuster wrote: Am 27.04.2015 um 15:23 schrieb Aditya Mahajan : On Mon, 27 Apr 2015, Hans Hagen wrote: On 4/27/2015 11:24 AM, Aditya Mahajan wrote: Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. \setupcounter[formula][numberconversion=set 1] Using `characters` as numberconversion works, but `set 1` does not. Your original example with \setupformulas[numberconversion=set 1] works for me. Thanks. I am using the beta from 2015.04.03. I'll update and test again. Aditya ___ 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 ___
Re: [NTG-context] Changing coversion of formulas
> Am 27.04.2015 um 15:23 schrieb Aditya Mahajan : > > On Mon, 27 Apr 2015, Hans Hagen wrote: > >> On 4/27/2015 11:24 AM, Aditya Mahajan wrote: >>> Hi, >>> >>> How does one change the numberconversion for math formulas? The old method: >>> >>> \setupformulas[numberconversion=set 1] >>> \starttext >>> \placeformula >>> \startformula >>> E = mc^2 >>> \stopformula >>> \stoptext >>> >>> does not appear to work. >> >> \setupcounter[formula][numberconversion=set 1] > > Using `characters` as numberconversion works, but `set 1` does not. Your original example with \setupformulas[numberconversion=set 1] works for me. 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 ___
Re: [NTG-context] Changing coversion of formulas
On Mon, 27 Apr 2015, Hans Hagen wrote: On 4/27/2015 11:24 AM, Aditya Mahajan wrote: Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. \setupcounter[formula][numberconversion=set 1] Using `characters` as numberconversion works, but `set 1` does not. Aditya ___ 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 ___
[NTG-context] ConTeXt equivalent of \newmcodes@
> do you have an example of usage Yes, I am trying to create the command \operatorname in ConTeXt. I know that in LaTeX \operatorname{xyz} is equivalent to \mathop{\newmcodes@\kern\z@\operator@font xyz}\csname nolimits@\endcsname} according to the AMSopn package ( http://www.bakoma-tex.com/doc/latex/amsmath/amsopn.pdf), and I am trying to translates that in ConTeXt: \mathop{\newmcodes@\kern\zeropoint\mfunction{xyz}}\nolimits but \newmcodes@ produces an error. In LaTeX, \newmcodes@ is defined as \begingroup \catcode`\"=12 \gdef\newmcodes@{\mathcode`\'39\mathcode`\*42\mathcode`\."613A% \ifnum\mathcode`\-=45 \else \mathchardef\std@minus\mathcode`\-\relax \fi \mathcode`\-45\mathcode`\/47\mathcode`\:"603A\relax} \endgroup according to the AMSopn package, so I have copied the code in my document (I only removed the @ so that I don't have to convert its catcode) but the if condition gives an error (however it compiles fine without the if condition). I also know that there is the ConTeXt command \definemathcommand[nolop]{xyz} which I thought stands as an equivalent to the \operatorname wrapper \DeclareMathOperator, but apparently not since it doe not use the 3 commands 1. \newmcodes@ 2. \kern\z@ 3. \operator@font in it, so I wonder the point of such a wrapper since all it seems it does is translates to \mathop{xyz}\nolimits To sum up, I would like to have a \DeclareMathOperator in ConTeXt, so here are my 2 questions: 1. What is the ConTeXt equivalent of \newmcodes@? 2. What is the point of \definemathcommand? Maggyero ___ 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 ___
Re: [NTG-context] Changing coversion of formulas
On 4/27/2015 11:24 AM, Aditya Mahajan wrote: Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. \setupcounter[formula][numberconversion=set 1] - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
[NTG-context] Changing coversion of formulas
Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. Thanks, Aditya ___ 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 ___
Re: [NTG-context] System fonts not loading
On 4/26/2015 11:57 PM, Mica Semrick wrote: Hello, I seem to be having some trouble getting the system fonts to load from my Debian Jessie system. I'm using: mica@box:~/Working$ context -version mtx-context | ConTeXt Process Management 0.61 mtx-context | mtx-context | main context file: /home/mica/.context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2015.04.18 14:41 and OSFONTDIR is set and all the fonts I want to use are in ~/.fonts: mica@box:~/Working$ echo $OSFONTDIR /home/mica/.fonts/ Usually when I run into font problems or add a new font, I run: fc-cache -fv mtxrun --generate context --make This has worked for some time, however now it will not. Consider the following: \definefontfamily [junction] [rm] [Junction Regular] \definefontfamily [junction] [mm] [Latin Modern Math] \setupbodyfont[junction] \starttext \input ward \bf \input ward \tf \input ward \bf \input ward \stoptext which results in a pdf with Latin Modern. mtxrun --script fonts --list --all doesn't seem to be seeing the OS fonts, but sees all of ConTeXt's fonts. However, fc-list : family (which will list all the system fonts known by fc-cache) shows all the fonts as available. mtxrun --script --reload -force normally this is run automatically (in a fast mode) but there can be cases where it needs a full scan esp when fonts are moved. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] ConTeXt equivalent of \newmcodes@
On 4/27/2015 12:13 AM, Maggyero wrote: Dear list members, What is the ConTeXt equivalent of the LaTeX function \newmcodes@ defined in the AMSopn package (this function is used inside \DeclareMathOperator and \operatorname and has the effect of resetting text-mode punctuation characters such as *, -, /, :, and ’ in operator names)? do you have an example of usage - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___