Giter VIP home page Giter VIP logo

thesis's Introduction

To compile the thesis

There is a few operations to do in order to compile this complex LaTeX architecture thesis! I'll try to explain all of these operations.

Compile the Memoir

Go into the memoir directory. All subdirectories in the following explanation are considering that memoir is the root directory.

Install other packages

Clone the mytexlive repository as your ~/texmf directory. Go into ~/texmf/tex/latex and update files with

$ python update.py

For images

Install ImageMagick and do the following.

$ cd images/
$ for file in `ls \*.png`
$ do
$   convert $file `echo $file | sed 's/\.png/\.eps/g'`
$ done

For statistics

Install R, TCL and TK. Launch R and install the 'lawstat' package in it (you can launch it with root privileges to install it on all the system). To install it

$ install.packages("lawstat")

Now, you can do the following.

$ for file in `ls files/\*.r`
$ do
$   R --vanilla -f $file
$ done

For PDFs

To generate the needed PDF files, you need to install Ghostscript then run the following command which will split multipage PDF files into one page PDF files.

$ cd images
$ for num in `seq 1 5`
$ do              
$    gs -dBATCH -sDEVICE=pdfwrite -dSAFER -o "exp1-questionnaire-$num.pdf" -dFirstPage=$num -dLastPage=$num exp1-questionnaire.pdf
$    gs -dBATCH -sDEVICE=pdfwrite -dSAFER -o "exp4-questionnaire-$num.pdf" -dFirstPage=$num -dLastPage=$num exp4-questionnaire.pdf
$ done

After, you need to convert these PDF files into EPS files.

$ cd images
$ for file in `ls \*-[0-9].pdf`
$ do
$   convert $file `echo $file | sed 's/\.pdf/\.eps/g'`
$ done

thesis's People

Watchers

 avatar  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.