GithubHelp home page GithubHelp logo

exaclior / books.jl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juliabooks/books.jl

0.0 0.0 0.0 2.54 MB

Create books with Julia

Home Page: https://huijzer.xyz/Books.jl/

License: Other

Julia 100.00%

books.jl's Introduction

Books.jl

Create books with Julia

CI Documentation Code Style Blue

In a nutshell, this package is meant to generate books (or reports or dashboards) with embedded Julia output. Via Pandoc, the package can live serve a website and build various outputs including a website and PDF. For many standard output types, such as DataFrames and plots, the package can run your code and 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 run Julia code and embed the output in a book,
  • the book (website and PDF) is built via CI, and
  • Markdown sections and subsections (level 2) should be numbered and listed in the HTML menu.

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 or my template repository for Franklin with Pluto. If you want a small report instead of a book with numbered sections, then Weave.jl might be more suitable for your problem.

This package is used to create the Julia Data Science book.

Usage

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

pkg> add Books

See, the documentation for more information.

Windows

Currently, this package (probably) does not work on Windows. This seems to be due to differences in maximum file path lengths. I have to look into it a bit more to fix it, but it's not a priority for me.

Getting help

If you run into problems when using this package, feel free to open an issue here at GitHub or click this link to ask a question at Discourse. For short questions, feel free to send me a PM at https://julialang.zulipchat.com/.

books.jl's People

Contributors

rikhuijzer avatar github-actions[bot] avatar findmyway avatar fangliu-tju avatar henry2004y avatar storopoli avatar pitmonticone avatar thecedarprince 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.