ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Exercise file with statements and correction
Date: Tue, 17 Mar 2020 23:05:54 +0100	[thread overview]
Message-ID: <CACyK-eqB8c=DqWJ377AsnTyUe-R+hU8k9ufvMuGdvw=Jx9=zLA@mail.gmail.com> (raw)
In-Reply-To: <CACyK-ep78S312gvP1O0iQ=GP0jQqxmr3Ocit6wNy9T65XK7WtQ@mail.gmail.com>


[-- 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
___________________________________________________________________________________

  reply	other threads:[~2020-03-17 22:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-17 20:14 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 [this message]
2020-03-17 22:18       ` Fabrice Couvreur
2020-03-17 21:58 ` Otared Kavian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACyK-eqB8c=DqWJ377AsnTyUe-R+hU8k9ufvMuGdvw=Jx9=zLA@mail.gmail.com' \
    --to=fabrice1.couvreur@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).