On Wed, 8 Jun 2011, Wolfgang Schuster wrote:


Am 08.06.2011 um 17:29 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

Hello,

is there a way how to disable line breaks of (very) long lines typeset with \typefile, 
even if this would cause overfull hbox (i.e. typesetting to "out-of-page" area)?

The following example:

----
% This a very long line which should be typeset to one line even if there'll be 
overfull hbox

\definetyping[Std][bodyfont=10pt,style=\tt\setupinterlinespace]

\starttext
 \typefile[Std]{TypeFi.mkiv}

 \startcolumns[n=2,rule=on]
   \typefile[Std]{TypeFi.mkiv}
 \stopcolumns
\stoptext
----

gives a result where there is new line between "overfull" and "hbox" in normal mode and between "be" and 
"typeset" and "be" and "overfull" in column mode.

Is there a way how to avoid this, how to force continuing on the same line?

Add “space=fixed” to your setup.

Why does activatespacehandler behave differently.

{
\activatespacehandler{fixed}
A very very very very very very very very very very very very very long line to 
see if it breaks or not
\par}

{
\activatespacehandler{on}
A very very very very very very very very very very very very very long line to 
see if it breaks or not
\par}


Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to