* Exercise file with statements and correction
@ 2020-03-17 20:14 Fabrice Couvreur
2020-03-17 21:09 ` Pablo Rodriguez
2020-03-17 21:58 ` Otared Kavian
0 siblings, 2 replies; 7+ messages in thread
From: Fabrice Couvreur @ 2020-03-17 20:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 265 bytes --]
Hello,
I would like to make files with statements of exercises and correction
where it would be enough to click on "correction" to access the correction
at the end of the file. I'm running out of time, does anyone have a model
to share ?
Thank you so much.
Fabrice
[-- Attachment #1.2: Type: text/html, Size: 594 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Exercise file with statements and correction
2020-03-17 20:14 Exercise file with statements and correction Fabrice Couvreur
@ 2020-03-17 21:09 ` Pablo Rodriguez
2020-03-17 21:14 ` Fabrice Couvreur
2020-03-17 21:58 ` Otared Kavian
1 sibling, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2020-03-17 21:09 UTC (permalink / raw)
To: ntg-context
On 3/17/20 9:14 PM, Fabrice Couvreur wrote:
> Hello,
> I would like to make files with statements of exercises and correction
> where it would be enough to click on "correction" to access the
> correction at the end of the file. I'm running out of time, does anyone
> have a model to share ?
Hi Fabrice,
I don’t have a model, but the following sample could give you a hint:
\setupinteraction[state=start, focus=standard]
\starttext
\startbodymatter
\chapter[lesson-1]{Lesson 1}
\section[exercises-1]{Exercises 1}
These are the exercises.
Here you have their key (\about[key-1]).
\stopbodymatter
\startappendices
\section[key-1]{Key to Lesson 1}
This is the key
Back to exercises (\about[exercises-1])
\stopappendices
\stoptext
I hope it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Exercise file with statements and correction
2020-03-17 21:09 ` Pablo Rodriguez
@ 2020-03-17 21:14 ` Fabrice Couvreur
2020-03-17 21:56 ` Fabrice Couvreur
0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Couvreur @ 2020-03-17 21:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1586 bytes --]
Hi Pablo,
Thank you very much, it's a great base to start with.
Fabrice
Le mar. 17 mars 2020 à 22:09, Pablo Rodriguez <oinos@gmx.es> a écrit :
> On 3/17/20 9:14 PM, Fabrice Couvreur wrote:
> > Hello,
> > I would like to make files with statements of exercises and correction
> > where it would be enough to click on "correction" to access the
> > correction at the end of the file. I'm running out of time, does anyone
> > have a model to share ?
>
> Hi Fabrice,
>
> I don’t have a model, but the following sample could give you a hint:
>
> \setupinteraction[state=start, focus=standard]
> \starttext
> \startbodymatter
> \chapter[lesson-1]{Lesson 1}
> \section[exercises-1]{Exercises 1}
> These are the exercises.
>
> Here you have their key (\about[key-1]).
> \stopbodymatter
> \startappendices
> \section[key-1]{Key to Lesson 1}
> This is the key
>
> Back to exercises (\about[exercises-1])
> \stopappendices
> \stoptext
>
> I hope it helps,
>
> Pablo
> --
> http://www.ousia.tk
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2774 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Exercise file with statements and correction
2020-03-17 21:14 ` Fabrice Couvreur
@ 2020-03-17 21:56 ` Fabrice Couvreur
2020-03-17 22:05 ` Fabrice Couvreur
2020-03-17 22:18 ` Fabrice Couvreur
0 siblings, 2 replies; 7+ messages in thread
From: Fabrice Couvreur @ 2020-03-17 21:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2394 bytes --]
Hi Wolfgang,
Is it possible to adapt your code with the environment that you proposed to
me ?
Thank you.
Fabrice
https://mailman.ntg.nl/pipermail/ntg-context/2016/087487.html
\defineframed
[EXFRAME]
[frame=off,
offset=0pt,
location=low,
width=\struttotal,
background=color,
backgroundcolor=black,
foregroundcolor=white,
forgroundstyle=bold]
\defineprocessor[ACPROCESSOR][command=\EXFRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
\defineenumeration
[ex]
[text=,
width=fit,
numberconversionset=ACCONVERSION,
alternative=serried,
number=yes]
Le mar. 17 mars 2020 à 22:14, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
a écrit :
> Hi Pablo,
> Thank you very much, it's a great base to start with.
> Fabrice
>
> Le mar. 17 mars 2020 à 22:09, Pablo Rodriguez <oinos@gmx.es> a écrit :
>
>> On 3/17/20 9:14 PM, Fabrice Couvreur wrote:
>> > Hello,
>> > I would like to make files with statements of exercises and correction
>> > where it would be enough to click on "correction" to access the
>> > correction at the end of the file. I'm running out of time, does anyone
>> > have a model to share ?
>>
>> Hi Fabrice,
>>
>> I don’t have a model, but the following sample could give you a hint:
>>
>> \setupinteraction[state=start, focus=standard]
>> \starttext
>> \startbodymatter
>> \chapter[lesson-1]{Lesson 1}
>> \section[exercises-1]{Exercises 1}
>> These are the exercises.
>>
>> Here you have their key (\about[key-1]).
>> \stopbodymatter
>> \startappendices
>> \section[key-1]{Key to Lesson 1}
>> This is the key
>>
>> Back to exercises (\about[exercises-1])
>> \stopappendices
>> \stoptext
>>
>> I hope it helps,
>>
>> Pablo
>> --
>> http://www.ousia.tk
>>
>> ___________________________________________________________________________________
>> 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://context.aanhet.net
>> archive : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___________________________________________________________________________________
>>
>
[-- Attachment #1.2: Type: text/html, Size: 4555 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Exercise file with statements and correction
2020-03-17 20:14 Exercise file with statements and correction Fabrice Couvreur
2020-03-17 21:09 ` Pablo Rodriguez
@ 2020-03-17 21:58 ` Otared Kavian
1 sibling, 0 replies; 7+ messages in thread
From: Otared Kavian @ 2020-03-17 21:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1009 bytes --]
Hi Fabrice,
Here is a model written with the help of Wolfgang Schuster.
Let me know if you need more help.
> On 17 Mar 2020, at 21:14, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
>
> Hello,
> I would like to make files with statements of exercises and correction where it would be enough to click on "correction" to access the correction at the end of the file. I'm running out of time, does anyone have a model to share ?
> Thank you so much.
> Fabrice
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2.1: Type: text/html, Size: 469 bytes --]
[-- Attachment #1.2.2: interactive-question-hint-answer-2.tex --]
[-- Type: application/x-tex, Size: 4694 bytes --]
[-- Attachment #1.2.3: Type: text/html, Size: 270 bytes --]
[-- Attachment #1.2.4: interactive-question-hint-answer-2.pdf --]
[-- Type: application/pdf, Size: 24346 bytes --]
[-- Attachment #1.2.5: Type: text/html, Size: 2162 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Exercise file with statements and correction
2020-03-17 21:56 ` Fabrice Couvreur
@ 2020-03-17 22:05 ` Fabrice Couvreur
2020-03-17 22:18 ` Fabrice Couvreur
1 sibling, 0 replies; 7+ messages in thread
From: Fabrice Couvreur @ 2020-03-17 22:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2687 bytes --]
Hi Kavian,
Thank you so much. I don't even have time to offer examples !
Fabrice
Le mar. 17 mars 2020 à 22:56, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
a écrit :
> Hi Wolfgang,
> Is it possible to adapt your code with the environment that you proposed
> to me ?
> Thank you.
> Fabrice
>
> https://mailman.ntg.nl/pipermail/ntg-context/2016/087487.html
>
> \defineframed
> [EXFRAME]
> [frame=off,
> offset=0pt,
> location=low,
> width=\struttotal,
> background=color,
> backgroundcolor=black,
> foregroundcolor=white,
> forgroundstyle=bold]
>
> \defineprocessor[ACPROCESSOR][command=\EXFRAME]
> \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
>
> \defineenumeration
> [ex]
> [text=,
> width=fit,
> numberconversionset=ACCONVERSION,
> alternative=serried,
> number=yes]
>
> Le mar. 17 mars 2020 à 22:14, Fabrice Couvreur <
> fabrice1.couvreur@gmail.com> a écrit :
>
>> Hi Pablo,
>> Thank you very much, it's a great base to start with.
>> Fabrice
>>
>> Le mar. 17 mars 2020 à 22:09, Pablo Rodriguez <oinos@gmx.es> a écrit :
>>
>>> On 3/17/20 9:14 PM, Fabrice Couvreur wrote:
>>> > Hello,
>>> > I would like to make files with statements of exercises and correction
>>> > where it would be enough to click on "correction" to access the
>>> > correction at the end of the file. I'm running out of time, does anyone
>>> > have a model to share ?
>>>
>>> Hi Fabrice,
>>>
>>> I don’t have a model, but the following sample could give you a hint:
>>>
>>> \setupinteraction[state=start, focus=standard]
>>> \starttext
>>> \startbodymatter
>>> \chapter[lesson-1]{Lesson 1}
>>> \section[exercises-1]{Exercises 1}
>>> These are the exercises.
>>>
>>> Here you have their key (\about[key-1]).
>>> \stopbodymatter
>>> \startappendices
>>> \section[key-1]{Key to Lesson 1}
>>> This is the key
>>>
>>> Back to exercises (\about[exercises-1])
>>> \stopappendices
>>> \stoptext
>>>
>>> I hope it helps,
>>>
>>> Pablo
>>> --
>>> http://www.ousia.tk
>>>
>>> ___________________________________________________________________________________
>>> 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://context.aanhet.net
>>> archive : https://bitbucket.org/phg/context-mirror/commits/
>>> wiki : http://contextgarden.net
>>>
>>> ___________________________________________________________________________________
>>>
>>
[-- Attachment #1.2: Type: text/html, Size: 5433 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Exercise file with statements and correction
2020-03-17 21:56 ` Fabrice Couvreur
2020-03-17 22:05 ` Fabrice Couvreur
@ 2020-03-17 22:18 ` Fabrice Couvreur
1 sibling, 0 replies; 7+ messages in thread
From: Fabrice Couvreur @ 2020-03-17 22:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2699 bytes --]
Hi Otared,
https://mailman.ntg.nl/pipermail/ntg-context/2016/087487.html
Thanks
Fabrice
Le mar. 17 mars 2020 à 22:56, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
a écrit :
> Hi Wolfgang,
> Is it possible to adapt your code with the environment that you proposed
> to me ?
> Thank you.
> Fabrice
>
> https://mailman.ntg.nl/pipermail/ntg-context/2016/087487.html
>
> \defineframed
> [EXFRAME]
> [frame=off,
> offset=0pt,
> location=low,
> width=\struttotal,
> background=color,
> backgroundcolor=black,
> foregroundcolor=white,
> forgroundstyle=bold]
>
> \defineprocessor[ACPROCESSOR][command=\EXFRAME]
> \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
>
> \defineenumeration
> [ex]
> [text=,
> width=fit,
> numberconversionset=ACCONVERSION,
> alternative=serried,
> number=yes]
>
> Le mar. 17 mars 2020 à 22:14, Fabrice Couvreur <
> fabrice1.couvreur@gmail.com> a écrit :
>
>> Hi Pablo,
>> Thank you very much, it's a great base to start with.
>> Fabrice
>>
>> Le mar. 17 mars 2020 à 22:09, Pablo Rodriguez <oinos@gmx.es> a écrit :
>>
>>> On 3/17/20 9:14 PM, Fabrice Couvreur wrote:
>>> > Hello,
>>> > I would like to make files with statements of exercises and correction
>>> > where it would be enough to click on "correction" to access the
>>> > correction at the end of the file. I'm running out of time, does anyone
>>> > have a model to share ?
>>>
>>> Hi Fabrice,
>>>
>>> I don’t have a model, but the following sample could give you a hint:
>>>
>>> \setupinteraction[state=start, focus=standard]
>>> \starttext
>>> \startbodymatter
>>> \chapter[lesson-1]{Lesson 1}
>>> \section[exercises-1]{Exercises 1}
>>> These are the exercises.
>>>
>>> Here you have their key (\about[key-1]).
>>> \stopbodymatter
>>> \startappendices
>>> \section[key-1]{Key to Lesson 1}
>>> This is the key
>>>
>>> Back to exercises (\about[exercises-1])
>>> \stopappendices
>>> \stoptext
>>>
>>> I hope it helps,
>>>
>>> Pablo
>>> --
>>> http://www.ousia.tk
>>>
>>> ___________________________________________________________________________________
>>> 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://context.aanhet.net
>>> archive : https://bitbucket.org/phg/context-mirror/commits/
>>> wiki : http://contextgarden.net
>>>
>>> ___________________________________________________________________________________
>>>
>>
[-- Attachment #1.2: Type: text/html, Size: 5480 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-03-17 22:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-17 20:14 Exercise file with statements and correction Fabrice Couvreur
2020-03-17 21:09 ` Pablo Rodriguez
2020-03-17 21:14 ` Fabrice Couvreur
2020-03-17 21:56 ` Fabrice Couvreur
2020-03-17 22:05 ` Fabrice Couvreur
2020-03-17 22:18 ` Fabrice Couvreur
2020-03-17 21:58 ` Otared Kavian
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).