Mohammad

I notice you are looking at Prince. Its a really excellent thing to study 
to understand CSS for print. 

I think, likely, the best way to implement CSS for print in TiddlyWiki is 
to develop print stylesheets and share them to tease out the issues.

There are four levels I can think of ...

1 - Getting the basic Print CSS working
2 - Dealing with cross-browser issues (e.g. how they handle margin 
over-rides)
3 - Font handling/selection/substitution
4 - Variations on Printer or Virtual Printer (e.g. pdf) settings

Part of the issue is not TW. Its the general issue of How to harmonise 1-4. 
Prince, in particular, takes on this problem in a consistent way, so its 
useful to study.

Regarding "break previewing" --- Print-preview in-browser is often pretty 
good, though sometimes fails to match actual output because of one or more 
issues 2 to 4.

TIPS: At a simple level whilst developing a print layout it can be useful 
to ...

-- Force print version to print in monospaced fonts (helps understand the 
layout metrics)
-- Create two test tiddlers simply consisting of lines of numbers (e.g. 
01234567890123 etc) and print them to better identify lateral and vertical 
spacing issues
-- In testing ALWAYS test in TWO different Browsers and with TWO different 
Printers

I found this approach useful for better understanding which of 1-4 are the 
problem, especially for Break-Points.

Best wishes
Josiah

 Mohammad wrote:
>
> Take a look at price documentation here: 
> https://www.princexml.com/doc-prince/#page-size.
>
 

> There is no way to see when the tiddler contents overflow the specified 
> size!
>
 

> I hope other people in this forum share their idea / experience on *page 
> sizing / break issue*
> I think print river can be improved to help in this case! For example it 
> can have page break preview!
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e6457647-e831-440a-9fdc-cbe395644ad4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to