Giter VIP home page Giter VIP logo

latex-report-es6's Introduction

latex-report-es6

LaTeX report template with JavaScript ES6 and JSON code blocks support.

Includes:

  • JavaScript ES6 and JSON code blocks support
  • Multi-file structure
  • Table of Figures
  • Table of Contents
  • Glossary
  • Common LaTeX commands examples
  • French-language ready (see Activate french)

Install required LaTeX packages

Windows

Install MikTeX. It will install the required pdflatex command and automatically install required packages when building a tex file.

Linux

Install Tex Live, I don't know which packages you need to install tbh.

Install the full packages list to make sure you get all you will ever need (4 GB):

$ sudo apt-get install texlive-full

Linux does not have an equivalent of MikTex to automatically install required packages when building tex files.

Build

Quick build (report_output will be the name of your PDF file):

$ cd src
$ pdflatex --jobname=report_output ./main.tex

Keep in mind that you need to build it 2 times to make sur LaTeX has generated all required references/Table of Contents files.

Or simply use the provided build script (see build.sh):

$ ./build.sh

Clear log/data files

This will removes all LaTeX build files in the project (src and dist). It does not remove images/tex/pdf in dist. It removes pdf files in src (see clean.sh).

$ ./clean.sh

Example

When built, the template will output this PDF file: dist/report_output.pdf.

Example of a ES6 JavaScript code block:

ES6 code example

Activate french

Simply uncomment this line to turn on french.

A package is already included to fix the copy bug on accentuated characters (when you copy é and get ´e in your clipboard).

License

The MIT license

latex-report-es6's People

Contributors

rigwild avatar

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.