Re: [NTG-context] need defaults for \definehighlight

2015-02-09 Thread Alan BRASLAU
On Sun, 8 Feb 2015 13:56:54 +0100 Keith J. Schultz keithjschu...@web.de wrote: As to setting up defaults, the question is their a generic usage of such ways of for so called highlights. These are, basically, by those that: 1) like this much fluff 2) idiosyncratic terminology 1) is supposed

Re: [NTG-context] need defaults for \definehighlight

2015-02-09 Thread Hans Hagen
On 2/9/2015 12:42 AM, Keith Schultz wrote: Hi Hans, Idris, All, Then we should call it definetag of definestyletag ! It would describe its function better! Like I said I find the command highlight nice because it is alot easier than define my own commands for setting styles with color! it's

Re: [NTG-context] need defaults for \definehighlight

2015-02-09 Thread Keith Schultz
Hi Hans, Idris, All, fonts and color are as such appearance. But, when one uses different fonts and colors or mix then then we add meaning or as you tend to call it structure. If their use does not add to the structure, then only one font style and color is needed. So actually, in the end they

Re: [NTG-context] need defaults for \definehighlight

2015-02-09 Thread Wolfgang Schuster
Am 09.02.2015 um 14:34 schrieb Keith Schultz keithjschu...@icloud.com: Hi Hans, Idris, All, fonts and color are as such appearance. But, when one uses different fonts and colors or mix then then we add meaning or as you tend to call it structure. If their use does not add to the

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Keith J. Schultz
Hi Hans, Irdis, All, It might sound like splitting hairs, but I find we should be careful how we call this beast! Basically, a highlight allows one so setup a font style and color to be applied to it contents. The problem is that is this REALLY a Highlight! A style and color is applied so,

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Wolfgang Schuster
Am 08.02.2015 um 13:56 schrieb Keith J. Schultz keithjschu...@web.de: Hi Hans, Irdis, All, It might sound like splitting hairs, but I find we should be careful how we call this beast! Basically, a highlight allows one so setup a font style and color to be applied to it contents.

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Hans Hagen
On 2/8/2015 3:40 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Sun, 08 Feb 2015 07:01:31 -0700, Hans Hagen pra...@wxs.nl wrote: the only reason why highlight exists is that it can be used to tag stuff that is otherwise untagged in the exporter to xml Ok, so I suppose \quote and

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 08 Feb 2015 10:38:14 -0700, Hans Hagen pra...@wxs.nl wrote: On 2/8/2015 3:40 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Sun, 08 Feb 2015 07:01:31 -0700, Hans Hagen pra...@wxs.nl wrote: the only reason why highlight exists is that it can be used to tag stuff that is otherwise

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Wolfgang Schuster
Am 08.02.2015 um 15:40 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: […] There seems to be a bug with \smallcaps. Otherwise I think the above makes a good default set to start with. Hans changed the effect of “style=smallcaps”, in the ConTeXt used \sc when you

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Hans Hagen
On 2/8/2015 1:56 PM, Keith J. Schultz wrote: Basically, a highlight allows one so setup a font style and color to be applied to it contents. the only reason why highlight exists is that it can be used to tag stuff that is otherwise untagged in the exporter to xml which is why there is

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Keith, On Sun, 08 Feb 2015 05:56:54 -0700, Keith J. Schultz keithjschu...@web.de wrote: Also, not everybody would want the predefined styles and colors so they will have to be changed in the setuphighlight anyway! Indeed, but the point is not to predefine the styles but to predefine

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 08 Feb 2015 07:01:31 -0700, Hans Hagen pra...@wxs.nl wrote: the only reason why highlight exists is that it can be used to tag stuff that is otherwise untagged in the exporter to xml Ok, so I suppose \quote and \quotation already work in the exporter. The following iteration then:

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Hans Hagen
On 2/8/2015 8:08 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Ok. It's clear that I'm doing a lot of guessing, so question: Can you specify exactly what does *not* get tagged in xml-export? What exactly do we need to worry about? Then we can go from there... everything that has some

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Wolfgang, On Sun, 08 Feb 2015 12:17:11 -0700, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 08.02.2015 um 15:40 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: […] There seems to be a bug with \smallcaps. Otherwise I think the above makes a good

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 08 Feb 2015 14:51:44 -0700, Hans Hagen pra...@wxs.nl wrote: On 2/8/2015 8:08 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Ok. It's clear that I'm doing a lot of guessing, so question: Can you specify exactly what does *not* get tagged in xml-export? What exactly do we need to worry

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Keith Schultz
Hi Hans, Idris, All, Then we should call it definetag of definestyletag ! It would describe its function better! Like I said I find the command highlight nice because it is alot easier than define my own commands for setting styles with color! regards Keith. Am 08.02.2015 um 15:01

Re: [NTG-context] need defaults for \definehighlight

2015-02-07 Thread Hans Hagen
On 2/7/2015 2:07 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Thinking of present and future documents (maximum flexibility in converting from format to format), I'm moving from the standard {\em text} to something like \definehighlight[emph][style=italic]. Here's the question:

Re: [NTG-context] need defaults for \definehighlight

2015-02-07 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Hans, On Sat, 07 Feb 2015 05:53:08 -0700, Hans Hagen pra...@wxs.nl wrote: Well, if you talk about automatic injection of commands 'short' is irrelevant and also likely to clash. Ok, fair enough. There is also function auto-completion... Anyway, the problem with predefined highlights is

Re: [NTG-context] need defaults for \definehighlight

2015-02-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 07 Feb 2015 12:33:00 -0700, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: \definehighlight[extraimportant] [\c!command=\v!no,\c!style=\v!bolditalic] \definehighlight[extraimportant] [\c!command=\v!no,\c!style=\v!smallcaps] %