Comments (10)
Yikes! will look into this ASAP. (hope its not my recent changes...)
On Mon, Mar 2, 2015 at 6:53 PM, Chris Tetreault [email protected]
wrote:
I figured I'd build the new book, and restart following my issues with
chapter 6. I cloned the repo and ran make which output:$ make
pandoc --from=markdown+lhs --to=html5 -s --mathjax --standalone --parse-raw --mathjax --section-divs --filter web/templates/codeblock.hs --filter templates/html.hs --variable=notitle --highlight-style=tango --template=web/templates/page.template src/00-preamble.lhs src/03-poly.lhs src/99-bib.lhs -o web/dist/foo.html
pandoc: Could not find data file templates/web/templates/page.template
make: *** [site] Error 97There is no web folder in templates, and the web in the project root is
empty. On github, it links to another repository.After it occurred to me that this was trying to build a webpage, and I
want a pdf, I ran make book:$ make book
cat src/00-preamble.lhs src/01-intro.lhs src/02-basic.lhs src/03-poly.lhs src/04-datatypes.lhs src/05-measure-bool.lhs src/06-measure-int.lhs src/07-measure-sets.lhs src/08-case-study-lazy-queues.lhs src/09-case-study-associative-maps.lhs src/10-case-study-pointers.lhs src/11-case-study-AVL.lhs src/99-bib.lhs > dist/pbook.lhs
/bin/sh: 1: cannot create dist/pbook.lhs: Directory nonexistent
make: *** [book] Error 2If you create dist in the project root:
$ make book
cat src/00-preamble.lhs src/01-intro.lhs src/02-basic.lhs src/03-poly.lhs src/04-datatypes.lhs src/05-measure-bool.lhs src/06-measure-int.lhs src/07-measure-sets.lhs src/08-case-study-lazy-queues.lhs src/09-case-study-associative-maps.lhs src/10-case-study-pointers.lhs src/11-case-study-AVL.lhs src/99-bib.lhs > dist/pbook.lhs
pandoc --highlight-style=tango --from=markdown+lhs --biblio templates/sw.bib --chapters --latex-engine=pdflatex --template=templates/default.latex --filter templates/inside.hs dist/pbook.lhs -o dist/pbook.pdf
pandoc: Error running filter templates/inside.hs
templates/inside.hs not found in path
make: *** [book] Error 83templates/inside.hs does exist, and giving it 777 permissions doesn't
help. I looked into it a bit, but I can't figure out why it doesn't work. I
noticed that there is a pre-built pdf in the repository already, so I'm
going to move ahead with that. I just thought I'd share the issues I had
with it, and what I found out.Reply to this email directly or view it on GitHub
#7.
Ranjit.
from liquidhaskell-tutorial.
Is the .pdf in the repo the latest and greatest?
from liquidhaskell-tutorial.
@christetreault I think I fixed all the above. Can you do a
git pull
make
(perhaps better to clone a new repository and start from scratch)
You should get the finished PDF in dist/pbook.pdf
there is a "snapshot" of the book in pdf/programming-with-refinement-types.pdf
from liquidhaskell-tutorial.
No luck. Now I'm getting:
$ make
cat src/00-preamble.lhs src/01-intro.lhs src/02-basic.lhs src/03-poly.lhs src/04-datatypes.lhs src/05-measure-bool.lhs src/06-measure-int.lhs src/07-measure-sets.lhs src/08-case-study-lazy-queues.lhs src/09-case-study-associative-maps.lhs src/10-case-study-pointers.lhs src/11-case-study-AVL.lhs src/99-bib.lhs > dist/pbook.lhs
PANDOC_TARGET=latex pandoc --highlight-style=tango --from=markdown+lhs --biblio templates/sw.bib --chapters --latex-engine=pdflatex --template=templates/default.latex --filter templates/Figures.hs --filter templates/inside.hs dist/pbook.lhs -o dist/pbook.pdf
pandoc: Error running filter templates/Figures.hs
templates/Figures.hs not found in path
make: *** [book] Error 83
The contents of templates:
$ ls -al templates/
total 456
drwxrwxr-x 2 chris chris 4096 Mar 3 12:40 .
drwxrwxr-x 10 chris chris 4096 Mar 3 12:40 ..
-rw-rw-r-- 1 chris chris 6064 Mar 3 12:40 book.tex
-rw-rw-r-- 1 chris chris 7452 Mar 3 12:40 default.latex
-rw-rw-r-- 1 chris chris 251 Mar 3 12:40 figHtml.template
-rw-rw-r-- 1 chris chris 102 Mar 3 12:40 figLatex.template
-rw-rw-r-- 1 chris chris 3519 Mar 3 12:40 Figures.hs
-rw-rw-r-- 1 chris chris 5763 Mar 3 12:40 haskellListings.tex
-rw-rw-r-- 1 chris chris 2673 Mar 3 12:40 html.hs
-rw-rw-r-- 1 chris chris 0 Mar 3 12:40 html.template
-rw-rw-r-- 1 chris chris 3452 Mar 3 12:40 inside.hs
-rw-rw-r-- 1 chris chris 411918 Mar 3 12:40 sw.bib
All this after I cloned a fresh repo.
from liquidhaskell-tutorial.
Hm. thought i added that! can you try now?
from liquidhaskell-tutorial.
Nope, same error still...
Perhaps I am missing some dependency? I installed Pandoc from the Ubuntu repo. Otherwise I didn't install anything special...
from liquidhaskell-tutorial.
Odd can you swing by my office tomorrow afternoon?
On Mar 3, 2015, at 5:00 PM, Chris Tetreault [email protected] wrote:
Nope, same error still...
—
Reply to this email directly or view it on GitHub.
from liquidhaskell-tutorial.
Sure, Is 1:30 good?
from liquidhaskell-tutorial.
Yup!
On Tue, Mar 3, 2015 at 6:28 PM, Chris Tetreault [email protected]
wrote:
Sure, Is 1:30 good?
Reply to this email directly or view it on GitHub
#7 (comment)
.
Ranjit.
from liquidhaskell-tutorial.
Tutorial builds now; closing this issue.
from liquidhaskell-tutorial.
Related Issues (20)
- Regarding reverse in Ch 8: Sets HOT 2
- How to workaround using Stack for building html HOT 7
- apparent typo in tutorial under "Testing Values: Booleans and Propositions"
- Can't even get started because of build issues HOT 5
- there is an extra ")" at the end of this line
- Numbering the exercises HOT 1
- Question about Chapter 5.3: delmin HOT 2
- Links to subsections don't work for me HOT 2
- Syntax of refinement types HOT 4
- Chapter 8 exercise "reverse" HOT 8
- Instructions for running LiquidHaskell HOT 2
- Figures 1.4 and 1.5 in Chapter 12
- Chapter 12 Exercise InsertRight HOT 4
- Current HEAD of main fails to build HOT 4
- Liquid Type Mismatch on Initial Build HOT 2
- Passing -fdefer-type-errors to GHC causes confusing errors from LH HOT 3
- Text description of "null" in Chapter 6 is reversed HOT 1
- Link is no longer available HOT 1
- Trouble with Chapter 11 HOT 3
- About Lemmas and other questions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liquidhaskell-tutorial.