Re: [NTG-context] setuptyping

2018-09-11 Thread Wolfgang Schuster
Hi Alan, the difference between both is that smalltype switches to the monospace font while small uses the default style (in most cases a serif font). Wolfgang Alan Braslau schrieb am 11.09.18 um 16:13: Wolfgang, There is also [style=small]. Is it preferable to use style=smalltype? Also,

Re: [NTG-context] setuptyping

2018-09-10 Thread Wolfgang Schuster
To limit the smaller font to \starttyping it should be     \setuptyping [typing] [style=\ttxx] or     \setuptyping [typing] [style=smalltype] because \starttyping is a generated command like \startXML. Wolfgang Taco Hoekwater schrieb am 10.09.18 um 11:32: Hi Hans, Replace your two

Re: [NTG-context] setuptyping

2018-09-10 Thread Taco Hoekwater
Hi Hans, Replace your two setuptyping lines with: \setuptyping[style=\ttxx] \definetyping[XML] \setuptyping[XML][option=XML,style=italic] nothing else needs to change Best wishes, Taco > On 10 Sep 2018, at 11:22, Hans van der Meer wrote: > > Taco Hoekwater Elvenkind BV

[NTG-context] setuptyping

2018-09-10 Thread Hans van der Meer
I want to differentiate the typing of XML-code with \startXML and other text with \starttyping.That doesn’t work as I expect or I misinterpret something.The minimal example shows that in the following code there is no difference between using  \startXML or \starttyping typingsetup.pdf

Re: [NTG-context] \setuptyping[lines=yes] bug in beta?

2013-10-23 Thread Wolfgang Schuster
Am 22.10.2013 um 19:47 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, the following sample: \showframe \setuppapersize[S6] \setuptyping[option=TEX,lines=yes] You can use this setup for the moment: \setuptyping[option=TEX,align={right,broad}] Wolfgang

Re: [NTG-context] \setuptyping[lines=yes] bug in beta?

2013-10-23 Thread Pablo Rodriguez
On 10/23/2013 12:28 PM, Wolfgang Schuster wrote: Am 22.10.2013 um 19:47 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, the following sample: \showframe \setuppapersize[S6] \setuptyping[option=TEX,lines=yes] You can use this setup for the moment:

[NTG-context] \setuptyping[lines=yes] bug in beta?

2013-10-22 Thread Pablo Rodriguez
Dear list, the following sample: \showframe \setuppapersize[S6] \setuptyping[option=TEX,lines=yes] \starttext \starttyping \startvariante[MRU]{{\em om} X}En un lugar de la Mancha, de cuyo nombre no quiero acordarme, no ha mucho tiempo que vivía un hidalgo de los de lanza en astillero, adarga

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

2010-12-04 Thread Hans Hagen
On 3-12-2010 10:32, Khaled Hosny wrote: Is there a way to setup insertion of some stuff before/after \type{}, tried \setuptyping but only works for \start/stoptyping. \setuptyping[before=\framed] \starttext \type{aa} \starttyping aa \stoptyping \stoptext the next beta will have: \starttext

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

2010-12-04 Thread Khaled Hosny
On Sat, Dec 04, 2010 at 06:41:37PM +0100, Hans Hagen wrote: On 3-12-2010 10:32, Khaled Hosny wrote: Is there a way to setup insertion of some stuff before/after \type{}, tried \setuptyping but only works for \start/stoptyping. \setuptyping[before=\framed] \starttext \type{aa}

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

2010-12-04 Thread Khaled Hosny
On Fri, Dec 03, 2010 at 03:36:14PM +0100, Wolfgang Schuster wrote: 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

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

2010-12-03 Thread 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] \starttext \type{aa} \starttyping aa \stoptyping \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of

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] \setuptyping and \type{}

2010-12-03 Thread Hans Hagen
On 3-12-2010 10:32, Khaled Hosny wrote: Is there a way to setup insertion of some stuff before/after \type{}, tried \setuptyping but only works for \start/stoptyping. \setuptyping[before=\framed] \starttext \type{aa} \starttyping aa \stoptyping \stoptext that would be 'left' and 'right'

[NTG-context] \setuptyping: font size

2010-12-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm trying to \setuptyping to use a 8pt font size [of a tt typeface]. Here are my trials - in several cases I get the wanted result but with error messages: --- t.mkiv \enableregime[cp1250] %\setuptyping[default][style=\ttxx\setupinterlinespace] % This works somehow but with errors

Re: [NTG-context] \setuptyping: font size

2010-12-01 Thread Hans Hagen
On 1-12-2010 10:50, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I'm trying to \setuptyping to use a 8pt font size [of a tt typeface]. \setuptyping ... bodyfont=8pt - Hans Hagen

Re: [NTG-context] \setuptyping: font size

2010-12-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Hans - On Wed, 01 Dec 2010 15:32:05 +0100, Hans Hagen pra...@wxs.nl wrote: I'm trying to \setuptyping to use a 8pt font size [of a tt typeface]. \setuptyping ... bodyfont=8pt - Did you test it? --- t2.mkiv \enableregime[cp1250] \setuptyping[default][bodyfont=8pt] % As you advised

Re: [NTG-context] \setuptyping: font size

2010-12-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Still the same error with the latest beta. Lukas On Wed, 01 Dec 2010 15:47:31 +0100, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello Hans - On Wed, 01 Dec 2010 15:32:05 +0100, Hans Hagen pra...@wxs.nl wrote: I'm trying to \setuptyping to use a 8pt font size [of a tt

Re: [NTG-context] \setuptyping: font size

2010-12-01 Thread Wolfgang Schuster
Am 01.12.2010 um 16:53 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: ... Still the same error with the latest beta. Replace your \setuptyping with: \definetyping[default][bodyfont=8pt] Wolfgang ___ If your

Re: [NTG-context] \setuptyping: font size

2010-12-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Much better, thanks! Lukas On Wed, 01 Dec 2010 17:00:59 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \definetyping[default][bodyfont=8pt] -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová

[NTG-context] \setuptyping[tab=...]

2010-05-10 Thread Peter Münster
Hello, The length of the tab is always 7: % one tab before each bla: \setuptyping[tab=2] \starttext \starttyping 12345678901234567890 bla bla \stoptyping \setuptyping[tab=4] \starttyping 12345678901234567890 bla bla \stoptyping \stoptext Cheers, Peter -- Contact

Re: [NTG-context] \setuptyping[tab=...]

2010-05-10 Thread Hans Hagen
On 10-5-2010 12:04, Peter Münster wrote: Hello, The length of the tab is always 7: % one tab before each bla: \setuptyping[tab=2] \starttext \starttyping 12345678901234567890 bla bla \stoptyping \setuptyping[tab=4] \starttyping 12345678901234567890 bla bla \stoptyping

[NTG-context] \setuptyping[numbering=line] don't emit line numbers

2010-04-21 Thread Hongwen Qiu
$ context --version MTXrun | current version: 2010.04.16 21:08 $ luatex --version This is LuaTeX, Version beta-0.60.0-2010040422 I found that \setuptyping[numbering=line] no longer produces line numbers any more. So are there something changed, or just it's ought to be ok?

[NTG-context] setuptyping in MKIV

2009-08-21 Thread Aditya Mahajan
Hi, If I set option to empty in setuptyping, the output of \starttyping stoptyping is colored. \setuptyping[option=] \starttext \starttyping % This is a test \stoptyping \stoptext This works fine in MKII, but in MKIV the % is colored. The color goes away if I set option=none. I think this

Re: [NTG-context] setuptyping in MKIV

2009-08-21 Thread Hans Hagen
Aditya Mahajan wrote: Hi, If I set option to empty in setuptyping, the output of \starttyping stoptyping is colored. \setuptyping[option=] \starttext \starttyping % This is a test \stoptyping \stoptext This works fine in MKII, but in MKIV the % is colored. The color goes away if I set

Re: [NTG-context] setuptyping in MKIV

2009-08-21 Thread Aditya Mahajan
On Sat, 22 Aug 2009, Hans Hagen wrote: Aditya Mahajan wrote: Hi, If I set option to empty in setuptyping, the output of \starttyping stoptyping is colored. \setuptyping[option=] \starttext \starttyping % This is a test \stoptyping \stoptext This works fine in MKII, but in MKIV the % is

Re: [NTG-context] setuptyping

2006-01-30 Thread Hans Hagen
Taco Hoekwater wrote: Hans van der Meer wrote: I get some unexpected results with setuptyping. According to the manual the style-parameter has options normal, bold, small, etc. AFAICS, this has not worked in a very very long time, and it may even be a bug in the documentation. But it was

Re: [NTG-context] setuptyping

2006-01-30 Thread Hans Hagen
Taco Hoekwater wrote: Hans van der Meer wrote: I get some unexpected results with setuptyping. According to the manual the style-parameter has options normal, bold, small, etc. AFAICS, this has not worked in a very very long time, and it may even be a bug in the documentation. But it was

[NTG-context] setuptyping

2006-01-28 Thread Hans van der Meer
I get some unexpected results with setuptyping. According to the manual the style-parameter has options normal, bold, small, etc. But if I use them I get the option back. The only thing that seems to work is style=command. Example: \setuptyping[style=bold] \starttext \starttyping abcd

Re: [NTG-context] setuptyping

2006-01-28 Thread Radhelorn
Hans van der Meer wrote: I get some unexpected results with setuptyping. According to the manual the style-parameter has options normal, bold, small, etc. But if I use them I get the option back. The only thing that seems to work is style=command. Example: \setuptyping[style=bold]

Re: [NTG-context] setuptyping

2006-01-28 Thread Taco Hoekwater
Hans van der Meer wrote: I get some unexpected results with setuptyping. According to the manual the style-parameter has options normal, bold, small, etc. AFAICS, this has not worked in a very very long time, and it may even be a bug in the documentation. But it was easy to fix the code, so

Re: [NTG-context] setuptyping

2006-01-28 Thread VnPenguin
On 1/27/06, Hans van der Meer [EMAIL PROTECTED] wrote: I get some unexpected results with setuptyping. According to the manual the style-parameter has options normal, bold, small, etc. But if I use them I get the option back. The only thing that seems to work is style=command. Example:

Re: [NTG-context] setuptyping

2006-01-28 Thread Hans van der Meer
Thanks. It is of course a minor annoyance, because one can always give the font commands themselves. However, I think it is confusing for newcomers when these things are shown in the manual but will not work. One cannot expect from newcomers to delve into the code. As a result they might

[NTG-context] \setuptyping

2003-09-17 Thread Jean-Pierre Le Narzul
Hi, For typing Java code in a context document, I use \starttyping ... \stoptyping. I have a problem when I configure \setuptyping in the following way : \setuptyping[typing][color=black,style=\ss,escape=/,option=commands] If I put characters like { or _ in my source (between \starttyping and