readme update
[librarian.git] / README.md
index e80922c..0867419 100755 (executable)
--- a/README.md
+++ b/README.md
@@ -1,9 +1,11 @@
-Licence
-=======
+License
+-------
+
+  ![AGPL Logo](http://www.gnu.org/graphics/agplv3-155x51.png)
     
     Copyright © 2008,2009,2010 Fundacja Nowoczesna Polska <fundacja@nowoczesnapolska.org.pl>
     
-    For full list of contibutors see AUTHORS section at the end. 
+    For full list of contributors see AUTHORS section at the end. 
 
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU Affero General Public License as published by
@@ -19,63 +21,71 @@ Licence
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
-Librarian
-=========
+About 
+------
 
-Librarian (*ang. bibliotekarz*) to biblioteka służąca do konwersji języka składu książek opartego na XML opracowanego przez Fundację Nowoczesna Polska na inne formaty.
+Librarian converts XML-based markup language used by FNP for writing books to 
+other formats, which are more suitable for presentation.
 
-Obecnie obsługiwane są formaty:
+Currently we support:
 
- * XML
- * TXT
+ * HTML4, XHTML 1.0
+ * Plain text
+ * EPUB (XHTML based)
+ * print-ready PDF
  
-Biblioteka librarian potrafi również parsować metadane opisane przez DublinCore oraz wyciągać fragmenty motywów z lektur.
+Other features: 
 
+ * extract DublinCore meta-data from documents;
+ * extract marked "themes" from documents.
 
-Wymagania
----------
 
- * [lxml 2.2](http://codespeak.net/lxml/)
+Dependencies
+------------
 
-Instalacja
-----------
-Zainstaluj biblioteki z sekcji *Wymagania* powyżej. Następnie rozpakuj archiwum z biblioteką librarian, przejdź w terminalu do rozpakowanego katalogu i wpisz:
+ * lxml <http://codespeak.net/lxml/>, version 2.2 or later
+ * additional PDF converter dependencies:
+   * XeTeX
+   * TeXML <http://getfo.org/texml/>
+
+
+Installation
+------------
 
-<pre>python setup.py install</pre>
+Librarian uses standard Python distutils for packaging. After installing all the dependencies just run:
 
-Na Linuxie i OSX mogą być wymagane uprawnienia administratora. W takim wypadku wpisz:
+    python setup.py install
+    
+
+Usage
+------
 
-<pre>sudo python setup.py install</pre>
+To convert a series of files to XHTML:
 
-Alternatywnie możesz zainstalować bibliotekę librarian w wybranym przez siebie katalogu. W takim wypadku należy użyć argumentu *prefix* do *setup.py*:
+    book2html file1.xml [file2.xml ...]
 
-<pre>python setup.py install --prefix=ŚCIEŻKA_DO_WYBRANEGO_KATALOGU</pre> 
+To convert a series of files to plain text:
 
-W takim wypadku będzie jednak potrzebne własnoręczne edytowanie zmiennych systemowych *PATH* i *PYTHONPATH*.
+    book2txt file1.xml [file2.xml ...]
 
+To convert a file to EPUB:
 
-Sposób użycia
--------------
-Konwersja plików lektur do XHTML:
+    book2epub file.xml
 
-<pre>book2html LEKTURA1 LEKTURA2...</pre>
+To convert a file to PDF:
 
-Konwersja plików lektur do TXT:
+    book2pdf file.xml
 
-<pre>book2txt LEKTURA1 LEKTURA2...</pre>
+To extract book fragments marked as "theme":
 
-Wyciągnięcie wszystkich fragmentów motywów z wygenerowanych plików XHTML:
+    bookfragments file1.xml [file2.xml ...]
 
-<pre>bookfragments PLIK1 PLIK2...</pre>
 
 Authors
 -------
-Originally written by Marek Stępniowski <marek@stepniowski>;
+Originally written by Marek Stępniowski <marek@stepniowski.com>
        
 Later contributions:
-    Łukasz Rekucki <lrekucki@gmail.com>
-
-
-
 
+ * Łukasz Rekucki <lrekucki@gmail.com>
+ * Radek Czajka <radek.czajka@gmail.com>
\ No newline at end of file