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
On Sat, 22 Mar 2008 16:37:59 +0100
"Pau Amaro-Seoane"
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
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 ___________________________________________________________________________________
participants (2)
-
Pau Amaro-Seoane
-
Wolfgang Schuster