Re: [NTG-context] rightaligned formulas stick out in the margin

2016-09-27 Thread Mikael P. Sundqvist
On Tue, Sep 27, 2016 at 3:14 PM, Henri Menke  wrote:
> No problem with TL 2016.  Are you on beta?
>
> On 09/27/2016 03:10 PM, Mikael P. Sundqvist wrote:
>> Hi!
>>
>> Look at the following example (pdf attached)
>>
>> \setupformulas[
>> align=flushleft,
>> leftmargin=3em,
>> ]
>>
>> \starttext
>> \input tufte % Some text to see where the margin is
>>
>> This looks OK:
>> \startformula
>> 1+1=2
>> \stopformula
>> This does not look OK:
>> \startformula
>> 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19
>> \stopformula
>> This looks OK again:
>> \startformula
>> \startalign
>> \NC 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19\NR
>> \stopalign
>> \stopformula
>> \stoptext
>>
>> The result is attached. I would expect the second display math to
>> behave as the third, i.e. move to the left so that it fits. As a
>> workaround I can put every problematic formula I have in aligns, but I
>> have a feeling this might be a bug.
>>
>> /Mikael
>>
>>
>>
>> ___
>> 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
>> ___
>>
>
> ___
> 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
> ___

Yes indeed, I forgot to say. I use a very late standalone. This
problem has been there for some weeks at least.

/Mikael
___
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] rightaligned formulas stick out in the margin

2016-09-27 Thread Henri Menke
No problem with TL 2016.  Are you on beta?

On 09/27/2016 03:10 PM, Mikael P. Sundqvist wrote:
> Hi!
> 
> Look at the following example (pdf attached)
> 
> \setupformulas[
> align=flushleft,
> leftmargin=3em,
> ]
> 
> \starttext
> \input tufte % Some text to see where the margin is
> 
> This looks OK:
> \startformula
> 1+1=2
> \stopformula
> This does not look OK:
> \startformula
> 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19
> \stopformula
> This looks OK again:
> \startformula
> \startalign
> \NC 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19\NR
> \stopalign
> \stopformula
> \stoptext
> 
> The result is attached. I would expect the second display math to
> behave as the third, i.e. move to the left so that it fits. As a
> workaround I can put every problematic formula I have in aligns, but I
> have a feeling this might be a bug.
> 
> /Mikael
> 
> 
> 
> ___
> 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
> ___
> 

___
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
___

[NTG-context] rightaligned formulas stick out in the margin

2016-09-27 Thread Mikael P. Sundqvist
Hi!

Look at the following example (pdf attached)

\setupformulas[
align=flushleft,
leftmargin=3em,
]

\starttext
\input tufte % Some text to see where the margin is

This looks OK:
\startformula
1+1=2
\stopformula
This does not look OK:
\startformula
1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19
\stopformula
This looks OK again:
\startformula
\startalign
\NC 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19\NR
\stopalign
\stopformula
\stoptext

The result is attached. I would expect the second display math to
behave as the third, i.e. move to the left so that it fits. As a
workaround I can put every problematic formula I have in aligns, but I
have a feeling this might be a bug.

/Mikael


ctx-example11.pdf
Description: Adobe PDF document
___
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] sometimes \rightaligned

2010-03-11 Thread Wolfgang Schuster

Am 11.03.10 12:51, schrieb Wolfgang Werners-Lucchini:

Hallo,

I have an other problem which was asked for years if I remember
right. But I can not find it.

In the following

\starttext
\startnarrower
Und Gott der Herr machte Adam und seinem Weibe Röcke
von Fellen, und kleidete sie. \RA{\tfx (Genesis 3, 21)}
\stopnarrower
\stoptext

I want \RT a macro which does nothing if there is enough space on the
right to set the whole argument and puts the argument in a new line,
rightaligned otherwise.

Can someone remember who has asked this before, or a fresh solution
alternativly.
   

\wordright{...}

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
___


[NTG-context] sometimes \rightaligned

2010-03-11 Thread Wolfgang Werners-Lucchini
Hallo,

I have an other problem which was asked for years if I remember 
right. But I can not find it.

In the following

\starttext
\startnarrower
Und Gott der Herr machte Adam und seinem Weibe Röcke
von Fellen, und kleidete sie. \RA{\tfx (Genesis 3, 21)}
\stopnarrower
\stoptext

I want \RT a macro which does nothing if there is enough space on the
right to set the whole argument and puts the argument in a new line, 
rightaligned otherwise.

Can someone remember who has asked this before, or a fresh solution 
alternativly.

thank you

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] problem with \em in \rightaligned

2010-02-04 Thread Wolfgang Schuster

Am 04.02.10 14:29, schrieb Peter Münster:

On Thu, Feb 04 2010, Wolfgang Schuster wrote:


\rightaligned{\em bla\\bla}



Use \startalignment[flushright]...\stopalignment to align
more than one line and \crlf to force a line break.


Right, that's what I do now. I thought, that my construction was supposed
to work, because I got used to things like
"\rightaligned{bla\\bla\\bla}"...


I was surprised that this is working but when look at the source
you can see that \\ finish \rightaligned and starts a new \rightaligned
but your \em has ended, to keep the \em you have to write

  \rightaligned{\em ...\\\em ...}

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] problem with \em in \rightaligned

2010-02-04 Thread Peter Münster
On Thu, Feb 04 2010, Wolfgang Schuster wrote:

>>\rightaligned{\em bla\\bla}

> Use \startalignment[flushright]...\stopalignment to align
> more than one line and \crlf to force a line break.

Right, that's what I do now. I thought, that my construction was supposed
to work, because I got used to things like
"\rightaligned{bla\\bla\\bla}"...

So excuse me please for not reading the documentation before posting!

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] problem with \em in \rightaligned

2010-02-04 Thread Wolfgang Schuster

Am 04.02.10 13:52, schrieb Peter Münster:

Hello,

The last "bla" is not emphasised:

\starttext
\start
   \em bla\\bla
\stop

\start
   \rightaligned{\em bla\\bla}
\stop
\stoptext

Use \startalignment[flushright]...\stopalignment to align
more than one line and \crlf to force a line break.

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
___


[NTG-context] problem with \em in \rightaligned

2010-02-04 Thread Peter Münster
Hello,

The last "bla" is not emphasised:

\starttext
\start
  \em bla\\bla
\stop

\start
  \rightaligned{\em bla\\bla}
\stop
\stoptext

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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
___