[NTG-context] bibliography and etaltext

2014-07-10 Thread Flavien Lambert
Hi, I would like the bibliography to rendered with only the first author
and then et al, so I tried

\definebtxrendering[example][dataset=example,method=local,alternative=apa]
\setupbtxlistvariant[etallimit=2,etaldisplay=2,etaltext={\it et al}]

but without success.


This was my first step. In fact, I would like to use it on my customized
bibliography below.

\definebtxdataset[example]
\usebtxdataset[example][../social.bib]
\definebtxrendering[example][dataset=example,method=local,alternative=flavien]
\setupbtxlistvariant[etallimit=2,etaldisplay=2,etaltext={\it et al}]
\startsetups btx:flavien:article
  \btxfield{author}\crlf
  {\bf \btxfield{journal}}: \btxfield{pages}, volume~\btxfield{volume}
(\btxfield{number}), \btxfield{year}\crlf
  {\it \btxfield{title}}

\startframedtext[frame=on,leftframe=on,rightframe=off,topframe=off,bottomframe=off,location=middle,align=right,width=0.9\textwidth,bodyfont=small]
\btxfield{abstract}
  \stopframedtext
\stopsetups

Thanks,
F.
___
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] ConTeXt garden

2014-07-10 Thread Otared Kavian
Hi,

Am I the only one not able to connect to ConTeXt garden? 
Since several days when trying to connect to:

http://wiki.contextgarden.net

I get a « Can’t open the page because the server where the page is located 
isn’t responding ».
I tried with Safari, Chrome and FireFox on Mac OS X 10.9, but the result is the 
same.
If there is a new URL address, could someone send it to the list?

Thanks in advance: OK
___
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] ConTeXt garden

2014-07-10 Thread H. Özoguz

Am I the only one not able to connect to ConTeXt garden?


No, you are not. Its down.
No new adress, afaik. Maybe it will be fixed these days.

Huseyin
___
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] ConTeXt garden

2014-07-10 Thread Hans Hagen

On 7/10/2014 9:11 AM, Otared Kavian wrote:

Hi,

Am I the only one not able to connect to ConTeXt garden?
Since several days when trying to connect to:

http://wiki.contextgarden.net

I get a « Can’t open the page because the server where the page is located 
isn’t responding ».
I tried with Safari, Chrome and FireFox on Mac OS X 10.9, but the result is the 
same.
If there is a new URL address, could someone send it to the list?


that server is down and taco is unreachable so we have to be patient

Hans

-
  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] Stop Hyphenating Across Columns and Page Breaks

2014-07-10 Thread Wolfgang Schuster

Am 09.07.2014 um 17:57 schrieb H. Özoguz h.oezo...@mmnetz.de:

 Adding one information: In TeX \brokenpenalty=1 should do the job. But 
 this is ignored in ConText. In this a bug?

ConTeXt integrated the penalty setups in the layout mechanism, you can create 
your own settings but you should apply them with \setuplayout.

To create your own setting use the following method. Use the setups environment 
where the values are set, the default parameters can be loaded with 
\directsetup{*reset}.

\startsetups[mypenalties]
\directsetup{*reset}
\widowpenalty\plustenthousand
\stopsetups

In the next step you load this setup with the \setuplayout command:

\setuplayout[setups=mypenalties]

When you don want to create you own setting you can choose between two 
predefined ones (the * is part of the name):

- *default (which uses different values in grid mode)
- *strict

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
___


Re: [NTG-context] example of better linebreak with 2014.05.17 compared to 2014.07.07

2014-07-10 Thread Hans Hagen

On 7/10/2014 5:06 AM, Sanjoy Mahajan wrote:

Hans Hagen pra...@wxs.nl writes:


it can happen if patterns or fonts changed ...so, best make two small
test files and we can look into it with tracing


There's just one test file for both (see below).  I think I verified
that the texgyrepagella font is the same in both context minimals.  But
maybe the hyphenation patterns did change.


how does the tex file look


I made the following minimal example (same for both versions):

\setupbodyfont[palatino]
\showframe
\setuplayout[width=5.4286in]

\starttext

Let's see whether this estimate is reasonable.  According to the
plane's technical documentation, the 747-400's four engines together
can provide roughly 1~meganewton of thrust.

\stoptext


fyi:

\setupbackend[space=yes]

can help you around the wrong threshold for spaces in your viewer.

\setuptolerance[tolerant]

makes the paragraph look better ... i'm not sure what makes the 
difference in file


BT
/F1 11.955168 Tf 1 0 0 1 263.3079 760.2084 Tm [0053]TJ
1 0 0 1 70.867 702.3845 Tm 
[00480033006A02150063-404006300330033-405007300400033006A-15004000330061-405006A-15004000430063-4050033006314006A0043004C001D006A0033-40300430063-40500610033001D00630052004E001D0024004900330059-798001C34002C002C005200611500300043004E003C-404006A90052-404006A-1500400033-40400550049001D004E003302150063]TJ
1 0 0 1 70.867 687.3545 Tm 
[006A0033002C0040004E0043002C001D0049-30200300052002C006E004C0033004E006A001D006A00430052004E002E-315006A-1500400033-3020065003A00650041003A007A007A02150063-3020038140052006E0061-3020033004E003C0043004E00330063-302006A90052003C200033006A-14004000330061-302002C001D004E-302005500610052240071004300300033]TJ
1 0 0 1 70.867 672.3244 Tm 
[00610052006E003C00400049250077-2500053-250004C0033003C15001D004E0033100073006A100052004E-25000520038-250006A-1500400061-10006E006315006A0059]TJ

ET

BT
/F1 11.955168 Tf 1 0 0 1 263.3079 760.2084 Tm [0053]TJ
1 0 0 1 70.867 702.3845 Tm 
[00480033006A0215250063-201006300330033-201007300400033006A-15004000330061-26A-15004000430063-2010033006314006A0043004C001D006A0033-2430063-20100610033001D00630052004E001D0024004900330059-317001C34002C002C005200611500300043004E003C-26A90052-26A-1500400033-20100550049001D004E00330215240063-26A0033002C00400041]TJ
1 0 0 1 70.867 687.3545 Tm 
[004E0043002C001D0049-16600300052002C006E004C0033004E006A001D006A00430052004E002E-184006A-1500400033-1660065003A00650041003A007A007A0215240063-1660038140052006E0061-1660033004E003C0043004E00330063-166006A90052003C200033006A-14004000330061-167002C001D004E-167005500610052250071004300300033-16600610052006E003C00400049240077]TJ
1 0 0 1 70.867 672.3244 Tm 
[0053-250004C0033003C15001D004E0033100073006A100052004E-25000520038-250006A-1500400061-10006E006315006A0059]TJ

ET

looks like a difference in font (kerning)

Hans

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