ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Text around an image
@ 2020-04-16 10:33 Fabrice Couvreur
  2020-04-17  9:07 ` Fabrice Couvreur
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Couvreur @ 2020-04-16 10:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1560 bytes --]

Hi,
I know that this question has been raised several times (especially by me
!), but the solutions provided sometimes work and sometimes not, especially
in this example.
Thanks for your help.
Fabrice

  \useMPlibrary [dum]

   \define\ItemCommand
   {\hskip\zeropoint\relax\autoinsertnextspace}

  \setupitemgroup
    [itemize]
    [color=black,
     style=bold,
     distance=\zeropoint]

  \setupitemgroup
    [itemize:1]
    [option={n,packed,fit,intext},
    command=\ItemCommand]

  \setupitemgroup
    [itemize:2]
    [lefttext=,
    righttext=,
    option={a,text}]

  \starttext

    \startitemize
      \startitem
        Justifier que \m{x>4} et \m{y>2}.
      \stopitem
      \placefigure[right,none]{}{\externalfigure [dummy]}
      \startitem
        Pour calculer la valeur de \m{y} en fonction de \m{x}, l'urbaniste
a écrit la fonction en Python.

        \startitemize
          \startitem
            Son algorithme est-il correct ?
          \stopitem\par
          \startitem
            Programmer une fonction \m{A(x)} qui renvoie l'aire totale du
terrain en fonction de la longueur \m{x}.
          \stopitem
        \stopitemize
      \stopitem
      \startitem
        On considère la fonction suivante.

        \startitemize
          \startitem
            Qu'affiche l'instruction ?
          \stopitem\par
          \startitem
            Interpréter les résultats renvoyés.
          \stopitem
        \stopitemize
      \stopitem
    \stopitemize
  \stoptext

[-- Attachment #1.2: Type: text/html, Size: 2440 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-17 12:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-16 10:33 Text around an image Fabrice Couvreur
2020-04-17  9:07 ` Fabrice Couvreur
2020-04-17 12:26   ` 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).