OpenCards v2.4 with Markdown Support

185 views
Skip to first unread message

holger brandl

unread,
Apr 11, 2016, 3:44:24 PM4/11/16
to opencards
Hi,


I've released OpenCards v2.4 today with the following new features:

* Preserve aspect ratio when rendering slides
* Support for markdown files as flashcard sets (section titles are questions, section content are answers)
* Improved rendering of Cards (using POI v3.14)
 
For details about the markdown support see http://opencards.info/help.html#markdown

Feel welcome if you've questions or suggestions.

Best,
Holger

artcon...@gmail.com

unread,
Jun 13, 2016, 8:52:00 AM6/13/16
to opencards
Please show sample opencards in action. I would like to see it working.
Art


Art

holger brandl

unread,
Jun 24, 2016, 8:34:13 AM6/24/16
to opencards, artcon...@gmail.com
Hi artcon,

have you checked out the website http://opencards.info/ already? It contains quite a few screen shots of OpenCards in action. Feel welcome point out missing bits, and I'll add it.

Also, consider to simply download it. It ships with some example data to explore it's feature set.

Best,
Holger

ogp...@gmail.com

unread,
Nov 30, 2017, 4:24:44 PM11/30/17
to opencards
Holger Brandl,

I want to write some open-source quiz games that can connect to flashcards data, and I doubt that the world needs another flashcard format or flashcard editing program. I would like to be able to interface with whatever file/database flashcard data schema(s) is/are most widely used, but I have no idea what those are.

Is your opencards format widely used? What representation/schema exists in the users file system that I can write my code to access?

Is your opencards markdown format widely used? It looks like a very nice interface against which to program.

Can you offer any advice for my project (what other formats are common, what works, what doesn't, etc)?

TIA,

Al

Holger Brandl

unread,
Nov 30, 2017, 6:28:19 PM11/30/17
to open...@googlegroups.com
Dear AI,

thanks for your interest in OpenCards

<ogp...@gmail.com> schrieb am Do., 30. Nov. 2017 um 22:24 Uhr:
Holger Brandl,

I want to write some Hi open-source quiz games that can connect to flashcards data, and I doubt that the world needs another flashcard format or flashcard editing program.  I would like to be able to interface with whatever file/database flashcard data schema(s) is/are most widely used, but I have no idea what those are.


Is your opencards format widely used? What representation/schema exists in the users file system that I can write my code to access?
No schema is needed, that's the beauty. Headers are questions, content below headers is answers. 
 

Is your opencards markdown format widely used?  It looks like a very nice interface against which to program.
Not widely, but there seems continued community interest.
 

Can you offer any advice for my project (what other formats are common, what works, what doesn't, etc)?
Release early, release often.

 
Cheers,
Holger


TIA,

Al





On Monday, April 11, 2016 at 12:44:24 PM UTC-7, holger brandl wrote:
> Hi,
>
>
> I've released OpenCards v2.4 today with the following new features:
>
> * Preserve aspect ratio when rendering slides
> * Support for markdown files as flashcard sets (section titles are questions, section content are answers)
> * Improved rendering of Cards (using POI v3.14) For details about the markdown support see http://opencards.info/help.html#markdown
>
> Feel welcome if you've questions or suggestions.
>
> Best,
> Holger

--
You received this message because you are subscribed to a topic in the Google Groups "opencards" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/opencards/7QSn7w0pMXI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to opencards+...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencards.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencards/b0ee0958-de07-40c7-98db-2c6f7e6a47d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

m...@josequesada.com

unread,
Oct 27, 2018, 11:45:15 AM10/27/18
to opencards
Hi Holger,

Using 2.5, opencards crashes when trying to study a .md file. I've tried using the example in the documentation, but it still crashes. Any workarounds? Anything I may be doing wrong? Here's the file:

# What is a blocking factor?


A blocking factor is a source of variability that is not of primary interest to
the experimenter

## What is a factorial design?

- factorial design is used to evaluate two or more factors simultaneously.
- The treatments are combinations of levels of the factors.
– more efficient – allow interactions to be detected.
- Nice example in V&R:p165


## What is the code snippet to do XX?

The code snippet is

```
a = 1
```

## General Overview

Since Opencards just treats sections with titles ending with ? as questions we
can even mix documentation with questions and answers.


m...@josequesada.com

unread,
Oct 27, 2018, 11:54:22 AM10/27/18
to opencards
Oh, it actually crashing with a .ppt file too.
I'm on linux (Manjaro), if that's any use debugging.
It may be calling a libreoffice library that is too old or too new. In fact, it calls it openoffice in messages :)

m...@josequesada.com

unread,
Oct 27, 2018, 11:55:20 AM10/27/18
to opencards
Here's the error log from the command line:
INFO: UpdateCheck: installed version 2.5
Oct 27, 2018 5:52:57 PM info.opencards.Utils log
INFO: extracting flashcards from file '/home/quesada/Seafile/notes/Negotiating the unnegotiable.ppt'...
problem report submission failed because of java.net.URISyntaxException: Illegal character in opaque part at index 604: mailto:sup...@opencards.info?subject=OpenCards%20problem%20report:%20java.util.TreeMap.getEntry(TreeMap.java:347)&body=Dear%20OpenCards-team,%0D%0A%0D%0Athe%20following%20problem%20occurred%20while%20I%20was%20using%20OpenCards:%20%0D%0A%0D%0AOpenCards%20version:%202.5%0D%0APlatform:%20Linux%204.14.78-1-MANJAROJava%20Version:%201.8.0_192%20-%20Oracle%20Corporation%0D%0A%0D%0AThread[Thread-5,6,main]%0D%0A%0D%0Ajava.lang.NullPointerException%0D%0A%0D%0Ajava.util.TreeMap.getEntry(TreeMap.java:347)%0D%0Ajava.util.TreeMap.get(TreeMap.java:278)%0D%0Aorg.apache.poi.hslf.usermodel.HSLFSlideShowEncrypted.<init>(HSLFSlideShowEncrypted.java:90)%0D%0Aorg.apache.poi.hslf.usermodel.HSLFSlideShowImpl.read(HSLFSlideShowImpl.java:284)%0D%0Aorg.apache.poi.hslf.usermodel.HSLFSlideShowImpl.buildRecords(HSLFSlideShowImpl.java:275)%0D%0Aorg.apache.poi.hslf.usermodel.HSLFSlideShowImpl.<init>(HSLFSlideShowImpl.java:179)%0D%0Aorg.apache.poi.hslf.usermodel.HSLFSlideShowImpl.<init>(HSLFSlideShowImpl.java:130)%0D%0Aorg.apache.poi.hslf.usermodel.HSLFSlideShowImpl.<init>(HSLFSlideShowImpl.java:119)%0D%0Aorg.apache.poi.hslf.usermodel.HSLFSlideShow.<init>(HSLFSlideShow.java:166)%0D%0Ainfo.opencards.pptintegration.PPTSerializer.readFlashcardsFromFile(PPTSerializer.java:36)%0D%0A%0D%0A%0D%0AAdd%20more%20comments%20here%20if%20necessary!!%0D%0A%0D%0A%20Best,%20...

jo...@deeplearningretreat.com

unread,
Oct 28, 2018, 3:45:56 AM10/28/18
to opencards
On Monday, April 11, 2016 at 9:44:24 PM UTC+2, holger brandl wrote:

I seem to have found a workaround. If I edit one of the example ppts, then it works. So I can clone and edit those. I haven't found a solution for markdown import though.

jo...@deeplearningretreat.com

unread,
Oct 28, 2018, 4:08:31 AM10/28/18
to opencards

Well, workaround is brittle. If I do anything, even changing the file name, it doesn't work anymore. Oh well.

jo...@deeplearningretreat.com

unread,
Oct 28, 2018, 4:22:35 AM10/28/18
to opencards

Yeah, any change produces 'file contains no valid flashcards. One possible problem is that I'm editing with libreoffice, which may have compatibility problems with ppt. But it seems the java lib reading the file is openoffice, so this could be an advantage actually.

jo...@deeplearningretreat.com

unread,
Oct 28, 2018, 5:21:49 AM10/28/18
to opencards

I've been struggling with this all day. Problem is, google slides doesn't save as ppt, so those of us on linux are screwed if the problem is indeed libreoffice. I tried 6.1 and 6.0. Nothing helps.

The fact that .md files are converted, but fail to work when trying to 'study' them hints that it may not be the .ppt format, or at least not alone?

Holger Brandl

unread,
Oct 29, 2018, 4:12:30 AM10/29/18
to open...@googlegroups.com
Could you submit a reproducible example to the project issue tracker https://github.com/holgerbrandl/opencards/issues

Thanks,
Holger


--
You received this message because you are subscribed to a topic in the Google Groups "opencards" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/opencards/7QSn7w0pMXI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to opencards+...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencards.
Reply all
Reply to author
Forward
0 new messages