Commit Graph

1341 Commits (master)
 

Author SHA1 Message Date
Matthew Butterick 1fa3f236c2 add module-language key to get-info 1 month ago
Matthew Butterick 1d1cc0df84 fix comparison operator (fixes #271)
arguments are strings, so we need `equal?`
10 months ago
Matthew Butterick c182a30f57 change forum name to `typesetting` 2 years ago
Matthew Butterick 99c43e6ad3 migration to mb servers 2 years ago
Matthew Butterick 7a7b7d49ee suppress obsolete tests 2 years ago
Matthew Butterick 173f9376ea respect the setting of `setup:render-cache-active` for template caching
templates were being cached regardless of the value of `setup:render-cache-active` because its value wasn’t being tested
2 years ago
Matthew Butterick d019908a93 update link in docs 2 years ago
Matthew Butterick 446c5fd39f render-batch: add explicit `output-paths` keyword argument 2 years ago
Matthew Butterick 00a96f4fda report the exception message when an error occurs
When a cache preheat or render fails, print the exception message that arose, which might be more helpful than the current policy of silence
2 years ago
Matthew Butterick 39cfc2ed54 in cache key, treat environment variables as case-sesnsitive
The cache is supposed to take note of the `POLLEN` environment variable, but due to the spurious `string-downcase` here, was instead looking at `pollen`, which is a different key on case-sensitive systems. Windows environment variables are not case-sensitive, but it seems Racket’s `getenv` function will handle the case conversion as needed.
2 years ago
Matthew Butterick 816ce0f7af fix link in docs 2 years ago
Matthew Butterick 58e02d4eee add note about DrRacket appending a `rkt` file extension to `p` files (addresses #264) 2 years ago
Joel Dueck 678371688f
Add docs for `external-renderer` (closes #262) (#263) 2 years ago
Matthew Butterick cf7fbccc90 manually propagate `current-project-root` to parallel threads
When recursive mode is used, `current-project-root` changes during the extent of a render operation. But if parallel rendering is also used, when the main thread re-parameterizes `current-project-root`, it will have no effect on the parallel threads, because they freshly instantiate `current-project-root` (with its default value). This patch moves the parameterization inside the parallel thread by passing the `current-project-root` value as part of the job message, thereby handling it the same way as `current-poly-target`.
2 years ago
Joel Dueck ec4da2e679
fix CoC link (#258) 3 years ago
newelldev 1548546225
Fix typo (#257)
mainpulate -> manipulate
3 years ago
Matthew Butterick 9a92ceaf19 contributor covenant 3 years ago
Matthew Butterick c46bee02cd add tip about current-metas 3 years ago
Matthew Butterick e73517315c
suppress test-project-port.rkt
Doesn’t work with GH actions consistently
3 years ago
Matthew Butterick 453536650b
Update README.md 3 years ago
Matthew Butterick 7f2fbc11cc
Update render.rkt 3 years ago
Joel Dueck 85ad971b88
Specify external renderer via module and id (related to mbutterick/pollen-users#94) (#253)
* Specify external renderer via module and id

* faster external render check

* Update render.rkt

* rely on default exception messages, which are informative
3 years ago
Matthew Butterick a4910a86dc hook for external renderer 3 years ago
Matthew Butterick a7b55e230a raise filesystem errors 3 years ago
Matthew Butterick 36f075edba handle 'relative directory correctly (fixes #252) 3 years ago
Matthew Butterick 6adebb8368 suppress testing of mode-indentation 3 years ago
Matthew Butterick 293fd274f8 expose `find-nearest-default-directory-require` (#251) 3 years ago
Matthew Butterick 63a92b2953 fix pagetree->path (closes #249)
Pagetree promises that its nodes will be resolved relative to the directory where the pagetree lives. For path-based pagetrees, make sure this directory is set correctly.
3 years ago
Joel Dueck 7c348dde44 CONTRIBUTING.md: Google groups → Pollen users repo 3 years ago
Joel Dueck 3924a18f67 Connect some dots (fixes #248)
Clarify three things:

1. You can use pagetree files with `raco pollen render`
2. `--target` doesn’t prevent other file types from being rendered
3. The generated pagetree includes more than just source files
3 years ago
Matthew Butterick 1210e1b31d move more help docs to end of installation docs 3 years ago
Matthew Butterick 665e390f4b remove CS note 3 years ago
Matthew Butterick 902956feaf better explanation of splicing tag 3 years ago
Matthew Butterick 4ec5172acc update margin note (#246) 3 years ago
Matthew Butterick 10b392c503 remove obsolete example (#246) 3 years ago
Matthew Butterick 5c86250cc8
Update README.md 3 years ago
Matthew Butterick d86d0a00e8 trap fewer exceptions 3 years ago
Matthew Butterick 9a838418e7 clean up pollen/mode 3 years ago
Matthew Butterick bd23f651fb omit DS_Store 3 years ago
Matthew Butterick 29b05dbddb
Swap out Travis badge 3 years ago
Bogdan Popa 87f5e8d937
CI: build using Racket 6.6 and up, drop Travis CI config (#245)
* ci: run CI for Racket 6.6 and up

Racket 6.5 has an SSL issue that makes it unable to install packages.
That might be why it was not included in the Travis build either.

* ci: drop travis config
3 years ago
Bogdan Popa 6cd57203c1
start command: fix default value for port (#244)
* start command: fix default value for port

Defaulting the port to "8080" at the `command-line' level breaks
customization via `pollen.rkt'.

* test-project-port: connect to server to verify that it's up
3 years ago
Bogdan Popa 62b19a07d8
build: add GH Actions CI (#243) 3 years ago
Bogdan Popa c02eab7b90
improve failure handling in `start' command (#242)
* project-server: detect and report failures during startup

* start command: display [<dir>] and [<port>] in help text
3 years ago
Matthew Butterick cb2930eafe adjust 3 years ago
Matthew Butterick ae4aaefba1 simplify more paths 3 years ago
Matthew Butterick 5e5dc5d9fd handle relative path correctly (fixes #241) 3 years ago
Matthew Butterick 9bd067552d adjustment 3 years ago
Matthew Butterick 3160a46beb
track render by source+output jobs (#240) 3 years ago
Matthew Butterick 1f1bee90fd correct pagetree rendering (fixes #237) 4 years ago