* Re: [pdf] erroneous pdf output
2001-12-16 6:13 [pdf] erroneous pdf output Sanjay Vohra
@ 2001-12-16 16:00 ` David Antos
2001-12-17 11:27 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: David Antos @ 2001-12-16 16:00 UTC (permalink / raw)
Cc: NTG ConTeXt Mailing List
On Sun, Dec 16, 2001 at 01:13:27AM -0500, Sanjay Vohra wrote:
> Hi all
>
> I tried running this file with
> texexec --pdf test.tex
> and the pdf file cannot be read by acroread.
Hi,
an error occurred, therefore the pdf has not been finished. The result is not
a correct pdf file, that's why acroread refuses it.
> I have also included the log <apologies for that>.
Don't apologize, we wouldn't have how to solve it otherwise.
> Another thing the texexec stops due to something about
> units and doesnt complain if no background thing is used.
My a bit older stable ConTeXt compiles it, BTW the pdfetex is quite old.
> This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (format=cont-en
> 2001.12.11) 16 DEC 2001 00:51
> entering extended mode
> ConTeXt ver: 2001.12.10 fmt: 2001.12.11 int: english mes: english
>
...
> 1500i,500n,1500p,50000b,5000s
>
> Output written on test.dvi (1 page, 1032 bytes).
Does it really write a pdf?
D.A.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [pdf] erroneous pdf output
2001-12-16 6:13 [pdf] erroneous pdf output Sanjay Vohra
2001-12-16 16:00 ` David Antos
@ 2001-12-17 11:27 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2001-12-17 11:27 UTC (permalink / raw)
Cc: ntg-context
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread