Re: AW: AW: [NTG-context] Re: Line break after unit or \cite command

2005-03-14 Thread Peter Münster
On Sun, 13 Mar 2005, h h extern wrote:

 Possible workaround: XXX~\EVolt\hbox{} wurden...
 
 the \hbox{} will introduce a space

Really? I've tried

\starttext
XXX\hbox{}XXX
\stoptext

But I can't see any space...
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: AW: AW: [NTG-context] Re: Line break after unit or \cite command

2005-03-13 Thread h h extern
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
XXX~\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: XXX~\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
XXX \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


AW: [NTG-context] Re: Line break after unit or \cite command

2005-03-11 Thread Michael Fuchs
Hi Patrick!

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

Michael

---
\starttext

\version[temporary]
\setuppapersize[A4][A4]
\setupcolors[state=start]
\setuplayout[
backspace=25mm, topspace=10mm, header=10mm, headerdistance=5mm,
width=middle, height=fit,
footer=10mm, footerdistance=5mm, bottom=5mm]
\language   [de]   % Switching to german hyphenation

\usemodule[units]

 \unit[keV]{\Kilo \EVolt}{kilo electronvolt}
 \unit[MeV]{\Mega \EVolt}{mega electronvolt}
 \unit[GeV]{\Giga \EVolt}{giga electronvolt}


In dieser Arbeit wurde die Reaktion .. untersucht. Im
Energiebereich bis X~\MeV\ wurden die
Ergebnisse der Kollaboration bestätigt. Weiterhin
wurde erstmals der totale und der differentielle Wirkungsquerschnitt
der Reaktion für Photonenergien bis 3~\GeV\ bestimmt. Die Bestimmung
der Akzeptanz wurde mit einem neuen Verfahren durchgeführt, das die
Dynamik der Reaktion korrekt berücksichtigt.

\stoptext
---

 

 Hello Michael,
 
 please post a complete example that we can try out [on
 live.contextgarden.net]; currently we have to guess what is going on.
 
 Patrick
 
 -- 
 ConTeXt wiki: http://contextgarden.net
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

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


Re: AW: [NTG-context] Re: Line break after unit or \cite command

2005-03-11 Thread Peter Münster
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
XXX~\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: XXX~\EVolt\hbox{} wurden...

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


AW: AW: [NTG-context] Re: Line break after unit or \cite command

2005-03-11 Thread Michael Fuchs
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
 XXX~\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: XXX~\EVolt\hbox{} wurden...
 
 Cheers, Peter
 
 -- 
 http://pmrb.free.fr/contact/
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

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


AW: [NTG-context] Re: Line break after unit or \cite command

2005-03-10 Thread Michael Fuchs
Hi Patrick!

I want ConTeXt to produce the line break after the \EVolt 
command. The unit and following word together are extending 
the textwidth. Put TeX doesn't do the linebreak after the 
unit. Even using this \  macro doesn't have an effect on 
this behaviour!

Michael


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag von Patrick Gundlach
 Gesendet: Donnerstag, 10. März 2005 18:10
 An: ntg-context@ntg.nl
 Betreff: [NTG-context] Re: Line break after unit or \cite command
 
 Hello Michael,
 
 
 [...]
 
  Im Energiebereich bis ~\EVolt\ wurden die Ergebnisse der 
  Kollaboration bestätigt.
 
  ConTeXt breaks wurden in wur-den.
 
 But then TeX thinks that there is feasible breakpoint between EVolt
 and wurden. I'd write this 3\,\EVolt\ wurden. 
 
 Patrick
 -- 
 ConTeXt wiki: http://contextgarden.net
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

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


AW: AW: [NTG-context] Re: Line break after unit or \cite command

2005-03-10 Thread Michael Fuchs
Hi Peter!

I tried to make the XXX a little bit longer.
But unluckily I still don't have success with that. 
TeX only wants to insert the line break after the first
possible position after wur in the word wurden. 
If I make the XXX long enough I even can push 

~eV~wur-

out of the page limits.

Michael


 
  I want ConTeXt to produce the line break after the \EVolt 
  command. The unit and following word together are extending 
  the textwidth. Put TeX doesn't do the linebreak after the 
  unit. Even using this \  macro doesn't have an effect on 
  this behaviour!
   
Im Energiebereich bis ~\EVolt\ wurden die Ergebnisse der 
Kollaboration bestätigt.
   
ConTeXt breaks wurden in wur-den.
 
 Hi Michael,
 your  must be just a little bit longer:
 
 \def\EVolt{\,eV}
 \starttext
 \de
 Im Energiebereich bis
 33\EVolt\ wurden die
 Ergebnisse der Kollaboration...
 \stoptext
 
 Cheers, Peter
 

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