Re: [NTG-context] location of command reference

2017-04-15 Thread Wolfgang Schuster


Look for the files at the following path: 
tex/texmf-context/doc/context/documents/general/qrcs


Wolfgang


Meer, Hans van der 
14. April 2017 um 15:09
Where is the handy Command Reference to be found in the beta 
distribution?
I do not see it 
in ./tex/texmf-context/doc/context/documents/general/manuals

and could not spot it elsewhere.

This is but an old one .

Hans van der Meer




___
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] Text around a figure

2017-04-15 Thread Fabrice Couvreur
Hi Rik,
Thank you, I did not follow the forum this week, I should have seen it.
Fabrice


2017-04-14 18:44 GMT+02:00 Rik Kabel :

> On 2017-04-14 10:36, Fabrice Couvreur wrote:
>
> Is it possible that the first line of text starts at the top of the figure?
>
> Blablablablablablablablablablablabla
> ##  blablablablablablablabla
>Fig   blablablablablablablabla
> ##  blablablablablablablabla
>
>
> \starttext
>
> \placefigure [left,none] {} {\externalfigure[rafting.jpg][width=4cm]}
> \input knuth
>
>
>
> \stoptext
>
>
> This came up about a week ago. See https://www.mail-archive.com/
> ntg-context@ntg.nl/msg84828.html (and the follow-up for your answer).
>
> --
> Rik
>
> 
> ___
> 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] location of command reference

2017-04-15 Thread Pablo Rodriguez
On 04/14/2017 03:09 PM, Meer, Hans van der wrote:
> Where is the handy Command Reference to be found in the beta distribution?
> I do not see it in ./tex/texmf-context/doc/context/documents/general/manuals
> and could not spot it elsewhere.

Hans,

the ConTeXt Suite has it at
tex/texmf-context/tex/context/interface/mkiv/i-context.pdf.

I hope it helps,

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
___

[NTG-context] Character translation with Luaotfload

2017-04-15 Thread Hans Åberg
Since Luaotfload is extracted from ConTeXt, I figure people here will know this:

In the code below, math mode '.' and ',' are translated into ':'and ';', which 
seems to occur because that is what ASCII/Unicode has in those positions, 
unlike CMMI. So how to correct this?

The issue is really trying to find get texinfo.tex working with Unicode fonts 
using LuaTeX, as it probably does not work with ConTeXt. (Later versions of the 
former use LuaTeX UTF-8 directly without translations.)


\input luaotfload.sty

\font\stix={file:STIX-Regular.otf} at 10pt
\font\stixit={name:STIXMath-Regular} at 10pt
\font\stixsc={file:STIX-Regular.otf} at 7pt
\font\stixscsc={file:STIX-Regular.otf} at 5pt
\stix

\textfont0=\stix
\textfont1=\stixit  % Translates ',' into ';'.
\scriptfont0=\stixsc
\scriptscriptfont0=\stixscsc
\scriptfont1=\stixsc
\scriptscriptfont1=\stixscsc
\textfont2=\stix
\textfont3=\stix

Hello 푃, ±, $푥 = ±푦_푃$,
$$푃_0, …, 푃_{푘 - 1} ⊢ 푃.$$

\end


___
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] Choosing STIX stylistic sets

2017-04-15 Thread Hans Åberg

> On 15 Apr 2017, at 00:22, Hans Hagen  wrote:
> 
> On 4/14/2017 12:42 PM, Hans Åberg wrote:
>> With the STIX Two fonts [1-2], one can choose say Stylistic Set 8  for 
>> more upright integrals. How is that done in ConTeXt with XITS?
>> 
>> 1. https://sourceforge.net/projects/stixfonts/
>> 2. https://en.wikipedia.org/wiki/STIX_Fonts_project#STIX_2.0.0
> 
> see stix-two-math.lfg
> 
> \setmathfontalternate{whatever}

On MacOS, it does not load the fonts: In the example below (also not working 
with 'xits' or 'stix'), I get:
fonts   > typescripts > unknown library 'stix-two-math'
fonts   > preloading latin modern fonts (third stage)
fonts   > 'fallback modern-designsize rm 10pt' is loaded

They are installed as system fonts.

Also, though \nt now seems defined, the limits are still underneath with 
the option 'integral=nolimits'.



%\setupbodyfont[xits,10pt]
%\setupbodyfont[stix,10pt]
\setupbodyfont[stix-two-math,10pt]

%\setupmathematics[integral=nolimits, lcgreek=normal, default=normal, 
stylealternative={upright}]
\setupmathematics[integral=nolimits, lcgreek=normal, default=normal]

\appendtoks
  \catcode`∫=\activecatcode
  \letcharcode `∫ \int
  \catcode`∬=\activecatcode
  \letcharcode `∬ \iint
  \catcode`∭=\activecatcode
  \letcharcode `∭ \iiint
  \catcode`⨌=\activecatcode
  \letcharcode `⨌ \nt
\to \everymathematics


\starttext

\startformula
  ⨌_퐴 푓(푥)\, d푥 = ∫_퐵 ∭_퐶 푓(푡, 풙)⊗g\, d푡 d풙
\stopformula

\startformula
\setmathfontalternate{upright,circled}
  ⨌_퐴 푓(푥)\, d푥 = ∫_퐵 ∭_퐶 푓(푡, 풙)⊗g\, d푡 d풙
\stopformula

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