Re: [NTG-context] Etal and bibliography

2014-09-05 Thread Flavien Lambert
Hi all, no one on this small issue?
Thanks,
Flavien.


On 26 August 2014 00:06, Flavien Lambert  wrote:

> 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  wrote:
>
>> Hi, a slight up concerning this question about et al in bibliographies.
>> Best,
>> Flavien.
>>
>>
>>
>> On 13 August 2014 13:52, Flavien Lambert  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 >> > wrote:
>>>

 Am 13.08.2014 um 05:43 schrieb Flavien Lambert >>> >:

 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
___

Re: [NTG-context] multi-colunm table issue

2014-09-05 Thread Hans Hagen

On 9/4/2014 4:24 PM, Thomas De Maet wrote:

Hello !

I'm interested for some time (say 2-3 years) in the resolution of a
specific bug, described in the documentation here

http://wiki.contextgarden.net/TABLE#Multipage_TABLEs

as

*Beware:*Split tables often begin not on the page (or in the column, if
you use them) where they/could/start, but on/in the next one. This is a
known limitation due to the complicated calculation of remaining space
on the page. That won't become better before this calculations are newly
written in Lua. (Said Hans on 2010-09-24.)

Simply, do you have any shedule for this issue to be solved ?


the rewrite is called extreme tables and is around for a while ... 
xtable etc



-
  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 : 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] the new simplefonts stuff

2014-09-05 Thread Keith McKay
Wolfgang's wee bit of code is brilliant for finding out the details of 
font names.  The icing on the cake would be if it printed the details in 
its own font so we could see what it looked like.


But in any case a useful bit of code.  Thanks Wolfgang.

Best Wishes
Keith McKay


On 04/09/2014 11:24, Wolfgang Schuster wrote:

Am 04.09.2014 um 09:15 schrieb Sandra Snan :


%% Just as a test for \definefontfamily, which works, text shows up in
%% DejaVu Serif which is a ttf font.
% \definefontfamily [five] [serif] [DejaVu Serif]

%% This is what fontforge reports as the family name for
%% Baskervaldx-Reg. It works for me, text shows up in Baskervaldx, which
%% is an otf font.
% \definefontfamily [five] [serif] [Baskervaldx]

%% Fontforge called this the ``name for humans'', it didn't fly, text didn't 
show up:
% \definefontfamily [five] [serif] [Baskervaldx Regular]

%% This is straight out of the manual, works, text shows up bookman.
%% Wanted this look, but with \definefontfamily.
% \definetypeface [five] [rm] [serif] [bookman]

%% None of these worked. Text doesn't show up at all.
% \definefontfamily [five] [rm] [URW Bookman L Light]
% \definefontfamily [five] [rm] [urwbookmanlligh]
% \definefontfamily [five] [rm] [URWBookmanL-Ligh]
% \definefontfamily [five] [rm] [URW Bookman L]

\setupbodyfont [five]
\starttext
Hello, snow! Won't you go, and return in december?
\stoptext

Below is a short example which shows the different names in a font, as you can
see in the output the names in each font are different except from the 
familyname
entry which is the same for all.

\definefontfamily [five] [rm] [URW Bookman L]

\setupbodyfont [five]

\starttext

\dolookupfontbyspec{fontname=urwbookman*}

\dorecurse{\dolookupnoffound}
   {\starttabulate[|l|l|]
\NC Familyname \EQ \dolookupgetkeyofindex{familyname}{#1} \NC\NR
\NC Fontname   \EQ \dolookupgetkeyofindex{fontname}{#1}   \NC\NR
\NC Fullname   \EQ \dolookupgetkeyofindex{fullname}{#1}   \NC\NR
\NC Filename   \EQ \dolookupgetkeyofindex{filename}{#1}   \NC\NR
\NC Rawname\EQ \dolookupgetkeyofindex{rawname}{#1}\NC\NR
\stoptabulate
\page}

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


___
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-09-05 Thread Hans Hagen

On 9/5/2014 9:52 AM, Flavien Lambert wrote:

Hi all, no one on this small issue?


fixed in next beta (was not that small)


Thanks,
Flavien.


On 26 August 2014 00:06, Flavien Lambert mailto:petit.lep...@gmail.com>> wrote:

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 mailto: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 mailto: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
mailto:schuster.wolfg...@gmail.com>> wrote:


Am 13.08.2014 um 05:43 schrieb Flavien Lambert
mailto: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
___




--

-
  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 : 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] Bussproofs or derivation trees

2014-09-05 Thread Trond Thorbjørnsen
Hello again,

Temporary I am using a combination of framed and align, see code under. Not
a good solution, but solves my current need.

Is there an easy way to make an inline baseline shift? I want to make a
label for each line, shifted down half a line.

-Trond

\startlinecorrection
\def\borderdt{\mframed[frame=off,
topframe=on,
bottomframe=on,
frameoffset=\dimexpr.254\baselineskip\relax,
height=\lineheight
]}
\def\borderdttop{\mframed[frame=off,
bottomframe=on,
frameoffset=\dimexpr.254\baselineskip\relax,
height=\lineheight
]}

\definehspace[spacedt] [2\emspaceamount]

\startformula
\startalign
\NC \borderdttop{\neg P \vdash \neg Q, P \text{\hspace[spacedt]}} \NC
\borderdttop{ \hspace[spacedt]  Q, \neg P \vdash \neg Q}  \NR
\NC \borderdt{(P\pil Q), \neg P} \NC \borderdt{\vdash \neg Q}\NR
\NC \borderdt{(P\pil Q)} \NC \borderdt{\vdash (\neg P\pil \neg Q)}   \NR
\NC \NC \borderdt{\vdash (P\pil Q)\pil (\neg P\pil \neg Q)\pil R}  \NR
\stopalign
\stopformula
\stoplinecorrection



On Thu, Sep 4, 2014 at 9:11 PM, Trond Thorbjørnsen 
wrote:

> Hello,
>
> I have searched for a solution for making proof trees, but I have failed
> to find a working setup.
>
> Does anyone know of a solution?
>
> I have used bussproofs.sty with LaTeX, and have seen that discussed on
> this list some years ago:
> http://www.ntg.nl/pipermail/ntg-context/2010/051489.html
> (How) can I use this package in ConTeXt?
>
> I have also looked at this metapost package, but it seems this package
> relies deeper on LaTeX:
> http://tug.ctan.org/graphics/metapost/contrib/macros/drv/drv.mp
>
> Have anyone other suggestions?
>
> --
> Trond Thorbjørnsen
>
___
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
___