Re: [NTG-context] itemize and placefigure

2006-10-04 Thread plink
Mojca Miklavec wrote:
 \placefigure will always start a new paragraph, but usually you don't
 notice that since you want it in a separate paragraph anyway. It has
 to do with boxes, although I have no idea how exactly Hans implemented
 itemize/itemgroup environment.
 
 You can help yourself a bit by using
 \item \strut\vskip -\lineheight\placefigure...

I'll give the vskip a try. In the meantime I tried to relive my 
knowledge about \offset, but it didn't seem a good idea to try that in 
this case. Sigh, one day I'll be able to understand the source ...



150MB of disk space, Webmail over SSL with address book, calendar, 
and organizer. Access thru Imap, Imap-SSL, Pop3, Pop3-SSL and Smtp. 
5 different domains, antispam (spamassassin, bayes, razor, dcc) and mime filter,

Up to 200mb per outgoing message.
All free, is your current email having this functionalities ?
Check http://www.nemail.it for registration and more info.

This message is added automatically, for any information or support 
contact: [EMAIL PROTECTED]; if it is spam dont hesitate to report it.
 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] itemize and placefigure

2006-10-03 Thread plink
Hi,

as soon as I put a placefigure in an \item paragraph, the whole 
paragraph starts one line below the stopper. Is this a conceptual issue 
or just a weirdness?

What is the best way to start at the same height? I couldnĀ“t find 
anything in the wiki or the details ...

As an example, see:

\starttext

\startitemize
\item \input tufte
\item \placefigure[right,none]{}{\framed[height=1cm]{foo bar}}
\input tufte
\item \input tufte
\stopitemize

\stopttext



thanks,
Jak






















150MB of disk space, Webmail over SSL with address book, calendar, 
and organizer. Access thru Imap, Imap-SSL, Pop3, Pop3-SSL and Smtp. 
5 different domains, antispam (spamassassin, bayes, razor, dcc) and mime filter,

Up to 200mb per outgoing message.
All free, is your current email having this functionalities ?
Check http://www.nemail.it for registration and more info.

This message is added automatically, for any information or support 
contact: [EMAIL PROTECTED]; if it is spam dont hesitate to report it.
 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] itemize and placefigure

2006-10-03 Thread Mojca Miklavec
On 10/3/06, plink wrote:
 Hi,

 as soon as I put a placefigure in an \item paragraph, the whole
 paragraph starts one line below the stopper. Is this a conceptual issue
 or just a weirdness?

 What is the best way to start at the same height? I couldnĀ“t find
 anything in the wiki or the details ...

 As an example, see:

 \starttext

 \startitemize
 \item \input tufte
 \item \placefigure[right,none]{}{\framed[height=1cm]{foo bar}}
 \input tufte
 \item \input tufte
 \stopitemize

 \stopttext

\placefigure will always start a new paragraph, but usually you don't
notice that since you want it in a separate paragraph anyway. It has
to do with boxes, although I have no idea how exactly Hans implemented
itemize/itemgroup environment.

You can help yourself a bit by using
\item \strut\vskip -\lineheight\placefigure...

although there should be a better solution. (I would agree that the
empty line makes no sense in that special case and should better
disappear, but I have no right to judge about how serious backward
compatibility issue that is and how difficult it would be to fix it
without breaking the behaviour in other special cases) Hopefully
someone on the list will be able to help you better.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context