* \startitemize[columns] once again...
@ 2012-11-10 2:23 Marcin Borkowski
2012-11-14 10:16 ` Marcin Borkowski
0 siblings, 1 reply; 7+ messages in thread
From: Marcin Borkowski @ 2012-11-10 2:23 UTC (permalink / raw)
To: ConTeXt mailing list
This minimal example behaves in a strange way:
\starttext
Some text
\startitemize[columns,two,joinedup]
\item abc% $\frac{x^2-x+3}{x^2+x-3}$;
\item xyz% $\frac{x^5-3}{x^3+x-2}$.
\stopitemize
\stoptext
If we remove the percentage signs in the items, an additional vertical
skip appears. Is it a feature or a bug?
(Also, I encountered a *very* weird error where in some cases a whole
page disappears in the pdf; I could not distil it into a minimal
example, but I'll try and I'll post it here. I have a very vague
suspicion that \startitemize[columns] is again the culprit.)
TIA,
--
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] 7+ messages in thread
* Re: \startitemize[columns] once again...
2012-11-10 2:23 \startitemize[columns] once again Marcin Borkowski
@ 2012-11-14 10:16 ` Marcin Borkowski
2012-11-14 10:38 ` Philipp Gesang
2012-11-22 18:22 ` Hans Hagen
0 siblings, 2 replies; 7+ messages in thread
From: Marcin Borkowski @ 2012-11-14 10:16 UTC (permalink / raw)
To: ntg-context
Dnia 2012-11-10, o godz. 03:23:11
Marcin Borkowski <mbork@wmi.amu.edu.pl> napisał(a):
> This minimal example behaves in a strange way:
>
> \starttext
> Some text
> \startitemize[columns,two,joinedup]
> \item abc% $\frac{x^2-x+3}{x^2+x-3}$;
> \item xyz% $\frac{x^5-3}{x^3+x-2}$.
> \stopitemize
> \stoptext
>
> If we remove the percentage signs in the items, an additional vertical
> skip appears. Is it a feature or a bug?
Hi, could anybody look into it? I tried also \smash-ing the formulae -
with no luck.
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] 7+ messages in thread
* Re: \startitemize[columns] once again...
2012-11-14 10:16 ` Marcin Borkowski
@ 2012-11-14 10:38 ` Philipp Gesang
2012-11-14 10:40 ` Herbert Voss
2012-11-16 20:00 ` Marcin Borkowski
2012-11-22 18:22 ` Hans Hagen
1 sibling, 2 replies; 7+ messages in thread
From: Philipp Gesang @ 2012-11-14 10:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2748 bytes --]
···<date: 2012-11-14, Wednesday>···<from: Marcin Borkowski>···
> Dnia 2012-11-10, o godz. 03:23:11
> Marcin Borkowski <mbork@wmi.amu.edu.pl> napisał(a):
>
> > This minimal example behaves in a strange way:
> >
> > \starttext
> > Some text
> > \startitemize[columns,two,joinedup]
> > \item abc% $\frac{x^2-x+3}{x^2+x-3}$;
> > \item xyz% $\frac{x^5-3}{x^3+x-2}$.
> > \stopitemize
> > \stoptext
> >
> > If we remove the percentage signs in the items, an additional vertical
> > skip appears. Is it a feature or a bug?
>
> Hi, could anybody look into it? I tried also \smash-ing the formulae -
> with no luck.
Hi Marcin, appears like the vertical spacing is extended when
content of the item exceeds the line height. The behavior is not
restricted to math mode, though I can’t say if there is an
official way to prevent or customize it. If you are desperate to
get around it, maybe put the content in a box of fixed height.
······ demo ·····················································
\defineframed[crampy][height=\ht\strutbox,frame=off]
\starttext
before
\thinrule
\startitemize[columns,two,joinedup]
\item abc \mathematics{\frac{x^2-x+3}{x^2+x-3}};
\item xyz \mathematics{\frac{x^5-3}{x^3+x-2}}.
\stopitemize
\thinrule
after
before
\thinrule
\startitemize[columns,two,joinedup]
\item abc \crampy[frame=on]{\mathematics{\frac{x^2-x+3}{x^2+x-3}}};
\item xyz \crampy[frame=on]{\mathematics{\frac{x^5-3}{x^3+x-2}}}.
\stopitemize
\thinrule
after
before
\thinrule
\startitemize[columns,two,joinedup]
\item abc \crampy{\mathematics{\frac{x^2-x+3}{x^2+x-3}}};
\item xyz \crampy{\mathematics{\frac{x^5-3}{x^3+x-2}}}.
\stopitemize
\thinrule
after
\stoptext
·································································
Hth, Philipp
>
> 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
> ___________________________________________________________________________________
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \startitemize[columns] once again...
2012-11-14 10:38 ` Philipp Gesang
@ 2012-11-14 10:40 ` Herbert Voss
2012-11-16 20:00 ` Marcin Borkowski
1 sibling, 0 replies; 7+ messages in thread
From: Herbert Voss @ 2012-11-14 10:40 UTC (permalink / raw)
To: ntg-context
Am 14.11.2012 11:38, schrieb Philipp Gesang:
> ···<date: 2012-11-14, Wednesday>···<from: Marcin Borkowski>···
>
>> Dnia 2012-11-10, o godz. 03:23:11
>> Marcin Borkowski <mbork@wmi.amu.edu.pl> napisał(a):
>>
>>> This minimal example behaves in a strange way:
>>>
>>> \starttext
>>> Some text
>>> \startitemize[columns,two,joinedup]
>>> \item abc% $\frac{x^2-x+3}{x^2+x-3}$;
>>> \item xyz% $\frac{x^5-3}{x^3+x-2}$.
>>> \stopitemize
>>> \stoptext
>>>
>>> If we remove the percentage signs in the items, an additional vertical
>>> skip appears. Is it a feature or a bug?
>>
>> Hi, could anybody look into it? I tried also \smash-ing the formulae -
>> with no luck.
>
> Hi Marcin, appears like the vertical spacing is extended when
> content of the item exceeds the line height. The behavior is not
> restricted to math mode, though I can’t say if there is an
> official way to prevent or customize it. If you are desperate to
> get around it, maybe put the content in a box of fixed height.
with the "old" context of current TeXLive it works without
adding additional space.
Herbert
___________________________________________________________________________________
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] 7+ messages in thread
* Re: \startitemize[columns] once again...
2012-11-14 10:38 ` Philipp Gesang
2012-11-14 10:40 ` Herbert Voss
@ 2012-11-16 20:00 ` Marcin Borkowski
2012-11-17 14:08 ` Otared Kavian
1 sibling, 1 reply; 7+ messages in thread
From: Marcin Borkowski @ 2012-11-16 20:00 UTC (permalink / raw)
To: ntg-context
Dnia 2012-11-14, o godz. 11:38:48
Philipp Gesang <Philipp.Gesang@alumni.uni-heidelberg.de> napisał(a):
> ···<date: 2012-11-14, Wednesday>···<from: Marcin Borkowski>···
>
> > Dnia 2012-11-10, o godz. 03:23:11
> > Marcin Borkowski <mbork@wmi.amu.edu.pl> napisał(a):
> >
> > > This minimal example behaves in a strange way:
> > >
> > > \starttext
> > > Some text
> > > \startitemize[columns,two,joinedup]
> > > \item abc% $\frac{x^2-x+3}{x^2+x-3}$;
> > > \item xyz% $\frac{x^5-3}{x^3+x-2}$.
> > > \stopitemize
> > > \stoptext
> > >
> > > If we remove the percentage signs in the items, an additional
> > > vertical skip appears. Is it a feature or a bug?
> >
> > Hi, could anybody look into it? I tried also \smash-ing the
> > formulae - with no luck.
>
> Hi Marcin, appears like the vertical spacing is extended when
> content of the item exceeds the line height. The behavior is not
> restricted to math mode, though I can’t say if there is an
> official way to prevent or customize it. If you are desperate to
> get around it, maybe put the content in a box of fixed height.
>
> ······ demo ·····················································
> \defineframed[crampy][height=\ht\strutbox,frame=off]
> \starttext
> before
> \thinrule
> \startitemize[columns,two,joinedup]
> \item abc \mathematics{\frac{x^2-x+3}{x^2+x-3}};
> \item xyz \mathematics{\frac{x^5-3}{x^3+x-2}}.
> \stopitemize
> \thinrule
> after
>
> before
> \thinrule
> \startitemize[columns,two,joinedup]
> \item abc \crampy[frame=on]{\mathematics{\frac{x^2-x+3}{x^2+x-3}}};
> \item xyz \crampy[frame=on]{\mathematics{\frac{x^5-3}{x^3+x-2}}}.
> \stopitemize
> \thinrule
> after
>
> before
> \thinrule
> \startitemize[columns,two,joinedup]
> \item abc \crampy{\mathematics{\frac{x^2-x+3}{x^2+x-3}}};
> \item xyz \crampy{\mathematics{\frac{x^5-3}{x^3+x-2}}}.
> \stopitemize
> \thinrule
> after
> \stoptext
> ·································································
>
> Hth, Philipp
Yes it does, thanks! (It helps in some other strange cases, too.)
What is especially interesting, is that \strut\smash{...} didn't help.
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] 7+ messages in thread
* Re: \startitemize[columns] once again...
2012-11-16 20:00 ` Marcin Borkowski
@ 2012-11-17 14:08 ` Otared Kavian
0 siblings, 0 replies; 7+ messages in thread
From: Otared Kavian @ 2012-11-17 14:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Marcin,
I think there is a small bug with itemize and columns: in another thread (with Subject « vertical alignment problem in column items» ) Dalyoung reported also an issue, which is related to what you have observed.
Please see my message in a reply to Dalyoung's message, where I reported some testings but I am not sure when this bug appeared (in mkii, the behaviour is essentially correct).
Best regards: OK
On 16 nov. 2012, at 21:00, Marcin Borkowski <mbork@wmi.amu.edu.pl> wrote:
> Dnia 2012-11-14, o godz. 11:38:48
> Philipp Gesang <Philipp.Gesang@alumni.uni-heidelberg.de> napisał(a):
>
>> ···<date: 2012-11-14, Wednesday>···<from: Marcin Borkowski>···
>>
>>> Dnia 2012-11-10, o godz. 03:23:11
>>> Marcin Borkowski <mbork@wmi.amu.edu.pl> napisał(a):
>>>
>>>> This minimal example behaves in a strange way:
>>>>
>>>> \starttext
>>>> Some text
>>>> \startitemize[columns,two,joinedup]
>>>> \item abc% $\frac{x^2-x+3}{x^2+x-3}$;
>>>> \item xyz% $\frac{x^5-3}{x^3+x-2}$.
>>>> \stopitemize
>>>> \stoptext
>>>>
>>>> If we remove the percentage signs in the items, an additional
>>>> vertical skip appears. Is it a feature or a bug?
>>>
>>> Hi, could anybody look into it? I tried also \smash-ing the
>>> formulae - with no luck.
>>
>> Hi Marcin, appears like the vertical spacing is extended when
>> content of the item exceeds the line height. The behavior is not
>> restricted to math mode, though I can’t say if there is an
>> official way to prevent or customize it. If you are desperate to
>> get around it, maybe put the content in a box of fixed height.
>>
>> ······ demo ·····················································
>> \defineframed[crampy][height=\ht\strutbox,frame=off]
>> \starttext
>> before
>> \thinrule
>> \startitemize[columns,two,joinedup]
>> \item abc \mathematics{\frac{x^2-x+3}{x^2+x-3}};
>> \item xyz \mathematics{\frac{x^5-3}{x^3+x-2}}.
>> \stopitemize
>> \thinrule
>> after
>>
>> before
>> \thinrule
>> \startitemize[columns,two,joinedup]
>> \item abc \crampy[frame=on]{\mathematics{\frac{x^2-x+3}{x^2+x-3}}};
>> \item xyz \crampy[frame=on]{\mathematics{\frac{x^5-3}{x^3+x-2}}}.
>> \stopitemize
>> \thinrule
>> after
>>
>> before
>> \thinrule
>> \startitemize[columns,two,joinedup]
>> \item abc \crampy{\mathematics{\frac{x^2-x+3}{x^2+x-3}}};
>> \item xyz \crampy{\mathematics{\frac{x^5-3}{x^3+x-2}}}.
>> \stopitemize
>> \thinrule
>> after
>> \stoptext
>> ·································································
>>
>> Hth, Philipp
>
> Yes it does, thanks! (It helps in some other strange cases, too.)
> What is especially interesting, is that \strut\smash{...} didn't help.
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 7+ messages in thread
* Re: \startitemize[columns] once again...
2012-11-14 10:16 ` Marcin Borkowski
2012-11-14 10:38 ` Philipp Gesang
@ 2012-11-22 18:22 ` Hans Hagen
1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2012-11-22 18:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 11/14/2012 11:16 AM, Marcin Borkowski wrote:
> Dnia 2012-11-10, o godz. 03:23:11
> Marcin Borkowski <mbork@wmi.amu.edu.pl> napisał(a):
>
>> This minimal example behaves in a strange way:
>>
>> \starttext
>> Some text
>> \startitemize[columns,two,joinedup]
>> \item abc% $\frac{x^2-x+3}{x^2+x-3}$;
>> \item xyz% $\frac{x^5-3}{x^3+x-2}$.
>> \stopitemize
>> \stoptext
>>
>> If we remove the percentage signs in the items, an additional vertical
>> skip appears. Is it a feature or a bug?
was a feature ... gridsnapping in action
> Hi, could anybody look into it? I tried also \smash-ing the formulae -
> with no luck.
the latest version is a bit more tolerant
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] 7+ messages in thread
end of thread, other threads:[~2012-11-22 18:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-10 2:23 \startitemize[columns] once again Marcin Borkowski
2012-11-14 10:16 ` Marcin Borkowski
2012-11-14 10:38 ` Philipp Gesang
2012-11-14 10:40 ` Herbert Voss
2012-11-16 20:00 ` Marcin Borkowski
2012-11-17 14:08 ` Otared Kavian
2012-11-22 18:22 ` Hans Hagen
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).