On 6/28/2017 11:16 AM, Thomas Widmann wrote:
On 26 June 2017 at 10:31, Thomas Widmann <[email protected]> wrote:
[...] Is there a way in ConTeXt/LuaTeX to typeset a column
repeatedly until it fulfils certain criteria (such as not generating
an orphan or a widow)?
Perhaps it would be easier if I didn't think of it as a column, but
simply as a box? The only problem I can see with that is that it
makes it awkward to handle the fact that long entries will often need
to run into the next column.
If the answer is 'no', that's OK. I reckon it might be, given that TeX
builds the paragraphs first and then split them to create pages, and I
basically want the page builder to be able to rebuild certain
paragraphs to make them fit, which goes against TeX's basic design.
However, if were is somehow possible with LuaTeX, it would open up a
lot of possibilities, and not just for dictionary typesetting.
one can of course make it work somehow, but it's not something standard
and takes some coding and testing ... a rather specialized sub mechanism
(basically most of what one wants can be done, but that doesn't mean
that all gets implemented; normally i only do such more complex things
if i need it in a project, unless it is some rainy day fun project)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________