Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scribble docs: example program typesetting is garbled on Windows #1

Closed
otherjoel opened this issue Apr 9, 2018 · 0 comments
Closed

Comments

@otherjoel
Copy link
Owner

Apparently there is some problem with using file->lines to load up code inside codeblock.

Instead of storing the example program in example-cover.rkt and trying to sideload it into overview.scrbl, probably better to actually keep it inside overview.scrbl and run it in an examples evaluator. Thus the example-cover.pdf file will get updated every time the docs are rebuilt.

The bootstrapping process for the docs thus becomes:

  1. touch scribblings/example-cover.png (to prevent errors the very first time you build scribble docs)
  2. Build scribble docs, thus creating my-book.pdf and example-cover.pdf
  3. make png, thus updating example-cover.png
  4. git commit -m 'Update example cover png'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant