ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* underscore added by xtable
@ 2016-09-08 10:45 Peter Münster
  2016-09-08 12:40 ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Münster @ 2016-09-08 10:45 UTC (permalink / raw)
  To: ntg-context

Hi,

Just after the table, there is an unwanted underscore:

--8<---------------cut here---------------start------------->8---
\starttext
bla bla:\crlf
\startxtable[split=yes]
  \startxrow \startxcell bla \stopxcell \stopxrow
\stopxtable
\stoptext
--8<---------------cut here---------------end--------------->8---

How could I avoid that please?

TIA for any help,
-- 
           Peter
___________________________________________________________________________________
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] 10+ messages in thread

* Re: underscore added by xtable
  2016-09-08 10:45 underscore added by xtable Peter Münster
@ 2016-09-08 12:40 ` Wolfgang Schuster
  2016-09-08 13:01   ` Peter Münster
  0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2016-09-08 12:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Peter Münster <mailto:pmlists@free.fr>
> 8. September 2016 um 12:45
> Hi,
>
> Just after the table, there is an unwanted underscore:
>
> --8<---------------cut here---------------start------------->8---
> \starttext
> bla bla:\crlf
Use \par or add a empty line between the text and the table.
> \startxtable[split=yes]
> \startxrow \startxcell bla \stopxcell \stopxrow
> \stopxtable
> \stoptext
> --8<---------------cut here---------------end--------------->8---
>
> How could I avoid that please?
Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1748 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
___________________________________________________________________________________

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

* Re: underscore added by xtable
  2016-09-08 12:40 ` Wolfgang Schuster
@ 2016-09-08 13:01   ` Peter Münster
  2016-09-08 13:05     ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Münster @ 2016-09-08 13:01 UTC (permalink / raw)
  To: ntg-context

On Thu, Sep 08 2016, Wolfgang Schuster wrote:

>  bla bla:\crlf
>
> Use \par or add a empty line between the text and the table.

With whitespace, the result is not the same:

--8<---------------cut here---------------start------------->8---
\setupwhitespace[1ex]
\starttext
bla bla\crlf
bla bla\par
bla bla
\stoptext
--8<---------------cut here---------------end--------------->8---

-- 
           Peter
___________________________________________________________________________________
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] 10+ messages in thread

* Re: underscore added by xtable
  2016-09-08 13:01   ` Peter Münster
@ 2016-09-08 13:05     ` Wolfgang Schuster
  2016-09-08 13:34       ` Peter Münster
  0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2016-09-08 13:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Peter Münster <mailto:pmlists@free.fr>
> 8. September 2016 um 15:01
>
> With whitespace, the result is not the same:
>
> --8<---------------cut here---------------start------------->8---
> \setupwhitespace[1ex]
> \starttext
> bla bla\crlf
> bla bla\par
> bla bla
bla bla\blank[nowhite]
bla bla
> \stoptext
> --8<---------------cut here---------------end--------------->8---
Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1627 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
___________________________________________________________________________________

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

* Re: underscore added by xtable
  2016-09-08 13:05     ` Wolfgang Schuster
@ 2016-09-08 13:34       ` Peter Münster
  2016-09-08 13:41         ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Münster @ 2016-09-08 13:34 UTC (permalink / raw)
  To: ntg-context

On Thu, Sep 08 2016, Wolfgang Schuster wrote:

> bla bla\blank[nowhite]
> bla bla

Sorry, but the result is still not the same:

--8<---------------cut here---------------start------------->8---
\setupwhitespace[1ex]
\starttext
bla bla:\crlf
\startxtable
  \startxrow \startxcell bla \stopxcell \stopxrow
\stopxtable

bla bla\blank[nowhite]
\startxtable
  \startxrow \startxcell bla \stopxcell \stopxrow
\stopxtable
\stoptext
--8<---------------cut here---------------end--------------->8---

-- 
           Peter
___________________________________________________________________________________
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] 10+ messages in thread

* Re: underscore added by xtable
  2016-09-08 13:34       ` Peter Münster
@ 2016-09-08 13:41         ` Wolfgang Schuster
  2016-09-08 14:21           ` Peter Münster
  0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2016-09-08 13:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Peter Münster <mailto:pmlists@free.fr>
> 8. September 2016 um 15:34
>
> Sorry, but the result is still not the same:
>
> --8<---------------cut here---------------start------------->8---
> \setupwhitespace[1ex]
> \starttext
> bla bla:\crlf
> \startxtable
> \startxrow \startxcell bla \stopxcell \stopxrow
> \stopxtable
>
> bla bla\blank[nowhite]
> \startxtable
> \startxrow \startxcell bla \stopxcell \stopxrow
> \stopxtable
bla bla\blank[depth]
\startxtable
   \startxrow \startxcell bla \stopxcell \stopxrow
\stopxtable
> \stoptext
> --8<---------------cut here---------------end--------------->8---
Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1876 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
___________________________________________________________________________________

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

* Re: underscore added by xtable
  2016-09-08 13:41         ` Wolfgang Schuster
@ 2016-09-08 14:21           ` Peter Münster
  2016-09-08 14:25             ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Münster @ 2016-09-08 14:21 UTC (permalink / raw)
  To: ntg-context

On Thu, Sep 08 2016, Wolfgang Schuster wrote:

> bla bla\blank[depth]

I'm really really sorry, Wolfgang, but the result is not the same, when
the white-space needs stretching:

--8<---------------cut here---------------start------------->8---
\setupalign[height]
\setupwhitespace[0.5ex plus 0.2ex]
\setupxtable[frame=off, boffset=0pt, toffset=0pt, rulethickness=0pt]
\starttext
Good\crlf
\startxtable
  \startxrow \startxcell spacing \stopxcell \stopxrow
  \startxrow \startxcell here. \stopxcell \stopxrow
\stopxtable

Unwanted\blank[depth]
\startxtable
  \startxrow \startxcell vertical \stopxcell \stopxrow
  \startxrow \startxcell space. \stopxcell \stopxrow
\stopxtable

\framed[height=16cm]{bla}

\framed[height=16cm]{bla}
\stoptext
--8<---------------cut here---------------end--------------->8---

Nevertheless, thanks for your efforts!

-- 
           Peter
___________________________________________________________________________________
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] 10+ messages in thread

* Re: underscore added by xtable
  2016-09-08 14:21           ` Peter Münster
@ 2016-09-08 14:25             ` Wolfgang Schuster
  2016-09-08 14:58               ` Peter Münster
  0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2016-09-08 14:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Peter Münster <mailto:pmlists@free.fr>
> 8. September 2016 um 16:21
>
> I'm really really sorry, Wolfgang, but the result is not the same, when
> the white-space needs stretching:
>
> --8<---------------cut here---------------start------------->8---
> \setupalign[height]
> \setupwhitespace[0.5ex plus 0.2ex]
> \setupxtable[frame=off, boffset=0pt, toffset=0pt, rulethickness=0pt]
> \starttext
> Good\crlf
> \startxtable
> \startxrow \startxcell spacing \stopxcell \stopxrow
> \startxrow \startxcell here. \stopxcell \stopxrow
> \stopxtable
>
> Unwanted\blank[depth]
\blank[fixed,depth]
> \startxtable
> \startxrow \startxcell vertical \stopxcell \stopxrow
> \startxrow \startxcell space. \stopxcell \stopxrow
> \stopxtable
>
> \framed[height=16cm]{bla}
>
> \framed[height=16cm]{bla}
> \stoptext
> --8<---------------cut here---------------end--------------->8---
>
Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2147 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
___________________________________________________________________________________

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

* Re: underscore added by xtable
  2016-09-08 14:25             ` Wolfgang Schuster
@ 2016-09-08 14:58               ` Peter Münster
  2016-09-08 15:15                 ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Münster @ 2016-09-08 14:58 UTC (permalink / raw)
  To: ntg-context

On Thu, Sep 08 2016, Wolfgang Schuster wrote:

> \blank[fixed,depth]

Thanks, it works even in my original document! (Beforehand I'd tried
combinations of line, nowhite, none..., but without success...)

Does it mean, that \crlf is deprecated and should always be replaced by
\blank[...] ?  Or is this just a work-around, until the "underscore-bug"
is fixed?

-- 
           Peter
___________________________________________________________________________________
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] 10+ messages in thread

* Re: underscore added by xtable
  2016-09-08 14:58               ` Peter Münster
@ 2016-09-08 15:15                 ` Wolfgang Schuster
  0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2016-09-08 15:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Peter Münster <mailto:pmlists@free.fr>
> 8. September 2016 um 16:58
>
> Thanks, it works even in my original document! (Beforehand I'd tried
> combinations of line, nowhite, none..., but without success...)
>
> Does it mean, that \crlf is deprecated and should always be replaced by
> \blank[...] ? Or is this just a work-around, until the "underscore-bug"
> is fixed?
The problem with \crlf is that you start a new line for the following text
but you don’t end the current paragraph which is necessary when
you use "split=yes" for xtables.


BTW: The extra character in your document is a hyphen and not a underscore
and it inserted by the \nointerlineskip command which you see in the 
error message.

%% begin error message
tex error > tex error on line 9 in file /Users/wolf/TeX/test/test.tex: ! 
You can't use `\prevdepth' in horizontal mode


\nointerlineskip ->\prevdepth
                               -\thousandpoint
l.9 \nointerlineskip
%% end error message

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2068 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
___________________________________________________________________________________

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

end of thread, other threads:[~2016-09-08 15:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08 10:45 underscore added by xtable Peter Münster
2016-09-08 12:40 ` Wolfgang Schuster
2016-09-08 13:01   ` Peter Münster
2016-09-08 13:05     ` Wolfgang Schuster
2016-09-08 13:34       ` Peter Münster
2016-09-08 13:41         ` Wolfgang Schuster
2016-09-08 14:21           ` Peter Münster
2016-09-08 14:25             ` Wolfgang Schuster
2016-09-08 14:58               ` Peter Münster
2016-09-08 15:15                 ` Wolfgang Schuster

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