[pollen] render and render -p different behaviour

2019-05-09 Thread Evžen Wybitul
Hey, I have recently added a .poly file. It had worked for a little while, but lately I'm encountering this error: [...] notes.poly.pm.rktd::15: read: bad syntax `#<'. Acutally, the notes.poly.pm.rktd has # in place where the document content should be. When I run render -p instead, I don't

Re: [pollen] Highlighted blocks of code in pre tags wrapped in by decode-paragraphs

2019-03-11 Thread Evžen Wybitul
ock-tags) automatically. Dne pondělí 11. března 2019 15:52:25 UTC+1 Matthew Butterick napsal(a): > > > > > On Mar 11, 2019, at 2:48 AM, Evžen Wybitul > wrote: > > > > The `decode-pagaraphs` incorrectly wraps blocks of code in tags > into paragraphs. I'm usi

Re: [pollen] Highlight code blocks are indenting too much

2019-03-11 Thread Evžen Wybitul
I just solved the issue. In my template.html I replaced ◊(map ->html (select-from-doc 'body here)) with ◊(map ->html (select-from-doc 'body here)) And the problem is solved. Not sure if there is a better way. -- You received this message because you are

[pollen] Highlighted blocks of code in pre tags wrapped in by decode-paragraphs

2019-03-11 Thread Evžen Wybitul
The `decode-pagaraphs` incorrectly wraps blocks of code in tags into paragraphs. I'm using pygments, so within the the code is split into various s, which I think is causing the problem. Simply seting as block-tag didn't fix this. Is there any other way? Thanks. -- You received this

Re: [pollen] Highlight code blocks are indenting too much

2019-03-10 Thread Evžen Wybitul
ouldn't. [1] > > Thus, your example persuades me that it's better policy for Pollen to > leave whatever indenting is already in the source. So I've pushed a repair > for that. > > [1] https://github.com/racket/scribble/issues/58 > > > On Mar 10, 2019, at 8:32

[pollen] Highlight code blocks are indenting too much

2019-03-10 Thread Evžen Wybitul
Hey, I'm not sure this is a problem with Pollen, that's why I'm not opening an issue straight away. I hope someone will be able to help me resolve this problem. The code blocks in `highlight` aren't indented as they should be. Pollen code in .html.pm file: ◊highlight['python #:line-numbers?

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

2019-02-19 Thread Evžen Wybitul
:03:12 UTC+1 Matthew Butterick napsal(a): > > (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

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 >

[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

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

2019-02-19 Thread Evžen Wybitul
Matthew Butterick napsal(a): > > > > 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.htm

[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

[pollen] Pygments doesn't work

2018-09-26 Thread Evžen Wybitul
I followed the tutorial from the official Pollen docs and tried to make Pygments work. I have installed Pygments with both pip and easy_install, and have `pygmentize` available on PATH. My `.html.pm` file looks exactly like the example