* exporting multiple choice questions to Aiken or GIFT formats?
@ 2015-08-28 14:44 Eric S Fraga
2015-08-28 16:46 ` Marcin Borkowski
0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2015-08-28 14:44 UTC (permalink / raw)
To: emacs-orgmode
Hi,
just on the off chance that somebody has done this already, is there an
export engine for creating Aiken or GIFT format exam questions?
I assume not, so my next question is where to start? I want to take
something like this:
#+begin_src org
,* What is my name?
:PROPERTIES:
:answer: 3
:END:
1. Joe
2. Martha
3. Eric
4. Fido
#+end_src
and generate (assuming Aiken format):
#+begin_example
What is my name?
A. Joe
B. Martha
C. Eric
D. Fido
ANSWER: C
#+end_example
I can probably do this quite easily with awk (my language of choice fo
text manipulation generally) but it would quite nice to be able to
export directly from org.
The second step would be to be able to select a random number of
questions to export from a larger question bank. Suggestions for how to
do this also welcome!
By the way, I am not wedded to the format shown in the org example but
the output does have to match what is shown (upper case letters, upper
case ANSWER immediately following).
thanks,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: exporting multiple choice questions to Aiken or GIFT formats?
2015-08-28 14:44 exporting multiple choice questions to Aiken or GIFT formats? Eric S Fraga
@ 2015-08-28 16:46 ` Marcin Borkowski
2015-08-31 15:32 ` Eric S Fraga
0 siblings, 1 reply; 5+ messages in thread
From: Marcin Borkowski @ 2015-08-28 16:46 UTC (permalink / raw)
To: emacs-orgmode
On 2015-08-28, at 16:44, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> Hi,
>
> just on the off chance that somebody has done this already, is there an
> export engine for creating Aiken or GIFT format exam questions?
I've never heard of these, but I did a similar thing for HTML+JS and
LaTeX:
https://github.com/mbork/org-edu-html
https://github.com/mbork/org-edu-latex
My markup was to use lists with checkboxes, and check the correct
answer(s).
> The second step would be to be able to select a random number of
> questions to export from a larger question bank. Suggestions for how to
> do this also welcome!
I would do it in a separate function altogether, so that I could
e.g. first create a random set of questions, and then run an exporter to
generate the test.
Tomorrow I'm giving a talk during EmacsConf2015
(http://emacsconf2015.org/) about custom Org exporters. Notes and code
are available here: https://github.com/mbork/ox-oddmuse .
> thanks,
> eric
Hth,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: exporting multiple choice questions to Aiken or GIFT formats?
2015-08-28 16:46 ` Marcin Borkowski
@ 2015-08-31 15:32 ` Eric S Fraga
2015-08-31 16:17 ` Marcin Borkowski
0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2015-08-31 15:32 UTC (permalink / raw)
To: Marcin Borkowski; +Cc: emacs-orgmode
On Friday, 28 Aug 2015 at 18:46, Marcin Borkowski wrote:
[...]
> I've never heard of these, but I did a similar thing for HTML+JS and
> LaTeX:
>
> https://github.com/mbork/org-edu-html
> https://github.com/mbork/org-edu-latex
>
> My markup was to use lists with checkboxes, and check the correct
> answer(s).
I like this approach. Thanks.
And also thanks for the link to your EmacsConf2015 talk. I hope it went
well!
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: exporting multiple choice questions to Aiken or GIFT formats?
2015-08-31 15:32 ` Eric S Fraga
@ 2015-08-31 16:17 ` Marcin Borkowski
2015-09-01 10:45 ` Eric S Fraga
0 siblings, 1 reply; 5+ messages in thread
From: Marcin Borkowski @ 2015-08-31 16:17 UTC (permalink / raw)
To: emacs-orgmode
On 2015-08-31, at 17:32, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> On Friday, 28 Aug 2015 at 18:46, Marcin Borkowski wrote:
>
> [...]
>
>> I've never heard of these, but I did a similar thing for HTML+JS and
>> LaTeX:
>>
>> https://github.com/mbork/org-edu-html
>> https://github.com/mbork/org-edu-latex
>>
>> My markup was to use lists with checkboxes, and check the correct
>> answer(s).
>
> I like this approach. Thanks.
Glad you liked it!
> And also thanks for the link to your EmacsConf2015 talk. I hope it went
> well!
You're welcome! I hope people liked it. One of the good things that
resulted from it was a short discussion, whose conclusion was an idea
to write a series of blog posts explaining one of the Org exporters in
detail. (Since I know LaTeX fairly well, and I have studied most of the
LaTeX exporter source code, I decided to use it for that.) The first
entry is almost ready, I'm going to work on the others soon. (I'm not
yet sure whether it is a good idea to cover most of the code -- after
all, it is quite extensive -- but we'll just see.)
> eric
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: exporting multiple choice questions to Aiken or GIFT formats?
2015-08-31 16:17 ` Marcin Borkowski
@ 2015-09-01 10:45 ` Eric S Fraga
0 siblings, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2015-09-01 10:45 UTC (permalink / raw)
To: Marcin Borkowski; +Cc: emacs-orgmode
On Monday, 31 Aug 2015 at 18:17, Marcin Borkowski wrote:
> I hope people liked it. One of the good things that
> resulted from it was a short discussion, whose conclusion was an idea
> to write a series of blog posts explaining one of the Org exporters in
> detail. (Since I know LaTeX fairly well, and I have studied most of the
> LaTeX exporter source code, I decided to use it for that.) The first
> entry is almost ready, I'm going to work on the others soon.
Post a link to the blog when ready and add a link in Worg as well. I'm
sure it will be very useful.
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-09-01 10:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 14:44 exporting multiple choice questions to Aiken or GIFT formats? Eric S Fraga
2015-08-28 16:46 ` Marcin Borkowski
2015-08-31 15:32 ` Eric S Fraga
2015-08-31 16:17 ` Marcin Borkowski
2015-09-01 10:45 ` Eric S Fraga
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).