ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \type ignores space between command and bracket
@ 2019-11-05 20:14 Wolfgang Schuster
  2024-02-02 10:16 ` [NTG-context] " wolfgangbackes--- via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2019-11-05 20:14 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

Hi,

in the following code example the result from \type lacks the space 
between \cmd and the following left bracket.

\starttext

\starttyping
\cmd [...]
\stoptyping

\type{\cmd [...]}

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: \type ignores space between command and bracket
  2019-11-05 20:14 \type ignores space between command and bracket Wolfgang Schuster
@ 2024-02-02 10:16 ` wolfgangbackes--- via ntg-context
  2024-02-02 17:34   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: wolfgangbackes--- via ntg-context @ 2024-02-02 10:16 UTC (permalink / raw)
  To: ntg-context; +Cc: wolfgangbackes

I have stumbeld across the same bug. Seems to be very elementary, but is still present after many years. Sigh.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: \type ignores space between command and bracket
  2024-02-02 10:16 ` [NTG-context] " wolfgangbackes--- via ntg-context
@ 2024-02-02 17:34   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2024-02-02 17:34 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 2/2/2024 11:16 AM, wolfgangbackes--- via ntg-context wrote:
> I have stumbeld across the same bug. Seems to be very elementary, but is still present after many years. Sigh.
don't confuse bugs and features ...

\starttext

here a \type{\test  is}  done
here a \type{\test [is]} done
here a \type{\test {is}} done

here a \type[compact=yes]{\test  is}  done
here a \type[compact=yes]{\test [is]} done
here a \type[compact=yes]{\test {is}} done

here a \type[compact=all]{\test  is}  done
here a \type[compact=all]{\test [is]} done
here a \type[compact=all]{\test {is}} done

\stoptext

it helps to read a bit about how tex handles spaces esp after control 
sequences and when passing stuff in arguments ... then sit down and 
ponder possible solutions for a while ...

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2024-02-02 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05 20:14 \type ignores space between command and bracket Wolfgang Schuster
2024-02-02 10:16 ` [NTG-context] " wolfgangbackes--- via ntg-context
2024-02-02 17:34   ` Hans Hagen 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).