Code Monkey home page Code Monkey logo

ebook's Introduction

bmc

Just some quick details:

Other links are in my GitHub profile.

ebook's People

Contributors

bmc avatar dnstanciu avatar szaffarano avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ebook's Issues

Can't run the build command on MacOS

Hi, Iā€™m started to learn python few days ago, so sorry if my question is a bit silly.

Iā€™m on mac, I tried to install the project (I would like to write my python learning note with the template :) )

I use virtualenv, installed requirements and pandoc.

My pandoc version is 2.6 (pandoc -v)
My python version is 3.7.2

If I launch the build command, I have the following error:

Traceback (most recent call last):
  File "build", line 527, in <module>
    _check_pandoc()
  File "build", line 511, in _check_pandoc
    raise Exception('Unable to determine pandoc version.')
Exception: Unable to determine pandoc version.

The method does not detect the command correctly. I tested to command the block, and If I rerun I have another one:

/usr/local/bin/pandoc -f markdown+line_blocks+escaped_line_breaks+smart+fenced_code_blocks+fenced_code_attributes+backtick_code_blocks+yaml_metadata_block  -F scripts/pandoc-filter.py -F pandoc-citeproc -F scripts/plantuml-filter.py --standalone  -t html -B tmp/body_include.html --self-contained --css=files/html.css -H files/head_include.html -o book.html tmp/preprocessed/metadata.yaml tmp/preprocessed/copyright.md tmp/preprocessed/dedication.md tmp/preprocessed/foreward.md tmp/preprocessed/preface.md tmp/preprocessed/prologue.md tmp/preprocessed/chapter-01.md tmp/preprocessed/chapter-02.md tmp/preprocessed/epilogue.md tmp/preprocessed/acknowledgments.md tmp/preprocessed/appendix-a.md tmp/preprocessed/appendix-b.md tmp/preprocessed/glossary.md tmp/preprocessed/author.md tmp/preprocessed/references.md
Traceback (most recent call last):
  File "./scripts/plantuml-filter.py", line 22, in <module>
    COMMAND = find_in_path("plantuml")
  File "./lib/__init__.py", line 327, in find_in_path
    raise OSError("""Can't find "{0}" in PATH.""".format(command))
OSError: Can't find "plantuml" in PATH.
Error running filter scripts/plantuml-filter.py:
Filter returned error status 1

Wrong chapters order

The build script does not order the chapters correctly. I fixed this issue sorting the glob output in build script. I'm attaching a patch file with this change:

-CHAPTERS                   = glob(os.path.join(BOOK_SRC_DIR, 'chapter-*.md'))
+CHAPTERS                   = sorted(glob(os.path.join(BOOK_SRC_DIR, 'chapter-*.md')))

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.