ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Gerben Wierda <gerben.wierda@rna.nl>
Subject: Re: \pagewidth undefined?
Date: Tue, 19 May 2020 17:37:01 +0200	[thread overview]
Message-ID: <b94b2332-f13e-5726-a6b1-4b8f0dc186b5@gmail.com> (raw)
In-Reply-To: <81F96BC7-2DA2-4566-9544-D8E4BADD5A8D@rna.nl>

Gerben Wierda schrieb am 19.05.2020 um 13:42:
> OK. I just noticed in lmtx documentation that \paperheight and \paperwidth primitives have been removed, but there is no information what rteplaces them. So, all the documentation that contains them has been invalidated (e.g. examples in details.pdf)
I can't find \pagewidth in the current versison of details.pdf.

As Pablo wrote you can use \paperwidth (or \printpaperwidth) or one of 
the following methods.

%%%% begin example
\setupexternalfigures[location=default]

\setuplayout[tight]

\showframe

\starttext

\centerbox{\externalfigure[mill.png][width=\textwidth]}

\page

\centerbox{\externalfigure[mill.png][width=\paperwidth]}

\page

\centerbox{\externalfigure[mill.png][factor=max]}

\page

\centerbox{\externalfigure[mill.png][factor=min]}

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

  parent reply	other threads:[~2020-05-19 15:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19  9:58 Gerben Wierda
2020-05-19 11:42 ` Gerben Wierda
2020-05-19 14:39   ` Pablo Rodriguez
2020-05-19 15:37   ` Wolfgang Schuster [this message]
2020-05-19 18:11     ` Hans Hagen
2020-05-19 22:54       ` Gerben Wierda

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=b94b2332-f13e-5726-a6b1-4b8f0dc186b5@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=gerben.wierda@rna.nl \
    --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).