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
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
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
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 ___________________________________________________________________________ ________
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
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
participants (4)
-
B. Vogel
-
Hans Hagen
-
Thomas A. Schmitz
-
Wolfgang Schuster