ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problems with (features of?) hangaround text
@ 2011-02-14 20:30 Procházka Lukáš
  2011-02-14 23:09 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Procházka Lukáš @ 2011-02-14 20:30 UTC (permalink / raw)
  To: ConTeXt

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

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

end of thread, other threads:[~2011-02-15  7:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14 20:30 Problems with (features of?) hangaround text Procházka Lukáš
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.

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).