From a8617c73670b68ad909c01809ff497e1ab766b4c Mon Sep 17 00:00:00 2001 From: Brandon Lin Date: Sat, 13 Apr 2019 22:33:17 +0800 Subject: [PATCH] doc: add instructions of getting started in README.md * Add instructions for installing pdflatex package. * Add commands for executing example. --- README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e603eda..18f5936 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,27 @@ Latex code for drawing neural networks for reports and presentation. Have a look into examples to see how they are made. Additionally, lets consolidate any improvements that you make and fix any bugs to help more people with this code. +## Getting Started +1. Install the following packages on Ubuntu. + * Ubuntu 16.04 + ``` + sudo apt-get install texlive-latex-extra + ``` + + * Ubuntu 18.04.2 +Base on this [website](https://gist.github.com/rain1024/98dd5e2c6c8c28f9ea9d), please install the following packages. + ``` + sudo apt-get install texlive-latex-base + sudo apt-get install texlive-fonts-recommended + sudo apt-get install texlive-fonts-extra + sudo apt-get install texlive-latex-extra + ``` +2. Execute the example as followed. + ``` + cd pyexamples/ + bash ../tikzmake.sh test_simple + ``` + ## TODO - [X] Python interfaz @@ -63,5 +84,3 @@ Following are some network representations:
Holistically-Nested Edge Detection
- -