ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <hansm@science.uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: Re: frames and hyphenation
Date: Fri, 29 Jun 2007 20:07:21 +0200	[thread overview]
Message-ID: <8CFD16D3-1835-49AD-B91F-47E21B40F043@science.uva.nl> (raw)
In-Reply-To: <CDF30CBB-DAA8-4C2F-8E15-8CA4DBC1F661@science.uva.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1093 bytes --]

Well, it nearly always helps to put a problem to this newsgroup. It  
helps you concentrate better!
The solution was simply, though not obvious at first.
It should not haven been "before=\nohyphens" but "top=\nohyphens".

On Jun 29, 2007, at 19:25, Hans van der Meer wrote:

> I encountered some strange thing with framedtext's in trying to  
> define one where hyphenation is suppressed. The definition is:
> \defineframedtext[myblock][frame=off,style=\tt,width=0.8 
> \makeupwidth,before=\nohyphens]
> But then \startmyblock text \stopmyblock does not stop hyphenation.
> While \startmyblock\nohyphens text \stopmyblock stops it.
> Since I would like to have the myblock's all having suppressed  
> hyphenation I am at a loss how to do it. Could it be that the  
> \nohyphens in the "before" is overriden by something? It looks  
> like, because setting lefthyphenmin and righthyphenmin zero at that  
> point did not work either.
> By the way it is a bit difficult to give an exact example, because  
> hyphenation so much depends on ones linesize and font dimensions.

Hans van der Meer



[-- Attachment #1.2: Type: text/html, Size: 2367 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2007-06-29 18:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-29 17:25 Hans van der Meer
2007-06-29 18:05 ` Aditya Mahajan
2007-06-29 18:07 ` Hans van der Meer [this message]
2007-07-02  6:00   ` Wolfgang Schuster

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=8CFD16D3-1835-49AD-B91F-47E21B40F043@science.uva.nl \
    --to=hansm@science.uva.nl \
    --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).