* \setupalign[flushleft] doesn't like ~ @ 2013-04-25 23:09 Marcin Borkowski 2013-04-25 23:45 ` Hans Hagen 0 siblings, 1 reply; 5+ messages in thread From: Marcin Borkowski @ 2013-04-25 23:09 UTC (permalink / raw) To: ConTeXt mailing list With \setupalign[flushleft], nonbreakable spaces get larger than they should. I'm afraid it's a bug. Best, An MWE: \setupalign[flushleft] \starttext Lorem ipsum dolor sit~amet, consectetur adipiscing elit. Donec euismod mattis pellentesque. Duis ut ullamcorper sem. Sed varius neque quis lacus hendrerit dapibus. Ut non elit eu nibh dignissim feugiat. Quisque elementum lacinia pretium. Aliquam vel tellus in~ipsum lacinia sagittis. Morbi vitae justo ante, sit~amet vulputate sem. Vivamus faucibus ante vel dolor aliquet placerat. Ut pulvinar tellus sit~amet augue congue dapibus. Donec justo odio, dignissim id rhoncus eget, tristique at justo. Morbi quis libero id nisl malesuada aliquam non non libero. Proin tristique ultricies ipsum, vel facilisis odio luctus quis. Nullam tellus leo, posuere in~eleifend quis, lobortis eu sem. In~hac habitasse platea dictumst. Suspendisse non quam a~ante mollis dignissim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. \stoptext -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \setupalign[flushleft] doesn't like ~ 2013-04-25 23:09 \setupalign[flushleft] doesn't like ~ Marcin Borkowski @ 2013-04-25 23:45 ` Hans Hagen 2013-04-26 0:26 ` Marcin Borkowski 0 siblings, 1 reply; 5+ messages in thread From: Hans Hagen @ 2013-04-25 23:45 UTC (permalink / raw) To: mailing list for ConTeXt users On 4/26/2013 1:09 AM, Marcin Borkowski wrote: > With \setupalign[flushleft], nonbreakable spaces get larger than they > should. I'm afraid it's a bug. > > Best, > > An MWE: more info needed .. as this looks similar: \starttext Lorem ipsum dolor sit~amet, consectetur adipiscing elit. Donec euismod mattis pellentesque. Duis ut ullamcorper sem. Sed varius neque quis lacus hendrerit dapibus. Ut non elit eu nibh dignissim feugiat. Quisque elementum lacinia pretium. Aliquam vel tellus in~ipsum lacinia sagittis. Morbi vitae justo ante, sit~amet vulputate sem. Vivamus faucibus ante vel dolor aliquet placerat. Ut pulvinar tellus sit~amet augue congue dapibus. Donec justo odio, dignissim id rhoncus eget, tristique at justo. Morbi quis libero id nisl malesuada aliquam non non libero. Proin tristique ultricies ipsum, vel facilisis odio luctus quis. Nullam tellus leo, posuere in~eleifend quis, lobortis eu sem. In~hac habitasse platea dictumst. Suspendisse non quam a~ante mollis dignissim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. \the\fontinterwordspace \font +\the\fontinterwordstretch\font -\the\fontinterwordshrink \font \setbox\scratchbox\hbox{~} \the\wd\scratchbox \setupalign[flushleft] Lorem ipsum dolor sit~amet, consectetur adipiscing elit. Donec euismod mattis pellentesque. Duis ut ullamcorper sem. Sed varius neque quis lacus hendrerit dapibus. Ut non elit eu nibh dignissim feugiat. Quisque elementum lacinia pretium. Aliquam vel tellus in~ipsum lacinia sagittis. Morbi vitae justo ante, sit~amet vulputate sem. Vivamus faucibus ante vel dolor aliquet placerat. Ut pulvinar tellus sit~amet augue congue dapibus. Donec justo odio, dignissim id rhoncus eget, tristique at justo. Morbi quis libero id nisl malesuada aliquam non non libero. Proin tristique ultricies ipsum, vel facilisis odio luctus quis. Nullam tellus leo, posuere in~eleifend quis, lobortis eu sem. In~hac habitasse platea dictumst. Suspendisse non quam a~ante mollis dignissim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. \the\fontinterwordspace \font +\the\fontinterwordstretch\font -\the\fontinterwordshrink \font \setbox\scratchbox\hbox{~} \the\wd\scratchbox \stoptext -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \setupalign[flushleft] doesn't like ~ 2013-04-25 23:45 ` Hans Hagen @ 2013-04-26 0:26 ` Marcin Borkowski 2013-04-26 8:26 ` Hans Hagen 0 siblings, 1 reply; 5+ messages in thread From: Marcin Borkowski @ 2013-04-26 0:26 UTC (permalink / raw) To: Hans Hagen, ConTeXt mailing list Dnia 2013-04-26, o godz. 01:45:37 Hans Hagen <pragma@wxs.nl> napisał(a): > On 4/26/2013 1:09 AM, Marcin Borkowski wrote: > > With \setupalign[flushleft], nonbreakable spaces get larger than > > they should. I'm afraid it's a bug. > > > > Best, > > > > An MWE: > > more info needed .. as this looks similar: > [...] In both cases I get: 3.912pt+1.956pt-1.304pt 3.912pt but in the latter one, the space produced by "~" is noticeably wider. I'm running ConTeXt ver: 2013.04.11 22:48 MKIV beta fmt: 2013.4.12 int: english/english Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \setupalign[flushleft] doesn't like ~ 2013-04-26 0:26 ` Marcin Borkowski @ 2013-04-26 8:26 ` Hans Hagen 2013-05-25 10:53 ` Marcin Borkowski 0 siblings, 1 reply; 5+ messages in thread From: Hans Hagen @ 2013-04-26 8:26 UTC (permalink / raw) To: Marcin Borkowski; +Cc: ConTeXt mailing list On 4/26/2013 2:26 AM, Marcin Borkowski wrote: > Dnia 2013-04-26, o godz. 01:45:37 > Hans Hagen <pragma@wxs.nl> napisał(a): > >> On 4/26/2013 1:09 AM, Marcin Borkowski wrote: >>> With \setupalign[flushleft], nonbreakable spaces get larger than >>> they should. I'm afraid it's a bug. >>> >>> Best, >>> >>> An MWE: >> >> more info needed .. as this looks similar: >> [...] > > In both cases I get: > > 3.912pt+1.956pt-1.304pt > 3.912pt > > but in the latter one, the space produced by "~" is noticeably wider. maybe you mean (non)frenchspacing \usemodule[ipsum] \showframe \starttext \setupalign[flushleft] \setupspacing[fixed] \ipsum \par \setupalign[flushleft] \setupspacing[packed] \ipsum \par \setupalign[flushleft] \setupspacing[broad] \ipsum \par \stoptext (defaults are language dependent) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \setupalign[flushleft] doesn't like ~ 2013-04-26 8:26 ` Hans Hagen @ 2013-05-25 10:53 ` Marcin Borkowski 0 siblings, 0 replies; 5+ messages in thread From: Marcin Borkowski @ 2013-05-25 10:53 UTC (permalink / raw) To: ConTeXt mailing list Dnia 2013-04-26, o godz. 10:26:35 Hans Hagen <pragma@wxs.nl> napisał(a): > On 4/26/2013 2:26 AM, Marcin Borkowski wrote: > > Dnia 2013-04-26, o godz. 01:45:37 > > Hans Hagen <pragma@wxs.nl> napisał(a): > > > >> On 4/26/2013 1:09 AM, Marcin Borkowski wrote: > >>> With \setupalign[flushleft], nonbreakable spaces get larger than > >>> they should. I'm afraid it's a bug. > >>> > >>> Best, > >>> > >>> An MWE: > >> > >> more info needed .. as this looks similar: > >> [...] > > > > In both cases I get: > > > > 3.912pt+1.956pt-1.304pt > > 3.912pt > > > > but in the latter one, the space produced by "~" is noticeably > > wider. > > maybe you mean (non)frenchspacing > > \usemodule[ipsum] > > \showframe > > \starttext > > \setupalign[flushleft] \setupspacing[fixed] \ipsum \par > \setupalign[flushleft] \setupspacing[packed] \ipsum \par > \setupalign[flushleft] \setupspacing[broad] \ipsum \par > > \stoptext > > (defaults are language dependent) Sorry for my delay - I was quite busy, now I got back to this. It's not the question of \(non)frenchspacing. This is indeed strange: I compiled this (with the newest ConTeXt): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \starttext Lorem ipsum dolor sit~amet, consectetur adipiscing elit. Donec euismod mattis pellentesque. Duis ut ullamcorper sem. Sed varius neque quis lacus hendrerit dapibus. Ut non elit eu nibh dignissim feugiat. Quisque elementum lacinia pretium. Aliquam vel tellus in~ipsum lacinia sagittis. Morbi vitae justo ante, sit~amet vulputate sem. Vivamus faucibus ante vel dolor aliquet placerat. Ut pulvinar tellus sit~amet augue congue dapibus. Donec justo odio, dignissim id rhoncus eget, tristique at justo. Morbi quis libero id nisl malesuada aliquam non non libero. Proin tristique ultricies ipsum, vel facilisis odio luctus quis. Nullam tellus leo, posuere in~eleifend quis, lobortis eu sem. In~hac habitasse platea dictumst. Suspendisse non quam a~ante mollis dignissim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. \the\fontinterwordspace \font +\the\fontinterwordstretch\font -\the\fontinterwordshrink \font \setbox\scratchbox\hbox{sit amet}\copy\scratchbox \the\wd\scratchbox\par \setbox\scratchbox\hbox{sit~amet}\copy\scratchbox \the\wd\scratchbox \setupalign[flushleft] Lorem ipsum dolor sit~amet, consectetur adipiscing elit. Donec euismod mattis pellentesque. Duis ut ullamcorper sem. Sed varius neque quis lacus hendrerit dapibus. Ut non elit eu nibh dignissim feugiat. Quisque elementum lacinia pretium. Aliquam vel tellus in~ipsum lacinia sagittis. Morbi vitae justo ante, sit~amet vulputate sem. Vivamus faucibus ante vel dolor aliquet placerat. Ut pulvinar tellus sit~amet augue congue dapibus. Donec justo odio, dignissim id rhoncus eget, tristique at justo. Morbi quis libero id nisl malesuada aliquam non non libero. Proin tristique ultricies ipsum, vel facilisis odio luctus quis. Nullam tellus leo, posuere in~eleifend quis, lobortis eu sem. In~hac habitasse platea dictumst. Suspendisse non quam a~ante mollis dignissim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. \the\fontinterwordspace \font +\the\fontinterwordstretch\font -\the\fontinterwordshrink \font \setbox\scratchbox\hbox{sit amet}\copy\scratchbox \the\wd\scratchbox\par \setbox\scratchbox\hbox{sit~amet}\copy\scratchbox \the\wd\scratchbox \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% and the numbers (widths) shown don't exhibit any discrepancies, but in the pdf, the spaces are significantly wider (both in Evince and Adobe Reader). OTOH, the \copy commands don't show any differences between spaces and "ties". Now I'm confused - but something is still wrong. -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-05-25 10:53 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-04-25 23:09 \setupalign[flushleft] doesn't like ~ Marcin Borkowski 2013-04-25 23:45 ` Hans Hagen 2013-04-26 0:26 ` Marcin Borkowski 2013-04-26 8:26 ` Hans Hagen 2013-05-25 10:53 ` Marcin Borkowski
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).