ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Automatic adjusting the font size to fill the text-area
@ 2013-11-26 10:26 "H. Özoguz"
  0 siblings, 0 replies; only message in thread
From: "H. Özoguz" @ 2013-11-26 10:26 UTC (permalink / raw)
  To: ntg-context

Hello there,

in my actual book there is one special condition: It is already clear 
which paragraphs of the text have to be set on page 1, which on page 2 
etc.pp. (a nearly 700 pages-project).

So there are no page-breaks within a paragraph, no overruns are allowed.

But now the question: The text for each page has not always the same 
length. So on some pages there might be many empty space at the buttom, 
while on others the textarea is completely filled. At the beginning I 
have to set an font-size - so I have to set it, such that the longest 
text fits into the text area on its page. But of course, many other 
pages maye filled only 60%. (That is the spectrum of the text-lengths in 
this project).

So one direct solution is clear (if one wants to have filled or 
nearly-filled pages, and I want this): I can change the font-size for 
every single page. But which size? It is a experiment, so I have to try 
10pt, then compile, then 10.8pt .... ok, was too much, got an 
page-overrun .... lets try 10.4pt ..... and this for every single of the 
700 pages.

That is possible of course, and if there is no other way, this will be 
my approach.

So: Is there some trick or way for automatically find the best (biggest) 
font-size (up to some precision, maybe one digit after decimal point in 
pt), s.t. the text produces no overrun (no page-brake)? I guess no, 
because ConTeXt had to run the compiling several times or so ... but 
better to ask and then to begin with the exhausting work.

Thanks.
Huseyin



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-26 10:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-26 10:26 Automatic adjusting the font size to fill the text-area "H. Özoguz"

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).