ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vnpenguin <vnpenguin@vnoss.org>
To: ConTeXt list <ntg-context@ntg.nl>
Subject: Float objects problem (was TABLE in Header ?)
Date: Mon, 19 Jul 2010 12:25:27 +0200	[thread overview]
Message-ID: <AANLkTimwrHPsqXb5dpGfvQEULKiYGnucscEqpk1UEeGi@mail.gmail.com> (raw)

On Mon, Jul 19, 2010 at 09:21, Hans Hagen <pragma@wxs.nl> wrote:
> On 18-7-2010 4:14, Vnpenguin wrote:
>>
>> Hi,
>> It's possible to put TABLE within header ? I'm looking for an example
>> in Wiki but I can not found yet.
>
> sure, best put the table in a buffer and then call that buffer
>
> (actually, your page can be a table itself ... see example in page-plg.*)
>
> Hans
>

Thanks,
It works with TABLE within header. But I have another problem with
float image. In fact, I have a logo in a cell of my TABLE which is
found in header. Here is the code :
%%======================================================
\startsetups[myheader]
\bTABLE[setups=mytable-header]
\bTR
	\bTD[nr=2] \placefigure[here,force]{none}{\externalfigure[logo][width=22mm]}
\eTD
	\bTD {\tfb Foobar} \eTD
	\bTD[nr=2] Right1\\ Right2 \\ Right3	\eTD
\eTR
\bTR \bTD {\tfa Title \\ Sub-title} \eTD \eTR
\eTABLE
\stopsetups
\setupheadertexts[{\setups[myheader]}]
%%============================================

I got some page OK with this logo[1]. But there are also some bad
pages where I can not found my logo at all [2], or there are many logo
in the page [3].

Is this problem of float objects ? How to fix this ?

All files of my test are downloadable at : https://my.vnoss.net/pub/context/
ConTeXt source file : https://my.vnoss.net/pub/context/test.tex
PDF created by context : https://my.vnoss.net/pub/context/test.pdf

I use ConTeXt 2010.06.23 on Windows XP.

E:\tex> context --version

MTXrun | main context file:
C:/context/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2010.06.23 12:45

Thank you in advance,

Links:
[1] https://my.vnoss.net/pub/context/screenshot-ok.png
[2] https://my.vnoss.net/pub/context/screenshot-ko-1.png
[3] https://my.vnoss.net/pub/context/screenshot-ko-2.png
___________________________________________________________________________________
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:[~2010-07-19 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19 10:25 Vnpenguin [this message]
2010-07-19 10:31 ` Hans Hagen
2010-07-19 19:17   ` Vnpenguin

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=AANLkTimwrHPsqXb5dpGfvQEULKiYGnucscEqpk1UEeGi@mail.gmail.com \
    --to=vnpenguin@vnoss.org \
    --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).