Re: [NTG-context] size in setuptype
Meer, Hans van der <mailto:h.vanderm...@uva.nl> 24. Februar 2016 um 14:35 I can understand that, but it is not the problem to be solved here. That problem is the fact that I cannot typeset with both \type{...} and \starttyping ... \stoptyping and get the same appearance in type, spacing 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[style=\ttx] \setuptype [style=\ttx] \starttext before \starttyping content \stoptyping after before \type{content} after \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] size in setuptype
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 \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 order to keep continuity in size and style. The bodyfont key for typing is usefull when you need a narrower font font for long listings. I can understand that, but it is not the problem to be solved here. That problem is the fact that I cannot typeset with both \type{...} and \starttyping ... \stoptyping and get the same appearance in type, spacing 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? \definetypeface[narrowtt][tt][mono][modern-condensed][default] \starttext \starttyping \starttypescript [modern-designsize] \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!ss] [\s!sans] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!tt] [\s!mono] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] [\s!default] \quittypescriptscanning \stoptypescript \stoptyping \starttyping[bodyfont=narrowtt] \starttypescript [modern-designsize] \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!ss] [\s!sans] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!tt] [\s!mono] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] [\s!default] \quittypescriptscanning \stoptypescript \stoptyping \stoptext Wolfgang Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] size in setuptype
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[bodyfont=small]\starttyping ... \stoptyping whereas in both the same is wanted in order to keep continuity in size and style. The bodyfont key for typing is usefull when you need a narrower font font for long listings. \definetypeface[narrowtt][tt][mono][modern-condensed][default] \starttext \starttyping \starttypescript [modern-designsize] \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!ss] [\s!sans] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!tt] [\s!mono] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] [\s!default] \quittypescriptscanning \stoptypescript \stoptyping \starttyping[bodyfont=narrowtt] \starttypescript [modern-designsize] \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!ss] [\s!sans] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!tt] [\s!mono] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto] \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] [\s!default] \quittypescriptscanning \stoptypescript \stoptyping \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] size in setuptype
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 order to keep continuity in size and style. \setuptype[bodyfont=small] definitely gave something different, i.e. no change. \setuptype[bodyfont=small]: can this be incorporated in the next ConTeXt-beta producing the same effect as \setuptyping[bodyfont=small]? It would be very nice. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug in \setuptype?
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 buff-ver.miv (the name of the option > parameter has to be changed to method): Many thanks for your fast reply and the fix, Wolfgang. It works perfect now. Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug in \setuptype?
> 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 bug. Make the following change in buff-ver.miv (the name of the option parameter has to be changed to method): \def\buff_verbatim_type_normal#1% {\buff_verbatim_initialize_type_two \dostarttaggedchained\t!verbatim\currenttype\??type \clf_type data{\detokenize{#1}}% tab {\typeparameter\c!tab}% -option {\p_buff_option}% +method {\p_buff_option}% compact {\typeparameter\c!compact}% % none | all | last (all needed in tabulate etc for manuals) escape {\typeparameter\c!escape}% % new but rather useless imo (escaping in general is not used much) % nature {inline}% is default \relax \dostoptagged \buff_verbatim_right_of_type \egroup} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] bug in \setuptype?
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuptype[style=...] and a feature request
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 - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuptype[style=...] and a feature request
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/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuptype[style=...] and a feature request
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 - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuptype[style=...] and a feature request
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. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setuptype[style=...] and a feature request
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://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___