Michael Fuchs wrote:
Hi everybody!

Sorry for the too long example. I wasn't sure what caused the problem and wanted to provide all relevant information at one time. I didn't mention the units module explicitly because I
have the same problem using the \cite command from the bib-module and I assumed, that it would be a more general problem.


The workaround with the \hbox{} does work. Is this some kind of
bug and will be fixed in the future?


Thank you all for your help! :-))

Michael



-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Peter Münster
Gesendet: Freitag, 11. März 2005 19:24
An: mailing list for ConTeXt users
Betreff: Re: AW: [NTG-context] Re: Line break after unit or \cite command


On Fri, 11 Mar 2005, Michael Fuchs wrote:


Here is an example that shows the problem. I created it using live.contextgarden.net. The problem appears with standard and
german hyphenation.

Nice example: now we see, that you are using the units-module.

Just to show you, what could be a minimal example, that shows the problem:

\usemodule[units]
\starttext
In dieser Arbeit wurde die Reaktion untersucht. Im Energiebereich bis
XXXXXXX~\EVolt\ wurden die Ergebnisse der Kollaboration bestätigt.
\stoptext

With these few lines, everything is clear. It seems to be an error in the
units-module.
Possible workaround: XXXXXXX~\EVolt\hbox{} wurden...

the \hbox{} will introduce a space

your problem originates in tex not being able to break lines within the constraints, one optiion is to increase the tolerance

\showframe

\setuptolerance[verytolerant]

\usemodule[units]

\starttext

In dieser Arbeit wurde die Reaktion untersucht. Im Energiebereich bis
XXXXXXX \EVolt\ wurden die Ergebnisse der Kollaboration bestätigt.

\stoptext




----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to