### Re: [NTG-context] Nabla operator appears italic in formula

On 3/23/2013 9:34 PM, Xenia wrote: Dear context list, using the nabla symbol ∇ in formulas, I wondered why it looks italic and not upright as for example in [1]. I attach an example. Because that's how it's defined in math italics ... is nabla always supposed to be upright in standard math italic mode? (I'll change the \nable definition to \unexpanded\def\nabla{∇}.) 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] Nabla operator appears italic in formula

On 24 mars 2013, at 11:24, Hans Hagen pra...@wxs.nl wrote: On 3/23/2013 9:34 PM, Xenia wrote: Dear context list, using the nabla symbol ∇ in formulas, I wondered why it looks italic and not upright as for example in [1]. I attach an example. Because that's how it's defined in math italics ... is nabla always supposed to be upright in standard math italic mode? (I'll change the \nable definition to \unexpanded\def\nabla{∇}.) Hans Hi, \nabla should be italic if all other math greek symbols, like \Omega, \Gamma, \sum, ect are set in italic. Otherwise \nabla and all such symbols should be upright. Would it be possible to make this optional in math italics, something like \setupmathematics[mathsymbols=italic] or \setupmathematics[mathsymbols=upright] Maybe this should be set when one chooses the greek letters to be italic or upright in mathematics. Best regards: OK ___ 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] A thinner hrule for headers

Hello everyone, I'd like to know if it is possible to get a thinner hrule in headers (mkiv). Right now I am using \setupheader[after=\hrule] replacing hrule with thinrule or hairline results in space below the header text and the line, and the line actually spans two lines. How can I control the thickness of the line, I remember having read something about using frames, but I can't find the post anymore. Thanks in advance, and regards, Thomas ___ 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] Nabla operator appears italic in formula

On 3/24/2013 12:23 PM, Otared Kavian wrote: On 24 mars 2013, at 11:24, Hans Hagen pra...@wxs.nl wrote: On 3/23/2013 9:34 PM, Xenia wrote: Dear context list, using the nabla symbol ∇ in formulas, I wondered why it looks italic and not upright as for example in [1]. I attach an example. Because that's how it's defined in math italics ... is nabla always supposed to be upright in standard math italic mode? (I'll change the \nable definition to \unexpanded\def\nabla{∇}.) Hans Hi, \nabla should be italic if all other math greek symbols, like \Omega, \Gamma, \sum, ect are set in italic. Otherwise \nabla and all such symbols should be upright. Would it be possible to make this optional in math italics, something like \setupmathematics[mathsymbols=italic] or \setupmathematics[mathsymbols=upright] Maybe this should be set when one chooses the greek letters to be italic or upright in mathematics. That is already there \setupmathematics [lcgreek=italic, ucgreek=normal] (normal, italic, none) I've added sygreek so that one can also influence the nable and differential (default normal). I tested with: \starttext \startTEXpage \startlines \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0} \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0} \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0} \type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0} \type{tf}: \mathematics{\tf \nabla \phi = ∇ ϕ = 0} \blank \type{--}: \mathematics{\mathgreekupright \nabla \phi = ∇ ϕ = 0} \type{it}: \mathematics{\it \mathgreekupright \nabla \phi = ∇ ϕ = 0} \type{bf}: \mathematics{\bf \mathgreekupright \nabla \phi = ∇ ϕ = 0} \type{bi}: \mathematics{\bi \mathgreekupright \nabla \phi = ∇ ϕ = 0} \type{tf}: \mathematics{\tf \mathgreekupright \nabla \phi = ∇ ϕ = 0} \blank \setupmathematics[sygreek=italic] \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0} \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0} \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0} \type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0} \type{tf}: \mathematics{\tf \nabla \phi = ∇ ϕ = 0} \stoplines \stopTEXpage \stoptext 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 ___

### [NTG-context] setupquotation and setupquote

Hello, quotation is linked to quote. Indeed, we have in typo-del.mkiv \definedelimitedtext [\v!quote][\v!quotation] However, when the user then changes options using \setupquotation, \startquote\stopquote also gets modified. In the minimal example below, it is necessary to uncomment \setupquote in order to restore normal quote text. I believe that this to be a bug (and not a feature). \setupquotation [style=slanted] %\setupquote [style=normal] \starttext Tufte: \startquotation \input tufte \stopquotation Ward: \startquote \input ward \stopquote \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] A thinner hrule for headers

Dnia 2013-03-24, o godz. 13:32:28 Thomas Kreuzer thomas.kreu...@rwth-aachen.de napisał(a): Hello everyone, I'd like to know if it is possible to get a thinner hrule in headers (mkiv). Right now I am using \setupheader[after=\hrule] If this \hrule is TeX's primitive \hrule, then you can (maybe) type [after={\hrule height 0.4pt\relax}] for the default (and change the height for other dimensions). That said, this is a low-level hack and not very ConTeXt-y (even if it works, which I don't know.) Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___ 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] Nabla operator appears italic in formula

On 24.03.2013 15:17, Hans Hagen wrote: On 3/24/2013 12:23 PM, Otared Kavian wrote: On 24 mars 2013, at 11:24, Hans Hagen pra...@wxs.nl wrote: On 3/23/2013 9:34 PM, Xenia wrote: Dear context list, using the nabla symbol ∇ in formulas, I wondered why it looks italic and not upright as for example in [1]. I attach an example. Because that's how it's defined in math italics ... is nabla always supposed to be upright in standard math italic mode? (I'll change the \nable definition to \unexpanded\def\nabla{∇}.) Hans Hi, \nabla should be italic if all other math greek symbols, like \Omega, \Gamma, \sum, ect are set in italic. Otherwise \nabla and all such symbols should be upright. Would it be possible to make this optional in math italics, something like \setupmathematics[mathsymbols=italic] or \setupmathematics[mathsymbols=upright] Maybe this should be set when one chooses the greek letters to be italic or upright in mathematics. That is already there \setupmathematics [lcgreek=italic, ucgreek=normal] (normal, italic, none) I've added sygreek so that one can also influence the nable and differential (default normal). I tested with: \starttext \startTEXpage \startlines \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0} \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0} \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0} \type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0} \type{tf}: \mathematics{\tf \nabla \phi = ∇ ϕ = 0} \blank \type{--}: \mathematics{\mathgreekupright \nabla \phi = ∇ ϕ = 0} \type{it}: \mathematics{\it \mathgreekupright \nabla \phi = ∇ ϕ = 0} \type{bf}: \mathematics{\bf \mathgreekupright \nabla \phi = ∇ ϕ = 0} \type{bi}: \mathematics{\bi \mathgreekupright \nabla \phi = ∇ ϕ = 0} \type{tf}: \mathematics{\tf \mathgreekupright \nabla \phi = ∇ ϕ = 0} \blank \setupmathematics[sygreek=italic] \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0} \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0} \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0} \type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0} \type{tf}: \mathematics{\tf \nabla \phi = ∇ ϕ = 0} \stoplines \stopTEXpage \stoptext Great, thank you! ___ 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] A thinner hrule for headers

Hi, Maybe you need something like \hairline: \setupthinrules[height=.1pt,depth=.1pt] \setupheader[after=\hairline] You can also enclose your header in a \framed commande, such as \framed[frame=off,bottomframe=on] Best regards: OK On 24 mars 2013, at 13:32, Thomas Kreuzer thomas.kreu...@rwth-aachen.de wrote: Hello everyone, I'd like to know if it is possible to get a thinner hrule in headers (mkiv). Right now I am using \setupheader[after=\hrule] replacing hrule with thinrule or hairline results in space below the header text and the line, and the line actually spans two lines. How can I control the thickness of the line, I remember having read something about using frames, but I can't find the post anymore. Thanks in advance, and regards, Thomas ___ 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 ___

### Re: [NTG-context] A thinner hrule for headers

On Sun, 24 Mar 2013, Otared Kavian wrote: You can also enclose your header in a \framed commande, such as \framed[frame=off,bottomframe=on] A header is already enclosed in a frame! Something like \setupbackgrounds[header][text][bottomframe=on, framethickness=0.4pt] should work. 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] A thinner hrule for headers

Hi Aditya, Yes indeed you are right… \setupbackgrounds[header][text][bottomframe=on, framethickness=0.4pt] works fine but then the ruler of the bottomframe is too close to the text. Since Thomas Kreuzer did not provide a minimal example, it is not clear what he wants exactly. Best regards: OK On 24 mars 2013, at 21:35, Aditya Mahajan adit...@umich.edu wrote: On Sun, 24 Mar 2013, Otared Kavian wrote: You can also enclose your header in a \framed commande, such as \framed[frame=off,bottomframe=on] A header is already enclosed in a frame! Something like \setupbackgrounds[header][text][bottomframe=on, framethickness=0.4pt] should work. 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 ___ ___ 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] command reference

Sietse wrote: NB1: I waffled a lot about wiki templates in the previous e-mail, but of course it is also an option to use the Lua tables format and store those files on the wiki. That gives us the visibility and editability of the wiki without binding us to the wiki template format. Hans wrote: isn't wikimedia lua aware nowadays? Hah, so it is — I didn't know that. That sounds like it might be an ideal fit at least for displaying the command reference, possibly also for storing its info. In case anyone else is curious: here are some useful pages I found. (The information was a bit scattered sometimes, but this set of pages covers most bases.) --Sietse Wikipedia's main page on the Lua extension: http://en.wikipedia.org/wiki/Wikipedia:Lua Good example template: http://en.wikipedia.org/wiki/Module:BananasArgs The reference manual: https://www.mediawiki.org/wiki/Extension%3AScribunto/Lua_reference_manual The extension's page: http://www.mediawiki.org/wiki/Extension:Scribunto Some discussion on using Lua databases: http://lists.wikimedia.org/pipermail/wikitech-l/2013-February/066656.html ___ 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 ___