emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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

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).