GithubHelp home page GithubHelp logo

puripuri2100 / mdbook-satysfi Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 1.0 2.83 MB

A mdbook backend for generating SATySFi documents.

Home Page: https://puripuri2100.github.io/mdbook-satysfi/ja/

License: MIT License

Rust 100.00%
mdbook-plugins mdbook satysfi pdf html5 html markdown rust

mdbook-satysfi's Introduction

mdbook-satysfi

crates.io Build Status source badge license badge

Status of Rust Bookshelf

note: The PDF file was generated by manually runnig the satysfi command.

  • ✅ compiles successfully
  • ❌ compilation fails/not yet attempted
Source Generate SATySFi Generate PDF Online Version
Rust Programming Language HTML
Mdbook User Guide HTML
Rust By Example HTML
Edition Guide HTML
Rustc Book HTML
Cargo Book HTML
Rustdoc Book HTML
Rust Reference HTML
Rustonomicon HTML
Embedded Rust Book HTML

Installation

Requirements

Cargo install + Configuration

cargo install mdbook-satysfi

Add the following toml configuration to book.toml.

[output.satysfi]

The next mdbook build command will produce SATySFi file in the book/satysfi/ directory.

Uninstallation

To uninstall mdbook-satysfi, enter the following in a shell:

cargo uninstall mdbook-satysfi

Then delete the [output.satysfi] configuration in book.toml:

- [output.satysfi]

Build PDF file

Requirements

To install opam, satyrographos and SATySFi, see this link.

To install satysfi-class-mdbook-satysfi, run the following command :

opam update
opam install satysfi-class-mdbook-satysfi
satyrographos install

Build

Add the pdf = true configure in [output.satysfi] table:

[output.satysfi]
+ pdf = true

or

Please run :

satysfi book/satysfi/main.saty

note : SATySFi does not support image formats other than JPEG. So if you are using a format other than JPEG, please replace it manually.

Primary Dependencies

mdbook-satysfi is built upon some really wonderful projects, including:


(c) 2021 Naoki Kaneko (a.k.a. "puripuri2100")

mdbook-satysfi's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

monaqa

mdbook-satysfi's Issues

Cannot build pdf due to lacking package

I installed SATySFi using the instruction in the README and installed mdbook-satysfi v0.0.2 using cargo. After running mdbook build, satysfi book/satysfi/main.saty, it didn't build with an error:

$ satysfi book/satysfi/main.saty
 ---- ---- ---- ----
  target file: 'main.pdf'
  dump file: 'main.satysfi-aux' (will be created)
  parsing 'main.saty' ...
! [Error] package file not found:
      class-mdbook-satysfi/mdbook-satysfi
    candidate paths:
      $PROJECT_DIR/.satysfi/local/packages/class-mdbook-satysfi/mdbook-satysfi.satyh
      $PROJECT_DIR/.satysfi/local/packages/class-mdbook-satysfi/mdbook-satysfi.satyg
      $HOME/.satysfi/local/packages/class-mdbook-satysfi/mdbook-satysfi.satyh
      $HOME/.satysfi/local/packages/class-mdbook-satysfi/mdbook-satysfi.satyg
      /usr/local/share/satysfi/local/packages/class-mdbook-satysfi/mdbook-satysfi.satyh
      /usr/local/share/satysfi/local/packages/class-mdbook-satysfi/mdbook-satysfi.satyg
      /usr/share/satysfi/local/packages/class-mdbook-satysfi/mdbook-satysfi.satyh
      /usr/share/satysfi/local/packages/class-mdbook-satysfi/mdbook-satysfi.satyg
      $HOME/Quell/conlang/.satysfi/dist/packages/class-mdbook-satysfi/mdbook-satysfi.satyh
      $HOME/Quell/conlang/.satysfi/dist/packages/class-mdbook-satysfi/mdbook-satysfi.satyg
      $HOME/.satysfi/dist/packages/class-mdbook-satysfi/mdbook-satysfi.satyh
      $HOME/.satysfi/dist/packages/class-mdbook-satysfi/mdbook-satysfi.satyg
      /usr/local/share/satysfi/dist/packages/class-mdbook-satysfi/mdbook-satysfi.satyh
      /usr/local/share/satysfi/dist/packages/class-mdbook-satysfi/mdbook-satysfi.satyg
      /usr/share/satysfi/dist/packages/class-mdbook-satysfi/mdbook-satysfi.satyh
      /usr/share/satysfi/dist/packages/class-mdbook-satysfi/mdbook-satysfi.satyg

I believe class-mdbook-satysfi/mdbook-satysfi is supposed to be installed on the installation of the crate, but wasn't. Is there any scenario where this can happen?

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.