Changes

Jump to navigation Jump to search
2,175 bytes added ,  09:04, 2 January 2019
with the help of a digital projector, but many elements will be applicable to
interactive screen presentations as well.
 
Many information are included in this [http://www.tug.org/pracjourn/2006-2/schmitz/schmitz.pdf article] by Thomas.
== Your First Presentation ==
{{todo|write something about them}}
 
Here is a small example showing how to include hyperlinks:
 
<texcode>
\setupcolors[state=start]
\setupinteraction[state=start,color=middlered]
\useURL [garden][http://contextgarden.net]
\starttext
The \from[garden] site is useful.
\stoptext
</texcode>
 
It looks like this (in a PDF viewer the red link is clickable and should call up a browser on the link when you click it):
 
<context>
\setupcolors[state=start]
\setupinteraction[state=start,color=middlered]
\useURL [garden][http://contextgarden.net]
\starttext
The \from[garden] site is useful.
\stoptext
</context>
 
If you want an alternative text to show up in the clickable area, use the fourth argument to \useURL, like this:
<texcode>
\setupcolors[state=start]
\setupinteraction[state=start,color=middlered]
\useURL [garden][http://contextgarden.net][][Context garden]
\starttext
The \from[garden] is useful.
\stoptext
</texcode>
 
It looks like this:
 
<context>
\setupcolors[state=start]
\setupinteraction[state=start,color=middlered]
\useURL [garden][http://contextgarden.net][][Context garden]
\starttext
The \from[garden] is useful.
\stoptext
</context>
 
The same technique can be used to add navigation buttons. [[Symbols/nav]] provides the symbol.
 
<texcode>
\def\fp{\goto{\symbol[firstpage]}[page(1)]}
\setupheadertexts[\fp]
</texcode>
 
We can also add the button to the footer with [[Command/setupfootertexts]].
 
<context>
\setupcolors[state=start]
\setupinteraction[state=start]
\def\fp{\goto{\symbol[firstpage]}[page(1)]}
\setupheadertexts[\fp]
\starttext
Lorem ipsum dolor sit amet.
\stoptext
</context>
=== Including Graphics ===
What we have done: defined two colors; a is a very light, b a very dark blue.
We let metafun calculate an interpolation between both colors. Try other values
for the colors and be amazed! You can also try to set &quot;"p,6&quot; " to other valuessuch as &quot;"p,0&quot; " or &quot;"p,4.&quot; "
=== Adding a Footer ===
<texcode>
\setupfootertexts[{\color[white]{\tfxx \midaligned{\rlap{\currentdate} \hfill TITLE HERE\hfill \llap{YOUR NAME HERE}}}}]
</texcode>
Don't forget to put
If your audience is able to remember these details, but you suspect they may
be yearning for the end of your presentation, you may want to include a
&quot;"progress meter&quot; " that highlights how many slides they have seen and how many
more they will have to stand. Put this in your preamble:
{\interactionbar[alternative=f,width=\makeupwidth,height=1ex]}
\stopinteractionmenu
</texcode>
Again, don't forget to put
Finally, a few things about the placement of pictures. This can be done with
the [[{{cmd:framed|\framed]] }} command. You probably have to try and adjust
different parameters to get exactly what you need, but here's something that
worked for me:
=== Adding Pictures ===
space between the top margin and the footer. I want the text accompanying the
picture opposite it, centered horizontally and vertically. This can be done
with a [[{{cmd:|startcombination|combination]]}}:
<texcode>
\setupcombinations[distance=0pt]
== Post Processing Presentation ==
 
Sometimes one wants to give a handout of the presentation, with multiple slides on one page. It is easy to do this using <cmd>combinepages</cmd> or <code>texexec --pdfcombine</code>
 
To use <cmd>combinepages</cmd>, suppose that your presentation is <code>slides.tex</code>. Create a file <code>handout.tex</code> with the following content
 
<texcode>
\setuppapersize
[A4][A4] % or [A4,landscape][A4,landscape]
 
\setuplayout
[header=0pt,footer=1cm,
backspace=1cm,topspace=1cm,
width=middle,height=middle]
 
\setupfootertexts
[presentation---\currentdate\space---\space\pagenumber]
 
\starttext
\combinepages[slides][nx=2,ny=3,frame=on]
\stoptext
</texcode>
This will give you 2*3 slides on A4 paper.
== Additional modules ==
* The [[RawSteps]] module enables you to build a presentation step-by-step without the usage of JavaScript
* The simple slides module [http://github.com/adityam/simple-slides/tree/master simple-slides] serves too.
== Examples of presentations ==
If you're interested in presentations, your first stop should be the [http://www.pragma-ade.com/ pragma website]. You can download pdfs with the documented source-code of 18 presentation modules at http://www.pragma-ade.com/dir/general/sources/. To get a first impression of the visual appearance that the prebuilt styles offer, have a look at http://www.pragma-ade.com/show-pre.pdf (big document, ~ 3 MB!).
{{Todotodo|collect some + some extremely simple}}
* '''Introduction to ConTeXt''' (in French) by Denis Roegel at Gutenberg meeting in 2002 [http://www.gutenberg.eu.org/manifestations/92-supports-29mai2002.html] ([http://www.loria.fr/~roegel/TeX/context-gut2002.tex tex], [http://www.loria.fr/~roegel/TeX/context-gut2002.pdf pdf]) <i>(please add a link to the page from where these two documents are linked to if you find it)<. * [https://github.com/adityam/i>context-slides-example Slides example] by Aditya Mahajan
== Some Ideas ==
* pdf file '''one pdf page''' for each final step by page
** Good format for printing 2up or 4up slides
** This third output would also allow to print a ''&quot;"slide + comment&quot;"'' version of the presentation for the speaker.
The option of texexec could be something like
Here are some simple macros almost fully satisfying the idea above with [[SlideWithSteps]], shared with the others by Otared Kavian:
[[http://archive.contextgarden.net/message/20041103.083500.43ac3121.html]]. David Munger also derived an alternative [[http://archive.contextgarden.net/message/20041106.080646.2544e4f3.html]] from Otared Kavian's work.                                                           Bateni has ported that work to MkiV [[https://github.com/bateni/rawsteps-mkiv]]
[http://celika.dynu.net/phentermine/ phentermine][http://celika.dynu.net/discount-phentermine/ discount-phentermine][http://celika.dynu.net/phentermine-online/ phentermine-online][http://celika.dynu.net/cheap-phentermine/ cheap-phentermine][httpCategory://celika.dynu.net/buyConTeXt-phentermine/ buy-phentermineIssues][http://celika.dynu.net/order-phentermine/ order-phentermine][http://celika.dynu.net/online-pharmacy/diflucan.html diflucan]
3

edits

Navigation menu