ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \currentdate and language deo
@ 2009-08-07  9:02 Thomas A. Schmitz
  2009-08-08 14:28 ` sectionblockenvironment not working? B. Vogel
  2009-08-11 22:37 ` \currentdate and language deo Hans Hagen
  0 siblings, 2 replies; 8+ messages in thread
From: Thomas A. Schmitz @ 2009-08-07  9:02 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Hi all,

something doesn't work with language deo in the latest current.  
Testfile:

\mainlanguage[deo]

\starttext

test: \currentdate

\stoptext

Switching language to de makes the file compile.

All best

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* sectionblockenvironment not working?
  2009-08-07  9:02 \currentdate and language deo Thomas A. Schmitz
@ 2009-08-08 14:28 ` B. Vogel
  2009-08-08 14:55   ` Wolfgang Schuster
  2009-08-08 15:04   ` enumerations and definehead B. Vogel
  2009-08-11 22:37 ` \currentdate and language deo Hans Hagen
  1 sibling, 2 replies; 8+ messages in thread
From: B. Vogel @ 2009-08-08 14:28 UTC (permalink / raw)
  To: ntg-context

Hi all,

I can't get the example below working. 
Is there a problem with the sectionblockenvironment?

Regards,

Bernard


% MTXrun | current version: 2009.08.07 11:22
% linux-32

\startsectionblockenvironment[frontpart]
  \setuppagenumbering [location=footer] 
  \setupuserpagenumber[numberconversion=romannumerals]
  \setupfootertexts[left][right]
\stopsectionblockenvironment

\startsectionblockenvironment[bodypart]
  \setuppagenumber[number=1]
  \setuppagenumbering [location=footer] 
  \setupuserpagenumber[numberconversion=characters]
  \setupfootertexts[left][right]
\stopsectionblockenvironment


\starttext
  \startfrontmatter \chapter{test} \stopfrontmatter
  \startbodymatter \chapter{test} \stopbodymatter
\stoptext
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: sectionblockenvironment not working?
  2009-08-08 14:28 ` sectionblockenvironment not working? B. Vogel
@ 2009-08-08 14:55   ` Wolfgang Schuster
  2009-08-08 15:37     ` B. Vogel
  2009-08-09 20:35     ` Hans Hagen
  2009-08-08 15:04   ` enumerations and definehead B. Vogel
  1 sibling, 2 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2009-08-08 14:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 08.08.2009 um 16:28 schrieb B. Vogel:

> Hi all,
>
> I can't get the example below working.
> Is there a problem with the sectionblockenvironment?


the problem is there since a while

\unprotect

\def\dostartstructureblockenvironment[#1]% evt \pushendofline  
\popendofline
   {\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
    \grabuntil{\e!stop\v!structureblockenvironment}{\csname\??nb\s! 
do#1\endcsname}}

\def\dostartsectionblockenvironment[#1]% evt \pushendofline  
\popendofline
   {\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
    \grabuntil{\e!stop\v!sectionblockenvironment}{\csname\??nb\s! 
do#1\endcsname}}

\def\getstructureblockenvironment#1%
   {\let\do\firstofoneargument
    \csname\??nb\s!do#1\endcsname}

\protect

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* enumerations and definehead
  2009-08-08 14:28 ` sectionblockenvironment not working? B. Vogel
  2009-08-08 14:55   ` Wolfgang Schuster
@ 2009-08-08 15:04   ` B. Vogel
  1 sibling, 0 replies; 8+ messages in thread
From: B. Vogel @ 2009-08-08 15:04 UTC (permalink / raw)
  To: ntg-context

Hi all,

How do I reset an enumeration with my own header?

See the example below.
The build-in section works and my own header fails.

Tia,

Bernard


% MKIV beta
% MTXrun | current version: 2009.08.07 11:22
% linux-32

\definehead[Mysection][section]

\setuphead[Mysection]
  [after=\nowhitespace\hairline]

\defineenumeration[example]
  [way=bysection]

\starttext

\dorecurse {3} {
  \Mysection{Mysection \recurselevel}
  \dorecurse {3} {\startexample \recurselevel \stopexample}} 
\page

\dorecurse {3} {
  \section{Section \recurselevel}
  \dorecurse {3} {\startexample \recurselevel \stopexample}} 

\stoptext
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: sectionblockenvironment not working?
  2009-08-08 14:55   ` Wolfgang Schuster
@ 2009-08-08 15:37     ` B. Vogel
  2009-08-08 15:50       ` Wolfgang Schuster
  2009-08-09 20:35     ` Hans Hagen
  1 sibling, 1 reply; 8+ messages in thread
From: B. Vogel @ 2009-08-08 15:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks, it is working nicely. 

On Saturday 08 August 2009, Wolfgang Schuster wrote:
> Am 08.08.2009 um 16:28 schrieb B. Vogel:
> > Hi all,
> >
> > I can't get the example below working.
> > Is there a problem with the sectionblockenvironment?
>
> the problem is there since a while

and the solution too, looking at the speed of your answer.

Is there a reason for not merging your patch besides Hans being busy?

Regards,

Bernard

>
> \unprotect
>
> \def\dostartstructureblockenvironment[#1]% evt \pushendofline
> \popendofline
>    {\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
>     \grabuntil{\e!stop\v!structureblockenvironment}{\csname\??nb\s!
> do#1\endcsname}}
>
> \def\dostartsectionblockenvironment[#1]% evt \pushendofline
> \popendofline
>    {\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
>     \grabuntil{\e!stop\v!sectionblockenvironment}{\csname\??nb\s!
> do#1\endcsname}}
>
> \def\getstructureblockenvironment#1%
>    {\let\do\firstofoneargument
>     \csname\??nb\s!do#1\endcsname}
>
> \protect
>
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________
>________


___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: sectionblockenvironment not working?
  2009-08-08 15:37     ` B. Vogel
@ 2009-08-08 15:50       ` Wolfgang Schuster
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2009-08-08 15:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 08.08.2009 um 17:37 schrieb B. Vogel:

>>> Is there a problem with the sectionblockenvironment?
>>
>> the problem is there since a while
>
> and the solution too, looking at the speed of your answer.
>
> Is there a reason for not merging your patch besides Hans being busy?

i wrote the patch an hour ago, hans will fix it (i guess in a  
different way)
when he has time to read the mail

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: sectionblockenvironment not working?
  2009-08-08 14:55   ` Wolfgang Schuster
  2009-08-08 15:37     ` B. Vogel
@ 2009-08-09 20:35     ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2009-08-09 20:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:
> 
> Am 08.08.2009 um 16:28 schrieb B. Vogel:
> 
>> Hi all,
>>
>> I can't get the example below working.
>> Is there a problem with the sectionblockenvironment?
> 
> 
> the problem is there since a while
> 
> \unprotect
> 
> \def\dostartstructureblockenvironment[#1]% evt \pushendofline \popendofline
>   {\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
>    
> \grabuntil{\e!stop\v!structureblockenvironment}{\csname\??nb\s!do#1\endcsname}} 
> 
> 
> \def\dostartsectionblockenvironment[#1]% evt \pushendofline \popendofline
>   {\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
>    
> \grabuntil{\e!stop\v!sectionblockenvironment}{\csname\??nb\s!do#1\endcsname}} 
> 
> 
> \def\getstructureblockenvironment#1%
>   {\let\do\firstofoneargument
>    \csname\??nb\s!do#1\endcsname}
> 
> \protect

ok, applied (i'll look into it later as this mechanism needs some 
cleanup anyway)


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


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

* Re: \currentdate and language deo
  2009-08-07  9:02 \currentdate and language deo Thomas A. Schmitz
  2009-08-08 14:28 ` sectionblockenvironment not working? B. Vogel
@ 2009-08-11 22:37 ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2009-08-11 22:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thomas A. Schmitz wrote:
> Hi all,
> 
> something doesn't work with language deo in the latest current. Testfile:
> 
> \mainlanguage[deo]
> 
> \starttext
> 
> test: \currentdate
> 
> \stoptext
> 
> Switching language to de makes the file compile.

fixed

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


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

end of thread, other threads:[~2009-08-11 22:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-07  9:02 \currentdate and language deo Thomas A. Schmitz
2009-08-08 14:28 ` sectionblockenvironment not working? B. Vogel
2009-08-08 14:55   ` Wolfgang Schuster
2009-08-08 15:37     ` B. Vogel
2009-08-08 15:50       ` Wolfgang Schuster
2009-08-09 20:35     ` Hans Hagen
2009-08-08 15:04   ` enumerations and definehead B. Vogel
2009-08-11 22:37 ` \currentdate and language deo Hans Hagen

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