ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* texexec s-pre-04.tex
@ 2008-03-22 15:37 Pau Amaro-Seoane
  2008-03-22 15:47 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Pau Amaro-Seoane @ 2008-03-22 15:37 UTC (permalink / raw)
  To: ntg-context

Hi,

I am a total newbie to ConTeXt; I have been "playing" with it since yesterday.

I am trying to modify a bit s-pre-04.tex but I have realised that I
cannot even compile it!

http://source.contextgarden.net/s-pre-04.tex

texexec s-pre-04.tex will yield
--------------------------------------------------------------------------------------------------
(.....)
(/usr/local/share/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/share/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/share/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/share/texmf-dist/tex/context/base/type-akb.tex))
color           : mpcmyk color space is supported
color           : mpspot color space is supported
color           : system rgb is global activated
interaction     : active
system          : mark Topic defined [chapter]
system          : mark Topicnumber defined [chapternumber]
system          : mark Nopic defined [title]
system          : mark Nopicnumber defined [titlenumber]
system          : mark Subject defined [section]
system          : mark Subjectnumber defined [sectionnumber]
)
*^Cx
! Interruption.
--------------------------------------------------------------------------------------------------

Why is that?


Thanks,

Pau
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: texexec s-pre-04.tex
  2008-03-22 15:37 texexec s-pre-04.tex Pau Amaro-Seoane
@ 2008-03-22 15:47 ` Wolfgang Schuster
  2008-03-22 15:54   ` Pau Amaro-Seoane
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2008-03-22 15:47 UTC (permalink / raw)
  To: ntg-context

On Sat, 22 Mar 2008 16:37:59 +0100
"Pau Amaro-Seoane" <vim.unix@googlemail.com> wrote:

> Hi,
> 
> I am a total newbie to ConTeXt; I have been "playing" with it since yesterday.
> 
> I am trying to modify a bit s-pre-04.tex but I have realised that I
> cannot even compile it!
> 
> http://source.contextgarden.net/s-pre-04.tex
> 
> texexec s-pre-04.tex will yield

Presentation styles are modules and meant to be loaded in your
document, the following example is from s-pre-04.

\usemodule[pre-04] % pre-colorful

\starttext

\TitlePage{Title Page\\pre-colorfull}

\Topics{Some Nice Quotes}

\Topic{A Few}

\Subject{Knuth} \input knuth
\Subject{Tufte} \input tufte

\Topic{Some More}

\Subject{Zapf}   \input zapf
\Subject{Bryson} \input bryson

\stoptext

Save these lines in a new document and compile this document with
"texexec documentname". You could either use "pre-04" or "pre-colorful"
as arguments for \usemodule.

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
___________________________________________________________________________________


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

* Re: texexec s-pre-04.tex
  2008-03-22 15:47 ` Wolfgang Schuster
@ 2008-03-22 15:54   ` Pau Amaro-Seoane
  0 siblings, 0 replies; 3+ messages in thread
From: Pau Amaro-Seoane @ 2008-03-22 15:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks for the quick answer!

Ok... now... for instance, how can I take the "windows" style and add
to it the progress bar of
"colorful"? I am trying to include in the presentation tex file some
bits of code from the style of colorful, but it is not working...

thanks in advance,

Pau

---------------------------------------------------------------------------
\usemodule[pre-windows]
\setuplayout[location=middle]

\setupcolors [state=start]
\definecolor [StepColor] [r=.6,g=.6] \definecolor[white][StepColor]
\setupinteractionbar
  [alternative=f,
   width=\textwidth,
   height=\bottomheight,
   distance=10pt,
   color=NoneColor,
   contrastcolor=StepColor]
\setupbottomtexts
  [\interactionbar]
\def\CloseButton
  {\button
     [width=\rightedgewidth,height=\bottomheight,offset=overlay,
      background=color,backgroundcolor=ExitColor,frame=off]
     {}%
     [CloseDocument]}
\setupbottomtexts
  [edge][][\CloseButton]

\TitlePage {Blablabla\\Pau Amaro-Seoane}

\page

\starttext

\switchtobodyfont[modern,40pt]

${\cal M}_{\bullet}=10^6M_{\odot}$

\page

ooooooooooooo

\page

lili

\stoptext
---------------------------------------------------------------------------

>  > http://source.contextgarden.net/s-pre-04.tex
>  >
>  > texexec s-pre-04.tex will yield
>
>
> Presentation styles are modules and meant to be loaded in your
>  document, the following example is from s-pre-04.
>
>  \usemodule[pre-04] % pre-colorful
>
>  \starttext
>
>  \TitlePage{Title Page\\pre-colorfull}
>
>  \Topics{Some Nice Quotes}
>
>  \Topic{A Few}
>
>  \Subject{Knuth} \input knuth
>  \Subject{Tufte} \input tufte
>
>  \Topic{Some More}
>
>  \Subject{Zapf}   \input zapf
>  \Subject{Bryson} \input bryson
>
>  \stoptext
>
>  Save these lines in a new document and compile this document with
>  "texexec documentname". You could either use "pre-04" or "pre-colorful"
>  as arguments for \usemodule.
>
>  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
>  ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-03-22 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-22 15:37 texexec s-pre-04.tex Pau Amaro-Seoane
2008-03-22 15:47 ` Wolfgang Schuster
2008-03-22 15:54   ` Pau Amaro-Seoane

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