On 5/13/2015 5:57 PM, Wolfgang Schuster wrote:

Am 13.05.2015 um 17:34 schrieb Pablo Rodriguez <[email protected]>:

Hans,

I have the following sample:

    \setupindenting[yes, always, big]
    \starttext
    This is the first pagraph.

    \startbuffer[somextable]
    \startxtable[option=stretch, align=center]
        \startxrow
            \startxcell[width=.3\textwidth] a \stopxcell
            \startxcell[width=.2\textwidth] b \stopxcell
            \startxcell[width=.2\textwidth] c \stopxcell
            \startxcell[width=.3\textwidth] d \stopxcell
        \stopxrow
    \stopxtable
    \stopbuffer

    \startxtable[option=stretch, align=center]
        \startxrow
            \startxcell[width=.2\textwidth] a \stopxcell
            \startxcell b \stopxcell
            \startxcell c \stopxcell
            \startxcell[width=.2\textwidth] d \stopxcell
        \stopxrow
    \stopxtable

    This is the second paragraph.

    \getbuffer[somextable]

    This is the third paragraph.
    \stoptext

With beta from 2015.05.13 13:04, the second and third paragraphs aren’t
indented. With beta from 2015.03.25 22:13, all three paragraphs are
indented.

I’m afraid this may be a bug.


The missing indentation of the paragraph after the table is caused by the 
\noindentation
command which is called when you set “split=no” for your xtables. In older 
versions of
the code Hans used \noindent instead which didn’t lead to the indentation 
problem.

\setvalue{\??xtableflushsplit\v!no}%
   {\noindentation % better than \noindent (no \dontleavehmode here) % else no 
leftskip etc
   %\ignorespaces
    \clf_x_table_flush
      method {\v!normal}%
    \relax
    \removeunwantedspaces}

it's hard to find a robust solution

\setvalue{\??xtableflushsplit\v!no}%
  {% \noindent       % gives extra line after table
   % \dontleavehmode % no leftskip
   \kern\zeropoint   % yet another guess
   \ignorespaces
   \clf_x_table_flush
     method {\v!normal}%
   \relax
   \removeunwantedspaces}


(test with \leftskip3cm)



--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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 via email to