ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Disable line-break when \typefile
@ 2011-06-08 15:29 Procházka Lukáš Ing. - Pontex s. r. o.
  2011-06-08 20:21 ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-06-08 15:29 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]

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?

The (long) line "\definetyping[Std][bodyfont=10pt,style=\tt\setupinterlinespace]" in column mode is typeset exactly how I'd need, i.e. it overlaps to the next column.

Best regards,

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

[-- Attachment #2: TypeFi.mkiv --]
[-- Type: application/octet-stream, Size: 299 bytes --]

% 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

[-- Attachment #3: TypeFi.pdf --]
[-- Type: application/pdf, Size: 10012 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 8+ messages in thread

end of thread, other threads:[~2011-06-14 16:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-08 15:29 Disable line-break when \typefile Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-08 20:21 ` Wolfgang Schuster
2011-06-08 20:34   ` Marco
2011-06-08 20:44     ` Wolfgang Schuster
2011-06-08 21:07       ` Marco
2011-06-14 16:24         ` Aditya Mahajan
2011-06-09  6:17       ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-06-10 16:58   ` Aditya Mahajan

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).