[NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
=263mm, bottomheight=1mm, footerdistance=10mm] \usetypescript[pagella] \setupbodyfont[pagella,12pt] \setupcolors[state=start] \setuptype[style={\switchtobodyfont[11pt,tt]}] \setuptyping[style={\switchtobodyfont[11pt,tt]}] \setupfootertexts[section][] \setupfooter[alternative

[NTG-context] issues with \comment

2018-07-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupcomment[location=inmargin, color=darkred] \showframe \startbuffer[abc] \input zapf \stopbuffer \setuptype[option=tex] \starttext \comment[space=yes,buffer=abc]{} \type{\comment

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
on, subject][style=\ssa] % \setupindenting[first,always,2em] \setupinterlinespace[line=1.5em] \setupheads[indentnext=yes] \setupwhitespace[big] \setupfootnotes[bodyfont=9pt] % \setuplinenumbering[style=small,location=text,color=darkgreen] \setuptype[style=\ttx] %\setuptype[space=on] \s

Re: [NTG-context] issue with character and \xmlprettyprinttext

2018-02-20 Thread Hans Hagen
I missing something? are you sure that the font you use has the character Many thanks for your reply, Hans. The chars are there: \setuptype[option=tex] \starttext \startTEXpage[offset=1em] \type{\ ␣ \ á \ ñ} % \type{\␣ \á \ñ} {\ttbf \letterbackslash ␣ \letterb

Re: [NTG-context] issue with character and \xmlprettyprinttext

2018-02-20 Thread Pablo Rodriguez
g or am I missing something? > are you sure that the font you use has the character Many thanks for your reply, Hans. The chars are there: \setuptype[option=tex] \starttext \startTEXpage[offset=1em] \type{\ ␣ \ á \ ñ} % \type{\␣ \á \ñ} {\ttbf \letterbackslash ␣ \l

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-26 Thread SteamedFish
...] >> Note that even partial XML is highlighted correctly. > Dear Christoph, > > many thanks for your reply. > > Your module is really great fine. It supports both \setuptype and > \setuptyping options. > > It is really a pity that it lacks TeX, since I’m focused on Co

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Aditya Mahajan
On Thu, 21 Dec 2017, Pablo Rodriguez wrote: On 12/21/2017 08:05 PM, Aditya Mahajan wrote: On Thu, 21 Dec 2017, Pablo Rodriguez wrote: [...] I don’t remember which were the options in t-vim, but I need the options from \setuptyping and \setuptype. Currently vim does not support

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Pablo Rodriguez
On 12/21/2017 08:05 PM, Aditya Mahajan wrote: > On Thu, 21 Dec 2017, Pablo Rodriguez wrote: >> [...] >> I don’t remember which were the options in t-vim, but I need the >> options from \setuptyping and \setuptype. > > Currently vim does not support these primarily beca

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Pablo Rodriguez
ks for your reply. Your module is really great fine. It supports both \setuptype and \setuptyping options. It is really a pity that it lacks TeX, since I’m focused on ConTeXt yet (after all, it would be a Spanish introduction to ConTeXt ;-)). XML will come later. I’m afraid that XML comments

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Pablo Rodriguez
ind these that i don't want > to break Then I will have to wait for that implementation. Sorry for not being able to provide the patch myself. scite is great for coloring, but it lacks the options from \setuptype and \setuptyping. I don’t need escapes, but many of the other options. I need

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Aditya Mahajan
which were the options in t-vim, but I need the options from \setuptyping and \setuptype. Currently vim does not support these primarily because I don't use XML so I never thought of this. Could you send me a minimal example showing how \xmlprettyprinttext is used and I can check how

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Pablo Rodriguez
r which were the options in t-vim, but I need the options from \setuptyping and \setuptype. Many thanks for your help again, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well,

Re: [NTG-context] issues with \scitebuffer and \sciteinlinebuffer

2017-09-05 Thread Hans Hagen
On 9/5/2017 11:20 PM, Pablo Rodriguez wrote: On 09/05/2017 09:31 PM, Hans Hagen wrote: On 9/5/2017 6:33 PM, Pablo Rodriguez wrote: [...] 4. \setuptyping and \setuptype don’t work with the scite buffers. well, it's a different (basically unrelated) mechanism that kicks in ... one can't have

Re: [NTG-context] issues with \scitebuffer and \sciteinlinebuffer

2017-09-05 Thread Pablo Rodriguez
On 09/05/2017 09:31 PM, Hans Hagen wrote: > On 9/5/2017 6:33 PM, Pablo Rodriguez wrote: >> [...] >> 4. \setuptyping and \setuptype don’t work with the scite buffers. > well, it's a different (basically unrelated) mechanism that kicks in ... > one can't have it all Wei

Re: [NTG-context] issues with \scitebuffer and \sciteinlinebuffer

2017-09-05 Thread Hans Hagen
hod is set to "none". i'll look at it later 2. "\sciteinlinebuffer" adds always an extra blank space after it. 3. Method "none" treats spaces as linebreaks and removes "\". 4. \setuptyping and \setuptype don’t work with the scite buffers. well, it's a di

[NTG-context] issues with \scitebuffer and \sciteinlinebuffer

2017-09-05 Thread Pablo Rodriguez
fer" adds always an extra blank space after it. 3. Method "none" treats spaces as linebreaks and removes "\". 4. \setuptyping and \setuptype don’t work with the scite buffers. What am I doing wrong? Many th

Re: [NTG-context] (again) \typebufferinline for XML inline code

2017-08-02 Thread Hans Hagen
On 8/1/2017 9:12 PM, Pablo Rodriguez wrote: On 08/01/2017 04:27 PM, Hans Hagen wrote: On 7/31/2017 7:16 PM, Pablo Rodriguez wrote: [...] Would it be possible to have a new \typebufferinline that behaves such as \type above (and has the same options in \setuptype)? The most important part

Re: [NTG-context] (again) \typebufferinline for XML inline code

2017-08-01 Thread Pablo Rodriguez
On 08/01/2017 04:27 PM, Hans Hagen wrote: > On 7/31/2017 7:16 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible to have a new \typebufferinline that behaves such >> as \type above (and has the same options in \setuptype)? >> >> The most important part isn

Re: [NTG-context] (again) \typebufferinline for XML inline code

2017-08-01 Thread Hans Hagen
Would it be possible to have a new \typebufferinline that behaves such as \type above (and has the same options in \setuptype)? The most important part isn’t the suppression of line breaks inside, but avoiding the addition of line breaks after and before the typed buffer. I have been reading buff

[NTG-context] (again) \typebufferinline for XML inline code

2017-07-31 Thread Pablo Rodriguez
that behaves such as \type above (and has the same options in \setuptype)? The most important part isn’t the suppression of line breaks inside, but avoiding the addition of line breaks after and before the typed buffer. I have been reading buff-ver.mkiv, but I’m afraid I cannot contribute such a patch

Re: [NTG-context] size in setuptype

2016-02-24 Thread Wolfgang Schuster
pacing and size of the symbols. That is apparently not only usefull for narrower text in long lists, but has a usefullness in other cases too. Why should I have to use other mechanisms in order to get similar appearance than just through a symmetry between \setuptype and setuptyping? \setuptyping

Re: [NTG-context] size in setuptype

2016-02-24 Thread Meer, Hans van der
On 24 Feb 2016, at 13:37, Wolfgang Schuster <schuster.wolfg...@gmail.com<mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 24. Februar 2016 um 13:25 Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it? I

Re: [NTG-context] size in setuptype

2016-02-24 Thread Wolfgang Schuster
Meer, Hans van der <mailto:h.vanderm...@uva.nl> 24. Februar 2016 um 13:25 Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it? I am asking because in typesetting with \setuptype[style=small]\type{something} I get another font and size than with \setuptyping[bo

[NTG-context] size in setuptype

2016-02-24 Thread Meer, Hans van der
Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it? I am asking because in typesetting with \setuptype[style=small]\type{something} I get another font and size than with \setuptyping[bodyfont=small]\starttyping ... \stoptyping whereas in both the same is wanted

[NTG-context] bug in \setuptype?

2015-04-14 Thread Pablo Rodriguez
Hans, I have this sample: \definetype[TeXcode][option=TEX] \starttext \TeXcode{\ConTeXt} \stoptext With beta from 2015.04.14 19:03, there is no color, no bold font or monospace typeface. I’m afraid it may be a bug. Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] bug in \setuptype?

2015-04-14 Thread Pablo Rodriguez
On 04/14/2015 09:16 PM, Wolfgang Schuster wrote: Am 14.04.2015 um 20:30 schrieb Pablo Rodriguez: [...] \definetype[TeXcode][option=TEX] [...] With beta from 2015.04.14 19:03, there is no color, no bold font or monospace typeface. I’m afraid it may be a bug. Make the following change in

Re: [NTG-context] bug in \setuptype?

2015-04-14 Thread Wolfgang Schuster
Am 14.04.2015 um 20:30 schrieb Pablo Rodriguez oi...@gmx.es: Hans, I have this sample: \definetype[TeXcode][option=TEX] \starttext \TeXcode{\ConTeXt} \stoptext With beta from 2015.04.14 19:03, there is no color, no bold font or monospace typeface. I’m afraid it may be a

Re: [NTG-context] printing visible space in \tex

2014-02-02 Thread Wolfgang Schuster
Am 02.02.2014 um 19:12 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I would like to use \tex{visiblespace} which is actually character. c. \starttext \tex{\u2420} \stoptext Above is the way I tried to implement, but it doesn’t make sense. How could I do it? \setuptype [space

Re: [NTG-context] printing visible space in \tex

2014-02-02 Thread Pablo Rodriguez
On 02/02/2014 07:16 PM, Wolfgang Schuster wrote: Am 02.02.2014 um 19:12 schrieb Pablo Rodriguez oi...@gmx.es: I would like to use \tex{visiblespace} which is actually character u2420. [...] \setuptype [space=on] \setuptyping[space=on] \starttext \type{x y} \starttyping x y

[NTG-context] (again) coloring \tex with [option=TeX]

2013-10-05 Thread Pablo Rodríguez
Dear list, I would like to have \tex using [option=TEX]. But I cannot get it working, even if I setup \type to [option=TEX]. Here you have the minimal sample: \setuptype[option=TEX] \starttext \type{\ConTeXt} comes from \tex{TeX}. \stoptext How can I have \tex with colored

Re: [NTG-context] (again) coloring \tex with [option=TeX]

2013-10-05 Thread Hans Hagen
On 10/5/2013 8:21 PM, Pablo Rodríguez wrote: Dear list, I would like to have \tex using [option=TEX]. But I cannot get it working, even if I setup \type to [option=TEX]. Here you have the minimal sample: \setuptype[option=TEX] \starttext \type{\ConTeXt} comes from \tex{TeX

Re: [NTG-context] \type{} in bold mode

2011-09-02 Thread Peter Münster
On Wed, Aug 31 2011, Wolfgang Schuster wrote: \setuptype[style=mono] % default: “style=\tt\tf” Oh, I was so convinced, that the default was \tt, that I did not even test it, sorry! But what is the sense of the \tf? What is the advantage over default=\tt? -- Peter

Re: [NTG-context] \type{} in bold mode

2011-08-31 Thread Wolfgang Schuster
Am 30.08.2011 um 16:29 schrieb Peter Münster: Hello, When the current font-switch is bold, I would like the verbatim text inside \type{} to respect the bold mode. What is the right way to teach \type{} to automatically use bold or not? \setuptype[style=mono] % default: “style=\tt\tf

[NTG-context] bad argument #1 to 'gsub'

2011-06-23 Thread Kip Warner
} \startusableMPgraphic{text} picture r ; r := image ( graphictext \MPstring{text} randomized .4pt scaled 6pt withfillcolor .8\MPcolor{maincolor} withpen pencircle scaled 1pt ; ) ; draw r ; \stopusableMPgraphic \setuptype [\c!option=\v!slanted] \setuptyping [\c!option

Re: [NTG-context] Problem with chem module

2011-06-18 Thread Kip Warner
} randomized .4pt scaled 6pt withfillcolor .8\MPcolor{maincolor} withpen pencircle scaled 1pt ; ) ; draw r ; \stopusableMPgraphic \setuptype [\c!option=\v!slanted] \setuptyping [\c!option=\v!slanted] \setuplist [\v!section] [\c!width=3em] \defineregister [texmacro] [texmacros

[NTG-context] \type and linebreak (again)

2011-05-23 Thread Andreas Schneider
Hi, I stumbled across the same problem that was discussed earlier this month: \type doesn't break, even if there are opportunities. I tried to follow the suggestions given in that thread, but with no success: \setuppapersize[A4][A4] \starttext \setuptype[space=stretch

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Wolfgang Schuster
] \starttext \setuptype[space=stretch] %\setupalign[stretch] %\setuptolerance[stretch] \type{cp $SOMEVAR/some/very/very/very/long/directory/WITHFILE $SOMEVAR/other/long/directory} \startitemize \item \type{cp $SOMEVAR/some/very/very/very

Re: [NTG-context] Line break in verbatim

2011-05-03 Thread Wolfgang Schuster
Am 03.05.2011 um 01:26 schrieb Aditya Mahajan: You can also put the text in a \hbox with “\setuptype[command=\hbox]”. The command key from \setuptype is special because it accepts only box commands (\hbox, \vbox, \framed …). I don't see why that is the case. Looking at the code, it appears

Re: [NTG-context] Line break in verbatim

2011-05-02 Thread Wolfgang Schuster
require a lot oftyping phew}. \stoptext You can get a better result with “\setuptype[space=stretch]” but only the “stretch” keyword for \setupalign/\setuptolerance prevents a overfull line in your example. Also, it is possible to completely prevent line breaks for \type. \setuptype[space=fixed

Re: [NTG-context] Line break in verbatim

2011-05-02 Thread Aditya Mahajan
if it hyphenates or not, that can require a lot oftyping phew}. \stoptext You can get a better result with “\setuptype[space=stretch]” but only the “stretch” keyword for \setupalign/\setuptolerance prevents a overfull line in your example. Thanks. I was looking for space=stretch (I did

Re: [NTG-context] \setuptyping and \type{}

2010-12-04 Thread Khaled Hosny
to convince Hans to add a command key to \setuptype, untill then you can use this: \unexpanded\def\mytype{\groupedcommand{\setgroupedtype\inframed}{\relax}} \starttext one \mytype{\two} three \stoptext Thanks Wolfgang. Regards, Khaled -- Khaled Hosny Arabic localiser and member

Re: [NTG-context] \setuptyping and \type{}

2010-12-03 Thread Wolfgang Schuster
Am 03.12.2010 um 10:32 schrieb Khaled Hosny: Is there a way to setup insertion of some stuff before/after \type{}, tried \setuptyping but only works for \start/stoptyping. \setuptyping[before=\framed] You can try to convince Hans to add a command key to \setuptype, untill then you can use

Re: [NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv

2010-06-23 Thread Hans Hagen
of my environments: \setuptype[style={\setcharacterspacing[reset]\tt}] \setuptyping[style={\setcharacterspacing[reset]\tt}] \setupinteraction[style={\setcharacterspacing[reset]\tt}] \appendtoks \setcharacterspacing[reset]% \to \everyinitializeverbatim but maybe all such features should

Re: [NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv

2010-06-22 Thread Peter Münster
On Tue, Jun 22 2010, Otared Kavian wrote: I noticed that the mkiv command \setcharacterspacing[frenchpunctuation] influences even the \type environment: is this behavior wanted or is it a side effect? Hello, I don't know, but I have these line in most of my environments: \setuptype[style

Re: [NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv

2010-06-22 Thread Otared Kavian
Hi Peter, Many thanks for your hint: indeed you had the solution! Best regards: OK On 22 juin 2010, at 19:18, Peter Münster wrote: Hello, I don't know, but I have these line in most of my environments: \setuptype[style={\setcharacterspacing[reset]\tt}] \setuptyping[style

Re: [NTG-context] Call for papers (pracjourn mkiv)

2009-12-15 Thread Aditya Mahajan
\type|\type|. \setuptype[option=TEX] \definetype [normaltype] [option=none] %D We enable colors, interaction and bookmarks. \setupinteraction [state=start,color=darkred,style=normal] \setupurl [color=darkred] \setupcolors [state=start] \placebookmarks [section,subsection

Re: [NTG-context] \setuptype[style=...] and a feature request

2009-07-22 Thread Hans Hagen
Peter Münster wrote: On Mon, 20 Jul 2009, Hans Hagen wrote: Feature request: \setuptype[before=..., after=...] well, not before/after then but left/right No problem, left/right is nice! i'll put in on the todo list as it's non trivial where to hook in that code Hans

Re: [NTG-context] \setuptype[style=...] and a feature request

2009-07-21 Thread Peter Münster
On Mon, 20 Jul 2009, Hans Hagen wrote: Feature request: \setuptype[before=..., after=...] well, not before/after then but left/right No problem, left/right is nice! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact

[NTG-context] \setuptype[style=...] and a feature request

2009-07-20 Thread Peter Münster
Hello, The style command of \setuptype is executed 2 times: \setuptype[style=X] \starttext \type{bla} \stoptext Feature request: \setuptype[before=..., after=...] (today I use this workaround: \setuptype[style=\groupedcommand{...}{...}] ) Cheers, Peter -- Contact information: http

Re: [NTG-context] \setuptype[style=...] and a feature request

2009-07-20 Thread Wolfgang Schuster
Am 20.07.2009 um 16:33 schrieb Peter Münster: Hello, The style command of \setuptype is executed 2 times: \setuptype[style=X] \starttext \type{bla} \stoptext Feature request: \setuptype[before=..., after=...] You mean left and right, before and after should be kept for environments only

Re: [NTG-context] \setuptype[style=...] and a feature request

2009-07-20 Thread Hans Hagen
Peter Münster wrote: Hello, The style command of \setuptype is executed 2 times: \setuptype[style=X] \starttext \type{bla} \stoptext hm, i'll look at it Feature request: \setuptype[before=..., after=...] well, not before/after then but left/right

Re: [NTG-context] luatex feature question/request

2008-04-16 Thread Peter Münster
[reset], but it does not work: ERROR: Missing number, treated as zero. Until a bug-fix, you can use \doresetattribute{spacing}. I use for example \setuptyping[style=\doresetattribute{spacing}\tt] \setuptype[style=\doresetattribute{spacing}\tt] at some places. Cheers, Peter -- http

Re: [NTG-context] luatex feature question/request

2008-04-16 Thread Hans Hagen
. There is already \setcharacterspacing[reset], but it does not work: ERROR: Missing number, treated as zero. Until a bug-fix, you can use \doresetattribute{spacing}. I use for example \setuptyping[style=\doresetattribute{spacing}\tt] \setuptype[style=\doresetattribute{spacing}\tt] at some places

Re: [NTG-context] typesetting underscore

2008-01-12 Thread Aditya Mahajan
should either be \_ or \letterunderscore{} (with the brackets). \type{_} will be influenced by \setuptype (or \setuptyping) and can give colored output also. Aditya ___ If your question is of interest to others as well

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
] \setuptoptexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber] \setuptype[options] \setuptyping[file|typing|name][options] \setupunderbar[options] \setupurl[options] \setupversions[options] \setupwhitespace[none|small|medium|big|line|fixed|fix|dimension] # \setvalue

Re: [NTG-context] startframedtext changed?

2007-01-26 Thread Hans van der Meer
however to make this change, because I hav used \setuptype to get uniform behaviour over the whole document. Is there someone who has an idea what might causing the difference? Hans van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http

Re: [NTG-context] startframedtext changed?

2007-01-26 Thread Hans van der Meer
\type is advertised as for in-line text. I hesistate however to make this change, because I hav used \setuptype to get uniform behaviour over the whole document. Is there someone who has an idea what might causing the difference? Aha, salvation! Remembered the panacee for so many

Re: [NTG-context] \definetype breaks down ---

2006-11-14 Thread Aditya Mahajan
`\=\@@other \futurelet\next\dodotype} \protect \setuptype[option=TEX] \definetype[typeTEX][option=tex] \starttext \type{\example}. this---breaks---down. \typeTEX{\example}. this---breaks---down. \stoptext Aditya ___ ntg-context mailing list ntg

Re: [NTG-context] \definetype breaks down ---

2006-11-14 Thread Hans Hagen
\currenttyping{#1}% \catcode`\=\@@other \catcode`\=\@@other \futurelet\next\dodotype} \protect \setuptype[option=TEX] \definetype[typeTEX][option=tex] \starttext \type{\example}. this---breaks---down. \typeTEX{\example}. this---breaks---down. \stoptext ok, i'll fix

Re: [NTG-context] \definetype breaks down ---

2006-11-14 Thread Hans Hagen
{\getvalue{setuppretty\prettyidentifier type}}} {\let\mksetupprettytype\relax}} % not that fast but catches \type{\command} % nothing more after \command % % \setupcolors[state=start] % \setuptype[option=TEX] % \setupcolors[textcolor=red] % % The options \type{before=\startsolutionbackground

Re: [NTG-context] Error in m-narrowtt

2006-11-01 Thread Hans Hagen
] \setuptype [n\v!type] [style=\narrowtt] anyhow, as i happen to use m-narrow last night (for an article) last night i found out that typefile didn't listen to narrowtt but that is fixed now Hans

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Hans Hagen
.baf795f5.en.html which is also posted on the wiki. http://wiki.contextgarden.net/Verbatim_text#In-line_text However, due to the recent changes in verbatim code, that solution no longer works. Can anyone suggest how to fix it? \setupcolors[state=start] \setuptype[option=TEX

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Aditya Mahajan
] \setuptype[option=TEX] \definetype[typeTEX][option=tex] \starttext \type+\type{\type is a wonderful macro}+, isn't it? \typeTEX+\typeTEX{\typeTEX is a wonderful macro}+, isn't it? \stoptext Thanks, that looks easy :-) However, there seems to be a bug, sometimes the color spills across

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Aditya Mahajan
suggest how to fix it? \setupcolors[state=start] \setuptype[option=TEX] \definetype[typeTEX][option=tex] \starttext \type+\type{\type is a wonderful macro}+, isn't it? \typeTEX+\typeTEX{\typeTEX is a wonderful macro}+, isn't it? \stoptext Thanks, that looks easy :-) However, there seems

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Mojca Miklavec
). \setupcolors[state=start] \setuptype[option=TEX] \definetype[typeTEX][option=tex] \starttext \type+\type{\type is a wonderful macro}+, isn't it? \typeTEX+\typeTEX{\typeTEX is a wonderful macro}+, isn't it? \stoptext Thanks, that looks easy :-) However

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Hans Hagen
... \stopTEX. (I need to show inline commands in color). \setupcolors[state=start] \setuptype[option=TEX] \definetype[typeTEX][option=tex] \starttext \type+\type{\type is a wonderful macro}+, isn't it? \typeTEX+\typeTEX{\typeTEX is a wonderful macro}+, isn't it? \stoptext

[NTG-context] fix for verbatim

2005-11-09 Thread Hans Hagen
\normalactiveegroup}% \def\activeleftargument% [\bgroup \let}\activerightargument \normalactivebgroup ]% \def\activerightargument% [\normalactiveegroup \egroup]% \let{=\activeleftargument \let}=\egroup ] \egroup \protect works ok for \setupcolors[state=start] \setuptype[option

Re: [NTG-context] some highlighted \type-ing

2005-09-07 Thread Mojca Miklavec
it does ;) But, I finally understand why I was confused yesterday. \setupcolors[state=start] \setuptype[option=TEX] \type{\a} does nothing (and this was what I first tried and thought that this is not supported yet; non-existing options never raise an error anyway). But today I tried

Re: [NTG-context] some highlighted \type-ing

2005-09-07 Thread Nikolai Weibull
Mojca Miklavec wrote: But, I finally understand why I was confused yesterday. \setupcolors[state=start] \setuptype[option=TEX] \type{\a} does nothing (and this was what I first tried and thought that this is not supported yet; non-existing options never raise an error anyway

Re: [NTG-context] [BUG] \type... not working

2004-12-14 Thread Hans Hagen
..xx..xx xx ..xx} \par \type \par \type..xx.. \par normal: \par \type{xx..xx..xx slanted ..xx} \par \type{} \par \type{..xx..} \setuptype[option=slanted] slanted: \par \type{xx..sl..xx sl xx..sl..xx} \par \type..xx.. \par \type..sl.. \par slanted: \par \type{xx..sl..xx sl xx..sl..xx} \par

Re: [NTG-context] \typebuffer and tabs / specify code type

2004-11-04 Thread Eckhart Guthöhrlein
not work here. Example file: \starttext \startbuffer[ex] draw unitsquare scaled 1cm; \stopbuffer % \setuptype[tab=on] % \setuptype[tab=off] % \setuptyping[tab=on] \setuptyping[tab=off] \typebuffer[ex] \stoptext None of the \setuptyp* has

Re: [NTG-context] \typebuffer and tabs / specify code type

2004-11-03 Thread Eckhart Guthöhrlein
] draw unitsquare scaled 1cm; \stopbuffer % \setuptype[tab=on] % \setuptype[tab=off] % \setuptyping[tab=on] \setuptyping[tab=off] \typebuffer[ex] \stoptext None of the \setuptyp* has any effect, I alwas get ^^I^^I for the two tabs. I'm using TeXExec 5.0