Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ymasory committed Sep 11, 2010
0 parents commit 8e12259
Show file tree
Hide file tree
Showing 42 changed files with 8,373 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
*~
*.aux
*.log
*.pdf
*.synctex.gz

target/
lib_managed/
src_managed/
project/boot/
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Simple markup language for creating printable flashcards

Homepage: http://github.com/ymasory/Flashup
Binary file added lib/iText-5.0.4.jar
Binary file not shown.
8 changes: 8 additions & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#Project properties
#Mon Aug 16 00:01:05 EDT 2010
project.organization=Yuvi Masory
project.name=Flashup
sbt.version=0.7.4
project.version=0.1
build.scala.versions=2.8.0
project.initialize=false
40 changes: 40 additions & 0 deletions project/build/Project.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import sbt._

class Project(info: ProjectInfo) extends DefaultProject(info) with ProguardProject with Exec with extract.BasicSelfExtractingProject {

//project name
override val artifactID = "flashup"

//managed dependencies from built-in repositories
val scalatest = "org.scalatest" % "scalatest" % "1.2"
val jsap = "com.martiansoftware" % "jsap" % "2.1"

//managed dependencies from external repositories
// val pdfBox = "org.apache.pdfbox" % "pdfbox" % "1.2.1"
// val apache = "http://repository.apache.org/snapshots/"


//files to go in packaged jars
val extraResources = "README.rst" +++ "LICENSE"
override val mainResources = super.mainResources +++ extraResources

//program entry point
override def mainClass: Option[String] = Some("com.yuvimasory.flashcards.CLI")

//proguard
override def proguardOptions = List(
"-keepclasseswithmembers public class * { public static void main(java.lang.String[]); }",
"-dontoptimize",
"-dontobfuscate",
proguardKeepLimitedSerializability,
proguardKeepAllScala,
"-keep interface scala.ScalaObject"
)
override def proguardInJars = Path.fromFile(scalaLibraryJar) +++ super.proguardInJars


//what the executable setup jar will do
// override def installActions = "update" :: "compile" :: Nil

// override def compileOptions = ExplainTypes
}
6 changes: 6 additions & 0 deletions project/plugins/Plugins.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import sbt._

class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
val extract = "org.scala-tools.sbt" % "installer-plugin" % "0.3.0"
val proguard = "org.scala-tools.sbt" % "sbt-proguard-plugin" % "0.0.4"
}
3 changes: 3 additions & 0 deletions project/plugins/project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#Project properties
#Tue Sep 07 22:07:32 EDT 2010
plugin.uptodate=true
41 changes: 41 additions & 0 deletions samples/sample.flashup
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#TOPLEFT My Favorite Book
#TOPRIGHT chapter 3

* Stars indicate the front of a card.
Everything after the star is the back of the card.

* Fronts of cards are trimmed for pointless whitespace.



Same for the back sides. Leading and trailing empty lines are discarded.




But empty lines in the middle aren't.





* You can have `monospace`, ``italic``, or ```bold``` on the front.
`same` ``on`` ```the back```

* What is the population of China?
* What is its GDP?
You can have multiple elements on the front of a card, nicely spaced. Just don't put lines in between the front elements.


* The pdf translator will make sure your text nicely fits to the card.
Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. Even if you have way more text than can be fit with the default font size. ```See, everything fit!```

* You can write a verbatim code block that guarantees no wrapping will take place.
Some code:

`
for(int i = 0; i < 10; i++) {
System.out.println("a realllllllllllllllly long line won't wrap in a code block");
}
`

208 changes: 208 additions & 0 deletions src/main/resources/freefont/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
-*- mode:text; coding:utf-8; -*-
GNU FreeFont Authors
====================

The FreeFont collection is being maintained by
Steve White <stevan.white AT googlemail.com>
The folowing list cites the other contributors that contributed to
particular ISO 10646 blocks.

* URW++ Design & Development GmbH <http://www.urwpp.de/>

Basic Latin (U+0041-U+007A)
Latin-1 Supplement (U+00C0-U+00FF) (most)
Latin Extended-A (U+0100-U+017F)
Spacing Modifier Letters (U+02B0-U+02FF)
Mathematical Operators (U+2200-U+22FF) (parts)
Block Elements (U+2580-U+259F)
Dingbats (U+2700-U+27BF)

* Yannis Haralambous <yannis.haralambous AT enst-bretagne.fr> and John
Plaice <plaice AT omega.cse.unsw.edu.au>

Latin Extended-B (U+0180-U+024F)
IPA Extensions (U+0250-U+02AF)
Greek (U+0370-U+03FF)
Armenian (U+0530-U+058F)
Hebrew (U+0590-U+05FF)
Arabic (U+0600-U+06FF)
Currency Symbols (U+20A0-U+20CF)
Arabic Presentation Forms-A (U+FB50-U+FDFF)
Arabic Presentation Forms-B (U+FE70-U+FEFF)

* Young U. Ryu <ryoung AT utdallas.edu>

Arrows (U+2190-U+21FF)
Mathematical Symbols (U+2200-U+22FF)
Mathematical Alphanumeric Symbols (U+1D400-U+1D7FF)

* Valek Filippov <frob AT df.ru>

Cyrillic (U+0400-U+04FF)

* Wadalab Kanji Comittee

Hiragana (U+3040-U+309F)
Katakana (U+30A0-U+30FF)

* Angelo Haritsis <ah AT computer.org>

Greek (U+0370-U+03FF)

* Yannis Haralambous and Virach Sornlertlamvanich

Thai (U+0E00-U+0E7F)

* Shaheed R. Haque <srhaque AT iee.org>

Bengali (U+0980-U+09FF)

* Sam Stepanyan <sam AT arminco.com>

Armenian (U+0530-U+058F)

* Mohamed Ishan <ishan AT mitf.f2s.com>

Thaana (U+0780-U+07BF)

* Sushant Kumar Dash <sushant AT writeme.com>

Oriya (U+0B00-U+0B7F)

* Harsh Kumar <harshkumar AT vsnl.com>

Devanagari (U+0900-U+097F)
Bengali (U+0980-U+09FF)
Gurmukhi (U+0A00-U+0A7F)
Gujarati (U+0A80-U+0AFF)

* Prasad A. Chodavarapu <chprasad AT hotmail.com>

Telugu (U+0C00-U+0C7F)

* Frans Velthuis <velthuis AT rc.rug.nl> and Anshuman Pandey
<apandey AT u.washington.edu>

Devanagari (U+0900-U+097F)

* Hardip Singh Pannu <HSPannu AT aol.com>

Gurmukhi (U+0A00-U+0A7F)

* Jeroen Hellingman <jehe AT kabelfoon.nl>

Oriya (U+0B00-U+0B7F)
Malayalam (U+0D00-U+0D7F)

* Thomas Ridgeway <email needed>

Tamil (U+0B80-U+0BFF)

* Berhanu Beyene <1beyene AT informatik.uni-hamburg.de>,
Prof. Dr. Manfred Kudlek <kudlek AT informatik.uni-hamburg.de>, Olaf
Kummer <kummer AT informatik.uni-hamburg.de>, and Jochen Metzinger <?>

Ethiopic (U+1200-U+137F)

* Maxim Iorsh <iorsh AT users.sourceforge.net>

Hebrew (U+0590-U+05FF)

* Vyacheslav Dikonov <sdiconov AT mail.ru>

Syriac (U+0700-U+074A)
Braille (U+2800-U+28FF)

* Panayotis Katsaloulis <panayotis AT panayotis.com>

Greek Extended (U+1F00-U+1FFF)

* M.S. Sridhar <mssridhar AT vsnl.com>

Devanagari (U+0900-U+097F)
Bengali (U+0980-U+09FF)
Gurmukhi (U+0A00-U+0A7F)
Gujarati (U+0A80-U+0AFF)
Oriya (U+0B00-U+0B7F)
Tamil (U+0B80-U+0BFF)
Telugu (U+0C00-U+0C7F)
Kannada (U+0C80-U+0CFF)
Malayalam (U+0D00-U+0D7F)

* DMS Electronics, The Sri Lanka Tipitaka Project, and Noah Levitt
<nlevitt AT columbia.edu>

Sinhala (U+0D80-U+0DFF)

* Dan Shurovich Chirkov <dansh AT chirkov.com>

Cyrillic (U+0400-U+04FF)

* Abbas Izad <abbasizad AT hotmail.com>

Arabic (U+0600-U+06FF)
Arabic Presentation Forms-A (U+FB50-U+FDFF)
Arabic Presentation Forms-B (U+FE70-U+FEFF)

* Denis Jacquerye <moyogo AT gmail.com>

Latin Extended-B (U+0180-U+024F)
IPA Extensions (U+0250-U+02AF)

* K.H. Hussain <hussain AT kfri.org> and R. Chitrajan

Malayalam (U+0D00-U+0D7F)

* Solaiman Karim <solaiman AT ekushey.org> and Omi Azad <omi AT ekushey.org>

Bengali (U+0980-U+09FF)

* Sonali Sonania <sonalisonania AT gmail.com> and Monika Shah
<monikapatira AT gmail.com>

Devanagari (U+0900-U+097F)
Gujarati (U+0A80-U+0AFF)

* Pravin Satpute <pravin_ind21 AT hotmail.com>, Bageshri Salvi
<sbagrshri AT yahoo.co.in>, Rahul Bhalerao <rahul_pb_india AT
yahoo.com> and Sandeep Shedmake <surgs2k47 AT yahoo.co.in>

Devanagari (U+0900-U+097F)
Gujarati (U+0A80-U+0AFF)
Oriya (U+0B00-U+0B7F)
Malayalam (U+0D00-U+0D7F)
Tamil (U+0B80-U+0BFF)

* Kulbir Singh Thind

Gurmukhi (U+0A00-U+0A7F)

* Gia Shervashidze <giasher AT telenet.ge>

Georgian (U+10A0-U+10FF)

* Daniel Johnson

Cherokee (U+13A0-U+13FF)

* George Douros

Gothic (U+10330-U+1034F)
Phoenecian (U+10900-U+1091F)
Byzantine Musical Symbols (U+1D000-U+1D0FF)
Western Musical Symbols (U+1D100-U+1D1DF)
Mathematical Alphanumeric Symbols (U+1D400-U+1D7FF)
Mah Jong Tiles (U+1F000-U+1F02B)
Dominoes (U+1F030-U+1F093)

* Steve White <stevan_white AT gmail.com>
Coptic (U+2C80-U+2CFF)

* Primož Peterlin <primoz.peterlin AT biofiz.mf.uni-lj.si>
maintained FreeFont for several years, and is thanked for all his work.

Please see the CREDITS file for details on who contributed particular
subsets of the glyphs in font files.

--------------------------------------------------------------------------
$Id: AUTHORS,v 1.18 2009/01/04 15:57:54 Stevan_White Exp $
Loading

0 comments on commit 8e12259

Please sign in to comment.