Coder Social home page Coder Social logo

magabriel / trefoil Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 9.89 MB

trefoil extends easybook (https://easycorp.io/EasyBook) to provide additional features for publication of ebooks, both fiction and non-fiction.

Home Page: http://magabriel.github.io/trefoil-doc/

License: Other

PHP 50.15% CSS 1.04% HTML 2.26% Dockerfile 0.14% Shell 0.01% JavaScript 0.30% Twig 46.05% Rich Text Format 0.06%
ebook html pdf publishing

trefoil's People

Contributors

magabriel avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

trefoil's Issues

Plugin ImageExtra expects '?' on string everytime and images break

Miguel, first of all, thank you for this great project that makes working on more advanced projects on easybook a piece of cake.

The ImageExtra plugin checks for the presence of a '?' on the image string to apply the str_replace for 'images/', so if I just use ![text](images/figure_5.8.png) it won't match and the build will show a warning:

[WRN] Can't open input file: No such file or directory (/tmp/trefoil/easybook_pdf/images/images/figure_5.8.png)

But if I use ![](images/figure_5.8.png?class="wide") it will apply the str_replace and everything's good.

An else on the preProcessImages function should resolve it. :) Would you like a PR?

Publishing error output on publishing large PDF with hundreds of images

Hi Miguel!

I'm publishing a PDF (with Prince) with 480 pages and almost 700 images in 300dpi. Some images are 4000px wide (large screenshots upscaled to 300 dpi in photoshop)

I'm on a Mac. When I hit publish, after several seconds, the command returns nothing in the output (so I presume an error) BUT the pdf is generated (160MB PDF) but without its cover (a PDF) attached. Do you have any clue? Maybe this is a timeout issue, I don't know...

I hope you can help me with that! :) Or should I place this issue on Easybook repo?

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.