Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Aditya Mahajan
Actually what I wanted to do was just to put a list of my topics on one 
page (and this can be done easily), and then what is lacking at the 
moment is a link to jump to that page from any other slide.


I simply put the overview page (it could be the TOC in your case) on the 
last page. Then press "End" to jump to it. No hyperlinks required :-)


Aditya
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
Hi Thomas,

A topic for me is just the title of a section (or chapter): in a presentation 
it happens that one has a few of them, and in my case certainly less than ten. 
It is useful to be able to go back to the list of these topics and jump to one 
of them. But you are right, usually a presentation is in principle linear.

Actually what I wanted to do was just to put a list of my topics on one page 
(and this can be done easily), and then what is lacking at the moment is a link 
to jump to that page from any other slide.
For the latter aspect, I think I can cook up a (non optimal) solution for now.

I understand that what I am looking for, may not be justified in most cases, 
and thus I do not at all suggest that you should modify anything in the 
simpleslides module… The idea of your module is to remain simple, and simple is 
beautiful!


Thanks again for your attention and your remarks.
Best regards: OK

> On 15 Sep 2016, at 22:30, Thomas A. Schmitz  
> wrote:
> 
> On 15.09.2016 12:11, 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.
>> 
>> In any case thanks again!
>> Best regards: OK
> 
> Hi Otared,
> 
> I think you're best off following Aditya's suggestion. Excuse me for saying 
> that I still don't find your use case quite compelling and would be very 
> reluctant to introduce a change in design which rests on so many ifs (if 
> there are only few topics and if interaction is desired...). Moreover, I'm 
> not quite certain what you're looking for: a special slide that will hold 
> some sort of TOC? Or a list of topics that will be displayed on every slide 
> (as in s-pre-19, provided in the distribution)? What is a "topic": every 
> slide title? Or a sort of section that will encompass several slides?
> 
> As for the counter: that may be possible, but is far beyond my coding 
> ability. There is an interactionmenu which is part of the distribution (see 
> scrn-but.mkvi); maybe it would be easier if you used this rather than the 
> counters provided by simpleslides.
> 
> All best
> 
> Thomas
> ___
> 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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Aditya Mahajan
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?


Not really. The visual counter code is simply using \rawcountervalue and 
\lastcountervalue to draw a metapost graphic. I don't know of an easy way 
to add a link to "page where this counter has value n". Nor do I know how 
to add interaction to a metapost image.


Hans had written some visual progressbars that use \vrule and variants 
(and only work for pagenumber counter), that can jump to a specific page 
when you click on them.


Aditya
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Thomas A. Schmitz

On 15.09.2016 12:11, 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.

In any case thanks again!
Best regards: OK


Hi Otared,

I think you're best off following Aditya's suggestion. Excuse me for 
saying that I still don't find your use case quite compelling and would 
be very reluctant to introduce a change in design which rests on so many 
ifs (if there are only few topics and if interaction is desired...). 
Moreover, I'm not quite certain what you're looking for: a special slide 
that will hold some sort of TOC? Or a list of topics that will be 
displayed on every slide (as in s-pre-19, provided in the distribution)? 
What is a "topic": every slide title? Or a sort of section that will 
encompass several slides?


As for the counter: that may be possible, but is far beyond my coding 
ability. There is an interactionmenu which is part of the distribution 
(see scrn-but.mkvi); maybe it would be easier if you used this rather 
than the counters provided by simpleslides.


All best

Thomas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
Hi Aditya,

I’ll have a look at the examples you are mentionning: thanks for sharing.

As I said in another message, for now I can use the simpleslides module, which 
is already full of features for me.

Best regards: OK

> On 15 Sep 2016, at 17:05, Aditya Mahajan  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@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
> ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
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  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@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
> ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Aditya Mahajan

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@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
___

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
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.

In any case thanks again!
Best regards: OK



> On 15 Sep 2016, at 11:50, Thomas A. Schmitz  
> wrote:
> 
> On 15.09.2016 11:35, Otared Kavian wrote:
>> Is it possible to have a list of topics on a page when one uses the 
>> simpleslides module?
>> For instance when using the swoosh model, as in the following example, and 
>> then navigate to each topic with a link?
> 
> Hi Otared,
> 
> I'm neither Wolfgang nor Aditya, but the one who is currently in charge of 
> the module (Aditya did not have time to do more work on it). The answer is: 
> there are a few styles that have a topic list integrated, (such as 
> FuzzyTopic), but not swoosh (and I don't see where such a list would be an 
> esthetically pleasing fit on this design). As for interactive links: the 
> simpleslides module doesn't have them since I have never understood who would 
> use them (the way I use presentations is always linear; if you want to go 
> back to a particular slide, you may want to look at a tool such as 
> impressive). If somebody makes a convincing case, I might implement it.
> 
> Sorry for the negative answer, best wishes
> 
> Thomas
> ___
> 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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Thomas A. Schmitz

On 15.09.2016 11:35, Otared Kavian wrote:

Is it possible to have a list of topics on a page when one uses the 
simpleslides module?
For instance when using the swoosh model, as in the following example, and then 
navigate to each topic with a link?


Hi Otared,

I'm neither Wolfgang nor Aditya, but the one who is currently in charge 
of the module (Aditya did not have time to do more work on it). The 
answer is: there are a few styles that have a topic list integrated, 
(such as FuzzyTopic), but not swoosh (and I don't see where such a list 
would be an esthetically pleasing fit on this design). As for 
interactive links: the simpleslides module doesn't have them since I 
have never understood who would use them (the way I use presentations is 
always linear; if you want to go back to a particular slide, you may 
want to look at a tool such as impressive). If somebody makes a 
convincing case, I might implement it.


Sorry for the negative answer, best wishes

Thomas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___