Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
chuster via ntg-context > wrote: > > > > amano.kenji via ntg-context schrieb am 15.08.2022 um 14:00: > > > > > Is there any documentation about \ruby? > > > > > > You can see all available parameters in setup-en.pdf, the example below > > shows a few of

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-16 Thread amano.kenji via ntg-context
022 um 14:00: > > > Is there any documentation about \ruby? > > > You can see all available parameters in setup-en.pdf, the example below > shows a few of them: > > begin example > \setupinterlinespace[line=4ex] > > \setuptype[style=\ttx] > > \st

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-15 Thread Wolfgang Schuster via ntg-context
amano.kenji via ntg-context schrieb am 15.08.2022 um 14:00: Is there any documentation about \ruby? You can see all available parameters in setup-en.pdf, the example below shows a few of them: begin example \setupinterlinespace[line=4ex] \setuptype[style=\ttx] \starttext \start

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-06 Thread Jeroen via ntg-context
tion] [page={yes}] \usetypescript[pagella] \setupbodyfont[pagella,18pt] \setupbodyfontenvironment[ 28pt][ % For body d=36pt, % For title a=12pt, % For author & date ] \setuptype[style=medium] \setuptyping[typing][bodyfont=16pt] \setupwhitespace[medium] \setbreakpoints[compound] \se

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
, bottomspace=20mm] \setuppagenumbering[ location={footer,center}] \setuphead [section] [page={yes}] \usetypescript[pagella] \setupbodyfont[pagella,18pt] \setupbodyfontenvironment[ 28pt][ % For body d=36pt, % For title a=12pt, % For author & date ] \setuptype[style=me

[NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
eight=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[altern

[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 ????????
section, 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=o

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
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
n 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 ConTeXt yet > (after a

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 these

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

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 h

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'

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 i

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&#

[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
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
ng 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 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 am asking because in typesetting with

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 in

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 fo

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

2015-04-14 Thread Wolfgang Schuster
> Am 14.04.2015 um 20:30 schrieb 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

[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] 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 : >> I would like to use \tex{visiblespace} which is actually character >> u2420. >> [...] > > \setuptype [space=on] > \setuptyping[space=on] > > \starttext >

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

2014-02-02 Thread Wolfgang Schuster
Am 02.02.2014 um 19:12 schrieb Pablo Rodriguez : > 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 c

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

[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] \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? --

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

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

2011-06-23 Thread Kip Warner
}% #2}} \setupcaptions[width=14cm,align=right] \setMPtext{text}{some test text} \startusableMPgraphic{text} picture r ; r := image ( graphictext \MPstring{text} randomized .4pt scaled 6pt withfillcolor .8\MPcolor{maincolor} withpen pencircle scaled 1pt ; ) ; draw

Re: [NTG-context] Problem with chem module

2011-06-18 Thread Kip Warner
ctext \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=\v!slanted] \setuplist [\v!section] [\c!width=3em] \de

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

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

[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=st

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

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 not

Re: [NTG-context] Line break in verbatim

2011-05-02 Thread Wolfgang Schuster
ne to see 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. > Also, it is possible t

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

2010-12-04 Thread Khaled Hosny
> \setuptyping[before=\framed] > > You can try 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 T

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

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

2010-06-23 Thread Hans Hagen
most 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 shou

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

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 environm

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

2009-12-15 Thread Aditya Mahajan
{\symbol[dash]}] \definesymbol [2] [\periodcentered] \setupitemize [each] [packed] \setupitemize [1] [packed,autointro] [margin=1em] %D We change \type|\type| so that the argument inside \type|\type| is pretty %D printed using \TEX's patterns. Another command \type|\normaltype| can be %D us

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

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

2009-07-20 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://pm

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/

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

[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] luatex feature question/request

2008-04-16 Thread Hans Hagen
can be use for the >> excepts. > > 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 > \setuptypin

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

2008-04-16 Thread Peter Münster
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{spacin

Re: [NTG-context] typesetting underscore

2008-01-12 Thread Aditya Mahajan
gt; > Right. They will fix default in muse and use \type{_} as value for > underscore. No, the default should either be \_ or \letterunderscore{} (with the brackets). \type{_} will be influenced by \setuptype (or \setuptyping) and can give colored output also. Aditya

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
[name][options] \setupthinrules[options] \setuptolerance[options] \setuptop[text|margin|edge][options] \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]

Re: [NTG-context] startframedtext changed?

2007-01-26 Thread Hans van der Meer
to {\tt }. That's strange, because \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 th

Re: [NTG-context] startframedtext changed?

2007-01-26 Thread Hans van der Meer
rtised 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? Hans van der Meer ___ ntg-context mailin

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

2006-11-14 Thread Hans Hagen
\def\mksetupprettytype{\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 \t

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

2006-11-14 Thread Hans Hagen
type#1% was \dotype >{\bgroup > \verbatimfont%<--Added > \resumecoloraftergroup % a problem is that we can still be in color > mode, tricky hack > \strut % new, enables leading space in \type { abc } at par start > \let\currenttypingclass\??ty

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

2006-11-14 Thread Aditya Mahajan
s leading space in \type { abc } at par start \let\currenttypingclass\??ty \edef\currenttyping{#1}% \catcode`\<=\@@other \catcode`\>=\@@other \futurelet\next\dodotype} \protect \setuptype[option=TEX] \definetype[typeTEX][option=tex]

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

2006-11-01 Thread Hans Hagen
owtt it should be : \definetyping[n\v!typing] \setuptyping[n\v!typing][style=\narrowtt] \definetype [n\v!type] \setuptype [n\v!type] [style=\narrowtt] anyhow, as i happen to use m-narrow last night (for an a

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

2006-10-25 Thread Hans Hagen
gt;>>> >>>>> Hi, >>>>> >>>>> How can I define a command that is the inline version of \startTEX ... >>>>> \stopTEX. (I need to show inline commands in color). >>>>> >>>> \setupcolors[st

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

2006-10-25 Thread Mojca Miklavec
hat is the inline version of \startTEX ... > >>> \stopTEX. (I need to show inline commands in color). > >> > >> \setupcolors[state=start] > >> > >> \setuptype[option=TEX] > >> > >> \definetype[typeTEX][option=tex] > >> >

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

2006-10-25 Thread Aditya Mahajan
gt; 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[optio

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

2006-10-25 Thread Aditya Mahajan
anges in verbatim code, that solution no >> longer works. Can anyone 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

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

2006-10-25 Thread Hans Hagen
textgarden.net/thread/20050907.093522.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? >

[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 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-existin

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

2005-09-07 Thread Mojca Miklavec
\egroup } Thank you, this works better (not that I understand what 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 ye

[NTG-context] custom verbatim inside tabulate

2005-04-17 Thread Hartmut Henkel
Hi, is there a way to use a custom verbatim inside a tabulate environment? See the problem: \starttext \definetype [esctype] \setuptype [esctype] [option=commands,[EMAIL PROTECTED] \def\currenttex{3.141592} \def\currentpdftex{1.21b} It works here: \esctype {This is pdfeTeX, Version

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

2004-12-14 Thread Hans Hagen
s}% \def>{\futurelet\next\domore}} \egroup \protect \startTEXpage normal: \par \type{xx<<..xx..<> >>..>>xx} \par \type<<>> \par \type<<..<>..>> \par normal: \par \type{xx<..xx.. >..>xx} \par \type{<>} \par \type{<.

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

2004-11-04 Thread Eckhart Guthöhrlein
e a switch to use metapost or whatever appropriate highlighting? > > > > \setuptyping[tab=on] % or off > > That does not work here. Example file: > > \starttext > \startbuffer[ex] > draw unitsquare scaled 1cm; > \stopbuffer > % \se

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

2004-11-03 Thread Eckhart Guthöhrlein
t 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*