GithubHelp home page GithubHelp logo

sajadfahimian / bookpam Goto Github PK

View Code? Open in Web Editor NEW

This project forked from basemax/bookpam

0.0 0.0 0.0 330 KB

Python: BookPam is a typesetting system; it includes features designed for the production of technical documentation and book using Python.

Home Page: https://basemax.github.io/bookpam/examples.html

License: GNU General Public License v3.0

Python 19.51% CSS 9.17% HTML 61.52% JavaScript 9.79%

bookpam's Introduction

bookpam

BookPam is a typesetting system; it includes features designed for the production of technical documentation and book. BookPam is available as free software.

Demo typesetting system Book Pam

Features

  • Support cover of book
  • Auto generate Contents list
  • Auto generator to HTML documents (with minimal style for title, block, etc.)
  • Highlight one own language syntaxe
  • Auto generate Functions list at bottom of book

Examples

Watch web and html-based book at here

Pure pam file format avaiable at here

Using bookpam

Generate examples.html from examples.pam by running following command:

python bookpam.py

Commands

This structure may be somewhat similar to markdown, but it is not. It has more features that can help us in writing documentaries and books.

  • [center] put here [/center]
  • [page] put here [/page]
  • # ## ### #### ##### ######
  • \n: go to new line
  • <<FUNCTION_NAME>>
  • `IDENT_NAME`

Example document

[cover]

[center]





{logo.png}




### GitHub Universe 2020 event

# Discussion about programming and a new tool



David Nolen
 
Maintainer of Clojurescript 



Jonan Scheffler

Director of Developer Relations, New Relic 



Spring 2020


Max Base, GitHub Repository

[/center]


[/cover]


[page]

# Lorem Ipsum

Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts and visual mockups.

....
....
....

[/page]

TODO

  • Support RTL and LTR (html[dir=rtl]{}, html[dir=ltr]{})
  • Ability to set own font for book (Optional)
  • Highlight multi language code syntaxes
  • Adding command parser for bookpam.py e.g: --help, --version, and other optional setting, etc.
  • Apply a custom style for top and bottom of every page using @page{} in print mode of browser.
  • Generate PDF file from html file.
  • Get own style.css file from user via command parser CLI
  • Adding bookpam to pip python package management

Partnership and development

Please send issue or pull request if you found a bug or problem. Feel free to discuss or send pull...

License

BookPam is licensed under the GNU General Public License.

logo.png file is just a example file and it's not licensed under this project.


Max Base

My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)

Asrez Team

A team includes some programmer, developer, designer, researcher(s) especially Max Base.

Asrez Team

bookpam's People

Contributors

basemax avatar sajadfahimian 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.