ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš" <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Problems with (features of?) hangaround text
Date: Mon, 14 Feb 2011 21:30:38 +0100	[thread overview]
Message-ID: <op.vqwtxcazdk1lar@lk-2008-nbk> (raw)

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

Hello,

I'd need to place a picture and let it be flowed by some text from the right side.

My observation is that only one (= the first) paragraph flows the picture correctly (see the "\input tufte" only case); see the attached example.

It there a way how to:

- enable heads (e.g. \subject) in the hang-around area (see the "Ccc" text placement)?

- enable more than one paragraph in the hang-around area (see the knuth being \input)?

- enable "tabulate" (see "TTT ttt" and "UUU uuu" lines)? (The "C" "tabulate" style is defined in the way that the rightmost column should have fixed width of 2 in, whilst the leftmost column should have remaining width; "remaining" in this case should mean \textwidth minus width-of-the-picture (minus some gap).)

I can imagine that \(start/stop)hangaround command is a bit limited and/or experimental in use; anyway - is there another way how to "earmark" some area for a picture and to use the "remaining" space for text flowing "as usual" with less restrictions?

Best regards,

Lukas

[-- Attachment #2: t-Hang.mkiv --]
[-- Type: application/octet-stream, Size: 981 bytes --]

\definetabulate[C][|p|lw(2in)|]

\starttext
  \subsubject{Aaa}

    \starthangaround{\externalfigure[cow]}
      \input tufte
    \stophangaround

    \starthangaround{\externalfigure[cow]}
      \input knuth
    \stophangaround

    \page

    \startC
      \NC TTT \NC UUU \NC\NR
      \NC ttt \NC uuu \NC\NR
    \stopC

    \starthangaround{\externalfigure[cow]}

      Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy zzz

      \startC
        \NC TTT \NC UUU \NC\NR
        \NC ttt \NC uuu \NC\NR
      \stopC
      \input tufte
    \stophangaround

    \page

    \starthangaround{\externalfigure[cow]}

      \subsubject{Ccc}

      Aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk lll mmm nnn ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy zzz

      \startC
        \NC TTT \NC UUU \NC\NR
        \NC ttt \NC uuu \NC\NR
      \stopC
      \input tufte
    \stophangaround
\stoptext

[-- Attachment #3: t-Hang.pdf --]
[-- Type: application/pdf, Size: 19488 bytes --]

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

             reply	other threads:[~2011-02-14 20:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-14 20:30 Procházka Lukáš [this message]
2011-02-14 23:09 ` Aditya Mahajan
2011-02-15  7:24   ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-02-15  7:53     ` Problems with (features of?) hangaround text (case study 2) Procházka Lukáš Ing. - Pontex s. r. o.

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=op.vqwtxcazdk1lar@lk-2008-nbk \
    --to=lpr@pontex.cz \
    --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).