ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pavel Dohnal <pavel.dohnal@twobits.cz>
To: ntg-context@ntg.nl
Subject: floating framed inside another frame
Date: Thu, 19 Jan 2012 14:47:02 +0100	[thread overview]
Message-ID: <CAKBDiW4Oh=RqmTP=6hK=FqrXD8L5UCYu5BJT3m_AWgP2NGU5ow@mail.gmail.com> (raw)


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

Hello,
I have page where is on left side a picture, in the middle is some texts
and I want on the right side of the page floated letter. Here is code:

\starttext
\startfiguretext%
[left]%
{none}%
{\externalfigure[
http://farm6.static.flickr.com/5260/5543764878_c5b27b5aed_s.jpg][width=26.5mm,height=26.5mm]}%
\framed[frame=off,width=96mm,align=flushleft]{%
\placefigure[right,none,fit]{none}%
{%
\framed[frame=off,background=letteroverlay,height=1cm]{ A}%
}%
{\bfb Bla bla bla}%

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc lobortis
accumsan sem vitae molestie. Mauris tincidunt elementum mi, semper aliquet
sapien convallis sed.%

\blank[medium]
\startcolor[gray]%
Duis et massa nisi, quis tincidunt ligula. Nunc sed dui vitae est
vestibulum vehicula. Maecenas ut sem eget massa accumsan venenatis. Integer
diam risus, pellentesque ut interdum at, rhoncus sed justo. Nullam rutrum
porttitor molestie. Integer fringilla purus eget enim luctus vehicula sed
ac nunc.
\stopcolor%

}%
\stopfiguretext%
\stoptext

Problem is, that if I use the framed for letter "A" picture disapears. How
to have floated framed boxi inside another frame?
Thank You
  Pavel Dohnal

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

[-- Attachment #2: Type: text/plain, Size: 485 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:[~2012-01-19 13:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAKBDiW4Oh=RqmTP=6hK=FqrXD8L5UCYu5BJT3m_AWgP2NGU5ow@mail.gmail.com' \
    --to=pavel.dohnal@twobits.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).