Re: [pollen] Source files in multiple directories and generating an index

2019-02-19 Thread Evžen Wybitul
Good idea, I'm now converting them to relative path names. I'm still having trouble with getting custom templates to work, though; I have a file *analysis/document.html.pm *and I'd like it to be render with a *special-template.html*, which is in the root directory* (*outside of the *anaylsis *f

[pollen] Using generated pagetree as an index pagetree

2019-02-19 Thread Evžen Wybitul
I have a generated pagetree in the following form, which is an output from (generate-ptree) in pagetree.rkt: '((./doc/analyza/lecture-page.html ./doc/analyza/analyza-1.html ./doc/analyza/analyza-2.html) (./doc/neproceduralko/lecture-page.html)) And I'd like to somehow include it in the i

Re: [pollen] Using generated pagetree as an index pagetree

2019-02-19 Thread Matthew Butterick
> On Feb 19, 2019, at 2:35 PM, Evžen Wybitul wrote: > > And I'd like to somehow include it in the index.ptree file (i.e. use it both > to render the files and on the webserver as the default ptree). How do I go > about this? You can `require` (or `dynamic-require`) a ptree source into another

[pollen] Re: Source files in multiple directories and generating an index

2019-02-19 Thread Evžen Wybitul
Even with the new fix the relative paths don't work. I'm getting the following error: find-relative-path: contract violation expected: (and/c path-for-some-system? simple-form?) given: # My file looks like this: #lang pollen ◊define-meta[template]{../../lecture-page-template.html} ◊define

Re: [pollen] Re: Source files in multiple directories and generating an index

2019-02-19 Thread Matthew Butterick
What is your `raco pollen version`? > On Feb 19, 2019, at 3:56 PM, Evžen Wybitul wrote: > > Even with the new fix the relative paths don't work. I'm getting the > following error: > > find-relative-path: contract violation > expected: (and/c path-for-some-system? simple-form?) > given: >

Re: [pollen] Re: Source files in multiple directories and generating an index

2019-02-19 Thread Evžen Wybitul
It says 1.5.1987.839 Dne středa 20. února 2019 1:00:33 UTC+1 Matthew Butterick napsal(a): > > What is your `raco pollen version`? > > > On Feb 19, 2019, at 3:56 PM, Evžen Wybitul > wrote: > > Even with the new fix the relative paths don't work. I'm getting the > following error: > > find-relativ

Re: [pollen] Re: Source files in multiple directories and generating an index

2019-02-19 Thread Matthew Butterick
The revision with the bugfix is 1.5.2028.835. > On Feb 19, 2019, at 4:01 PM, Evžen Wybitul wrote: > > It says 1.5.1987.839 > > Dne středa 20. února 2019 1:00:33 UTC+1 Matthew Butterick napsal(a): > What is your `raco pollen version`? -- You received this message because you are subscribed to

Re: [pollen] Source files in multiple directories and generating an index

2019-02-19 Thread Matthew Butterick
(FWIW I cannot reproduce your bug with 1.5.2028.835) > On Feb 19, 2019, at 4:02 PM, Matthew Butterick wrote: > > The revision with the bugfix is 1.5.2028.835. > > >> On Feb 19, 2019, at 4:01 PM, Evžen Wybitul > > wrote: >> >> It says 1.5.1987.839 >> >> Dne st

Re: [pollen] Source files in multiple directories and generating an index

2019-02-19 Thread Evžen Wybitul
Darn, you're right! I'd swear I ran `raco pkg update --all`. There must've been an error I haven't noticed which prevented pollen from updating (ah, it's getting late here in Europe). I'm really sorry for bothering you. Everything works fine now :-) You're the best! Dne středa 20. února 2019 1: