Re: [NTG-context] align=broad not working in typing

2018-11-13 Thread Pablo Rodriguez
On 11/13/18 8:13 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 13.11.18 um 19:58:
>> Dear list,
>>
>> I have the following sample:
>> [...]
>> The broad value for align doesn’t seem to work in typing.
>>
>> Could anyone confirm this or tell me what I may be missing?
> 
> Load the scite module (\usemodule[scite]) or add spaces between the 
> arguments (\setuptyping [...] [...]).

Many thanks for your reply, Wolfgang.

I totally overlooked that spaces were missing in the code, so the lines
couldn’t be split.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tabulate & repeating header

2018-11-13 Thread Wolfgang Schuster

Procházka Lukáš Ing. schrieb am 12.11.18 um 13:17:

Hello,

the following code:


\starttext
  \bgroup
    \setuptabulate[split=yes,header=repeat]

    \starttabulatehead
  \FL
  \NC {\bf format char} \NC {\bf meaning} \NC \AR
  \LL
    \stoptabulatehead


For the moment use (with a empty argument):

\starttabulatehead[]
...
\stoptabulatehead


\starttabulate[|r|l|]
  \NC c \NC centered  \NC \AR
  \NC l \NC left aligned  \NC \AR
  \NC r \NC right aligned \NC \AR
    \stoptabulate
  \egroup
\stoptext


has been copied from wiki - 
https://wiki.contextgarden.net/Tabulate#Headers and it should generate 
(repeating) header,

but no header appears.

Has anything changed?


Hans rewrote the code for tabulate in MkIV and it’s possible some parts 
don’t work as expected.


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] align=broad not working in typing

2018-11-13 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 13.11.18 um 19:58:

Dear list,

I have the following sample:

 \showframe
 \setuppapersize[A6]
 \setuptyping[TEX][align={right, broad}]
 \starttext
 \startTEX
 \showframe
 \setuppapersize[A5]
 \setuptyping[TEX][align={right,broad}]
 \starttext
 \startTEX
 \stopTEX
 \stoptext
 \stopTEX
 \stoptext

The broad value for align doesn’t seem to work in typing.

Could anyone confirm this or tell me what I may be missing?


Load the scite module (\usemodule[scite]) or add spaces between the 
arguments (\setuptyping [...] [...]).


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] align=broad not working in typing

2018-11-13 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\showframe
\setuppapersize[A6]
\setuptyping[TEX][align={right, broad}]
\starttext
\startTEX
\showframe
\setuppapersize[A5]
\setuptyping[TEX][align={right,broad}]
\starttext
\startTEX
\stopTEX
\stoptext
\stopTEX
\stoptext

The broad value for align doesn’t seem to work in typing.

Could anyone confirm this or tell me what I may be missing?

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Two questions on bibliography

2018-11-13 Thread Alan Braslau
On Mon, 12 Nov 2018 17:50:09 +0100
"Joshua Moerman"  wrote:

> I am using the APA style (context version 2018.10.03 16:02).
> 
> Q1: Shouldn't the order of multiple citations (using a single \cite command)
> be the same as the order in the publications list? In the example below, the
> orders are different.

In the APA specification, the order of the bibliography list as well as the 
order of the citations within a pair of parenthesis is to be alphabetical then 
year ("authoryear"). You can set a different sort order if you do not want to 
follow the APA specification.


> Q2: Is there a way to capitalise the first letter of a last name in
> \cite[...]? For example, this may be necessary when starting a new sentence.
> But it is also generally preferred in Dutch when the last name starts with
> 'van' (or something similar).

You are referring to a "van" or "particle" element of a name. These have 
specific rules (and all is not straight yet, for these rules depend on the 
language and are not clear).

Alan
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Two questions on bibliography

2018-11-13 Thread Joshua Moerman
Dear mailing list,

My questions are related to one by Rik a few weeks back (but he did not get
an answer yet). I am using the APA style (context version 2018.10.03 16:02).

Q1: Shouldn't the order of multiple citations (using a single \cite command)
be the same as the order in the publications list? In the example below, the
orders are different.

Q2: Is there a way to capitalise the first letter of a last name in
\cite[...]? For example, this may be necessary when starting a new sentence.
But it is also generally preferred in Dutch when the last name starts with
'van' (or something similar).


\startbuffer[biblio]
@article{PAPER1,
author= {First Author},
title = {A paper},
year  = {2016}
}

@article{PAPER2,
author= {First Writer},
title = {Another paper},
year  = {2017}
}

@article{PAPER3,
author= {Jan van Amsterdam},
title = {Yet another paper},
year  = {2018}
}
\stopbuffer

\usebtxdataset[biblio.buffer]
\usebtxdefinitions[apa]

\starttext
% Order is 3, 1, 2
We refer to \cite[authoryears][PAPER1, PAPER2, PAPER3].

\cite[authoryears][PAPER3] provides background.

\blank
% Order is 1, 3, 2 (unlike before)
\placelistofpublications
\stoptext

\showbtxdatasetcompleteness


Thanks in advance,
All the best,
Joshua Moerman

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] align=end not working

2018-11-13 Thread Hans Hagen

On 11/13/2018 9:34 AM, Henri Menke wrote:

bump


fixed in next beta ... (but no beta uploaded yet ... not sure when)



On 11/10/18 5:56 AM, Aditya Mahajan wrote:

Hi,

According to an old thread
(https://mailman.ntg.nl/pipermail/ntg-context/2016/085877.html), the
option `align=end` should align the last line to be flush right.
However, that is not working. The example from that thread:

\starttext

\showframe \showboxes

\setupalign[end]

\dostepwiserecurse{5}{8}{1}{
  \hsize #1cm
  What does happen with a short paragraph?\par
}

\stoptext

gives the attached pdf.

Thanks,
Aditya

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] align=end not working

2018-11-13 Thread Henri Menke
bump

On 11/10/18 5:56 AM, Aditya Mahajan wrote:
> Hi,
> 
> According to an old thread
> (https://mailman.ntg.nl/pipermail/ntg-context/2016/085877.html), the
> option `align=end` should align the last line to be flush right.
> However, that is not working. The example from that thread:
> 
> \starttext
> 
> \showframe \showboxes
> 
> \setupalign[end]
> 
> \dostepwiserecurse{5}{8}{1}{
>  \hsize #1cm
>  What does happen with a short paragraph?\par
> }
> 
> \stoptext
> 
> gives the attached pdf.
> 
> Thanks,
> Aditya
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___