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
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
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
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
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
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
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
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
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
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
participants (2)
-
Peter Münster
-
Wolfgang Schuster