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: Paragraphs in Layers
Date: Fri, 10 Apr 2009 01:06:19 +0200	[thread overview]
Message-ID: <028A8C53-F151-4A06-8768-9869A1FFC64E@gmail.com> (raw)
In-Reply-To: <fe8d59da0904091553h34bd5faax1f569d88c0f9176a@mail.gmail.com>


Am 10.04.2009 um 00:53 schrieb luigi scarso:

>> and why so many '%'?
> prevent spurios spaces

after \relax?

>> \newdimen checks for the existence of a control sequence
>
> the point is that on minimals-beta there is an error,
> on minimals no , but xpdf says
>
> Error: ExtGState 'Tr0' is unknown
> Error: ExtGState 'Tr0' is unknown
> Error: ExtGState 'Tr0' is unknown
> Error: ExtGState 'Tr0' is unknown
> Error: ExtGState 'Tr0' is unknown
>
> The code is not wrong -- maybe a bit strange

works fine here with preview app or adobe reader

> Also this is ok in minimals
> fails in minimals-beta,
> and I think It's legal code, but I can fail .
>
> \newdimen\currentlayerheight
> \starttext
> \currentlayerheight=\dimexpr 12pt +0pt\relax%
> \the\currentlayerheight
> \stoptex\newdimen\currentlayerheight

current: \newdimen\currentlayerheight -> create new dimen register

beta: \newdimen\currentlayerheight -> check if \currentlayerheight is  
already defined, it true write a message to the terminal and do  
nothing else create a new dimen register what did not happen here  
because \currentlayerheight is defined in page-lyr.tex

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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-04-09 23:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 19:40 Design Department
2009-04-09 19:45 ` Wolfgang Schuster
2009-04-09 20:14   ` Design Department
2009-04-09 20:27     ` Wolfgang Schuster
2009-04-09 20:54       ` Design Department
2009-04-09 21:24         ` Wolfgang Schuster
2009-04-09 21:44           ` luigi scarso
2009-04-09 22:04             ` Wolfgang Schuster
2009-04-09 22:53               ` luigi scarso
2009-04-09 23:06                 ` Wolfgang Schuster [this message]
2009-04-09 23:36                   ` luigi scarso
2009-04-09 20:33     ` Willi Egger

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=028A8C53-F151-4A06-8768-9869A1FFC64E@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).