ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Text around an image
Date: Thu, 16 Apr 2020 12:33:34 +0200	[thread overview]
Message-ID: <CACyK-eqyaLZ=Xa-bMkJtA+ELUCSLQx4YFg+xsgAsGY-b1WYc=g@mail.gmail.com> (raw)


[-- 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
___________________________________________________________________________________

             reply	other threads:[~2020-04-16 10:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-16 10:33 Fabrice Couvreur [this message]
2020-04-17  9:07 ` Fabrice Couvreur
2020-04-17 12:26   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACyK-eqyaLZ=Xa-bMkJtA+ELUCSLQx4YFg+xsgAsGY-b1WYc=g@mail.gmail.com' \
    --to=fabrice1.couvreur@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).