ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Replacing a piece of a paper
Date: Wed, 12 Jan 2011 12:03:46 +0100	[thread overview]
Message-ID: <2FD30704-CDB9-4364-BF9C-A0A10A6BDD00@gmail.com> (raw)
In-Reply-To: <op.vo6zc0grtpjj8f@lpr>


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


Am 12.01.2011 um 11:56 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

> Hello,
> 
> thanks for the code.
> 
> On Wed, 12 Jan 2011 10:30:39 +0100, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
> 
>> \define[2]\Replacement
>>  {\startTEXpage[background={foreground,replacement}]%

{\startTEXpage

>>   \layeredtext
>>     [corner={right,bottom},location={left,top}]
>>     [background=color,backgroundcolor=white,offset=0pt]
>>     {\externalfigure[#2]}
>>     {\externalfigure[#1]}
>>   \stopTEXpage}
>> 
>> \useexternalfigure[big]  [hacker][scale=3000]
>> \useexternalfigure[small][cow]
>> 
>> \starttext
>> \Replacement{big}{small}
>> \stoptext
>> 
>> \layeredtext is described in the details manuals.
> 
> Which exactly do you mean? I searched for some information about "\layeredtext" and "\startTEXpage[background=".

You don’t need “backround={…}”, it’s a leftover from a earlier attempt to find a nice solution to your problem.

\startTEXpage … \stopTEXpage produce a separate page for it’s content where the page is a large as the content itself, try:
\starttext
\input knuth\par
\startTEXpage[width=10cm]
\input knuth\par
\stopTEXpage
\input knuth\par
\stoptext

> I tried wiki, contextref.pdf and google, also several from http://www.pragma-ade.com/show-man-1.htm, but I'm not much smarter so far.

http://pragma-ade.com/show-man-27.htm

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 2865 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________

      parent reply	other threads:[~2011-01-12 11:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-11 16:41 Procházka Lukáš Ing. - Pontex s. r. o.
2011-01-11 16:45 ` Mojca Miklavec
2011-01-11 17:32   ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-01-11 17:59     ` Aditya Mahajan
2011-01-11 18:26       ` Hans Hagen
2011-01-12  8:45     ` zs
2011-01-11 16:53 ` luigi scarso
2011-01-11 20:32 ` undesired offset with \position (was: Re: Replacing a piece of a paper) Peter Münster
2011-01-12  8:39   ` Replacing a piece of a paper Procházka Lukáš Ing. - Pontex s. r. o.
2011-01-12  9:30     ` Wolfgang Schuster
2011-01-12 10:56       ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-01-12 11:02         ` luigi scarso
2011-01-12 11:03         ` Wolfgang Schuster [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=2FD30704-CDB9-4364-BF9C-A0A10A6BDD00@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).