Poly rendering to only a subset of formats #112

Open
opened 3 years ago by bluebear94 · 0 comments
bluebear94 commented 3 years ago (Migrated from github.com)

I currently have some source files that get rendered to HTML documents:

about.html
phonology.html
syntax.html
nouns.html
verbs.html
relationals.html
numerals.html
lexicon.html

Now I want to create a PDF named grammar.pdf containing the contents of each of these pages as a chapter, so naturally I'd use get-doc and get-metas. This seems to work fine, but getting the contents of grammar/about.html renders it in HTML mode; you'd have to rename about.html.pm to about.poly.pm, with similar renaming for all the other chapters.

However, I don't want to render a about.pdf or grammar.html file. Is there a way to somehow indicate that a file by itself is rendered in only one format (in this case, HTML) but might have its contents included in one rendered in another (PDF)?

I currently have some source files that get rendered to HTML documents: ``` about.html phonology.html syntax.html nouns.html verbs.html relationals.html numerals.html lexicon.html ``` Now I want to create a PDF named `grammar.pdf` containing the contents of each of these pages as a chapter, so naturally I'd use `get-doc` and `get-metas`. This seems to work fine, but getting the contents of `grammar/about.html` renders it in HTML mode; you'd have to rename `about.html.pm` to `about.poly.pm`, with similar renaming for all the other chapters. *However,* I don't want to render a `about.pdf` or `grammar.html` file. Is there a way to somehow indicate that a file by itself is rendered in only one format (in this case, HTML) but might have its contents included in one rendered in another (PDF)?
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen-users#112
Loading…
There is no content yet.