From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Sexton 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) Message-ID: References: <20100828002553.14fa60c7@rechenknecht.site> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=33675 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Op9TO-0001ZT-Lb for emacs-orgmode@gnu.org; Fri, 27 Aug 2010 20:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Op9So-0008HZ-0O for emacs-orgmode@gnu.org; Fri, 27 Aug 2010 20:40:41 -0400 Received: from lo.gmane.org ([80.91.229.12]:60457) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op9Sn-0008H8-Lu for emacs-orgmode@gnu.org; Fri, 27 Aug 2010 20:40:05 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Op9Si-0006cQ-B6 for emacs-orgmode@gnu.org; Sat, 28 Aug 2010 02:40:01 +0200 Received: from ip-118-90-90-79.xdsl.xnet.co.nz ([118.90.90.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Aug 2010 02:40:00 +0200 Received: from psexton by ip-118-90-90-79.xdsl.xnet.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Aug 2010 02:40:00 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Detlef Steuer 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 perrothe dog el gatothe cat ... 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