Giter Club home page Giter Club logo

perfect-edition-pollen's People

Contributors

otherjoel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ecolog

perfect-edition-pollen's Issues

A couple of problems

I've downloaded the code, installed Racket and Pollen, and then did as the README.MD file says, i.e. raco pollen render book.html. Everything works fine, but the book cover doesn't appear. When I checked book.html there was no image quoted on this line: . When I check book.poly.pmd this line is present: ◊(define-meta cover-image "img/king-cover.jpg"). If I edit book.html and include the name of the image file, everything works fine. Any thoughts?

My other problem, is that when I try to create the ebook, I get the following error:

C:\Webmaster,pnfs.org.uk\web\projects\books\original>raco pollen render book.epub
pollen: rendering book.epub
pollen: rendering /book.poly.pmd as epub
The system cannot find the path specified.
Error building epub file!
context...:
body of 'g5781
C:\Users\melba\AppData\Roaming\Racket\8.11.1\pkgs\pollen\pollen\render.rkt:411:0: render-markup-or-markdown-source
C:\Users\melba\AppData\Roaming\Racket\8.11.1\pkgs\pollen\pollen\render.rkt:337:25: render
C:\Users\melba\AppData\Roaming\Racket\8.11.1\pkgs\pollen\pollen\private\cache-utils.rkt:124:2: generate-dest-file
C:\Program Files\Racket\collects\file\cache.rkt:63:2: fetch-and-continue
C:\Program Files\Racket\collects\racket\contract\private\arrow-val-first.rkt:555:3
C:\Users\melba\AppData\Roaming\Racket\8.11.1\pkgs\pollen\pollen\private\cache-utils.rkt:114:0: cache-ref!
C:\Program Files\Racket\collects\racket\private\more-scheme.rkt:377:2: hash-ref!
C:\Users\melba\AppData\Roaming\Racket\8.11.1\pkgs\pollen\pollen\render.rkt:277:0: render-to-file-base
C:\Users\melba\AppData\Roaming\Racket\8.11.1\pkgs\pollen\pollen\render.rkt:183:25: render-batch
C:\Users\melba\AppData\Roaming\Racket\8.11.1\pkgs\pollen\pollen\private\external\logging.rkt:46:0: with-intercepted-logging
body of (submod "C:\Users\melba\AppData\Roaming\Racket\8.11.1\pkgs\pollen\pollen\private\command.rkt" raco)
C:\Program Files\Racket\collects\raco\raco.rkt:41:0
body of "C:\Program Files\Racket\collects\raco\raco.rkt"
body of "C:\Program Files\Racket\collects\raco\main.rkt"

Again, any thoughts

Add images to text

I've got this example working more or less as I want. However, I'd like to include some images amongst the text. Can someone suggest how I can do that? Many thanks.

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.