ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] empty line before typebuffer
@ 2023-07-30 19:14 Henning Hraban Ramm
  2023-07-30 19:22 ` [NTG-context] " Wolfgang Schuster
  2023-07-30 19:23 ` Jacob Kauffmann via ntg-context
  0 siblings, 2 replies; 6+ messages in thread
From: Henning Hraban Ramm @ 2023-07-30 19:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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=tex]}

\stoptext
"""
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [NTG-context] Re: empty line before typebuffer
  2023-07-30 19:14 [NTG-context] empty line before typebuffer Henning Hraban Ramm
@ 2023-07-30 19:22 ` Wolfgang Schuster
  2023-07-30 19:50   ` Henning Hraban Ramm
  2023-07-30 19:23 ` Jacob Kauffmann via ntg-context
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2023-07-30 19:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Henning Hraban Ramm

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=tex]}
>
> \stoptext
> """

\framedtext[strut=no]{\typebuffer[option=tex]}

or

\startframedtext
\typebuffer[option=tex]
\stopframedtext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [NTG-context] Re: empty line before typebuffer
  2023-07-30 19:14 [NTG-context] empty line before typebuffer Henning Hraban Ramm
  2023-07-30 19:22 ` [NTG-context] " Wolfgang Schuster
@ 2023-07-30 19:23 ` Jacob Kauffmann via ntg-context
  1 sibling, 0 replies; 6+ messages in thread
From: Jacob Kauffmann via ntg-context @ 2023-07-30 19:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jacob Kauffmann


[-- Attachment #1.1: Type: text/plain, Size: 1058 bytes --]

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 <texml@fiee.net>:
> 
> 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=tex]}
> 
> \stoptext
> """
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [NTG-context] Re: empty line before typebuffer
  2023-07-30 19:22 ` [NTG-context] " Wolfgang Schuster
@ 2023-07-30 19:50   ` Henning Hraban Ramm
  2023-07-31 15:25     ` Pablo Rodriguez
  0 siblings, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2023-07-30 19:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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}
>> \stopbuffer
>>
>> \framedtext{\typebuffer[option=tex]}
>>
>> \stoptext
>> """
> 
> \framedtext[strut=no]{\typebuffer[option=tex]}
> 
> or
> 
> \startframedtext
> \typebuffer[option=tex]
> \stopframedtext

Thank you (also Jacob)!
Seems like I didn’t look in the right place.

Hraban


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [NTG-context] Re: empty line before typebuffer
  2023-07-30 19:50   ` Henning Hraban Ramm
@ 2023-07-31 15:25     ` Pablo Rodriguez
  2023-07-31 17:21       ` Henning Hraban Ramm
  0 siblings, 1 reply; 6+ messages in thread
From: Pablo Rodriguez @ 2023-07-31 15:25 UTC (permalink / raw)
  To: ntg-context

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 it?

Sorry for being too late, Hraban.

\typeinlinebuffer is probably the best option here.

Pablo

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [NTG-context] Re: empty line before typebuffer
  2023-07-31 15:25     ` Pablo Rodriguez
@ 2023-07-31 17:21       ` Henning Hraban Ramm
  0 siblings, 0 replies; 6+ messages in thread
From: Henning Hraban Ramm @ 2023-07-31 17:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 it?
> 
> Sorry for being too late, Hraban.
> 
> \typeinlinebuffer is probably the best option here.

Thank you, but no. I needed it for code examples in a frame.

strut=no did the trick.

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-31 17:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-30 19:14 [NTG-context] empty line before typebuffer Henning Hraban Ramm
2023-07-30 19:22 ` [NTG-context] " Wolfgang Schuster
2023-07-30 19:50   ` Henning Hraban Ramm
2023-07-31 15:25     ` Pablo Rodriguez
2023-07-31 17:21       ` Henning Hraban Ramm
2023-07-30 19:23 ` Jacob Kauffmann via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).