[NTG-context] Simpleslides presentation: list of topics

Otared Kavian otared at gmail.com
Thu Sep 15 22:08:51 CEST 2016


Hi Aditya and Thomas,

Thanks to both of your for your attention to my bizarre request.
Actually it is quite easy to have a page a list of the topics on a page, as one can see in the following example (please see below). Tne only thing I am lacking write now, is a trick to go the list of topics from any page, without adding manually a link to that page on each slide.

Another question: I am not at all familiar with the code you have written for the nice visual counter used in simpleslides module. Would it be possible to add interactivity to each portion of that visual counter, in such that upon clicking on that portion one jumps to the corresponding page?

Best regards: OK
%%% begin example-swoosh-topics.tex
\usemodule[simpleslides]
	[style=swoosh]

\setupinteraction[state=start]

\definelist[ListOfTopics]
\setuplist[ListOfTopics][alternative=f]

\define[1]\Topic{%
	\SlideTitle{#1}
	\unexpanded\define\TopicTitle{#1}
	\writetolist[ListOfTopics]{}{#1}
	}
\define\Slide{\SlideTitle{\TopicTitle}}

\define[1]\placeListOfTopics{%
	\SlideTitle{#1}
	\startalignment[middle]
		\completelist[ListOfTopics]
	\stopalignment}

\setupTitle
  [ title={Title of the presentation},
   author={Name of authors},
     date={Date of presentation},
  ]

\starttext
\placeTitle

\placeListOfTopics{Today's talk}

\Topic{First topic}
We introduce here our first topic: to find a solution to\dots

\Slide

The first slide.

Write whatever you want.

\Slide

The second slide.

Continue writing.

\Topic{Second topic}
We introduce here our second topic: to find another solution to\dots

\Slide

The first slide.

Write whatever you want.

\Slide

The second slide.

Continue writing.

\stoptext
%%% end example-swoosh-topics.tex

> On 15 Sep 2016, at 17:05, Aditya Mahajan <adityam at umich.edu> wrote:
> 
> On Thu, 15 Sep 2016, Otared Kavian wrote:
> 
>> Hi Thomas,
>> 
>> Thanks for your quick answer. Actually, mistakenly, I thought you had gave up the simplesildes module, not Aditya… And I included Wolfgang because he follows everything and has insight for everything…
>> 
>> Anyhow, thank you for sharing this nice module. Actually sometimes it is useful to have the interaction and some links working in a presentation, at least in maths. Imagine a case in which you introduce an equation and later on you refer to it and someone asks to show it again. Also it is handy to have a list of topics because this way one can go back easily to the page where the list is and go quickly to such and such topic. Moreover it happens that one can prepare a topic but not show it unless there is a specific demand.
>> 
>> Now, from an esthetic point of view for the swoosh, it is not obvious where to put the list, but when there are only a few topics (as is usually the case) then one can find an appropriate setting of the list.
>> Another solution would be to have the nice visual counter to be interactive and so clicking on a certain number would go to the wanted topic.
> 
> I use my unreleased overview module to place a visual ToC at the end:
> https://randomdeterminism.wordpress.com/2014/01/01/announcing-the-overview-module/
> 
> There have been some changes in the module since that blog post; the most up-to-date code is at github: https://github.com/adityam/context-overviewpage
> 
> I use this in two ways: Either in the conclusions as in the 2nd last slide at http://www.ece.mcgill.ca/~amahaj1/projects/real-time/slides/2016-wiopt.pdf
> 
> or as a visual ToC as in the last slide at
> http://www.ece.mcgill.ca/~amahaj1/talks/rutgers-2015.pdf
> 
> There is very little documentation, but if you are interested I can write some notes on how to use the module.
> 
> Aditya___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list