Re: [NTG-context] Disable line-break when \typefile
On Wed, 8 Jun 2011, Marco wrote: And what is “lines=no” for? What i get from the source for the “lines” key is: no (default) : no hyphenation yes : no hyphenation and left aligned text (align key is ignored) hyphenated : hyphenation Thanks for clarification. Though the options (also regarding “space=fixed”) are confusing, or at least not transparent, in my opinion. For the vim module, I decided to use `space=on|off` to show visible space and `lines=split|fixed` to enable or disable line breaks. 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 ___
Re: [NTG-context] Disable line-break when \typefile
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 ___
Re: [NTG-context] Disable line-break when \typefile
OK, thanks. I added some info into wiki. Lukas On Wed, 08 Jun 2011 22:44:41 +0200, Wolfgang Schuster wrote: Am 08.06.2011 um 22:34 schrieb Marco: And what is “lines=no” for? What i get from the source for the “lines” key is: no (default) : no hyphenation yes : no hyphenation and left aligned text (align key is ignored) hyphenated : hyphenation Wolfgang -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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 ___
Re: [NTG-context] Disable line-break when \typefile
> > And what is “lines=no” for? > > What i get from the source for the “lines” key is: > > no (default) : no hyphenation > yes : no hyphenation and left aligned text (align key is ignored) > hyphenated : hyphenation Thanks for clarification. Though the options (also regarding “space=fixed”) are confusing, or at least not transparent, in my opinion. Marco ___ 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 ___
Re: [NTG-context] Disable line-break when \typefile
Am 08.06.2011 um 22:34 schrieb Marco: > And what is “lines=no” for? What i get from the source for the “lines” key is: no (default) : no hyphenation yes : no hyphenation and left aligned text (align key is ignored) hyphenated : hyphenation Wolfgang ___ 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 ___
Re: [NTG-context] Disable line-break when \typefile
On 2011-06-08 Wolfgang Schuster wrote: > > Is there a way how to avoid this, how to force > > continuing on the same line? > > Add “space=fixed” to your setup. And what is “lines=no” for? Marco ___ 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 ___
Re: [NTG-context] Disable line-break when \typefile
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. Wolfgang ___ 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 ___