/amc-txt-mode

Emacs major mode for AMC-TXT files

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

Emacs major mode for AMC-TXT files

Auto Multiple Choice is an open source software for creating and managing multiple choice questionnaires. The questionnaires can be created in LaTeX or in simpler AMC-TXT syntax. This mode makes it easier to edit the AMC-TXT files in Emacs.

Features

  • Syntax highlighting
  • Navigation commands for questions and groups: M-n, M-p, M-N, M-P
  • Folding of questions and groups via outline-mode
  • Paragraph filling of single question/answer
  • Hiding of question options

Usage

Put (require 'amc-txt) in your Emacs init file and put either # AMC-TXT or # -*- amc-txt -*- at the first line your AMC-TXT files. If you open an AMC-TXT file without the first special line, you can activate this mode by M-x amc-txt-mode.

Screenshots

The following screenshot shows basic syntax highlighting:

Screenshot of essai.txt

The screenshot below shows highlighting of verbatim and bold markups as well as folding of some questions (indicated with ...):

Screenshot of verbatim.txt

Author and License

  • Author: Michal Sojka
  • License: GPLv3