Re: [NTG-context] Itemize lists run into floats - how to add additional spacing

2018-12-19 Thread Marco Patzer
On Wed, 19 Dec 2018 18:29:33 +0100
Hans Hagen  wrote:

> \setupfloat
>[figure]
>[default=left,margin=1cm]

Thanks for the eye-opener. I realised I applied the margin on the item
group instead of the float. Sometimes it's the simple thingsā€¦

Marco
___
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
___

Re: [NTG-context] Itemize lists run into floats - how to add additional spacing

2018-12-19 Thread Hans Hagen

On 12/19/2018 1:15 PM, Marco Patzer wrote:

Hi!

The bullet of itemize lists runs into the boxes and caption of
floats. How to add spacing so the bullet doesn't touch the float?

Example:

\setupexternalfigures
   [location=default]

\setupfloat
   [figure]
   [default=left]

\setupitemize
   [packed, autointro]

\starttext
\startitemize
   \startitem
 Foo
 \startplacefigure [title=Lorem ipsum dolor sit amet consectetur]
\externalfigure [hacker]
 \stopplacefigure
 Bar
   \stopitem
   \dorecurse{15}{%%
 \startitem Foobar \stopitem
   }
\stopitemize
\stoptext


\setupfloat
  [figure]
  [default=left,margin=1cm]



-
  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
___

[NTG-context] Itemize lists run into floats - how to add additional spacing

2018-12-19 Thread Marco Patzer
Hi!

The bullet of itemize lists runs into the boxes and caption of
floats. How to add spacing so the bullet doesn't touch the float?

Example:

\setupexternalfigures
  [location=default]

\setupfloat
  [figure]
  [default=left]

\setupitemize
  [packed, autointro]

\starttext
\startitemize
  \startitem
Foo
\startplacefigure [title=Lorem ipsum dolor sit amet consectetur]
   \externalfigure [hacker]
\stopplacefigure
Bar
  \stopitem
  \dorecurse{15}{%%
\startitem Foobar \stopitem
  }
\stopitemize
\stoptext

Marco
___
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
___