From: Paul Sexton <psexton@xnet.co.nz>
To: emacs-orgmode@gnu.org
Subject: Re: [Ann] Updates to org-drill (org topics as interactive " flashcards" using spaced repetition)
Date: Sat, 28 Aug 2010 00:39:48 +0000 (UTC) [thread overview]
Message-ID: <loom.20100828T022604-641@post.gmane.org> (raw)
In-Reply-To: 20100828002553.14fa60c7@rechenknecht.site
Detlef Steuer <detlef.steuer <at> gmx.de> writes:
> What is the intended way to input a few hundred two-sided
> cards?
>
> If I understand spanish.org correctly I need a headline like
>
> *** Noun :drill:
> :PROPERTIES:
> :DRILL_CARD_TYPE: twosided
> :END:
>
> and subheadings
> **** Language1
> text
>
> **** Language2
> text
>
> for each and every word?
> Or is there a way to have one such headline followed by a lot of
> pairs of text for both languages?
>
> Detlef
Hi Detlef
Your example card layout is correct. Note you can add other sections such
as "Examples" as well -- any headings after the first 2 are always hidden
during review.
What I suggest is to enter your cards in an easy, regular format such as
tab-delimited, or even into a spreadsheet and then export to a tab-delimited
or comma-delimited text file. Then use query-replace-regexp (C-M-%) to turn
them into drill items as in your example.
eg: if your file contains:
el perro<tab>the dog<newline>
el gato<tab>the cat<newline>
...
replace newlines with "^J***Noun^J****Language1^J"
replace TABs with "^J****Language2^J"
replace "*** Noun^J" with "*** Noun^J:PROPERTIES:^J......^J"
(where ^J is the newline character, entered by pressing C-q C-j)
There is no special way to "import" such a file into org, as far as I
am aware. FWIW I followed a very similar process to the above yesterday
with 450 cards exported from Anki, and it worked well.
For entry of more words "as you learn", I very strongly suggest setting
up an org capture template.
Paul
next prev parent reply other threads:[~2010-08-28 0:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-26 9:27 [Ann] Updates to org-drill (org topics as interactive "flashcards" using spaced repetition) Paul Sexton
2010-08-27 22:25 ` Detlef Steuer
2010-08-28 0:39 ` Paul Sexton [this message]
2010-08-28 12:20 ` [Ann] Updates to org-drill (org topics as interactive " flashcards" " Detlef Steuer
2010-08-30 7:30 ` [Ann] Updates to org-drill (org topics as interactive "flashcards" " Carsten Dominik
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20100828T022604-641@post.gmane.org \
--to=psexton@xnet.co.nz \
--cc=emacs-orgmode@gnu.org \
/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.
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).