pdf fix
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 27 Dec 2010 10:13:13 +0000 (11:13 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 27 Dec 2010 10:13:13 +0000 (11:13 +0100)
README.md
librarian/pdf/wl.sty

index 7c27d2d..7588245 100755 (executable)
--- a/README.md
+++ b/README.md
@@ -58,7 +58,9 @@ Installation
 Librarian uses standard Python distutils for packaging. After installing all the dependencies just run:
 
     python setup.py install
-    
+
+PDF converter also needs the Junicode-WL fonts (librarian/pdf/JunicodeWL-*.ttf) installed.
+In Debian/Ubuntu, put those files in ~/.fonts/ and run `fc-cache'.
 
 Usage
 ------
index 6bdc2ff..847504c 100644 (file)
@@ -8,12 +8,12 @@
 \usepackage{xltxtra}
 
 \setmainfont [
-ExternalLocation,
-UprightFont = JunicodeWL-Regular.ttf,
-ItalicFont = JunicodeWL-Italic.ttf,
-BoldFont = JunicodeWL-Regular.ttf,
-BoldItalicFont = JunicodeWL-Italic.ttf,
-SmallCapsFont = JunicodeWL-Regular.ttf,
+%ExternalLocation,
+UprightFont = JunicodeWL-Regular,
+ItalicFont = JunicodeWL-Italic,
+BoldFont = JunicodeWL-Regular,
+BoldItalicFont = JunicodeWL-Italic,
+SmallCapsFont = JunicodeWL-Regular,
 SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
 Numbers=OldStyle,
 Scale=1.04,
@@ -28,7 +28,7 @@ SizeFeatures={
 }
 }
 
-\renewcommand{\textsc}[1]{
+\renewcommand{\textsc}[1]{%
 {\addfontfeature{
 SizeFeatures={
   {Size={-10}, Scale=1.2, FakeStretch=1.02, LetterSpace=8.0 },
@@ -117,11 +117,11 @@ Letters={SmallCaps,UppercaseSmallCaps}
     }
 }
 
-\newcommand{\typosubsubsection}[1]{
+\newcommand{\typosubsubsection}[1]{%
 {\textsc{#1}}
 }
 
-\newcommand{\typosubsection}[1]{
+\newcommand{\typosubsection}[1]{%
 {\addfontfeature{
 SizeFeatures={
   {Size={-10}, Scale=1.2, FakeStretch=1.00, LetterSpace=8.0 },
@@ -133,7 +133,7 @@ Letters={Uppercase}
 \MakeUppercase{#1}}
 }
 
-\newcommand{\typosection}[1]{
+\newcommand{\typosection}[1]{%
 {\addfontfeature{Scale=2.0, FakeStretch=0.98, LetterSpace=-2.0}\emph{#1}}
 }