ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Context presentations
@ 2000-10-26 14:26 Eduardo Cassiraga
  2000-10-27  8:13 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Eduardo Cassiraga @ 2000-10-26 14:26 UTC (permalink / raw)


Dear All:

I have install Context on my system and when I compile the demo
presentations (s-pre-02 to 06 styles) the mp graphics are not found. In
my cont-sys.tex I enabled the \runMPgraphicstrue sentence but the system
tell me:

"...
figures     :figure myfile-mpgraph can not be found
mpost  -progname=mpost -mem=metafun myfile-mpgraph
..."

What can I do, please?

Thank you very much.

--
Eduardo F. Cassiraga
Departamento de Ingeniería Hidráulica y Medio Ambiente
Universidad Politécnica de Valencia
C/. Camino de Vera, s/n
46071 Valencia - SPAIN

tel. +34 96 387 9613
fax  +34 96 387 7618
email: efc@dihma.upv.es


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Context presentations
  2000-10-26 14:26 Context presentations Eduardo Cassiraga
@ 2000-10-27  8:13 ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2000-10-27  8:13 UTC (permalink / raw)
  Cc: ntg-context

At 04:26 PM 10/26/00 +0200, Eduardo Cassiraga wrote:
>Dear All:
>
>I have install Context on my system and when I compile the demo
>presentations (s-pre-02 to 06 styles) the mp graphics are not found. In
>my cont-sys.tex I enabled the \runMPgraphicstrue sentence but the system
>tell me:
>
>"...
>figures     :figure myfile-mpgraph can not be found
>mpost  -progname=mpost -mem=metafun myfile-mpgraph
>..."
>
>What can I do, please?

also enable write18 in the texmf.cnf file.

Hans 
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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] 4+ messages in thread

* Re: context presentations
  2001-09-20 22:43 context presentations Fabrice Popineau
@ 2001-09-21  9:25 ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2001-09-21  9:25 UTC (permalink / raw)
  Cc: ntg-context

At 12:43 AM 9/21/2001 +0200, Fabrice Popineau wrote:

>I have a probably rather  stupid  question : I  have  Acrobat 5 on  my
>machine  and I fail   to  enable presentation  steps (I  tried several
>things with s-pre-06). Maybe I  just don't know how  to use it ? Could
>somebody show a quick sample ?
>
>Thanks in advance,
>
>--
>Fabrice Popineau
>
>PS: btw I managed to crash Acrobat 5 by asking to
>\setupinteraction[openaction=ResetForm]

\starttext

\enablemode[autostep]

\usemodule[pre-00,pre-organic]

\setupbackgrounds[paper][background=NextStep]
\defineoverlay[NextStep][\overlaybutton{NextStep}]

\setupMPvariables[page][alternative=3]

\TitlePage
   {A Few Nice Quotes\\
    A Simple Style Demo\\
    Hans Hagen, August 2000}

\Topic {Douglas R. Hofstadter} \input douglas \page
\Topic {Donald  E. Knuth}      \input knuth   \page
\Topic {Edward  R. Tufte}      \input tufte   \page
\Topic {Hermann    Zapf}       \input zapf    \page

\stoptext

This should work ok in your tl6 version. I'll send you the file off list.

Concerning steps, there are better ways. I'll try to send you the preview 
of show-pre.pdf [i'm on slow connections now, since our server is off line, 
due to sniffer/attack problems at the host]

In the current beta, there is a problem with cross doc refs [i adapted this 
to acrobat 5 and made an offset error]; this should be in spec-fdf.tex if 
you want optimize safe pdf files [awaiting a new pdftex feature -)]

\newif\ifovercomePDFpage  \overcomePDFpagetrue  % pdf  spec change  / 5+

\def\doPDFstartgotorealpage#1#2#3#4#5% watch the R append trick
   {\bgroup
    \doifelsenothing{#3}
      {\scratchcounter=0#5\relax
       \ifnum\scratchcounter>0
         \advance\scratchcounter -1 % pdf starts numbering at zero
         \doifelsenothing{#4}
           {\let\PDFfile\empty}
           {\doifparentfileelse{#4}
              {\let\PDFfile\empty}
              {\setreferencefilename#4.\locationfilesuffix\to\PDFfile
               \edef\PDFfile{R /F (\PDFfile)\PDFgotonewwindow}}}%
         \ifx\PDFfile\empty
           \ifovercomePDFpage % a named page ref
             \edef\PDFdestination{(page:\the\scratchcounter)}%
           \else % beware: optimizers remove this one
             \edef\PDFdestination{[\the\scratchcounter\space\PDFpageviewwrd]}%
           \fi
         \else % across files it's a page number
           \edef\PDFdestination{[\the\scratchcounter\space\PDFpageviewwrd]}%
         \fi
         \edef\action{/S /GoTo\PDFfile\space /D \PDFdestination}%
       \else
         \let\action\empty
       \fi}
      {\doifelsenothing{#4}
         {\let\PDFfile\empty}
         {\setreferencefilename/#4\to\PDFfile}%
       \edef\action{/S /URI /URI (#3\PDFfile)}}%
    \ifx\action\empty\else
      \ifsecondaryreference
        \savesecondaryPDFreference\action
      \else
        \getsecondaryPDFreferences
        \doPDFaction
          width #1 height #2
          action {\action \secondaryPDFreferences}%
      \fi
    \fi
    \egroup}

\def\fakePDFpagedestination % as in pdf, we start numbering at zero
   {\ifovercomePDFpage
      \bgroup
      \advance\realpageno -1
      \expanded{\doPDFdestination name {page:\realfolio}}%
      \egroup
    \fi}

\appendtoks
   \fakePDFpagedestination
\to \everyshipout

-------------------------------------------------------------------------
                                   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] 4+ messages in thread

* context presentations
@ 2001-09-20 22:43 Fabrice Popineau
  2001-09-21  9:25 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Popineau @ 2001-09-20 22:43 UTC (permalink / raw)


I have a probably rather  stupid  question : I  have  Acrobat 5 on  my
machine  and I fail   to  enable presentation  steps (I  tried several
things with s-pre-06). Maybe I  just don't know how  to use it ? Could
somebody show a quick sample ?

Thanks in advance,

-- 
Fabrice Popineau

PS: btw I managed to crash Acrobat 5 by asking to
\setupinteraction[openaction=ResetForm]


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-09-21  9:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-26 14:26 Context presentations Eduardo Cassiraga
2000-10-27  8:13 ` Hans Hagen
2001-09-20 22:43 context presentations Fabrice Popineau
2001-09-21  9:25 ` Hans Hagen

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).