ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Filling a box
Date: Wed, 8 Apr 2009 00:13:01 +0200	[thread overview]
Message-ID: <fe8d59da0904071513v1f8a9992x9ebca4d8fcbd956b@mail.gmail.com> (raw)
In-Reply-To: <83e5fb980904071502i2832db42u786c300494a72ff3@mail.gmail.com>

On Wed, Apr 8, 2009 at 12:02 AM, Diego Depaoli <trebestie@gmail.com> wrote:
> On Tue, Apr 7, 2009 at 11:47 PM, Wolfgang Schuster
> <schuster.wolfgang@googlemail.com> wrote:
>>
>> \starttext
>>
>> \def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi}
>>
>> \framed
>>  [width=4cm,align=normal]
>>  {\handletokens i want a framed where the text flushes to the next line
>> without hyphenation. There is a way to get this
>> result?\with\breakeverywhere}
>>
>> \stoptext
>
> YYYEEEEEEEEEEEEEESSSSSSSSSSSSS!!!!!!!!!!!!!!!!!!!!!!!!!!!!
hmm.
I should say ni . The problem are spaces .
In this example I should expected that
hy- => hy
and some changes in glues
and nothing else.
Also text with \handletokens is ,well, "not so good " (ie horrible) .

\starttext

\def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi}

\framed
 [width=4cm,align=normal]
 {i want a framed where the text flushes to the next line without
hyphenation. There is a way to get this result?}


\framed
 [width=4cm,align=normal]
 {\handletokens i want a framed where the text flushes to the next
line without hyphenation. There is a way to get this
result?\with\breakeverywhere}

\stoptext


-- 
luigi
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2009-04-07 22:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06 23:07 Diego Depaoli
2009-04-06 23:14 ` Wolfgang Schuster
2009-04-06 23:19   ` luigi scarso
2009-04-07 21:36     ` Diego Depaoli
2009-04-07 21:47       ` Wolfgang Schuster
2009-04-07 22:02         ` Diego Depaoli
2009-04-07 22:13           ` luigi scarso [this message]
2009-04-07 22:19             ` Marcin Borkowski
2009-04-07 22:33               ` luigi scarso
2009-04-08  6:08           ` Bostjan Vesnicer
2009-04-07 21:31   ` Diego Depaoli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fe8d59da0904071513v1f8a9992x9ebca4d8fcbd956b@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).