ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: [pdf] erroneous pdf output
Date: Mon, 17 Dec 2001 12:27:50 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20011217121703.032376f8@server-1> (raw)
In-Reply-To: <3C1C3B87.E0D55A83@seb2.eng.ohio-state.edu>

At 01:13 AM 12/16/2001 -0500, you wrote:
>Hi all
>
>I tried running this file with
>texexec --pdf test.tex
>and the pdf file cannot be read by acroread.
>I have also included the log <apologies for that>.
>Another thing the texexec stops due to something about
>units and doesnt complain if no background thing is used.

you need to change this in spec-ps.tex

\def\dosomeovalbox#1#2#3#4#5#6#7%
   {\bgroup
    \dimen0=#4\divide\dimen0 2
    \dosomeovalcalc{0pt}{+\dimen0}\xmin    %%%%%%%%%%%% add pt after 0
    \dosomeovalcalc{#1}{-\dimen0}\xmax

[this is due to the fact that from now on the drivers work with dimens 
instead of numbers (was a left over from yandy driver support) which is 
more efficient for pdftex.

BTW, there is a more advanced background mechanism, one that also obeys 
indentation and floats and alike:

% output=pdftex modes=show

\definetextbackground
   [whatever]
   [alternative=1,
    level=-1, % +1,
    background=color,
    backgroundcolor=green,
    frame=uit,
    framecolor=red,
    rulethickness=1pt]

\starttext

We thrive in \startwhatever information||thick worlds
because of our marvelous and everyday capacity to select,
edit, single out, structure, highlight, group, pair, merge,
harmonize, synthesize, focus, organize,
condense, reduce, boil down, choose, categorize, catalog,
classify, list, abstract, scan, look into, idealize,
isolate, discriminate, distinguish, screen, pigeonhole, pick
over, sort, integrate, blend, inspect, filter, lump, skip,
smooth, chunk, average, approximate, cluster, aggregate,
outline, summarize, itemize, review, dip into, flip through,
browse, glance into, leaf through, skim,
refine, enumerate, glean, synopsize, winnow the wheat from
the chaff and\stopwhatever\ separate the sheep from the
goats.

\stoptext

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


      parent reply	other threads:[~2001-12-17 11:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-16  6:13 Sanjay Vohra
2001-12-16 16:00 ` David Antos
2001-12-17 11:27 ` Hans Hagen [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=5.1.0.14.1.20011217121703.032376f8@server-1 \
    --to=pragma@wxs.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).