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, t

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 setuptyp

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 Description:

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 : > >> Dear list, >> >> the following sample: >> >> \showframe >> \setuppapersize[S6] >> \setuptyping[option=TEX,lines=yes] > > You can use this setup for the moment: > > \setuptyping[option=TEX,ali

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 : > 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

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

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] > > Y

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{a

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-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' then

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 u

[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 Arabeyes.org

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 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á 1658 147 14 Praha 4 Tel: +420 244

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 que

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. wrote: Hello Hans - On Wed, 01 Dec 2010 15:32:05 +0100, Hans Hagen wrote: I'm trying to \setuptyping to use a 8pt font size [of a tt typeface]. \setuptyping .

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 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 \starttext

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 |

[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 \s

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

[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? ___

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 col

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 optio

[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 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. Bu

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. Bu

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 tur

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. > > Examp

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 s

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

[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 \stoptypin

[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