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

2019-01-20 Thread Evžen Wybitul
Hey, I'd like to use pollen for my college notetaking, but I have two problem with it 1. I can't find out how to keep the "notes" from different subjects in different folders. The problem is I'm unable to dynamically build the "master-index" of such files. 2. I'd like to have the output files

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

2019-01-20 Thread Matthew Butterick
> On Jan 20, 2019, at 12:03 PM, Evžen Wybitul wrote: > > 1. I can't find out how to keep the "notes" from different subjects in > different folders. The problem is I'm unable to dynamically build the > "master-index" of such files. What have you tried that didn't work? It seems straightforwa

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

2019-01-20 Thread Evžen Wybitul
The steps I made: 1. Put index.ptree in root directory, with it` template.html.p` and `styles.css`. Also `master.html.pm`. 2. Directory `analysis`, in there files `file1.html.pm` `file2.html.pm`. Index.ptree: ◊master.html{ analysis/file1.html analysis/file2.html } And it works, partially. H

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

2019-01-21 Thread Matthew Butterick
> On Jan 20, 2019, at 11:33 PM, Evžen Wybitul wrote: > > And it works, partially. However, when I call `(next here)` on order to do > page navigation, the value for file1 is `analysis/file2.html`, but I'd need > it to be only `file2.html`. Of course, I could just strip the `[...]/` part > pr

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

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: