ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* blockquote oddity
@ 2016-10-19 15:15 Alan Bowen
  2016-10-19 15:33 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Bowen @ 2016-10-19 15:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

\starttext
\startblockquote
[w]hile we may

[w]hile we may

\stopblockquote
\stoptext

seems to fail with the latest beta (ConTeXt  ver: 2016.10.14) unless one
replaces the first line with
\[w\]hile we may.

The error message is
tex error       > tex error on line 4 in file
/Users/bowen1/Desktop/TestTeX/test.tex: ! Missing number, treated as zero

<to be read again>
w
\spac_narrower_method_analyze ...arrower_middle #1
                                                  \relax \fi
\syst_helpers_repeat_with_command ..._again [#1]#5
                                                  \else
\syst_helpers_repeat...
\17>>1 ..._process_comma_list_with_parameters {#1}

\syst_helpers_do_process_c...
\syst_helpers_do_process_comma_list ...rgument #1,
                                                  ]\relax \global \advance
\...
\spac_narrower_start_apply ...narrower_initialize
                                                  \advance \leftskip
\dimexp...
...
l.4 [w]h
      ile we may

 1     \starttext
 2
 3     \startblockquote
 4 >>  [w]hile we may
 5
 6     [w]hile we may
 7
 8     \stopblockquote
 9
10     \stoptext
11


?


Alan

[-- Attachment #1.2: Type: text/html, Size: 4533 bytes --]

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

___________________________________________________________________________________
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

* Re: blockquote oddity
  2016-10-19 15:15 blockquote oddity Alan Bowen
@ 2016-10-19 15:33 ` Wolfgang Schuster
  2016-10-19 15:41   ` Alan Bowen
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2016-10-19 15:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Alan Bowen <mailto:bowenalan03@gmail.com>
> 19. Oktober 2016 um 17:15
> \starttext
> \startblockquote
> [w]hile we may
>
> [w]hile we may
>
> \stopblockquote
> \stoptext
>
> seems to fail with the latest beta (ConTeXt  ver: 2016.10.14) unless 
> one replaces the first line with
> \[w\]hile we may.
>
Better \startblockquote\relax

The \startblockquote command has a optional argument which is passed to 
\startnarrower and
in your example [w] is used as the argument. This alone won’t be enough 
for an error, the reason
why you get problems is that \startnarrower takes everything which isn’t 
a valid keyword (left, right
or middle) as dimension for the margins but "w" isn’t a dimension and 
generates the error.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2654 bytes --]

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

___________________________________________________________________________________
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

* Re: blockquote oddity
  2016-10-19 15:33 ` Wolfgang Schuster
@ 2016-10-19 15:41   ` Alan Bowen
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Bowen @ 2016-10-19 15:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Thanks, Wolfgang, for the explanation.

Best, Alan

On Wed, Oct 19, 2016 at 11:33 AM, Wolfgang Schuster <
schuster.wolfgang@gmail.com> wrote:

> Alan Bowen <bowenalan03@gmail.com>
> 19. Oktober 2016 um 17:15
> \starttext
> \startblockquote
> [w]hile we may
>
> [w]hile we may
>
> \stopblockquote
> \stoptext
>
> seems to fail with the latest beta (ConTeXt  ver: 2016.10.14) unless one
> replaces the first line with
> \[w\]hile we may.
>
> Better \startblockquote\relax
>
> The \startblockquote command has a optional argument which is passed to
> \startnarrower and
> in your example [w] is used as the argument. This alone won’t be enough
> for an error, the reason
> why you get problems is that \startnarrower takes everything which isn’t a
> valid keyword (left, right
> or middle) as dimension for the margins but "w" isn’t a dimension and
> generates the error.
>
> 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
> ____________________________________________________________
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 4305 bytes --]

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

___________________________________________________________________________________
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

end of thread, other threads:[~2016-10-19 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-19 15:15 blockquote oddity Alan Bowen
2016-10-19 15:33 ` Wolfgang Schuster
2016-10-19 15:41   ` Alan Bowen

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