ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Displayed formula inside paragraph change vertical space before the paragraph
Date: Mon, 16 Jan 2017 12:56:37 +0100	[thread overview]
Message-ID: <FB405C6D-1895-4564-89D3-226FA4BF1C73@gmail.com> (raw)
In-Reply-To: <CAHy-LL8k0XQ6UBLX7iN12ivk9b2ESFDzFhdkqko=m=MJxSsFmg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

Hi Mikael,

Thanks for making it clear to me: I was looking for the changes in vertical spacing around the formula… Now it is clear that there is a bug in the vertical spacing: when I typeset your example with mkii or mkiv ConTeXt Version 2016.05.17 from TeXLive, the issue is not present, as one may see from the attached output.

Maybe you should open a new thread with a title like « Bug in vertical spacing of paragraphs » so that Hans may see it more easily.

Best regards: OK


[-- Attachment #2: formula-vertical-distance-2016-05-17.pdf --]
[-- Type: application/pdf, Size: 9687 bytes --]

[-- Attachment #3: Type: text/plain, Size: 2 bytes --]




[-- Attachment #4: formula-vertical-distance-2016-12-28.pdf --]
[-- Type: application/pdf, Size: 9674 bytes --]

[-- Attachment #5: Type: text/plain, Size: 7356 bytes --]



> On 16 Jan 2017, at 11:12, Mikael P. Sundqvist <mickep@gmail.com> wrote:
> 
> On Mon, Jan 16, 2017 at 10:51 AM, Otared Kavian <otared@gmail.com> wrote:
>> Hi Mikael,
>> 
>> To make sure we are talking about the same issue, here are the outputs obtained with and without blank lines around \startformula…\stopformula: Can you please send me too your outputs so I can compare with mines?
>> 
>> Best regards: OK
>> 
>> 
>> 
>> 
>>> On 15 Jan 2017, at 19:29, Mikael P. Sundqvist <mickep@gmail.com> wrote:
>>> 
>>> On Sat, Jan 14, 2017 at 8:32 AM, Mikael P. Sundqvist <mickep@gmail.com> wrote:
>>>> On Sat, Jan 14, 2017 at 1:00 AM, Otared Kavian <otared@gmail.com> wrote:
>>>>> Hi Mikael,
>>>>> 
>>>>> I tested your example but I see no difference in the outputs, with, or without a blank line between the text and the displayed formula.
>>>>> I am using ConteXt 2016.12.28 17:55 MKIV beta.
>>>>> 
>>>>> Best regards: OK
>>>>> 
>>>>>> On 13 Jan 2017, at 14:13, Mikael P. Sundqvist <mickep@gmail.com> wrote:
>>>>>> 
>>>>>> Dear list,
>>>>>> 
>>>>>> please have a look at the output (ctx-example13.pdf) of the somewhat
>>>>>> ugly example below. The vertical space before the paragraph with the
>>>>>> displayed formula is almost none. If I remove the % signs before and
>>>>>> after the formula, the space before the paragraph looks ok.
>>>>>> 
>>>>>> Do I have to enter those empty lines? Is this a bug or feature?
>>>>>> 
>>>>>> (I use a recently updated standalone)
>>>>>> 
>>>>>> /Mikael
>>>>>> 
>>>>>> \starttext
>>>>>> 
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> 
>>>>>> 
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> 
>>>>>> 
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> %
>>>>>> \startformula
>>>>>> k>1000\implies |1/k-0|=1/k<1/1000=0.001.
>>>>>> \stopformula
>>>>>> %
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> Bla bla bla bla bla bla bla bla bla
>>>>>> 
>>>>>> 
>>>>>> \stoptext
>>>>>> <ctx-example13.pdf><ctx-example13-2.pdf>___________________________________________________________________________________
>>>>>> 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
>>>>>> ___________________________________________________________________________________
>>>>> 
>>>>> ___________________________________________________________________________________
>>>>> 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
>>>>> ___________________________________________________________________________________
>>>> 
>>>> Thank you for testing, Otared.
>>>> 
>>>> I still have the same problem with a freshly installed
>>>> 
>>>> ConTeXt  ver: 2016.12.28 17:55 MKIV beta  fmt: 2017.1.14  int: english/english
>>>> 
>>>> /Mikael
>>> 
>>> Am I the only one affected by this? Can someone confirm that they see
>>> the same problem?
>>> 
>>> Thanks,
>>> 
>>> 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://context.aanhet.net
>>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>>> 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
> 
> Dear Otared,
> 
> First of all, thank you for testing.
> 
> The files were attached to my first email. In your attached example I
> see the same problem in the "without" example. This example might be
> better:
> 
> \starttext
> 
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> 
> 
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> 
> The space between this paragraph
> and the previous one is too small.
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> %
> \startformula
> k>1000\implies |1/k-0|=1/k<1/1000=0.001.
> \stopformula
> %
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> Bla bla bla bla bla bla bla bla bla
> 
> 
> \stoptext
> 
> The result is attached.
> 
> /Mikael
> <ctx-example14.pdf>___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #6: Type: text/plain, Size: 492 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
___________________________________________________________________________________

  reply	other threads:[~2017-01-16 11:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-13 13:13 Mikael P. Sundqvist
2017-01-14  0:00 ` Otared Kavian
2017-01-14  7:32   ` Mikael P. Sundqvist
2017-01-15 18:29     ` Mikael P. Sundqvist
2017-01-16  9:51       ` Otared Kavian
2017-01-16 10:12         ` Mikael P. Sundqvist
2017-01-16 11:56           ` Otared Kavian [this message]
2017-01-16 21:31             ` Hans Hagen
     [not found] <mailman.1649.1484567812.2018.ntg-context@ntg.nl>
2017-01-16 22:27 ` Jeong Dal
2017-01-17  6:56   ` Hans Hagen
2017-01-17  8:07     ` Mikael P. Sundqvist

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=FB405C6D-1895-4564-89D3-226FA4BF1C73@gmail.com \
    --to=otared@gmail.com \
    --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).