ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \placefloat[top]
@ 2002-08-07 13:56 Nigel King
  2002-08-08 10:33 ` \placefloat[top] Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Nigel King @ 2002-08-07 13:56 UTC (permalink / raw)


All,
The following minimal test does not seem to work on my set up
\starttext
\input knuth
\startbuffer
a table
\stopbuffer
\placetable
    [top]
    [fig:x]
    {caption}
    {\getbuffer}
\stoptext

If top is replaced by any other options then all is OK.

The error is shown up as
-------snip
 TeXExec 3.0 - ConTeXt / PRAGMA ADE 1997-2002

            executable : pdfetex
                format : cont-en
             inputfile : testTop
                output : standard
             interface : en
          current mode : none
               TeX run : 1

This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1)
entering extended mode
(./testTop.tex{/sw/share/texmf.local/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2002.7.12  fmt: 2002.7.24  int: english  mes: english
----------snip
..............
----------snip
systems        : begin file testTop at line 1
(/Users/Shared/Library/texmf/tex/context/sample/knuth.tex)
<testTop-testTop.tmp> (./testTop-testTop.tmp)
! Missing = inserted for \ifdim.
<to be read again> 
                   \zeropoint
\OTRONEsometopsfloat ...m \topinserted \zeropoint
                                                  \topofinserttrue \else
\to...

\p!compareprocessactionD ...ommalistelement {#3}#2
                                                  \expandafter
\quitcommalis...

\next2 #1,->\p!dodoprocessaction {#1}
                                     \doprocesscommaitem
<argument> ...boven =>{\placesometopsfloat [top]},
                                                   \v!onder
=>{\placesomebot...

\doprocesscommalist ...aitem \gobbleoneargument #1
                                                  ,]\relax \global \advance
...
...
l.10 ^^I{\getbuffer}
--------snip

regards
-- 
Nigel


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

* Re: \placefloat[top]
  2002-08-07 13:56 \placefloat[top] Nigel King
@ 2002-08-08 10:33 ` Hans Hagen
  2002-08-09 12:42   ` \placefloat[top] Nigel King
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2002-08-08 10:33 UTC (permalink / raw)
  Cc: ntg-context

At 02:56 PM 8/7/2002 +0100, Nigel King wrote:
>If top is replaced by any other options then all is OK.

oeps, a = got lost when optimizing the code (page-one.tex)

\def\OTRONEsometopsfloat[#1]%
   {\ifdim\topinserted=\zeropoint
      \topofinserttrue
    \else
      \topofinsertfalse
    \fi

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


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

* Re: \placefloat[top]
  2002-08-08 10:33 ` \placefloat[top] Hans Hagen
@ 2002-08-09 12:42   ` Nigel King
  0 siblings, 0 replies; 3+ messages in thread
From: Nigel King @ 2002-08-09 12:42 UTC (permalink / raw)
  Cc: ntg-context

>> If top is replaced by any other options then all is OK.
> 
> oeps, a = got lost when optimizing the code (page-one.tex)
> 
> \def\OTRONEsometopsfloat[#1]%
>  {\ifdim\topinserted=\zeropoint
>     \topofinserttrue
>   \else
>     \topofinsertfalse
>   \fi
> 
> Hans
I added a close bracket at the end and placed the code at the beginning of
my testfile the result was a missing table?

My whole file is below for clarity. There is nothing obvious wrong in the
log.

regards
-- 
Nigel

\def\OTRONEsometopsfloat[#1]%
   {\ifdim\topinserted=\zeropoint
      \topofinserttrue
    \else
      \topofinsertfalse
    \fi}
\starttext
\input knuth
\startbuffer
a table
\stopbuffer
\placetable
    [top]
    [fig:x]
    {caption}
    {\getbuffer}
\stoptext


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

end of thread, other threads:[~2002-08-09 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-07 13:56 \placefloat[top] Nigel King
2002-08-08 10:33 ` \placefloat[top] Hans Hagen
2002-08-09 12:42   ` \placefloat[top] Nigel King

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