From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40522 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: new options for \setupinteractionscreen Date: Sat, 19 Apr 2008 22:53:49 +0200 Message-ID: <480A5BDD.4020402@wxs.nl> References: <4809FAA1.2080504@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208639120 27032 80.91.229.12 (19 Apr 2008 21:05:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2008 21:05:20 +0000 (UTC) To: vit.zyka@seznam.cz, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 19 23:05:52 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JnKF5-0006QM-Kv for gctc-ntg-context-518@m.gmane.org; Sat, 19 Apr 2008 23:05:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B4F931FC43; Sat, 19 Apr 2008 23:04:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04084-01; Sat, 19 Apr 2008 23:03:47 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BB0FF1FBFB; Sat, 19 Apr 2008 22:59:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B14DF1FBFB for ; Sat, 19 Apr 2008 22:59:02 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03612-01 for ; Sat, 19 Apr 2008 22:58:23 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id 833631FBD5 for ; Sat, 19 Apr 2008 22:54:16 +0200 (CEST) Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 470 for multiple; Sat, 19 Apr 2008 22:54:16 +0200 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <4809FAA1.2080504@seznam.cz> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40522 Archived-At: Vit Zyka wrote: > Dear ConTeXters, > > for PDF document one can set /PageLayout. It is a mode in which reader > shows us pages (Single, Continous, Facing, ...). in ConTeXt one can set > > \setupinteractionscreen[option=doublesided] > > which set layout /TwoColumnRight (understand two facing continuous pages > with odd pages on the right side). Since PDF 1.5 there is a possibility > to set 3 more layouts: > > /TwoColumnLeft > /TwoPageRight > /TwoPageLeft > > I poropose to incorporate next lines of code to sources to enable > setting of these layouts > > % double=facing, column=continuous, right|left=where odd page > \setupinteractionscreen[ > option=doublecolumnleft, > option=doublepageright, > option=doublepageleft, > option=doublecolumnright, % for compatibility = doublesided > option=doublecolumn, % for simplicity = doublecolumnright > option=doublepage, % for simplicity = doublepageright > ] another option is (less new keywords) option={doublesided,left,continue} % any order > These names are derrived from curren naming convention (doublesided) and > PDF names. May be we can use more intuitive variants: > option=facingright, > option=facingleft, > option=facingcontinuousright, > option=facingcontinuousleft, > > Sorry I know English and Czech interface only and for FDF driver. May be > somebody add more. > > Vit > > Proposal: > ----------------------------------------------------------------- > % mult-con.tex > \startvariables dutch english > german czech > italian romanian > french > > doublecolumnright: doublecolumnright doublecolumnright > doublecolumnright dvasloupcevpravo > doublecolumnright doublecolumnright > doublecolumnright > doublecolumnleft: doublecolumnleft doublecolumnleft > doublecolumnleft dvasloupcevlevo > doublecolumnleft doublecolumnleft > doublecolumnleft > doublecolumn: doublecolumn doublecolumn > doublecolumn dvasloupce > doublecolumn doublecolumn > doublecolumn > doublepageright: doublepageright doublepageright > doublepageright dvestrankyvpravo > doublepageright doublepageright > doublepageright > doublepageleft: doublepageleft doublepageleft > doublepageleft dvestrankyvlevo > doublepageleft doublepageleft > doublepageleft > doublepage: doublepage doublepage > doublepage dvestranky > doublepage doublepage > doublepage > \stopvariables > > % core-int > \setvalue{\??sc\c!option\v!doublecolumnright}{4} % compatibility > \setvalue{\??sc\c!option\v!doublecolumnleft}{5} % new > \setvalue{\??sc\c!option\v!doublepageright}{6} % new > \setvalue{\??sc\c!option\v!doublepageleft}{7} % new > \setvalue{\??sc\c!option\v!doublecolumn}{4} % compatibility > \setvalue{\??sc\c!option\v!doublepage}{6} % compatibility > > % spec-fdf.tex > \def\doPDFsetupscreen#1#2#3#4#5#6% watch the extra argument > {\bgroup > \xdef\currentPDFpagemode > {\ifnum#6=4 > /PageLayout /TwoColumnRight > \else\ifnum#6=5 > /PageLayout /TwoColumnLeft > \else\ifnum#6=6 > /PageLayout /TwoPageRight > \else\ifnum#6=7 > /PageLayout /TwoPageLeft > \else > /PageMode \ifcase#6 > /UseNone\or/FullScreen\or/UseOutlines\else/UseNone\fi > \fi\fi\fi\fi}% > \xdef\currentPDFviewerprefs % space after #6 needed, else \relax > {\ifcase#6 \or\or\else /ViewerPreferences << /FitWindow true >>\fi}% > \egroup} > ------------------------------------------------------------ > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ -- ----------------------------------------------------------------- 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 ___________________________________________________________________________________