Re: [pollen] ‘raco pollen publish’ shouldn’t publish templates

2018-03-02 Thread Shrutarshi Basu
My solution to this sort of issue is to delegate it to the
publish-to-web-server step. I use rsync to push files from the local
directory that pollen publishes to locally, and rsync lets you specify
files to exclude.


On March 2, 2018 at 3:47:03 PM, Matthew Butterick (m...@mbtype.com) wrote:

I agree. But templates can have any name. ("template.html" is just the
default convention.) So automatic filtering could be finicky.

I think the best policy is to use the `omitted-path?` setting in
pollen/setup. I just failed to do so in this instance ;)


On Mar 2, 2018, at 11:42 AM, 'Leandro Facchinetti' via Pollen <
pollenpub@googlegroups.com> wrote:

For example, https://typographyforlawyers.com/template.html

Do you agree?


--
You received this message because you are subscribed to the Google Groups
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [pollen] ‘raco pollen publish’ shouldn’t publish templates

2018-03-02 Thread Matthew Butterick
I agree. But templates can have any name. ("template.html" is just the default 
convention.) So automatic filtering could be finicky.

I think the best policy is to use the `omitted-path?` setting in pollen/setup. 
I just failed to do so in this instance ;)


> On Mar 2, 2018, at 11:42 AM, 'Leandro Facchinetti' via Pollen 
>  wrote:
> 
> For example, https://typographyforlawyers.com/template.html 
> 
> 
> Do you agree?

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[pollen] ‘raco pollen publish’ shouldn’t publish templates

2018-03-02 Thread 'Leandro Facchinetti' via Pollen
For example, https://typographyforlawyers.com/template.html 


Do you agree?

-- 
Leandro Facchinetti 
https://www.leafac.com

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [pollen] What are the differences between Scribble and Pollen?

2018-03-02 Thread Joel McCracken
Thanks! It sounds like pollen is what I want then.

On Fri, Mar 2, 2018 at 10:44 AM, Matthew Butterick  wrote:

>
> On Mar 2, 2018, at 7:03 AM, Joel McCracken 
> wrote:
>
> But, I have been wondering, how do Pollen and Scribble differ? Its not
> clear to me if I should actually start with Pollen, or evaluate both
> libraries.
>
>
>
> It's a question of control & flexibility.
>
> Scribble is more opinionated than Pollen:
>
> 1) it has its own document model
>
> https://docs.racket-lang.org/scribble/core.html?q=scribble%
> 20document%20model#%28part._parts%29
> 
>
> 2) and its own rendering system
>
> https://docs.racket-lang.org/scribble/renderer.html?q=
> scribble%20document%20model
>
>
> If you like those opinions, use Scribble.
>
>
> Personally, I found Scribble capable but stubborn. Thus Pollen, which is a
> hybrid of what I like about Scribble (the text-based syntax) and what I
> like about Racket (total control).
>

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [pollen] What are the differences between Scribble and Pollen?

2018-03-02 Thread Matthew Butterick

> On Mar 2, 2018, at 7:03 AM, Joel McCracken  wrote:
> 
> But, I have been wondering, how do Pollen and Scribble differ? Its not clear 
> to me if I should actually start with Pollen, or evaluate both libraries.


It's a question of control & flexibility. 

Scribble is more opinionated than Pollen:

1) it has its own document model 

https://docs.racket-lang.org/scribble/core.html?q=scribble%20document%20model#%28part._parts%29
 


2) and its own rendering system

https://docs.racket-lang.org/scribble/renderer.html?q=scribble%20document%20model
 



If you like those opinions, use Scribble.


Personally, I found Scribble capable but stubborn. Thus Pollen, which is a 
hybrid of what I like about Scribble (the text-based syntax) and what I like 
about Racket (total control). 

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.