ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Formula number misplaced
@ 2019-04-23  9:13 Henri Menke
  2019-04-23 12:46 ` Aditya Mahajan
  0 siblings, 1 reply; 6+ messages in thread
From: Henri Menke @ 2019-04-23  9:13 UTC (permalink / raw)
  To: ntg-context


Dear list,

The problem I describe does not make itself apparent in all situations,
but sometimes the formula number, which is placed by
\start...\stopplaceformula, is misplaced and there appears a gap between
it and the right margin.  The MWE below reproduces the problem in the
latest beta and lmtx.  It can be "fixed", however, by replacing
\start...\stopTEXpage by \start...\stoptext, so this might not represent
the most generic incarnation.

Cheers, Henri

---


\startTEXpage

\samplefile{ward} Thus
\startplaceformula
\startformula
    \int_a^b f(x) \, \diff x = F(b) - F(a) .
\stopformula
\stopplaceformula

\stopTEXpage
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Formula number misplaced
  2019-04-23  9:13 Formula number misplaced Henri Menke
@ 2019-04-23 12:46 ` Aditya Mahajan
  2019-04-23 14:11   ` Mikael P. Sundqvist
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2019-04-23 12:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 23 Apr 2019, Henri Menke wrote:

>
> Dear list,
>
> The problem I describe does not make itself apparent in all situations,
> but sometimes the formula number, which is placed by
> \start...\stopplaceformula, is misplaced and there appears a gap between
> it and the right margin.  The MWE below reproduces the problem in the
> latest beta and lmtx.  It can be "fixed", however, by replacing
> \start...\stopTEXpage by \start...\stoptext, so this might not represent
> the most generic incarnation.

This can be "fixed" by specifying a width for TEXpage.

Aditya
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Formula number misplaced
  2019-04-23 12:46 ` Aditya Mahajan
@ 2019-04-23 14:11   ` Mikael P. Sundqvist
  2019-04-23 14:17     ` Aditya Mahajan
  2019-04-24  7:52     ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Mikael P. Sundqvist @ 2019-04-23 14:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Den tis 23 apr. 2019 14:46Aditya Mahajan <adityam@umich.edu> skrev:

> On Tue, 23 Apr 2019, Henri Menke wrote:
>
> >
> > Dear list,
> >
> > The problem I describe does not make itself apparent in all situations,
> > but sometimes the formula number, which is placed by
> > \start...\stopplaceformula, is misplaced and there appears a gap between
> > it and the right margin.  The MWE below reproduces the problem in the
> > latest beta and lmtx.  It can be "fixed", however, by replacing
> > \start...\stopTEXpage by \start...\stoptext, so this might not represent
> > the most generic incarnation.
>
> This can be "fixed" by specifying a width for TEXpage.
>
> Aditya
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

Yes, but it can also appear when not using TEXpage. When I tried out lmtx
on a large file (not using TEXpage), it was there. I was not able to
reproduce on a smaller file, though. I could give it another try, if
necessary.

/Mikael

>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Formula number misplaced
  2019-04-23 14:11   ` Mikael P. Sundqvist
@ 2019-04-23 14:17     ` Aditya Mahajan
  2019-04-24  7:52     ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Aditya Mahajan @ 2019-04-23 14:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 23 Apr 2019, Mikael P. Sundqvist wrote:

> Yes, but it can also appear when not using TEXpage. When I tried out lmtx
> on a large file (not using TEXpage), it was there. I was not able to
> reproduce on a smaller file, though. I could give it another try, if
> necessary.

An example will be useful.

Aditya
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Formula number misplaced
  2019-04-23 14:11   ` Mikael P. Sundqvist
  2019-04-23 14:17     ` Aditya Mahajan
@ 2019-04-24  7:52     ` Hans Hagen
  2019-04-24 15:49       ` Mikael P. Sundqvist
  1 sibling, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2019-04-24  7:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Mikael P. Sundqvist

On 4/23/2019 4:11 PM, Mikael P. Sundqvist wrote:
> Den tis 23 apr. 2019 14:46Aditya Mahajan <adityam@umich.edu 
> <mailto:adityam@umich.edu>> skrev:
> 
>     On Tue, 23 Apr 2019, Henri Menke wrote:
> 
>      >
>      > Dear list,
>      >
>      > The problem I describe does not make itself apparent in all
>     situations,
>      > but sometimes the formula number, which is placed by
>      > \start...\stopplaceformula, is misplaced and there appears a gap
>     between
>      > it and the right margin.  The MWE below reproduces the problem in the
>      > latest beta and lmtx.  It can be "fixed", however, by replacing
>      > \start...\stopTEXpage by \start...\stoptext, so this might not
>     represent
>      > the most generic incarnation.
> 
>     This can be "fixed" by specifying a width for TEXpage.
> 
>     Aditya
>     ___________________________________________________________________________________
>     If your question is of interest to others as well, please add an
>     entry to the Wiki!
> 
>     maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> /
>     http://www.ntg.nl/mailman/listinfo/ntg-context
>     webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>     archive  : https://bitbucket.org/phg/context-mirror/commits/
>     wiki     : http://contextgarden.net
>     ___________________________________________________________________________________
> 
> 
> Yes, but it can also appear when not using TEXpage. When I tried out 
> lmtx on a large file (not using TEXpage), it was there. I was not able 
> to reproduce on a smaller file, though. I could give it another try, if 
> necessary.

Probably only when you use framed and construct that depend on it. Then 
use:

\startTEXpage[autowidth=no]

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Formula number misplaced
  2019-04-24  7:52     ` Hans Hagen
@ 2019-04-24 15:49       ` Mikael P. Sundqvist
  0 siblings, 0 replies; 6+ messages in thread
From: Mikael P. Sundqvist @ 2019-04-24 15:49 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Wed, Apr 24, 2019 at 9:52 AM Hans Hagen <j.hagen@xs4all.nl> wrote:
>
> On 4/23/2019 4:11 PM, Mikael P. Sundqvist wrote:
> > Den tis 23 apr. 2019 14:46Aditya Mahajan <adityam@umich.edu
> > <mailto:adityam@umich.edu>> skrev:
> >
> >     On Tue, 23 Apr 2019, Henri Menke wrote:
> >
> >      >
> >      > Dear list,
> >      >
> >      > The problem I describe does not make itself apparent in all
> >     situations,
> >      > but sometimes the formula number, which is placed by
> >      > \start...\stopplaceformula, is misplaced and there appears a gap
> >     between
> >      > it and the right margin.  The MWE below reproduces the problem in the
> >      > latest beta and lmtx.  It can be "fixed", however, by replacing
> >      > \start...\stopTEXpage by \start...\stoptext, so this might not
> >     represent
> >      > the most generic incarnation.
> >
> >     This can be "fixed" by specifying a width for TEXpage.
> >
> >     Aditya
> >     ___________________________________________________________________________________
> >     If your question is of interest to others as well, please add an
> >     entry to the Wiki!
> >
> >     maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> /
> >     http://www.ntg.nl/mailman/listinfo/ntg-context
> >     webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> >     archive  : https://bitbucket.org/phg/context-mirror/commits/
> >     wiki     : http://contextgarden.net
> >     ___________________________________________________________________________________
> >
> >
> > Yes, but it can also appear when not using TEXpage. When I tried out
> > lmtx on a large file (not using TEXpage), it was there. I was not able
> > to reproduce on a smaller file, though. I could give it another try, if
> > necessary.
>
> Probably only when you use framed and construct that depend on it. Then
> use:
>
> \startTEXpage[autowidth=no]
>
> Hans
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------

Today I managed to install lmtx on my laptop (I got an error
yesterday, but that was probably the network at the hotel).

I now ran context on the big file, and it looks fine. When I get home
(next week) I will be able to compile on the lmtx installation at
home, where I first saw the problem.

Right now, I cannot construct any example with the problem showing.

/Mikael

PS I did not use any strange constructs like frames around the
formulas in question.
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-24 15:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-23  9:13 Formula number misplaced Henri Menke
2019-04-23 12:46 ` Aditya Mahajan
2019-04-23 14:11   ` Mikael P. Sundqvist
2019-04-23 14:17     ` Aditya Mahajan
2019-04-24  7:52     ` Hans Hagen
2019-04-24 15:49       ` Mikael P. Sundqvist

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).