ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing." <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Pdf info: width, height and rotation
Date: Thu, 17 Nov 2016 10:16:03 +0100	[thread overview]
Message-ID: <op.yq2eo1st62epfj@lpr> (raw)
In-Reply-To: <94a35210-4fc8-220a-f211-ed48af29662c@wxs.nl>

Hello,

thank you for the reaction.

On Thu, 17 Nov 2016 09:51:51 +0100, Hans Hagen <pragma@wxs.nl> wrote:

> you do that yourself as [3] - [1] is the width while you put it under

OK, so width = bbox[3] - bbox[1]

>> 2. Is it possible to get rotation or orientation of the page (be
>> "portrait" or "landscape" or "0" or "90" or so)?
>
> if it's in a dictionary you can locate it query the value

Orientation: How exactly? Could you provide some minimal code?

Best regards,

Lukas


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

Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2016-11-17  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-17  8:27 Procházka Lukáš Ing.
2016-11-17  8:51 ` Hans Hagen
2016-11-17  9:16   ` Procházka Lukáš Ing. [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.yq2eo1st62epfj@lpr \
    --to=lpr@pontex.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).