[NTG-context] Multi-page centered natural TABLE

2014-08-25 Thread Christoph Reller
Hi!

How do I use a natural table to produce a table which is both:
- distributed across multiple pages (split=yes) and
- centered horizontally on each page.

I did try the following but it only works if split=no.

\starttext
\startalignment[middle]\dontleavehmode%
  \bTABLE[split=yes]
\bTABLEhead
  \bTR\bTH Thing \eTH\bTH Desc \eTH\eTR
\eTABLEhead
\bTABLEbody
  \dorecurse{40}{\bTR\bTD Foo \eTD\bTD Text. \eTD\eTR}
\eTABLEbody
  \eTABLE
\stopalignment
\stoptext

Thank you for any help.

Christoph
___
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
___

Re: [NTG-context] Multi-page centered natural TABLE

2014-08-25 Thread Wolfgang Schuster

Am 25.08.2014 um 15:38 schrieb Christoph Reller christoph.rel...@gmail.com:

 Hi!
 
 How do I use a natural table to produce a table which is both:
 - distributed across multiple pages (split=yes) and
 - centered horizontally on each page.
 
 I did try the following but it only works if split=no.
 
 \starttext
 \startalignment[middle]\dontleavehmode%
   \bTABLE[split=yes]
 \bTABLEhead
   \bTR\bTH Thing \eTH\bTH Desc \eTH\eTR
 \eTABLEhead
 \bTABLEbody
   \dorecurse{40}{\bTR\bTD Foo \eTD\bTD Text. \eTD\eTR}
 \eTABLEbody
   \eTABLE
 \stopalignment
 \stoptext
 
 Thank you for any help.

You have to use the float mechanism. To disable the caption and number you can 
use the “none”
keyword and to split the table at page breaks use the “split” keyword. There is 
no need to set
“split=yes” for the table unless you want to repeat the header which requires 
“split=repeat”.

\starttext

\startplacetable[location={none,split}]
  \bTABLE%[split=repeat]
\bTABLEhead
  \bTR\bTH Thing \eTH\bTH Desc \eTH\eTR
\eTABLEhead
\bTABLEbody
  \dorecurse{40}{\bTR\bTD Foo \eTD\bTD Text. \eTD\eTR}
\eTABLEbody
  \eTABLE
\stopplacetable

\stoptext

Wolfgang

___
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
___


[NTG-context] issues with footnotes

2014-08-25 Thread Pablo Rodriguez
Dear list,

using beta from 2014-08-21 09:59, I’m trying to generate a document that
has two bodies of notes: footnotes and linenotes.

Since the document isn’t minimal, I include only the notes definitions:

\definenote[dict]
\setupnote[dict][setups=setups:linenote, n=2, rule=off,
split=verystrict, scope=text, inbetween=\hskip1.5em]
\setupnotation[dict][number=no, width=broad]

\definelinenote[grammatical]
\setupnote[grammatical][setups=setups:linenote, rule=off, paragraph=yes,
split=verystrict, scope=text, inbetween=\hskip1.5em, compress=yes]
\setupnotation[grammatical][numbercommand=, alternative=serried,
distance=1em]

The output can be found at http://www.ousia.tk/unbalanced-columns.pdf.

In all four pages, columns in footnotes are unbalanced. Is there any way
to get balanced columns in footnotes?

The second issue is that the columnar footnotes don’t respect space
before and after defined in \setupnote. How can I avoid this? (BTW, this
also happens with the space before when paragraph=yes.)

BTW, if I add the following code to avoid widows and orphans:

\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=0
\stopsetups

The footnotes aren’t displayed in columns at all
(http://www.ousia.tk/no-columns.pdf).

Is there no way that I can avoid widows and orphans for the body text?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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
___


Re: [NTG-context] Etal and bibliography

2014-08-25 Thread Flavien Lambert
Hi guys, a quick reminder to ask if someone can bring me some help with the *et
al* issue below.
Thanks!


On 21 August 2014 16:32, Flavien Lambert petit.lep...@gmail.com wrote:

 Hi, a slight up concerning this question about et al in bibliographies.
 Best,
 Flavien.



 On 13 August 2014 13:52, Flavien Lambert petit.lep...@gmail.com wrote:

 Sorry about that! In the following example, the number of authors is cut
 after three but there is no *et al* added.
 Thanks,
 F.

 \definebtxdataset[example]
 \usebtxdataset[example][test.bib]
 \definebtxrendering[example][dataset=example,method=local,alternative=apa]
 \setupbtxlistvariant[etallimit=3,etaldisplay=3,etaltext={\it et al}]

 \starttext
 a\cite[example::onnela]
 \placebtxrendering[example]
 \stoptext

 @Article{onnela,
   author = {J. P. Onnela and D. J. Fenn and S. Reid and M. A. Porter
  and P. J. Mucha and M. D. Fricker and N. S. Jones},
   title = {Taxonomies of networks from community structure},
   journal = {Phys. Rev. E},
   volume = {86},
   number = {3},
   pages = {036104},
   year = {2012},
   entrydate = {2014/07/09},
 }



  On 13 August 2014 12:28, Wolfgang Schuster schuster.wolfg...@gmail.com
 wrote:


 Am 13.08.2014 um 05:43 schrieb Flavien Lambert petit.lep...@gmail.com:

 Hi,
 I would like to limit the number of authors in bibliographies to one and
 use *et al*. I read the documentation and tried to use etallimit=1 in
 \btxrenderinglistvariant without success. What is the exact procedure?


 Make a minimal example!

 Wolfgang



 ___
 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

 ___




___
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
___