ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* duplex printing and doublesided
@ 2016-03-15 12:26 Pablo Rodriguez
  2016-03-31  8:41 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2016-03-15 12:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

I have the following sample:

    \setuppagenumbering[alternative=doublesided]
    \setupinteractionscreen[option=portrait]
    \starttext
    No duplex printing.
    \page[right]
    In this document.
    \stoptext

I’m afraid that doublesided alternative disables duplex printing.

This would be a good reason to implement the features already asked at
https://mailman.ntg.nl/pipermail/ntg-context/2016/084298.html.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 7+ messages in thread

* Re: duplex printing and doublesided
  2016-03-15 12:26 duplex printing and doublesided Pablo Rodriguez
@ 2016-03-31  8:41 ` Hans Hagen
  2016-04-01 20:54   ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2016-03-31  8:41 UTC (permalink / raw)
  To: ntg-context

On 3/15/2016 1:26 PM, Pablo Rodriguez wrote:
> Hi Hans,
>
> I have the following sample:
>
>      \setuppagenumbering[alternative=doublesided]
>      \setupinteractionscreen[option=portrait]
>      \starttext
>      No duplex printing.
>      \page[right]
>      In this document.
>      \stoptext
>
> I’m afraid that doublesided alternative disables duplex printing.

sure, that's why we have 'portrait' and 'landscape' as directives

> This would be a good reason to implement the features already asked at
> https://mailman.ntg.nl/pipermail/ntg-context/2016/084298.html.
>
> Many thanks for your help,
>
> Pablo
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | 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] 7+ messages in thread

* Re: duplex printing and doublesided
  2016-03-31  8:41 ` Hans Hagen
@ 2016-04-01 20:54   ` Pablo Rodriguez
  2016-04-02 18:09     ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2016-04-01 20:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 03/31/2016 10:41 AM, Hans Hagen wrote:
> On 3/15/2016 1:26 PM, Pablo Rodriguez wrote:
>> [...]
>> I’m afraid that doublesided alternative disables duplex printing.
> 
> sure, that's why we have 'portrait' and 'landscape' as directives

How should I invoke them? (Sorry, but I cannot grep it. This is too
complex for me.)

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 7+ messages in thread

* Re: duplex printing and doublesided
  2016-04-01 20:54   ` Pablo Rodriguez
@ 2016-04-02 18:09     ` Wolfgang Schuster
  2016-04-02 18:29       ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2016-04-02 18:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Pablo Rodriguez <mailto:oinos@gmx.es>
> 1. April 2016 um 22:54
>
> How should I invoke them? (Sorry, but I cannot grep it. This is too
> complex for me.)

\setupinteractionscreen[option=landscape] % option=portrait

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1536 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] 7+ messages in thread

* Re: duplex printing and doublesided
  2016-04-02 18:09     ` Wolfgang Schuster
@ 2016-04-02 18:29       ` Pablo Rodriguez
  2016-04-04  9:35         ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2016-04-02 18:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 04/02/2016 08:09 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 1. April 2016 um 22:54
>>
>> How should I invoke them? (Sorry, but I cannot grep it. This is too
>> complex for me.)
> interface
> 
> \setupinteractionscreen[option=landscape] % option=portrait

Wolfgang, this was my original sample:

    \setuppagenumbering[alternative=doublesided]
    \setupinteractionscreen[option=portrait]
    \starttext
    No duplex printing.
    \page[right]
    In this document.
    \stoptext

The doublesided alternative disables duplex printing.

Hans wrote about portrait and landscape as directives. I guess they
should be invoked with \enabledirective, but I don’t know how.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 7+ messages in thread

* Re: duplex printing and doublesided
  2016-04-02 18:29       ` Pablo Rodriguez
@ 2016-04-04  9:35         ` Wolfgang Schuster
  2016-04-04 16:14           ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2016-04-04  9:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Pablo Rodriguez <mailto:oinos@gmx.es>
> 2. April 2016 um 20:29
>
> Wolfgang, this was my original sample:
>
> \setuppagenumbering[alternative=doublesided]
> \setupinteractionscreen[option=portrait]
> \starttext
> No duplex printing.
> \page[right]
> In this document.
> \stoptext
>
> The doublesided alternative disables duplex printing.
>
> Hans wrote about portrait and landscape as directives. I guess they
> should be invoked with \enabledirective, but I don’t know how.
No, the option key for \setupinteractionscreen is correct but there are 
a few problems.

1. When you have a doublesided document the “portrait” option loads the 
values
    of the doublesided option.

2. Since you can set only one argument for the option key context has to 
set a values
    for the PDF document which means you can set the zoom value and 
dupley print
    option at the same time. A better solution would be to assign each 
option only a certain
    function and allow one to set 
\setupinteractionscreen[option={doublesided,portrait}].

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2143 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] 7+ messages in thread

* Re: duplex printing and doublesided
  2016-04-04  9:35         ` Wolfgang Schuster
@ 2016-04-04 16:14           ` Pablo Rodriguez
  0 siblings, 0 replies; 7+ messages in thread
From: Pablo Rodriguez @ 2016-04-04 16:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 04/04/2016 11:35 AM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 2. April 2016 um 20:29
>>
>> Wolfgang, this was my original sample:
>>
>> \setuppagenumbering[alternative=doublesided]
>> \setupinteractionscreen[option=portrait]
>> \starttext
>> No duplex printing.
>> \page[right]
>> In this document.
>> \stoptext
>>
>> The doublesided alternative disables duplex printing.
>>
>> Hans wrote about portrait and landscape as directives. I guess they
>> should be invoked with \enabledirective, but I don’t know how.
>
> No, the option key for \setupinteractionscreen is correct but there are
> a few problems.

Many thanks for your reply, Wolfgang.

> 1. When you have a doublesided document the “portrait” option loads the
> values of the doublesided option.

I’m afraid I must be missing something. If I remove the first line from
the sample above, I don’t get the third page.

> 2. Since you can set only one argument for the option key context has to
> set a values for the PDF document which means you can set the zoom value and
> dupley print option at the same time. A better solution would be to assign each
> option only a certain function and allow one to set
> \setupinteractionscreen[option={doublesided,portrait}].

I’d say this is redundant. "portrait" is duplex printing flipping the
long side.

The issue comes from having one key for five values and also from mixing
viewing options with printer options (the PDF spec shelters them in the
viewer preferences dictionary).

In this case, doublesided sets layout "TwoColumnRight" (which is a
display setup) disabling also duplex and fixed printing (which are
printing setups).

As I proposed before (but Hans is busy with other issues), there should
be four different keys in \setupinteraction (when not moving them to a
new \setupprinting command):

    duplex          page portrait landscape

    fixed           (no value is required)

    copies          number

    pdfpapersize    yes no

I’d love to contribute the patch myself, but Lua is totally unknown to
me. I have tried to adapt lpdf-mis.lua, but this is beyond my knowledge.

So I will have to wait until the new keys are implemented :-(.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2016-04-04 16:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-15 12:26 duplex printing and doublesided Pablo Rodriguez
2016-03-31  8:41 ` Hans Hagen
2016-04-01 20:54   ` Pablo Rodriguez
2016-04-02 18:09     ` Wolfgang Schuster
2016-04-02 18:29       ` Pablo Rodriguez
2016-04-04  9:35         ` Wolfgang Schuster
2016-04-04 16:14           ` Pablo Rodriguez

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