Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
More information on this. Statements:


\usemodule[hvdm-dvd]
\starttext
\xmlprocessbuffer{dvd}{xmlbuffer}{}
\stoptext
\endinput

in the hvdm-dvd module \setuppagenumber[state=stop] is put inside

\startxmlsetups setup-name
\setuppapersize[A5][A5]
\setuppagenumber[state=stop]
   "typesetting operations following"
\stopxmlsetups
In this case pagenumber not suppressed.

However with the following order of statements the pagenumber does get 
suppressed.

\starttext
  \setuppagenumber[state=stop]
  \xmlprocessbuffer{dvd}{xmlbuffer}{}
\stoptext

In both cases the call to  \setuppagenumber comes before typesetting the page.
Why is the  \setuppagenumber inside the xmlsetup ignored?

Hans van der Meer




On 27 Dec 2015, at 14:21, Meer, Hans van der 
> wrote:

The command  "\setuppagenumber[state=stop]"  used to stop numbering the pages, 
now it doesn't.
Has this been changed and did I miss that change?

Hans van der Meer




___
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
___

___
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
___

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Wolfgang Schuster

Meer, Hans van der 
27. Dezember 2015 um 22:25

On 27 Dec 2015, at 21:57, Wolfgang Schuster 
> 
wrote:



Meer, Hans van der 
27. Dezember 2015 um 21:47

One more observation on the strangeness of \setuppagenumber.

Putting \setuppagenumber[number=4] before the call to 
\xmlprocessbuffer and putting\setuppagenumber[state=stop,number=8] 
inside the \startxmlsetups does make the pagenumber having the value 
8. This proves two things:


(1) the \setuppagenumber in the \startxmlsetups is processed before 
the pagenumber is fixed and typeset


(2) the [state=stop] in the \startxmlsetups is wrongfully ignored, 
whereas at the same time [number=8] does get honored.


Imho this demonstrates there is an error in the processing of 
\setuppagenumber when located inside the \startxmlsetups. An error 
that does not occur when called at the \starttext document-level 
before the \xmlprocessbuffer.

Could it be a matter of locality?



You have to provide a *working* minimal example.


Not so simple, alas.
But I will be greatly helped if you can ascertain that

\startxmlsetups
code within
\stopxmlsetups

is code executed locally as if between \begingroup .. \endgroup.
That would explain the behaviour.
The remedy then could be a more global execution of \setuppagenumber.
I have to disappoint you but the content of the setups environment isn't 
grouped.

I already tried in vain \global\settuppagenumber

This doesn't work here.

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
___

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der

On 27 Dec 2015, at 21:57, Wolfgang Schuster 
> wrote:

Meer, Hans van der
27. Dezember 2015 um 21:47
One more observation on the strangeness of \setuppagenumber.

Putting \setuppagenumber[number=4] before the call to \xmlprocessbuffer and 
putting \setuppagenumber[state=stop,number=8] inside the \startxmlsetups does 
make the pagenumber having the value 8. This proves two things:

(1) the \setuppagenumber in the \startxmlsetups is processed before the 
pagenumber is fixed and typeset

(2) the [state=stop] in the \startxmlsetups is wrongfully ignored, whereas at 
the same time [number=8] does get honored.

Imho this demonstrates there is an error in the processing of \setuppagenumber 
when located inside the \startxmlsetups. An error that does not occur when 
called at the \starttext document-level before the \xmlprocessbuffer.
Could it be a matter of locality?

You have to provide a *working* minimal example.

Not so simple, alas.
But I will be greatly helped if you can ascertain that

\startxmlsetups
code within
\stopxmlsetups

is code executed locally as if between \begingroup .. \endgroup.
That would explain the behaviour.
The remedy then could be a more global execution of \setuppagenumber.
I already tried in vain \global\settuppagenumber

Hans van der Meer



___
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
___

[NTG-context] Switching to landscape

2015-12-27 Thread Lukáš Procházka

Hello,

I have problem switching to landscape paper size (and landscape printing).

Based on

http://wiki.contextgarden.net/PaperSetup

I have:


\definepapersize[A4L][A4,landscape]

\starttext
  Aaa
  \page
  %\setuppapersize[A4,landscape]
  \setuppapersize[A4L]
  Bbb
\stoptext


But neither "\setuppapersize[A4,landscape]" nor "\setuppapersize[A4L]" works - 
still portrait paper orientation;
so how to switch to landscape page orientation?

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

PapSz.mkiv
Description: Binary data


PapSz.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
One more observation on the strangeness of \setuppagenumber.

Putting \setuppagenumber[number=4] before the call to \xmlprocessbuffer and 
putting \setuppagenumber[state=stop,number=8] inside the \startxmlsetups does 
make the pagenumber having the value 8. This proves two things:

(1) the \setuppagenumber in the \startxmlsetups is processed before the 
pagenumber is fixed and typeset

(2) the [state=stop] in the \startxmlsetups is wrongfully ignored, whereas at 
the same time [number=8] does get honored.

Imho this demonstrates there is an error in the processing of \setuppagenumber 
when located inside the \startxmlsetups. An error that does not occur when 
called at the \starttext document-level before the \xmlprocessbuffer.
Could it be a matter of locality?


On 27 Dec 2015, at 17:20, Meer, Hans van der 
> wrote:

More information on this. Statements:


\usemodule[hvdm-dvd]
\starttext
\xmlprocessbuffer{dvd}{xmlbuffer}{}
\stoptext
\endinput

in the hvdm-dvd module \setuppagenumber[state=stop] is put inside

\startxmlsetups setup-name
\setuppapersize[A5][A5]
\setuppagenumber[state=stop]
   "typesetting operations following"
\stopxmlsetups
In this case pagenumber not suppressed.

However with the following order of statements the pagenumber does get 
suppressed.

\starttext
  \setuppagenumber[state=stop]
  \xmlprocessbuffer{dvd}{xmlbuffer}{}
\stoptext

In both cases the call to  \setuppagenumber comes before typesetting the page.
Why is the  \setuppagenumber inside the xmlsetup ignored?

Hans van der Meer




On 27 Dec 2015, at 14:21, Meer, Hans van der 
> wrote:

The command  "\setuppagenumber[state=stop]"  used to stop numbering the pages, 
now it doesn't.
Has this been changed and did I miss that change?

Hans van der Meer




___
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
___

___
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
___

___
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
___

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Wolfgang Schuster

Meer, Hans van der 
27. Dezember 2015 um 21:47
One more observation on the strangeness of \setuppagenumber.

Putting \setuppagenumber[number=4] before the call to 
\xmlprocessbuffer and putting\setuppagenumber[state=stop,number=8] 
inside the \startxmlsetups does make the pagenumber having the value 
8. This proves two things:


(1) the \setuppagenumber in the \startxmlsetups is processed before 
the pagenumber is fixed and typeset


(2) the [state=stop] in the \startxmlsetups is wrongfully ignored, 
whereas at the same time [number=8] does get honored.


Imho this demonstrates there is an error in the processing of 
\setuppagenumber when located inside the \startxmlsetups. An error 
that does not occur when called at the \starttext document-level 
before the \xmlprocessbuffer.

Could it be a matter of locality?

You have to provide a *working* minimal example.

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
___

Re: [NTG-context] Switching to landscape

2015-12-27 Thread Wolfgang Schuster

Lukáš Procházka 
27. Dezember 2015 um 22:19
Hello,

I have problem switching to landscape paper size (and landscape 
printing).


Based on

http://wiki.contextgarden.net/PaperSetup

I have:


\definepapersize[A4L][A4,landscape]

\starttext
  Aaa
  \page
  %\setuppapersize[A4,landscape]
  \setuppapersize[A4L]
  Bbb
\stoptext


But neither "\setuppapersize[A4,landscape]" nor "\setuppapersize[A4L]" 
works - still portrait paper orientation;

so how to switch to landscape page orientation?
It’s a bug but for the moment you can call \setuplayout (no arguments 
are necessary) after \setupapersize to have the correct sizes in the PDF.


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
___

[NTG-context] suddenly run error

2015-12-27 Thread dr. Hans van der Meer
A document that runs fine under
   ConTeXt  ver: 2015.10.09 21:28 MKIV beta  fmt: 2015.10.11  int: 
english/english
suddenly doesn't under
  ConTeXt  ver: 2015.12.22 10:50 MKIV beta  fmt: 2015.12.27  int: 
english/english
mtx-context | fatal error: no return code, message: luatex: execution 
interrupted

Loaded this beta today.
The previous beta runs ok, the new beta gives the error. The pdf produced in 
the latter seems at fault.
Anyone knows how this error can occur?

___
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
___

Re: [NTG-context] suddenly run error

2015-12-27 Thread dr. Hans van der Meer
A further observationthat makes things seem far worse: the error is dependent 
on the content!
The document in question has several chapters, each in a separate file. 
Dependent on the combination of files included, the error does or does not show 
up. Sofar I cannot find a pattern linked to the error. Making a minimal example 
proved impossible, alas.

Hans van der meer

> On 27 Dec 2015, at 13:19, dr. Hans van der Meer  wrote:
> 
> A document that runs fine under
>ConTeXt  ver: 2015.10.09 21:28 MKIV beta  fmt: 2015.10.11  int: 
> english/english
> suddenly doesn't under
>   ConTeXt  ver: 2015.12.22 10:50 MKIV beta  fmt: 2015.12.27  int: 
> english/english
> mtx-context | fatal error: no return code, message: luatex: execution 
> interrupted
> 
> Loaded this beta today.
> The previous beta runs ok, the new beta gives the error. The pdf produced in 
> the latter seems at fault.
> Anyone knows how this error can occur?
> 
> ___
> 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
> ___

___
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
___

[NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
The command  "\setuppagenumber[state=stop]"  used to stop numbering the pages, 
now it doesn't. 
Has this been changed and did I miss that change?

Hans van der Meer




___
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
___