R. Bastian venit, vidit, dixit 07.06.2008 12:19: > Hello the pyx-list, > > I am in trouble with pyx.document.page(...). > The idea is to cut a long canvas 'c' to obtain 'n' (sub-)canvas 'c2' > (which will be the 'n' pages of the final score). > > But in the line > page = pyx.document.page(c2, centered=0, margin=1.0, ...etc.) > > 'margin=1.0' seems to have no effect, > 'fittosize=1' puts the score upon one page > 'centered=1' issues a warning "content exceeds the papersize". > > What is wrong ?
The doc. Those options make sense only if you specify a paperformat. The doc says it defaults to document.paperformat.A4, but in fact it defaults to None. Cheers Michael ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
