Re: [NTG-context] APA Bibliographic refs. | Hyphenated first names | Lower case first letter of Title

2017-05-22 Thread Richard Mahoney | Indica et Buddhica
On Mon, 22 May 2017 09:09:58 +0200
Alan Braslau  wrote:

> On Mon, 22 May 2017 11:41:57 +1200
> Richard Mahoney | Indica et Buddhica  wrote:
> 
> > 2.) And for the initial letter of the title, SGam.po.pa not
> > sGgam.po.pa:
> > 
> > @Book{guenther:sgam,
> >   title ="{s}{G}am.{p}o.{p}a, The Jewel Ornament of
> >   Liberation\,: {D}am.\-{c}hos {y}id.{b}žin.{g}yi
> >   {n}or.{b}u {t}har.{p}a {r}in.{p}o {c}he'i {r}gyan
> >   {ž}es.{b}ya.{b}a {t}heg.{p}a {c}hen.\-{p}o'{i}
> >   {l}am.{r}im.{g}yi {b}śad.{p}a",
> >   publisher ="Rider \& Co.",
> >   shorttitle =   "{s}{G}am.{p}o.{p}a",
> >   year = 1970,
> >   key =  "guenther:70a",
> >   address =  "London",
> >   author =   "H. V. Guenther",
> > }
> > 
> > 
> > I've also tried surrounding the hyphenated names, and their
> > initials, with curly brackets, though without success.
> 
> The "bibtex" practice of "protecting" using surrounding braces does
> not have any effect here. We take fields literally. However, there is
> the setup:
> 
> \setupbtx
>   [apa:list:title]
>   [command=\Word]
> 
> that you can change, setting command=, for example.

Thank you for suggesting this Alan. I've `corrected' the rendering --
SGam.po.pa to sGam.po.pa -- with this:

\setupbtx[apa:list:title:book][command=]
 
 
> As to the spurious space in a hyphenated name, this is a bug that
> needs to be parsed at the lua level (no space following a hyphen)
> that I have asked Hans to look into fixing.

Good to know. Thanks.


Best, Richard




--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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] Position of prime for derivatives

2017-05-22 Thread Otared Kavian
Hi Mikael,

You are correct, the position of \prime depends on whether there is a next 
character or not after it, and it seems that this has an effect on its position 
for characters having a subscript as in
$f_{1}''(x) \neq f''_{1}(x)$ 
$f'f''f'’'$
Best regards: OK

> On 22 May 2017, at 08:51, Mikael P. Sundqvist  wrote:
> 
> On Sun, May 21, 2017 at 10:29 PM, Otared Kavian  wrote:
>> Hi Mikael,
>> 
>> I agree with what you are reporting: the current behavior of the \prime 
>> operator is not completely satisfying when using ConTeXt mkiv, while in mkii 
>> it is the most satisfying (in my opinion…).
>> 
>> The turn around consisting in using $f^{‘’}$ or  $f^{\prime\prime}$, or even 
>> $f^{{}^{\prime\prime}}$, is not really satisfying either.
>> 
>> But I think (or I hope that) at some point Hans will fix it in mkiv.
>> 
>> Best regards: OK
>> 
>>> On 21 May 2017, at 08:14, Mikael P. Sundqvist  wrote:
>>> […]
>>> 
>>> And just for reference, the document below gives the attached pdf,
>>> compiled with lualatex. I think the location of the primes there look
>>> better. Sorry for spamming about this issue, but I think it is
>>> important for all people writing math with ConTeXt.
>>> 
>>> /Mikael
>>> 
>>> \RequirePackage{luatex85}
>>> \documentclass[border=2pt]{standalone}
>>> 
>>> \usepackage{unicode-math}
>>> \setmainfont{LucidaBrightOT}
>>> \setmathfont{LucidaBrightMathOT}
>>> 
>>> \begin{document}
>>> $f'f''$
>>> \end{document}
>>> ___
>>> 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
>> ___
> 
> Otared, thank you for confirmation. I also hope there will be a fix soon.
> 
> In the meantime, I put yet another test file. The location of the
> primes depends on the next character (I use, at the moment current
> version: 2017.05.15 21:48)
> 
> /Mikael
> 
> \definefontfamily[myface][rm][Lucida Bright OT]
> \definefontfamily[myface][mm][Lucida Bright Math OT]
> \setupbodyfont[myface,10pt]
> \starttext
> \startTEXpage[offset=2pt]
> $f'(x)f''(x)f'f''$
> \stopTEXpage
> \stoptext
> ___
> 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
___

Re: [NTG-context] APA Bibliographic refs. | Hyphenated first names | Lower case first letter of Title

2017-05-22 Thread Alan Braslau
On Mon, 22 May 2017 11:41:57 +1200
Richard Mahoney | Indica et Buddhica  wrote:

> 2.) And for the initial letter of the title, SGam.po.pa not
> sGgam.po.pa:
> 
> @Book{guenther:sgam,
>   title =  "{s}{G}am.{p}o.{p}a, The Jewel Ornament of
>   Liberation\,: {D}am.\-{c}hos {y}id.{b}žin.{g}yi
>   {n}or.{b}u {t}har.{p}a {r}in.{p}o {c}he'i {r}gyan
>   {ž}es.{b}ya.{b}a {t}heg.{p}a {c}hen.\-{p}o'{i}
>   {l}am.{r}im.{g}yi {b}śad.{p}a",
>   publisher =  "Rider \& Co.",
>   shorttitle = "{s}{G}am.{p}o.{p}a",
>   year =   1970,
>   key ="guenther:70a",
>   address ="London",
>   author = "H. V. Guenther",
> }
> 
> 
> I've also tried surrounding the hyphenated names, and their initials,
> with curly brackets, though without success.

The "bibtex" practice of "protecting" using surrounding braces does not
have any effect here. We take fields literally. However, there is the
setup:

\setupbtx
  [apa:list:title]
  [command=\Word]

that you can change, setting command=, for example.



As to the spurious space in a hyphenated name, this is a bug that needs
to be parsed at the lua level (no space following a hyphen) that I have
asked Hans to look into fixing.

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
___