GithubHelp home page GithubHelp logo

thorstens-linux / swfk-de Goto Github PK

View Code? Open in Web Editor NEW

This project forked from malefs/swfk-de

0.0 1.0 0.0 18.6 MB

Automatically exported from code.google.com/p/swfk-de

License: Other

TeX 98.48% Python 1.52%

swfk-de's Introduction

-----------------------------------------------------------------
Allgemeines
-----------------------------------------------------------------

LaTeX source of "Snake Wrangling for Kids"

Dieses Werk ist unter einem Creative Commons Namensnennung-Keine kommerzielle Nutzung-Weitergabe 
unter gleichen Bedingungen 3.0 Deutschland Lizenzvertrag lizenziert. Um die Lizenz anzusehen, gehen Sie bitte 
zu http://creativecommons.org/licenses/by-nc-sa/3.0/de/ oder schicken Sie einen Brief an 
Creative Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA.



-----------------------------------------------------------------
Fertig
-----------------------------------------------------------------

Übersetzen
    Titel anpassen (frontmatter.tex)                       OK   
    Kapitel  1                                             OK
    Kapitel  2                                             OK
    Kapitel  3                                             OK
    Kapitel  4                                             OK
    Kapitel  5                                             OK
    Kapitel  6                                             OK
    Kapitel  7                                             OK
    Kapitel  8                                             OK
    Kapitel  9                                             OK
    Kapitel 10                                             OK

    Appendix A                                             OK
    Appendix B                                             OK
    Appendix C                                             OK
    Appendix D                                             OK


Layout wie französische Version
    Kapiteldesign \usepackage[Bjornstrup]{fncychap}        OK
    Rahmen um Codebeispiele mit \usepackage{fancyvrb}      OK
    Schriften Linux Libertine einbauen                     OK
    Umstieg von latex auf xelatex                          OK
    Bilder von eps ins pdf wandeln (mit Inkscape)          OK


Build Prozess
    setup.py anpassen damit der Dateiname richtig          OK
    Stickwortverzeichnis mit makeindex dabei               OK

Verschiedenes
    swfk.tex.pre pdf Titel anpassen                        OK




-----------------------------------------------------------------
Offen
-----------------------------------------------------------------

Farben überprüfen

In Appendix B eine Alternative für die in Python 3 weggefallene cmp Funktion finden

preface: Bilder vom Installieren in den Mac Abschnitt?

als print on demand Buch veröffentlichen?






%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
---------------------------------------------------------------------
Anleitung wie das Buch auf einem Ubuntu 11.10 generiert wird
---------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




---------------------------------------------------------------------
0. Vorbereitung
---------------------------------------------------------------------

sudo apt-get install mercurial python3 python3-tk xz-utils 
eingeben und auch die Abhängigkeiten mit Installieren.




---------------------------------------------------------------------
1. Install Texlive 2011 from ISO 
---------------------------------------------------------------------

Torrent Download von http://www.tug.org/texlive/acquire-iso.html

Torrent Download von http://www.tug.org/texlive/acquire-iso.html#torrent oder 
einem Mirrow von CTAN http://www.ctan.org/tex-archive/CTAN.sites wie zum Beispiel
http://sunsite.informatik.rwth-aachen.de/ftp/pub/mirror/ctan/systems/texlive/Images/texlive2009-20091107.iso.xz

xz Archiv entpacken
~/ xz --decompress texlive2011.iso.aachen.xz 



texlive.iso mounten
sudo mount -t iso9660 -o ro,loop,noauto /pfad/zu/texlive2011-20110705.iso /mnt 
cd /mnt

sudo ./install-tl

------------- Auszug aus Installationoptionen von texlive2011 --------------

 Detected platform: Intel x86 with GNU/Linux
 
 <B> platforms: 1 out of 19

 <S> installation scheme (scheme-full)
     84 collections out of 85, disk space required: 2600 MB

 Customizing installation scheme:
   <C> standard collections
   <L> language collections

 <D> directories:
   TEXDIR (the main TeX directory):
     /usr/local/texlive/2011
   TEXMFLOCAL (directory for site-wide local files):
     /usr/local/texlive/texmf-local
   TEXMFSYSVAR (directory for variable and automatically generated data):
     /usr/local/texlive/2011/texmf-var
   TEXMFSYSCONFIG (directory for local config):
     /usr/local/texlive/2011/texmf-config
   TEXMFVAR (personal directory for variable and automatically generated data):
     ~/.texlive2011/texmf-var
   TEXMFCONFIG (personal directory for local config):
     ~/.texlive2011/texmf-config
   TEXMFHOME (directory for user-specific files):
     ~/texmf

-----------------------------------------------------------------------------

default Werte für Installation lassen 




------------ Installation gibt zuletzt folgendes aus -----------------------

See
   /usr/local/texlive/2011/index.html
 for links to documentation.  The TeX Live web site
 contains updates and corrections: http://tug.org/texlive.

 TeX Live is a joint project of the TeX user groups around the world;
 please consider supporting it by joining the group best for you. The
 list of groups is available on the web at http://tug.org/usergroups.html.

 Add /usr/local/texlive/2011/texmf/doc/man to MANPATH, if not dynamically determined.
 Add /usr/local/texlive/2011/texmf/doc/info to INFOPATH.

 Most importantly, add /usr/local/texlive/2011/bin/i386-linux
 to your PATH for current and future sessions.

 Welcome to TeX Live!
Logfile: /usr/local/texlive/2011/install-tl.log




---------------------------------------------------------------------
2. Umgebungsvariablen setzen
---------------------------------------------------------------------

gedit /home/user/.profile
ganz unten dazuhängen

# new PATH für Latex
PATH=$PATH:/usr/local/texlive/2011/bin/i386-linux
export PATH 

----------
damit es gleich gültig ist ein 
source ~/.profile 
ausführen um die Umgebunsvariblen zu aktualisieren.

$ exec bash 

überprüfen mit 
echo $PATH




---------------------------------------------------------------------
3. XELibertine bereitstellen
--------------------------------------------------------------------
Dateien laden von 
http://mirror.ctan.org/systems/win32/miktex/tm/packages/xelibertine.tar.lzma

xelibertine.tar.lzma entpacken nach /home/user/texmf




---------------------------------------------------------------------
4. Schrift nachinstallieren
---------------------------------------------------------------------

sudo apt-get install ttf-linux-libertine

Alternative

Download Linux Libertine Fonts von http://sourceforge.net/projects/linuxlibertine/files/
mkdir /home/user/.fonts
LinLibertineFont-4.4.1.tgz entpacken und Ordner nach /home/user/.fonts kopieren
sudo fc-cache -f -v




---------------------------------------------------------------------
5. Anleitung zum PDF's generieren
---------------------------------------------------------------------

python  setup.py build   
oder auch   
python3 setup.py build

Nach ein paar Minuten sind die PDF's für Linux, Windows und Mac im target Verzeichnis fertig.

P.s. in diesen Files wird die Generierung des pdf eingetellt
+ in setup.py auf Zeile 19 oder 20 ob nur ein pdf oder drei pdf rauskommen (für Mac, Linux, Windows)
+ in swfk.tex.pre von Zeile 130 bis Zeile 162 welche Kapitel dabei sind und welche nicht.
+ auf frontmatter.tex auf Zeile 74 welche Version im Dateinamen des pdf stehen wird.




P.p.s.: damit beim hg push auch der richtige Benutzer mitkommt, in die 
.hg/hgrc Datei
den Abschnitt hinzufügen
[ui]
username = Vorname Nachname <[email protected]> 





---------------------------------------------------------------------
zzz Wahrscheinlich nicht mehr benötigt
---------------------------------------------------------------------

zusätzlich 

sudo cp -r texmf/doc/  /etc/texmf/
sudo cp -r texmf/tex/  /etc/texmf/
sudo cp -r texmf/tpm/  /etc/texmf/


swfk-de's People

Contributors

jenskuespert avatar redwhitered avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.