[NTG-context] Wiki - question about Command/ pages which start with a space character
Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : - https://wiki.contextgarden.net/Command/startbuffer - https://wiki.contextgarden.net/Command/_startbuffer If it is on purpose: - What is the purpose, and which page should contain which documentation? If it is not: - Is there a way to automatically merge the content of the couple of pages, and to remove the "wrong" pages, or should it be done manually ? Thanks for your help. List : Command/ attachment Command/ background Command/ bar Command/ beginblock Command/ button Command/ characterkerning Command/ comment Command/ completecombinedlist Command/ completelistoffloats Command/ completelistofsorts Command/ completelistofsynonyms Command/ completeregister Command/ copylabeltext Command/ ctxfunction Command/ ctxfunctiondefinition Command/ currentlabel Command/ delimitedtext Command/ description Command/ enumeration Command/ fence Command/ fraction Command/ framed Command/ framedtext Command/ getbuffer Command/ hbox Command/ help Command/ high Command/ highlight Command/ label Command/ labellanguage Command/ labeltext Command/ labeltexts Command/ language Command/ leftlabeltext Command/ linenote Command/ low Command/ lowhigh Command/ lowmidhigh Command/ margindata Command/ mathcommand Command/ mathdoubleextensible Command/ mathextensible Command/ mathframed Command/ mathmatrix Command/ mathornament Command/ mathoverextensible Command/ mathovertextextensible Command/ mathradical Command/ mathtriplet Command/ mathunderextensible Command/ mathundertextextensible Command/ mathunstacked Command/ nextparagraphs Command/ note Command/ ornament Command/ paragraphs Command/ placecombinedlist Command/ placefloat Command/ placelistoffloats Command/ placelistofsorts Command/ placelistofsynonyms Command/ placement Command/ placepairedbox Command/ placeregister Command/ presetlabeltext Command/ referenceformat Command/ register Command/ rightlabeltext Command/ script Command/ section Command/ seeregister Command/ setupcombinedlist Command/ setupitemgroup Command/ setuplabeltext Command/ setuppairedbox Command/ setupregister Command/ shift Command/ sorting Command/ startattachment Command/ startbackground Command/ startbuffer Command/ startcolumnset Command/ startcomment Command/ startdelimitedtext Command/ startdescription Command/ starteffect Command/ startenumeration Command/ startfittingpage Command/ startfloattext Command/ startformula Command/ startframedtext Command/ starthelp Command/ startindentedtext Command/ startitemgroup Command/ startlabeltext Command/ startlinenote Command/ startlines Command/ startmakeup Command/ startmathalignment Command/ startmathcases Command/ startmathmatrix Command/ startmixedcolumns Command/ startnarrower Command/ startnote Command/ startpagecolumns Command/ startparagraphs Command/ startparallel Command/ startplacefloat Command/ startplacepairedbox Command/ startsection Command/ startsectionblock Command/ startstartstop Command/ startstop Command/ startstyle Command/ starttabulate Command/ starttextbackground Command/ starttyping Command/ startviewerlayer Command/ startxtable Command/ stoplinenote Command/ style Command/ synonym Command/ textbackground Command/ textnote Command/ tooltip Command/ type Command/ typebuffer Command/ unit ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
Re: [NTG-context] Character alignment in math mode
On 6/25/2014 12:29 AM, Wolfgang Schuster wrote: Am 24.06.2014 um 21:46 schrieb Maggyero maggy...@gmail.com: why use math here? It was to avoid oldstyle figures that I use by default. But finally it's better to use oldstyle figures even in tables. You can enable lining (and tabular) figures in the table when you don’t want oldstyle figures. Another question about fonts. Is there a way to define a conditional mathcommand based on the current alternative style? For instance, in the following example I would like to keep the bold effect but with adaptation to the local alternative style (in text mode, when the local alternative style is \tf I would like the mathcommand to be \bf, when it is \it I would like \bi, when it is \bf I would like \bf and when it is \bi I would like still \bi): You can access the current font alternative with the \fontalternative command (below is a old example I wrote a few months ago). \def\Test {\processaction [\fontalternative] [ tf=Upright, it=Italic, sl=Slanted, bf=Bold, bi=Bolditalic, bs=Boldslanted, unknown=Unknown fontalternative]} \starttext “\Test” {\it “\Test”} {\bs “\Test”} {\sc “\Test”} \stoptext \let\Test\fontstylesuffix a bit different output - 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] Character alignment in math mode
why use math here? It was to avoid oldstyle figures that I use by default. But finally it's better to use oldstyle figures even in tables. Another question about fonts. Is there a way to define a conditional mathcommand based on the current alternative style? For instance, in the following example I would like to keep the bold effect but with adaptation to the local alternative style (in text mode, when the local alternative style is \tf I would like the mathcommand to be \bf, when it is \it I would like \bi, when it is \bf I would like \bf and when it is \bi I would like still \bi): \starttext \definemathcommand[cool]{{\bfmath cool}} text mode normal: \cool\crlf text mode italic: {\it \cool}\crlf text mode bold: {\bf \cool}\crlf text mode bolditalic: {\bi \cool}\crlf \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 ___
Re: [NTG-context] Character alignment in math mode
Am 24.06.2014 um 21:46 schrieb Maggyero maggy...@gmail.com: why use math here? It was to avoid oldstyle figures that I use by default. But finally it's better to use oldstyle figures even in tables. You can enable lining (and tabular) figures in the table when you don’t want oldstyle figures. Another question about fonts. Is there a way to define a conditional mathcommand based on the current alternative style? For instance, in the following example I would like to keep the bold effect but with adaptation to the local alternative style (in text mode, when the local alternative style is \tf I would like the mathcommand to be \bf, when it is \it I would like \bi, when it is \bf I would like \bf and when it is \bi I would like still \bi): You can access the current font alternative with the \fontalternative command (below is a old example I wrote a few months ago). \def\Test {\processaction [\fontalternative] [ tf=Upright, it=Italic, sl=Slanted, bf=Bold, bi=Bolditalic, bs=Boldslanted, unknown=Unknown fontalternative]} \starttext “\Test” {\it “\Test”} {\bs “\Test”} {\sc “\Test”} \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 ___
Re: [NTG-context] Obscure math/color bug (namespace clash)
On 2/19/2014 9:53 AM, Alan BRASLAU wrote: Hello, I came across the following obscure math/color namespace clash: \definecolor [tan] [h=d2b48c] % Taken from \setupcolor [x11] \starttext $\tan θ$ \stoptext One solution would be to give precedence in math mode to the standard mathematical tokens (here \tan). Another solution would be simply to avoid the use of tan (as a color). In colo-imp-x11.mkiv it could be renamed tan0 (there is already tan1, tan2, tan3). This is somewhat unfortunate as tan is a standard X11 color name. On the other hand, one would like to be able to use colors in math mode as well... So I propose the following patch: 121c121 \definecolor [tan0] [h=d2b48c] % ! namespace clash with $\tan$ --- \definecolor [tan] [h=d2b48c] \definecolor [tan] [h=d2b48c] % Taken from \setupcolor [x11] \starttext $\mathcommand{tan} θ$ \let\tan\relax \color[tan]{Alan} \stoptext - 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] mathcommand / mfunction now italic
Hi, did something change in consideration of mathcommand/mfunction? I get italic operators instead of the usual (I suppose) upright typesetting. Thanks! Cheers Andreas minimal example \definemathcommand[diag][nolop]{\mfunction{diag}} \starttext $\diag(1,\ldots,1)$ % diag is italic, but should be upright \stoptext minimal example ConTeXt ver: 2013.01.24 10:07 MKIV fmt: 2013.1.24 ___ 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] mathcommand / mfunction now italic
On 1/24/2013 2:33 PM, Andreas Mang wrote: Hi, did something change in consideration of mathcommand/mfunction? I get italic operators instead of the usual (I suppose) upright typesetting. When working on a a chapter in an upcoming font manual I found out that \mr (regular) was not consistent with \mb so I changed that. As a consequence \en should use \mathupright instead of \mr to assure upright because it makes sense to let \mr and \mr reset the state to math italic symbols. It's fixed in the next beta. Btw, \mb has been around for a while but I made it a bit more robust. When no real [complete] bold font is present (and there are not many) a fallback mechanism kicked in but I found out that we also have incomplete bold fonts so I've an extra fallback mechanisms for that. So, we have several axis: regular and bold as well as l2r and r2l as well as styles. Only XITS has a bit of all. Hans Ps. There are some more (new) things but that's for later. - 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 ___