Coder Social home page Coder Social logo

books.jl's Introduction

Books.jl

Create books with Julia.

CI Testing Code Style: Blue ColPrac: Contributor's Guide on Collaborative Practices for Community Packages

In a nutshell, this package is meant to generate books (or dashboards) with embedded Julia output. Via Pandoc, the package can live serve a website and build various outputs including a website, PDF, and DOCX. For Julia code, the package can either show the code and the output, show the code or show only the output. For many standard output types, such as DataFrames and plots, the package will automatically handle proper embedding in the output documents, and also try to guess suitable captions and labels. Also, it is possible to work via the live server, which shows changes within seconds.

This package assumes that:

  • the user is comfortable with managing two REPLs,
  • the user wants to embed Julia code,
  • Markdown sections and subsections (level 2) should be numbered and listed in the HTML menu, and
  • the book (website, PDF and DOCX) is built via CI.

The reason that numbering of sections is always assumed is to allow the book to be printed. Without section numbers, it is difficult to refer to other parts of the book.

If you do not want numbered sections, but instead a more dynamic website with links, then checkout Franklin.jl. If you want a small report instead of a book with numbered sections, then Weave.jl might be more suitable for your problem.

Currently, this package is used to write the Julia Data Science book.

Usage

To install this package (Julia 1.6/1.7 on MacOS/Linux), use

pkg> add Books

See, the documentation for more information.

Windows

Currently, this package (probably) does not work on Windows. The fixes should be fairly easy. I simply have to look into it a bit more.

books.jl's People

Contributors

findmyway avatar github-actions[bot] avatar rikhuijzer avatar thecedarprince 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.