While I'm testing some examples in details.pdf 
(http://www.pragma-ade.com/temp/details.pdf),
a curious thing happened.

Let me assume that I have the following test file (test.tex) which was extracted
from details.pdf (p.13) I generated two PDF files, test-1.pdf and test-2.pdf,
by the following ways, respectively.

1. The first way

Just ran "texexec --pdf test", and got the attached PDF file, test-1.pdf.
(Please see the attached file test-1.log too.)

2. The second way (step by step)

   (a) "texexec --pdf --once test"
   (b) "texutil --references test"
   (c) "texexec --pdf --once test"
   (d) "mpost mpgraph"
   (e) "texexec --pdf --once test"

The curious thing was that the two PDF files were different, especially
the embedded MetaPost graphics were different. In my opinion, test-2.pdf
seemed to be the right result.

=== BEGIN test.tex ===

\setupcolors[state=start]

\definecolor[infogray][darkgray]
\definecolor[textgray][lightgray]

\definetextbackground[intro]
  [backgroundcolor=infogray,
   backgroundoffset=.25cm,
   offset=.5cm,
   frame=off,
   location=paragraph,
   color=white]

\definetextbackground[subintro]
  [backgroundcolor=textgray,
   backgroundoffset=0pt,
   offset=0pt,
   frame=off,
   location=text,
   color=blue]

\starttext
\starttextbackground[intro]
A rather common way to draw attention to a passage, is to add
a background. In this chapter we will therefore discuss how
to enhance your document with \starttextbackground [subintro]
colorful areas that either or not follow the shape of your
paragraph. \stoptextbackground\ Be warned: this chapter has
so many backgrounds that you should consider wearing sunglasses.
\stoptextbackground
\stoptext

=== END test.tex ===

Best, ChoF.
-- 
  ***  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ***
  ^ ^  |  ChoF  :=  Jin-Hwan Cho  | *^ ^*
   o   |   [EMAIL PROTECTED]    | * o *
  ***  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ***
 *^ ^* |    Project Manager of    |  ^ ^
 * O * | DVIPDFMx and MiKTeX-KTUG |   O
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Research Fellow, School of Mathematics |
|   Korea Institute for Advanced Study   |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Attachment: test-1.pdf
Description: Adobe PDF document

Attachment: test-2.pdf
Description: Adobe PDF document

Attachment: test-1.log
Description: application/unknown-content-type-txtfile

Reply via email to