[NTG-context] Re: empty line before typebuffer

2023-07-31 Thread Henning Hraban Ramm
Am 31.07.23 um 17:25 schrieb Pablo Rodriguez: On 7/30/23 21:50, Henning Hraban Ramm wrote: Am 30.07.23 um 21:22 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 30.07.2023 um 21:14: Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable

[NTG-context] Re: empty line before typebuffer

2023-07-31 Thread Pablo Rodriguez
On 7/30/23 21:50, Henning Hraban Ramm wrote: > Am 30.07.23 um 21:22 schrieb Wolfgang Schuster: >> Henning Hraban Ramm schrieb am 30.07.2023 um 21:14: >>> Yet another issue: >>> >>> \typebuffer always starts with a blank line. >>> Is this a bug, or ho

[NTG-context] Re: empty line before typebuffer

2023-07-30 Thread Henning Hraban Ramm
Am 30.07.23 um 21:22 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 30.07.2023 um 21:14: Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuff

[NTG-context] Re: empty line before typebuffer

2023-07-30 Thread Jacob Kauffmann via ntg-context
It comes from framedtext: \starttext \startbuffer \samplefile{tufte} \stopbuffer \framedtext[strut=no]{\typebuffer[option=tex]} \stoptext Best, Jacob > Am 30.07.2023 um 21:14 schrieb Henning Hraban Ramm : > > Yet another issue: > > \typebuffer always starts wi

[NTG-context] Re: empty line before typebuffer

2023-07-30 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 30.07.2023 um 21:14: Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuffer \framedtext{\typebuffer[option=t

[NTG-context] empty line before typebuffer

2023-07-30 Thread Henning Hraban Ramm
Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuffer \framedtext{\typebuffer[option=t

Re: [NTG-context] Avoid indentation after \typebuffer

2020-07-01 Thread Hans Hagen
On 7/1/2020 12:25 PM, Mikael Sundqvist wrote: Does the indentnext do something else for this setup? I'll look at it Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] Avoid indentation after \typebuffer

2020-07-01 Thread Mikael Sundqvist
On Wed, Jul 1, 2020 at 8:53 AM Hans Hagen wrote: > On 6/30/2020 9:50 PM, Mikael Sundqvist wrote: > > Hi, > > > > I want to avoid indentation after \typebuffer (or set indentnext to auto > > perhaps). I am probably missing something simple, but I thought that the &g

Re: [NTG-context] Avoid indentation after \typebuffer

2020-07-01 Thread Hans Hagen
On 6/30/2020 9:50 PM, Mikael Sundqvist wrote: Hi, I want to avoid indentation after \typebuffer (or set indentnext to auto perhaps). I am probably missing something simple, but I thought that the example file below should have worked: \setupindenting[yes,medium] \setuptyping[buffer

[NTG-context] Avoid indentation after \typebuffer

2020-06-30 Thread Mikael Sundqvist
Hi, I want to avoid indentation after \typebuffer (or set indentnext to auto perhaps). I am probably missing something simple, but I thought that the example file below should have worked: \setupindenting[yes,medium] \setuptyping[buffer][ indentnext=no, ] \starttext \startbuffer \startformula

Re: [NTG-context] typebuffer different from typefile

2016-04-24 Thread Meer, Hans van der
The point is not that I am without options for a practical solution here. My point is that the difference between \typebuffer and \typefile breaks the strict and so much appreciated congruence between like macro calls. Therefore my post must rather be seen as a plea to the maintainer(s

Re: [NTG-context] typebuffer different from typefile

2016-04-24 Thread Pablo Rodriguez
ame, because their > usage parallels each other? Hi Hans, I wonder whether any of these two options may help you: \setuptyping[buffer][style=\ttx] \startbuffer[test] content of buffer \stopbuffer \starttext \typebuffer[test][style=\ss\red] \typefile[style=\ttx

[NTG-context] typebuffer different from typefile

2016-04-24 Thread dr. Hans van der Meer
: \startbuffer[test] content of buffer \stopbuffer \starttext \typebuffer[test] \typefile[style=\ttx]{test.txt} \stoptext Hans van der Meer ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] apply typing environment to \typebuffer

2014-01-15 Thread Pablo Rodriguez
On 01/15/2014 01:12 AM, Marco Patzer wrote: On 2014–01–14 Pablo Rodriguez wrote: I have a presentation that defines a typing environment and I would like to know who to apply it to \typebuffer. Use: \setuptyping [buffer] [option=TEX] Many thanks for your reply, Marco

Re: [NTG-context] apply typing environment to \typebuffer

2014-01-15 Thread Peter Münster
On Wed, Jan 15 2014, Pablo Rodriguez wrote: \definetyping[buffer][option=TEX,before=\startframedtext,after=\stopframedtext] \setuptyping[buffer][style=\tt\setupinterlinespace,align={right,broad}] Why \definetyping[buffer] ? \typebuffer is already defined. Shouldn't it be: \setuptyping

Re: [NTG-context] apply typing environment to \typebuffer

2014-01-15 Thread Pablo Rodriguez
On 01/15/2014 08:50 PM, Peter Münster wrote: On Wed, Jan 15 2014, Pablo Rodriguez wrote: \definetyping[buffer][option=TEX,before=\startframedtext,after=\stopframedtext] \setuptyping[buffer][style=\tt\setupinterlinespace,align={right,broad}] Why \definetyping[buffer] ? \typebuffer

Re: [NTG-context] apply typing environment to \typebuffer

2014-01-15 Thread Wolfgang Schuster
Am 15.01.2014 um 20:42 schrieb Pablo Rodriguez oi...@gmx.es: On 01/15/2014 01:12 AM, Marco Patzer wrote: On 2014–01–14 Pablo Rodriguez wrote: I have a presentation that defines a typing environment and I would like to know who to apply it to \typebuffer. Use: \setuptyping

[NTG-context] apply typing environment to \typebuffer

2014-01-14 Thread Pablo Rodriguez
Dear list, I have a presentation that defines a typing environment and I would like to know who to apply it to \typebuffer. Here is a sample: \definetyping[TeXcode][option=TEX] \starttext \startbuffer[a] \starttext \input knuth \stoptext \stopbuffer \typesetbuffer[a] \typebuffer[a] \stoptext

Re: [NTG-context] apply typing environment to \typebuffer

2014-01-14 Thread Marco Patzer
On 2014–01–14 Pablo Rodriguez wrote: I have a presentation that defines a typing environment and I would like to know who to apply it to \typebuffer. Here is a sample: \definetyping[TeXcode][option=TEX] Use: \setuptyping [buffer] [option=TEX] This applies globally, though

Re: [NTG-context] \typebuffer with typing style

2009-06-10 Thread Matthijs Kooijman
Hi Peter, \setuptyping[option=TEX] This is what I am using now, but this changes the global settings and requires resetting them afterwards. Not so pretty. I was hoping for a better method to achieve this, but I'm starting to doubt there is one currently. I've been trying to give \typebuffer

Re: [NTG-context] \typebuffer with typing style

2009-06-10 Thread Peter Münster
. 2 ideas: - With \setuptyping[file][option=TEX] the global setting is only for \typefile or \typebuffer. - Use grouping, for example: \def\myTypeBuffer#1{\bgroup \setuptyping[...] \typebuffer[#1] \egroup} Cheers, Peter -- Contact information: http://pmrb.free.fr/contact

Re: [NTG-context] \typebuffer with typing style

2009-06-09 Thread Matthijs Kooijman
Hi all, Snip question about styled \typebuffer Shortly after sending my email, I realized the actual problem I was trying to solve was not the one I posted, so perhaps I can clarify that a bit. What I'm trying to do, is pass some text to a custom command, which should then be displayed

Re: [NTG-context] \typebuffer with typing style

2009-06-09 Thread Peter Münster
On Mon, 8 Jun 2009, Matthijs Kooijman wrote: \definetyping[FOO][option=FOO] \startbuffer[bar] baz \stopbuffer \typebuffer[FOO][bar] Perhaps you are looking for this: \setuptyping[option=TEX] \starttext \startbuffer[bar] This is \ConTeXt. \stopbuffer \typebuffer[bar] \stoptext

[NTG-context] \typebuffer with typing style

2009-06-08 Thread Matthijs Kooijman
\typebuffer, but that only seems to work with the default typing style. I'd like to do the following: \definetyping[FOO][option=FOO] \startbuffer[bar] baz \stopbuffer \typebuffer[FOO][bar] From looking at buff-ini.mkiv it seems typebuffer has some code to handle a second argument, but it seems

Re: [NTG-context] \typebuffer with typing style

2009-06-08 Thread Matthijs Kooijman
Hi all, since \startFOO \getbuffer[bar] \stopFOO gives me compile errors. Actually, that turned out to be my own typo. However, this doesn't give me what I want, but just a verbatim \getbuffer[bar]... Gr. Matthijs signature.asc Description: Digital signature

[NTG-context] typebuffer extra line

2008-06-03 Thread Hans van der Meer
Exercising \typebuffer gives an extra blank line afterwards. See the following minimal example. How can I prevent this extra line? Using: ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2008.5.24 int: english/english Example: \startbuffer[A] Contents of buffer A. \stopbuffer \startbuffer[B

Re: [NTG-context] typebuffer extra line

2008-06-03 Thread Taco Hoekwater
Hans van der Meer wrote: Exercising \typebuffer gives an extra blank line afterwards. See the following minimal example. How can I prevent this extra line? \setuptyping[file][before=,after=] Best wishes, Taco

Re: [NTG-context] typebuffer extra line

2008-06-03 Thread Wolfgang Schuster
2008/6/3 Hans van der Meer [EMAIL PROTECTED]: Exercising \typebuffer gives an extra blank line afterwards. See the following minimal example. How can I prevent this extra line? Using: ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2008.5.24 int: english/english Example: \startbuffer

[NTG-context] \typebuffer with typing name

2005-03-30 Thread Vit Zyka
Hi everybody, please consider: --- \definetyping[TEX] \setuptyping[TEX][option=TEX] \starttext \startbuffer[A] \somemacro[bla][obla=vbla] \stopbuffer \typebuffer[A] \stoptext --- It works perfectly. I would like to type buffer

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

2004-11-04 Thread Eckhart Guthöhrlein
On Wed, Nov 03, 2004 at 02:19:19PM +0100, Eckhart Guthöhrlein wrote: On Wed, Nov 03, 2004 at 01:39:45PM +0100, Hans Hagen wrote: Eckhart Guthöhrlein wrote: Hi all, I'm using \typebuffer to typeset some metapost code. How can I tell it to either ignore tabs or treat them like 1,2,3

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

2004-11-03 Thread Eckhart Guthöhrlein
Hi all, I'm using \typebuffer to typeset some metapost code. How can I tell it to either ignore tabs or treat them like 1,2,3,... spaces, instead of printing ^^I? Another question: There has been a thread on telling \typebuffer what type of code on this list some time ago, without a final

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

2004-11-03 Thread Hans Hagen
Eckhart Guthöhrlein wrote: Hi all, I'm using \typebuffer to typeset some metapost code. How can I tell it to either ignore tabs or treat them like 1,2,3,... spaces, instead of printing ^^I? Another question: There has been a thread on telling \typebuffer what type of code on this list some time

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

2004-11-03 Thread Eckhart Guthöhrlein
On Wed, Nov 03, 2004 at 01:39:45PM +0100, Hans Hagen wrote: Eckhart Guthöhrlein wrote: Hi all, I'm using \typebuffer to typeset some metapost code. How can I tell it to either ignore tabs or treat them like 1,2,3,... spaces, instead of printing ^^I? Another question: There has been