ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Surprising changes in vers. 2012.01.11
@ 2012-01-11 12:22 Steffen Wolfrum
  2012-01-11 12:40 ` Steffen Wolfrum
                   ` (3 more replies)
  0 siblings, 4 replies; 32+ messages in thread
From: Steffen Wolfrum @ 2012-01-11 12:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

testing the current beta gave me several errors and "Undefined control sequence", 

for example \showframe 
(must not be used before \starttext anymore?}

but what about
\definetolerancemethod[...][...]{...}


Is this repleaced or deleted?

Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 12:22 Surprising changes in vers. 2012.01.11 Steffen Wolfrum
@ 2012-01-11 12:40 ` Steffen Wolfrum
  2012-01-11 12:50   ` Steffen Wolfrum
  2012-01-11 12:53 ` Hans Hagen
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 32+ messages in thread
From: Steffen Wolfrum @ 2012-01-11 12:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum:

> Hi,
> 
> testing the current beta gave me several errors and "Undefined control sequence", 
> 
> for example \showframe 
> (must not be used before \starttext anymore?}
> 
> but what about
> \definetolerancemethod[...][...]{...}
> 
> 
> Is this repleaced or deleted?


and what about

\definewhitespacemethod[...]{...}

?


Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 12:40 ` Steffen Wolfrum
@ 2012-01-11 12:50   ` Steffen Wolfrum
  2012-01-11 13:01     ` Hans Hagen
  2012-01-11 14:38     ` Steffen Wolfrum
  0 siblings, 2 replies; 32+ messages in thread
From: Steffen Wolfrum @ 2012-01-11 12:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum:

> 
> Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum:
> 
>> Hi,
>> 
>> testing the current beta gave me several errors and "Undefined control sequence", 
>> 
>> for example \showframe 
>> (must not be used before \starttext anymore?}
>> 
>> but what about
>> \definetolerancemethod[...][...]{...}
>> 
>> 
>> Is this repleaced or deleted?
> 
> 
> and what about
> 
> \definewhitespacemethod[...]{...}


Using

 \usemodule[ancientgreek][font=Gentium,scale=1]

now gives ...


resolvers       > modules > loaded: 'ancientgreek'
(/Users/steffen/context/tex/texmf-local/tex/context/third/greek/t-ancientgreek.mkiv
loading         > module ancientgreek
(/Users/steffen/context/tex/texmf-local/tex/context/third/greek/type-agr.tex)
! Missing control sequence inserted.

system          > tex > error on line 92 in file 2012_teste.tex: Missing control sequence inserted ...


<inserted text> 
                \inaccessible 
<to be read again> 
                   {
l.92 \define{
             \sampi}{\greeksampi}
? 



Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 12:22 Surprising changes in vers. 2012.01.11 Steffen Wolfrum
  2012-01-11 12:40 ` Steffen Wolfrum
@ 2012-01-11 12:53 ` Hans Hagen
  2012-01-11 12:55 ` luigi scarso
  2012-01-12  8:58 ` Mari Voipio
  3 siblings, 0 replies; 32+ messages in thread
From: Hans Hagen @ 2012-01-11 12:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum

On 11-1-2012 13:22, Steffen Wolfrum wrote:
> Hi,
>
> testing the current beta gave me several errors and "Undefined control sequence",
>
> for example \showframe
> (must not be used before \starttext anymore?}
>
> but what about
> \definetolerancemethod[...][...]{...}
>
>
> Is this repleaced or deleted?

Yes, these 'definers' were never party of the official interface and 
they are now all \install*method commands that take the same number of 
arguments but without []. I might (re)introduce \define variants at some 
point (probably with key/values then). This is just to make low level 
configuration more consistent. After all, some of these definers expect 
knowledge of internals.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 12:22 Surprising changes in vers. 2012.01.11 Steffen Wolfrum
  2012-01-11 12:40 ` Steffen Wolfrum
  2012-01-11 12:53 ` Hans Hagen
@ 2012-01-11 12:55 ` luigi scarso
  2012-01-11 13:43   ` Hans Hagen
  2012-01-12  8:58 ` Mari Voipio
  3 siblings, 1 reply; 32+ messages in thread
From: luigi scarso @ 2012-01-11 12:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Wed, Jan 11, 2012 at 1:22 PM, Steffen Wolfrum <context@st.estfiles.de>wrote:

> Hi,
>
> testing the current beta gave me several errors and "Undefined control
> sequence",
>
> for example \showframe
> (must not be used before \starttext anymore?}
>

It's a matter of font still not defined at that point: just pickup a body
font
\setupbodyfont[lmroman]
\showframe
\starttext
\input knuth\par
\stoptext

-- 
luigi

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 12:50   ` Steffen Wolfrum
@ 2012-01-11 13:01     ` Hans Hagen
  2012-01-11 13:17       ` Thomas A. Schmitz
  2012-01-11 14:38     ` Steffen Wolfrum
  1 sibling, 1 reply; 32+ messages in thread
From: Hans Hagen @ 2012-01-11 13:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum

On 11-1-2012 13:50, Steffen Wolfrum wrote:

> <to be read again>
>                     {
> l.92 \define{
>               \sampi}{\greeksampi}

hm, i didn't know anyone was using it that way

\define\sampi{\greeksampi}

should work ok. I'll be a bot more tolerant then.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 13:01     ` Hans Hagen
@ 2012-01-11 13:17       ` Thomas A. Schmitz
  2012-01-11 13:41         ` Hans Hagen
  0 siblings, 1 reply; 32+ messages in thread
From: Thomas A. Schmitz @ 2012-01-11 13:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1/11/12 2:01 PM, Hans Hagen wrote:
> hm, i didn't know anyone was using it that way
>
> \define\sampi{\greeksampi}
>
> should work ok. I'll be a bot more tolerant then.
>
> Hans

Was just about to write; I had found that too about two weeks ago. I 
don't know if it's incorrect syntax, but it had been working for many 
years, before you started rewriting TeX from scratch :-)

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 13:17       ` Thomas A. Schmitz
@ 2012-01-11 13:41         ` Hans Hagen
  0 siblings, 0 replies; 32+ messages in thread
From: Hans Hagen @ 2012-01-11 13:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

On 11-1-2012 14:17, Thomas A. Schmitz wrote:
> On 1/11/12 2:01 PM, Hans Hagen wrote:
>> hm, i didn't know anyone was using it that way
>>
>> \define\sampi{\greeksampi}
>>
>> should work ok. I'll be a bot more tolerant then.
>>
>> Hans
>
> Was just about to write; I had found that too about two weeks ago. I
> don't know if it's incorrect syntax, but it had been working for many
> years, before you started rewriting TeX from scratch :-)

well, it's hard to imagine how users use commands

i fixed it anyway

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 12:55 ` luigi scarso
@ 2012-01-11 13:43   ` Hans Hagen
  0 siblings, 0 replies; 32+ messages in thread
From: Hans Hagen @ 2012-01-11 13:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11-1-2012 13:55, luigi scarso wrote:
> On Wed, Jan 11, 2012 at 1:22 PM, Steffen Wolfrum<context@st.estfiles.de>wrote:
>
>> Hi,
>>
>> testing the current beta gave me several errors and "Undefined control
>> sequence",
>>
>> for example \showframe
>> (must not be used before \starttext anymore?}
>>
>
> It's a matter of font still not defined at that point: just pickup a body
> font
> \setupbodyfont[lmroman]
> \showframe
> \starttext
> \input knuth\par
> \stoptext

I made showframe work before \starttext but in general Luigi's advice 
has to be followed: if you do anything with fonts before \starttext then 
you need to load a bodyfont.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 12:50   ` Steffen Wolfrum
  2012-01-11 13:01     ` Hans Hagen
@ 2012-01-11 14:38     ` Steffen Wolfrum
  2012-01-11 14:45       ` luigi scarso
  2012-01-11 15:48       ` Steffen Wolfrum
  1 sibling, 2 replies; 32+ messages in thread
From: Steffen Wolfrum @ 2012-01-11 14:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum:

> 
> Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum:
> 
>> 
>> Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum:
>> 
>>> Hi,
>>> 
>>> testing the current beta gave me several errors and "Undefined control sequence", 
>>> ...



This example "hangs":


\def\nobreakspace{~}

\setupbodyfont[times,10pt]\setupinterlinespace[line=12pt]

\starttext

test~text

\stoptext



Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 14:38     ` Steffen Wolfrum
@ 2012-01-11 14:45       ` luigi scarso
  2012-01-11 14:46         ` luigi scarso
  2012-01-11 15:48       ` Steffen Wolfrum
  1 sibling, 1 reply; 32+ messages in thread
From: luigi scarso @ 2012-01-11 14:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Wed, Jan 11, 2012 at 3:38 PM, Steffen Wolfrum <context@st.estfiles.de>wrote:

>
> Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum:
>
> >
> > Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum:
> >
> >>
> >> Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum:
> >>
> >>> Hi,
> >>>
> >>> testing the current beta gave me several errors and "Undefined control
> sequence",
> >>> ...
>
>
>
> This example "hangs":
>
>
> \def\nobreakspace{~}
>
> \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt]
>
> \starttext
>
> test~text
>
> \stoptext
>
>
>
> Steffen
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
hm, always dangerous to redefine lowercase macros
In this case I suspect an infinite recursive  definition
\unexpanded\def~{\nobreakspace}


-- 
luigi

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 14:45       ` luigi scarso
@ 2012-01-11 14:46         ` luigi scarso
  2012-01-11 15:18           ` Steffen Wolfrum
  2012-01-11 15:23           ` Hans Hagen
  0 siblings, 2 replies; 32+ messages in thread
From: luigi scarso @ 2012-01-11 14:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Wed, Jan 11, 2012 at 3:45 PM, luigi scarso <luigi.scarso@gmail.com>wrote:

>
>
> On Wed, Jan 11, 2012 at 3:38 PM, Steffen Wolfrum <context@st.estfiles.de>wrote:
>
>>
>> Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum:
>>
>> >
>> > Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum:
>> >
>> >>
>> >> Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum:
>> >>
>> >>> Hi,
>> >>>
>> >>> testing the current beta gave me several errors and "Undefined
>> control sequence",
>> >>> ...
>>
>>
>>
>> This example "hangs":
>>
>>
>> \def\nobreakspace{~}
>>
>> \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt]
>>
>> \starttext
>>
>> test~text
>>
>> \stoptext
>>
>>
>>
>> Steffen
>>
>> ___________________________________________________________________________________
>> 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
>>
>> ___________________________________________________________________________________
>>
> hm, always dangerous to redefine lowercase macros
> In this case I suspect an infinite recursive  definition
> \unexpanded\def~{\nobreakspace}
>
> sorry , too fast

~ is \nobreakspace
\unexpanded\def~{\nobreakspace}

and you define
\def\nobreakspace{~}

i.e. an infinte loop, I suppose.


-- 
luigi

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 14:46         ` luigi scarso
@ 2012-01-11 15:18           ` Steffen Wolfrum
  2012-01-11 15:26             ` Hans Hagen
  2012-01-11 15:36             ` luigi scarso
  2012-01-11 15:23           ` Hans Hagen
  1 sibling, 2 replies; 32+ messages in thread
From: Steffen Wolfrum @ 2012-01-11 15:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 11.01.2012 um 15:46 schrieb luigi scarso:

> 
> 
> On Wed, Jan 11, 2012 at 3:45 PM, luigi scarso <luigi.scarso@gmail.com> wrote:
> 
> 
> On Wed, Jan 11, 2012 at 3:38 PM, Steffen Wolfrum <context@st.estfiles.de> wrote:
> 
> Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum:
> 
> >
> > Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum:
> >
> >>
> >> Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum:
> >>
> >>> Hi,
> >>>
> >>> testing the current beta gave me several errors and "Undefined control sequence",
> >>> ...
> 
> 
> 
> This example "hangs":
> 
> 
> \def\nobreakspace{~}
> 
> \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt]
> 
> \starttext
> 
> test~text
> 
> \stoptext
> 
> 
> 
> Steffen
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> hm, always dangerous to redefine lowercase macros
> In this case I suspect an infinite recursive  definition
> \unexpanded\def~{\nobreakspace}
> 
> sorry , too fast
> 
> ~ is \nobreakspace
> \unexpanded\def~{\nobreakspace}
> 
> and you define 
> \def\nobreakspace{~}
> 
> i.e. an infinte loop, I suppose.


hmm ... this line "\def\nobreakspace{~}" is part of my environment file for more than 7 years now!
(can't remember if it was necessary back then ...  ;o)

Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 14:46         ` luigi scarso
  2012-01-11 15:18           ` Steffen Wolfrum
@ 2012-01-11 15:23           ` Hans Hagen
  2012-01-11 16:24             ` Alan Braslau
  1 sibling, 1 reply; 32+ messages in thread
From: Hans Hagen @ 2012-01-11 15:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11-1-2012 15:46, luigi scarso wrote:

> ~ is \nobreakspace
> \unexpanded\def~{\nobreakspace}
>
> and you define
> \def\nobreakspace{~}
>
> i.e. an infinte loop, I suppose.

indeed, and it's a bonus that ~ == nobreakspace (although I can imagine 
that we'd get rid of it) but defining other macros in terms of active 
characters is a bad idea

(in fact one can use the unicode nbsp character)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 15:18           ` Steffen Wolfrum
@ 2012-01-11 15:26             ` Hans Hagen
  2012-01-11 15:36             ` luigi scarso
  1 sibling, 0 replies; 32+ messages in thread
From: Hans Hagen @ 2012-01-11 15:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum

On 11-1-2012 16:18, Steffen Wolfrum wrote:

> hmm ... this line "\def\nobreakspace{~}" is part of my environment file for more than 7 years now!
> (can't remember if it was necessary back then ...  ;o)

we're moving away from active characters and characters with special 
meanings so the reversal makes sense in mkiv

in fact, your definitions should have been some combination of skip and 
penalty as you cannot assume that ~ always has the same meaning (being 
activ emeans that its meaning can change)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 15:18           ` Steffen Wolfrum
  2012-01-11 15:26             ` Hans Hagen
@ 2012-01-11 15:36             ` luigi scarso
  2012-01-11 15:55               ` Wolfgang Schuster
  1 sibling, 1 reply; 32+ messages in thread
From: luigi scarso @ 2012-01-11 15:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Wed, Jan 11, 2012 at 4:18 PM, Steffen Wolfrum <context@st.estfiles.de>wrote:

>
> hmm ... this line "\def\nobreakspace{" is part of my environment file for
> more than 7 years now!
> (can't remember if it was necessary back then ...  ;o)
>
> Steffen
>

I have a
\def\nobreakspace            {\penalty\plustenthousand\kern\interwordspace}
into  spac-gen.mkii (nov  5  2009 ...)
(and
\def~{\normalpenalty\!!tenthousand\ }
so your redefining is not a problem)

-- 
luigi

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 14:38     ` Steffen Wolfrum
  2012-01-11 14:45       ` luigi scarso
@ 2012-01-11 15:48       ` Steffen Wolfrum
  2012-01-11 15:53         ` Hans Hagen
  2012-01-11 16:46         ` Steffen Wolfrum
  1 sibling, 2 replies; 32+ messages in thread
From: Steffen Wolfrum @ 2012-01-11 15:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 11.01.2012 um 15:38 schrieb Steffen Wolfrum:

> 
> Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum:
> 
>> 
>> Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum:
>> 
>>> 
>>> Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum:
>>> 
>>>> Hi,
>>>> 
>>>> testing the current beta gave me several errors and "Undefined control sequence", 
>>>> ...



This one gives an "Undefined control sequence".
It is somewhere in that patch Wolfgang gave me some time ago:


\setupbodyfont[times,10pt]\setupinterlinespace[line=12pt]


\def\dofloatboxnormalbotstackbuilder
 {\setbox\scratchbox\vbox
    {\tempfloatwidth\wd\tempfloatbox
         \vskip5.0pt
     \ifparfloat
       \hbox{\hbox           {\box\tempfloatbox  }}%
       \dofloatboxbetweenstack
       \hbox{\locatesidefloat{\box\tempcaptionbox}}%
     \else
       \hbox{\locatefloat    {\box\tempfloatbox  }}%
       \dofloatboxbetweenstack
       \hbox{\locatetextfloat{\box\tempcaptionbox}}%
     \fi\vss}
  \getnoflines{\dimexpr\htdp\scratchbox-10\scaledpoint\relax}% get rid of inaccuracy
  \expanded{\doifinset{\v!overlay}{\floatcaptionparameter\c!location}}\bothangfloat
     {\vbox to \noflines\lineheight{\unvbox\scratchbox}}}
%% end.


\starttext

\placefigure[here]{blabla}{\vskip-9pt{\externalfigure[abbX][frame=off]}blabla}%

\stoptext



-------
Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 15:48       ` Steffen Wolfrum
@ 2012-01-11 15:53         ` Hans Hagen
  2012-01-11 16:46         ` Steffen Wolfrum
  1 sibling, 0 replies; 32+ messages in thread
From: Hans Hagen @ 2012-01-11 15:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum

On 11-1-2012 16:48, Steffen Wolfrum wrote:

> \def\dofloatboxnormalbotstackbuilder
>   {\setbox\scratchbox\vbox
>      {\tempfloatwidth\wd\tempfloatbox
>           \vskip5.0pt
>       \ifparfloat
>         \hbox{\hbox           {\box\tempfloatbox  }}%
>         \dofloatboxbetweenstack
>         \hbox{\locatesidefloat{\box\tempcaptionbox}}%
>       \else
>         \hbox{\locatefloat    {\box\tempfloatbox  }}%
>         \dofloatboxbetweenstack
>         \hbox{\locatetextfloat{\box\tempcaptionbox}}%
>       \fi\vss}
>    \getnoflines{\dimexpr\htdp\scratchbox-10\scaledpoint\relax}% get rid of inaccuracy
>    \expanded{\doifinset{\v!overlay}{\floatcaptionparameter\c!location}}\bothangfloat
>       {\vbox to \noflines\lineheight{\unvbox\scratchbox}}}
> %% end.

if you use that kind of low level hacks you should not harm your 
workflow by updating

all low level macros get renamed into their own namespace and are not 
supposed to be touched (unless of course one keeps also track of low 
level changes)

better is to extend the core code with options


Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 15:36             ` luigi scarso
@ 2012-01-11 15:55               ` Wolfgang Schuster
  0 siblings, 0 replies; 32+ messages in thread
From: Wolfgang Schuster @ 2012-01-11 15:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 11.01.2012 um 16:36 schrieb luigi scarso:

> 
> 
> On Wed, Jan 11, 2012 at 4:18 PM, Steffen Wolfrum <context@st.estfiles.de> wrote:
> 
> hmm ... this line "\def\nobreakspace{" is part of my environment file for more than 7 years now!
> (can't remember if it was necessary back then ...  ;o)
> 
> Steffen
> 
> I have a
> \def\nobreakspace            {\penalty\plustenthousand\kern\interwordspace}
> into  spac-gen.mkii (nov  5  2009 ...)
> (and
> \def~{\normalpenalty\!!tenthousand\ }
> so your redefining is not a problem)

spac-gen.mkii is used for MkII, for MkIV look into space-chr.mkiv.

\unexpanded\def~{\nobreakspace}

Wolfgang

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 15:23           ` Hans Hagen
@ 2012-01-11 16:24             ` Alan Braslau
  2012-01-11 16:33               ` Alan Braslau
  0 siblings, 1 reply; 32+ messages in thread
From: Alan Braslau @ 2012-01-11 16:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jan 11, 2012 at 04:23:28PM +0100, Hans Hagen wrote:
> 
> indeed, and it's a bonus that ~ == nobreakspace (although I can imagine 
> that we'd get rid of it) but defining other macros in terms of active 
> characters is a bad idea
> 
> (in fact one can use the unicode nbsp character)
> 

I have always liked this TeX active character (~).

As information for users of X11:
setxkbmap -option nbsp:level2
(and the equivalent in "xorg.conf" or "etc/hal/fdi/policy/x11-init.fdi")
gives nbsp as shift+space.

On the subject of unicode characters,
I just discovered the ":dig" command (diagraphs)
under my favorite editor "vim"!

Alan
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 16:24             ` Alan Braslau
@ 2012-01-11 16:33               ` Alan Braslau
  2012-01-11 16:42                 ` Hans Hagen
  0 siblings, 1 reply; 32+ messages in thread
From: Alan Braslau @ 2012-01-11 16:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jan 11, 2012 at 05:24:51PM +0100, Alan Braslau wrote:
> On Wed, Jan 11, 2012 at 04:23:28PM +0100, Hans Hagen wrote:
> > 
> > indeed, and it's a bonus that ~ == nobreakspace (although I can imagine 
> > that we'd get rid of it) but defining other macros in terms of active 
> > characters is a bad idea
> > 
> > (in fact one can use the unicode nbsp character)
> > 
> 
> I have always liked this TeX active character (~).
> 
> As information for users of X11:
> setxkbmap -option nbsp:level2
> (and the equivalent in "xorg.conf" or "etc/hal/fdi/policy/x11-init.fdi")
> gives nbsp as shift+space.
> 
> On the subject of unicode characters,
> I just discovered the ":dig" command (diagraphs)
> under my favorite editor "vim"!

Follow-up:

:se list lcs=nbsp:~

makes me feel right at home with my traditional TeX usage...

Alan
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 16:33               ` Alan Braslau
@ 2012-01-11 16:42                 ` Hans Hagen
  2012-01-11 17:32                   ` Khaled Hosny
  0 siblings, 1 reply; 32+ messages in thread
From: Hans Hagen @ 2012-01-11 16:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11-1-2012 17:33, Alan Braslau wrote:
> On Wed, Jan 11, 2012 at 05:24:51PM +0100, Alan Braslau wrote:
>> On Wed, Jan 11, 2012 at 04:23:28PM +0100, Hans Hagen wrote:
>>>
>>> indeed, and it's a bonus that ~ == nobreakspace (although I can imagine
>>> that we'd get rid of it) but defining other macros in terms of active
>>> characters is a bad idea
>>>
>>> (in fact one can use the unicode nbsp character)
>>>
>>
>> I have always liked this TeX active character (~).
>>
>> As information for users of X11:
>> setxkbmap -option nbsp:level2
>> (and the equivalent in "xorg.conf" or "etc/hal/fdi/policy/x11-init.fdi")
>> gives nbsp as shift+space.
>>
>> On the subject of unicode characters,
>> I just discovered the ":dig" command (diagraphs)
>> under my favorite editor "vim"!
>
> Follow-up:
>
> :se list lcs=nbsp:~
>
> makes me feel right at home with my traditional TeX usage...

my favourite editor shows a nice orange blob when it sees a non 
breakable space

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 15:48       ` Steffen Wolfrum
  2012-01-11 15:53         ` Hans Hagen
@ 2012-01-11 16:46         ` Steffen Wolfrum
  2012-01-11 19:31           ` Wolfgang Schuster
  2012-01-12 21:20           ` Steffen Wolfrum
  1 sibling, 2 replies; 32+ messages in thread
From: Steffen Wolfrum @ 2012-01-11 16:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]


Am 11.01.2012 um 16:48 schrieb Steffen Wolfrum:

> 
> Am 11.01.2012 um 15:38 schrieb Steffen Wolfrum:
> 
>> 
>> Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum:
>> 
>>> 
>>> Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum:
>>> 
>>>> 
>>>> Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> testing the current beta gave me several errors and "Undefined control sequence", 
>>>>> ...



... and what's wrong with this (only reproducible in project structure, see attached)?

chap_x.tex only has these 3 minimal lines:

\setupalign[line,block,hanging]

\setupexternalfigures[directory={./Figuren,../Figuren}]

\placefigure[force]{test}{\externalfigure[abb5][frame=off]}



Running it gives following error:

! Missing } inserted.

system          > tex > error on line 13 in file chap_X.tex: Missing  ...

 3     \startcomponent chap_X
 4     \project MyProject
 5     
 6     
 7     
 8     
 9     \setupalign[line,block,hanging]
10     
11     \setupexternalfigures[directory={./Figuren,../Figuren}]
12     
13 >>  \placefigure[force]{test}{\externalfigure[abb5][frame=off]}
14     
15     
16     
17     \stopcomponent
18     

<inserted text> 
                }
<to be read again> 
                   \vskip 
\vfilll ->\vskip 
                 \zeropoint \!!plus 1filll\relax 
<argument> ...\c!height =\figureheight ] {\vfilll 
                                                  \box \foundexternalfigure }
\secondoftwoarguments #1#2->#2
                              
\finishexternalfigure ...x \foundexternalfigure }}
                                                  \fi \fi \fi \else \iftrial...
...
l.13 ...e]{test}{\externalfigure[abb5][frame=off]}
                                                  
? 
Process aborted




-------
Steffen


[-- Attachment #2: project_minimal.zip --]
[-- Type: application/zip, Size: 11428 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 16:42                 ` Hans Hagen
@ 2012-01-11 17:32                   ` Khaled Hosny
  0 siblings, 0 replies; 32+ messages in thread
From: Khaled Hosny @ 2012-01-11 17:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jan 11, 2012 at 05:42:38PM +0100, Hans Hagen wrote:
> >Follow-up:
> >
> >:se list lcs=nbsp:~
> >
> >makes me feel right at home with my traditional TeX usage...
> 
> my favourite editor shows a nice orange blob when it sees a non
> breakable space

In vim, one can add this to his ~/.vimrc:

highlight NobreakSpace ctermbg=yellow
match NobreakSpace / /

(the space in / / is nbsp)

Regards,
 Khaled
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 16:46         ` Steffen Wolfrum
@ 2012-01-11 19:31           ` Wolfgang Schuster
  2012-01-11 19:44             ` Steffen Wolfrum
  2012-01-11 21:04             ` Hans Hagen
  2012-01-12 21:20           ` Steffen Wolfrum
  1 sibling, 2 replies; 32+ messages in thread
From: Wolfgang Schuster @ 2012-01-11 19:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 11.01.2012 um 17:46 schrieb Steffen Wolfrum:

> ... and what's wrong with this (only reproducible in project structure, see attached)?
> 
> chap_x.tex only has these 3 minimal lines:
> 
> \setupalign[line,block,hanging]
> 
> \setupexternalfigures[directory={./Figuren,../Figuren}]
> 
> \placefigure[force]{test}{\externalfigure[abb5][frame=off]}


Unrelated to project structure.

\setupalign[line]%\setfalse\raggedonelinerstate

\starttext
\externalfigure[cow]
\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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 19:31           ` Wolfgang Schuster
@ 2012-01-11 19:44             ` Steffen Wolfrum
  2012-01-11 19:51               ` Wolfgang Schuster
  2012-01-11 21:04             ` Hans Hagen
  1 sibling, 1 reply; 32+ messages in thread
From: Steffen Wolfrum @ 2012-01-11 19:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 11.01.2012 um 20:31 schrieb Wolfgang Schuster:

> \setupalign[line]%\setfalse\raggedonelinerstate
> 
> \starttext
> \externalfigure[cow]
> \stoptext


That's new... "\setfalse\raggedonelinerstate" wasn't needed with 2011.11.29, at least.
Why is it necessary now?

Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 19:44             ` Steffen Wolfrum
@ 2012-01-11 19:51               ` Wolfgang Schuster
  2012-01-11 21:05                 ` Hans Hagen
  0 siblings, 1 reply; 32+ messages in thread
From: Wolfgang Schuster @ 2012-01-11 19:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


Am 11.01.2012 um 20:44 schrieb Steffen Wolfrum:

> 
> Am 11.01.2012 um 20:31 schrieb Wolfgang Schuster:
> 
>> \setupalign[line]%\setfalse\raggedonelinerstate
>> 
>> \starttext
>> \externalfigure[cow]
>> \stoptext
> 
> 
> That's new... "\setfalse\raggedonelinerstate" wasn't needed with 2011.11.29, at least.
> Why is it necessary now?

You don’t need it and you shouldn’t put it in your document. The problem is
the setting \setupalign[line] which breaks \externalfigure but when the conditional
\raggedonelinestate is false (can be also achieved when you set a value for
the align key in \externalfigure) it works.

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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 19:31           ` Wolfgang Schuster
  2012-01-11 19:44             ` Steffen Wolfrum
@ 2012-01-11 21:04             ` Hans Hagen
  1 sibling, 0 replies; 32+ messages in thread
From: Hans Hagen @ 2012-01-11 21:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11-1-2012 20:31, Wolfgang Schuster wrote:
>
> Am 11.01.2012 um 17:46 schrieb Steffen Wolfrum:
>
>> ... and what's wrong with this (only reproducible in project structure, see attached)?
>>
>> chap_x.tex only has these 3 minimal lines:
>>
>> \setupalign[line,block,hanging]
>>
>> \setupexternalfigures[directory={./Figuren,../Figuren}]
>>
>> \placefigure[force]{test}{\externalfigure[abb5][frame=off]}
>
>
> Unrelated to project structure.
>
> \setupalign[line]%\setfalse\raggedonelinerstate
>
> \starttext
> \externalfigure[cow]
> \stoptext

indeed, that reset had to be added to the 'none' case

(but I had no time to make a new beta yet)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 19:51               ` Wolfgang Schuster
@ 2012-01-11 21:05                 ` Hans Hagen
  0 siblings, 0 replies; 32+ messages in thread
From: Hans Hagen @ 2012-01-11 21:05 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On 11-1-2012 20:51, Wolfgang Schuster wrote:
>
> Am 11.01.2012 um 20:44 schrieb Steffen Wolfrum:
>
>>
>> Am 11.01.2012 um 20:31 schrieb Wolfgang Schuster:
>>
>>> \setupalign[line]%\setfalse\raggedonelinerstate
>>>
>>> \starttext
>>> \externalfigure[cow]
>>> \stoptext
>>
>>
>> That's new... "\setfalse\raggedonelinerstate" wasn't needed with 2011.11.29, at least.
>> Why is it necessary now?
>
> You don’t need it and you shouldn’t put it in your document. The problem is
> the setting \setupalign[line] which breaks \externalfigure but when the conditional
> \raggedonelinestate is false (can be also achieved when you set a value for
> the align key in \externalfigure) it works.

and the alignstate variable might become private anyway, so setting it 
in your style is not robust

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 12:22 Surprising changes in vers. 2012.01.11 Steffen Wolfrum
                   ` (2 preceding siblings ...)
  2012-01-11 12:55 ` luigi scarso
@ 2012-01-12  8:58 ` Mari Voipio
  2012-01-12  9:10   ` luigi scarso
  3 siblings, 1 reply; 32+ messages in thread
From: Mari Voipio @ 2012-01-12  8:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jan 11, 2012 at 14:22, Steffen Wolfrum <context@st.estfiles.de> wrote:
> testing the current beta gave me several errors and "Undefined control sequence",

Yep. This is my newest find (and this code worked last week...):


:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
! Illegal unit of measure (pt inserted).

system          > tex > error on line 212 in file fico.tex: Illegal
unit of measure (pt inserted) ...

202     % paragraph formatted right for the specification itself
203     \definetabulate[specstable][|il|p|]
204     \setuptabulate[bodyfont=8pt]
205
206
207
208     % -------------- COVERS, generic settings -------------------------
209
210
211     \definelayer[etukansi]
212 >>      [x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
213
214     \definelayer[takakansi]
215         [x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
216
217     \useexternalfigure[kplogo][kplogo][width=4cm]
218     \useexternalfigure[fico_cover][fico_cover_graphic]%[width=4cm]
219
220
221
222

<to be read again>
                   h
l.212     [x=0mm,y=0mm,width=\paperwidth,h
                                          eight=\paperheight]
?



Regards,

Mari
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-12  8:58 ` Mari Voipio
@ 2012-01-12  9:10   ` luigi scarso
  0 siblings, 0 replies; 32+ messages in thread
From: luigi scarso @ 2012-01-12  9:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Thu, Jan 12, 2012 at 9:58 AM, Mari Voipio <mari.voipio@iki.fi> wrote:

> On Wed, Jan 11, 2012 at 14:22, Steffen Wolfrum <context@st.estfiles.de>
> wrote:
> > testing the current beta gave me several errors and "Undefined control
> sequence",
>
> Yep. This is my newest find (and this code worked last week...):
>
>
>
> :/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
> ! Illegal unit of measure (pt inserted).
>
> system          > tex > error on line 212 in file fico.tex: Illegal
> unit of measure (pt inserted) ...
>
> 202     % paragraph formatted right for the specification itself
> 203     \definetabulate[specstable][|il|p|]
> 204     \setuptabulate[bodyfont=8pt]
> 205
> 206
> 207
> 208     % -------------- COVERS, generic settings -------------------------
> 209
> 210
> 211     \definelayer[etukansi]
> 212 >>      [x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
> 213
> 214     \definelayer[takakansi]
> 215         [x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
> 216
> 217     \useexternalfigure[kplogo][kplogo][width=4cm]
> 218     \useexternalfigure[fico_cover][fico_cover_graphic]%[width=4cm]
> 219
> 220
> 221
> 222
>
> <to be read again>
>                   h
> l.212     [x=0mm,y=0mm,width=\paperwidth,h
>                                          eight=\paperheight]
> ?
>
>
>
> Regards,
>
> Mari
>
this is ok with
ConTeXt  ver: 2012.01.11 14:58 MKIV  fmt: 2012.1.12  int: english/english

\definelayer[etukansi]
      [x=0mm,
       y=0mm,
       width=\paperwidth,
       height=\paperheight]

\starttext
\input knuth\par
\stoptext

Do you have a smaller complete example ?




-- 
luigi

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Surprising changes in vers. 2012.01.11
  2012-01-11 16:46         ` Steffen Wolfrum
  2012-01-11 19:31           ` Wolfgang Schuster
@ 2012-01-12 21:20           ` Steffen Wolfrum
  1 sibling, 0 replies; 32+ messages in thread
From: Steffen Wolfrum @ 2012-01-12 21:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 11.01.2012 um 17:46 schrieb Steffen Wolfrum:
>>>>> 
>>>>> Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> testing the current beta gave me several errors and "Undefined control sequence", 
>>>>>> ...



And the numbers of the footnote (= the note's marker) are set smaller with current beta (when using the same settings as in December)!

How can they be addressed (and set a bit bigger again)?


[Just to be clear: I don't mean the footnote's text, nor the number in front of it. I only mean the number/marker in the text where \footnote{...} is placed]


Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2012-01-12 21:20 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11 12:22 Surprising changes in vers. 2012.01.11 Steffen Wolfrum
2012-01-11 12:40 ` Steffen Wolfrum
2012-01-11 12:50   ` Steffen Wolfrum
2012-01-11 13:01     ` Hans Hagen
2012-01-11 13:17       ` Thomas A. Schmitz
2012-01-11 13:41         ` Hans Hagen
2012-01-11 14:38     ` Steffen Wolfrum
2012-01-11 14:45       ` luigi scarso
2012-01-11 14:46         ` luigi scarso
2012-01-11 15:18           ` Steffen Wolfrum
2012-01-11 15:26             ` Hans Hagen
2012-01-11 15:36             ` luigi scarso
2012-01-11 15:55               ` Wolfgang Schuster
2012-01-11 15:23           ` Hans Hagen
2012-01-11 16:24             ` Alan Braslau
2012-01-11 16:33               ` Alan Braslau
2012-01-11 16:42                 ` Hans Hagen
2012-01-11 17:32                   ` Khaled Hosny
2012-01-11 15:48       ` Steffen Wolfrum
2012-01-11 15:53         ` Hans Hagen
2012-01-11 16:46         ` Steffen Wolfrum
2012-01-11 19:31           ` Wolfgang Schuster
2012-01-11 19:44             ` Steffen Wolfrum
2012-01-11 19:51               ` Wolfgang Schuster
2012-01-11 21:05                 ` Hans Hagen
2012-01-11 21:04             ` Hans Hagen
2012-01-12 21:20           ` Steffen Wolfrum
2012-01-11 12:53 ` Hans Hagen
2012-01-11 12:55 ` luigi scarso
2012-01-11 13:43   ` Hans Hagen
2012-01-12  8:58 ` Mari Voipio
2012-01-12  9:10   ` luigi scarso

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