Skip to content

P3K-TEAM/documents

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P3K Team - Documents

Prerequirements

  • Node.js
  • LaTeX compiler
  • LaTeX packages
    • For compiling file examples/algorithms.tex - algorithmicx
    • For compiling file examples/hyperlinks.tex - hyperref

Usage

Installation

Please install all package dependencies by using following command

npm install

How to use this package?

  1. Create any valid LaTeX (.tex) file in src directory (or in subdirectories).

  2. After you're done, you can compile by using one of following scripts.

    1. For compiling all documents present in src directory, use:

      npm run compile:all
    2. If you wish to compile single file only, specify the --file flag with relative path in src directory, e.g.:

      npm run compile -- --file document.tex

Command Line Options

  • --clean
    • If provided, the script will clean the output directory (remove all files in out, so use it carefully)
  • --file
    • This option is used when specifying relative path to a single file
  • --all
    • If specified, script will compile all .tex files in src directory (or in any subdirectory).
  • --inputs
    • Importing assets should contain URL relative to the working directory. If you wish to specify more relative paths, use this option.
    • Supported values: multiple string URLs, separated by comma.
    • E.g. --inputs src/examples/assets/img,src/examples/templates

About

P3K Team - dokumenty

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TeX 98.0%
  • JavaScript 2.0%