Re: [NTG-context] Wiki pages on Unicode blocks

2017-10-27 Thread Raghavendra Nyshadham
Dear Thomas,

Thank you for looking at those pages.

I didn’t realise that I would be traveling this week. I will add references and 
some other changes after I return.

Regards,
Raghu.

-- 
N. Raghavendra , http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/

> On 27-Oct-2017, at 14:29, Schmitz Thomas A.  
> wrote:
> 
> 
> 
>> On 25. Oct 2017, at 15:47, N. Raghavendra  wrote:
>> 
>> Based on what I have learnt from the replies to my queries in the last
>> few days, I have added the following Wiki pages on Unicode blocks in
>> ConTeXt:
> 
> Very good articles, nice introduction and instructive overview. Very useful 
> to have on the wiki, thank you!
> 
> Thomas
___
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] substituting characters in math font

2017-10-27 Thread Henning Hraban Ramm
Am 2017-10-19 um 15:05 schrieb Alan Bowen :

> As you can see, all I need is to get the Brill lowercase Greek in mathmode 
> and the proper slanted Greek theta. I have tried this with Pagella and 
> Cambria instead of the Brill font and the problem persists. So I must be 
> doing something wrong. But what?

Finally, Alan and me solved the problem like this:

\definefontfamily[mainface][rm][Brill]
[protrusion=quality,
expansion=quality,
mode=node,
force=yes,
]
\definefontfamily[mainface][mm][TeX Gyre Termes Math][scale=0.94]

\definefontfallback [brillmath] [RomanItalic] [mathematicalalphanumericsymbols] 
[force=yes]
\definefontfallback [brillmath] [Roman] [{0x30-0x39}] [force=yes]
\definefontfallback [brillmath] [RomanItalic] [{0x41-0x5A, 0x61-0x7A}] 
[force=yes]
\definefontfallback [brillmath] [Roman] [uppercasegreeknormal] [force=yes]
\definefontfallback [brillmath] [RomanItalic] [lowercasegreeknormal] [force=yes]
\definefontfallback [brillmath] [Roman] [superscriptsandsubscripts] [force=yes]

\definefontsynonym  [MathRoman]  [mainface] [fallbacks=brillmath]

\setupmathematics[ucgreek=normal, lcgreek=italic]

\setupbodyfont[mainface,12pt]

\starttext
\starttabulate[|l|l|l|]
\NC normal: \NC 1234567890 \NC\NC\NR
\NC math: \NC \m{1234567890} \NC\NC\NR
\NC \NC \NC \NC\NR
\NC normal: \NC\mr ABCDEFabcdef\NC\mr ΑΒΓΔΕΘαβγδεθ\NC\NR
\NC math: \NC \m{\red ABCDEFabcdef}\NC\m{\red ΑΒΓΔΕΘαβγδεθ}\NC\NR
\NC italic: \NC \emph{ABCDEFabcdef}\NC\emph{ΑΒΓΔΕΘαβγδεθ}\NC\NR
\NC \NC \NC \NC\NR
\NC Greek theta:  \NC\NC \emph{θ}\NC\NR
\stoptabulate

\m{\sqrt{34y\frac{12\alpha^2}{98.0 x_2}}Δθ}

\m{{{sin^2 α + cos^2 β}\over{2}} = \frac{1}{2}}

\showbodyfont

\stoptext


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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] Asymptote with Context

2017-10-27 Thread Aditya Mahajan

On Fri, 27 Oct 2017, Fabrice Couvreur wrote:


I enclose the files you requested


1. What happens when you run

asy -tex "context" -outformat pdf -outname ntg70-temp-ASY-0.pdf 
ntg70-temp-ASY-0.tmp

from the command line (in the same directory as your MWE). Do you get a 
correct pdf?


2. Does any other example with the filter module work? (This is just to 
make sure that \executesystemcommand{...} is working correctly).


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
___

Re: [NTG-context] Undesirable space with mixedcolumns

2017-10-27 Thread Fabrice Couvreur
Hello,
I'm looking in the documentation and I think I found the key to remove the
white space under the mathematical formula.
Is this the best way to achieve optimal rendering using columns ?
Thank you
Fabrice


\definemixedcolumns
  [Mycolumns]
  [
n=2,
separator=rule,
rulecolor=darkred,
rulethickness=1pt,
balance=yes,
*grid=strut,*
  ]

\setupalign[verytolerant,stretch,hanging]

\starttext
\startMycolumns
On a \math{0< 0,8 < 1} donc \math{\lim\limits_{n \to +\infty} 0,8^n=0}.
Comme pour tout entier naturel \math{n}, on a : \math{u_n=-500\times
0,8^n+2\,000}, on en déduit que la limite de la suite \math{(u_n)} est
égale à 2\,000. Si l'évolution des utilisateurs se maintient à long terme,
le nombre de calculatrices vendues se stabiliserait autour de 2 millions.

\startformula
   \startmathalignment[n=2,align={right,left}]
 \NC (1+t)^3 \NC = 1,87\NR
 \NC 1+t \NC = 1,87^{\frac{1}{3}}  \NR
 \NC 1+t \NC = 1,23\NR
 \NC t   \NC =  0,23.  \NR
\stopmathalignment
\stopformula
\input ward
\stopMycolumns
\stoptext


Le 25 octobre 2017 à 14:32, Fabrice Couvreur 
a écrit :

> Hello,
> I notice a space when I use the command \math{\lim\limits_{n \to +\infty}
> 0,8^n=0} and mixedcolumns.
> Thanks.
> Fabrice
> #
>
> \definemixedcolumns
>   [sectioncolumns]
>   [
> n=2,
> separator=rule,
> rulecolor=,
> balance=yes,
>   ]
>
> \setupalign[verytolerant,stretch,hanging]
>
> \starttext
> On a \math{0< 0,8 < 1} donc \math{\lim\limits_{n \to +\infty} 0,8^n=0}.
> Comme pour tout entier naturel \math{n}, on a : \math{u_n=-500\times
> 0,8^n+2\,000}, on en déduit que la limite de la suite \u est égale à
> 2\,000. Si l'évolution des utilisateurs se maintient à long terme, le
> nombre de calculatrices vendues se stabiliserait autour de 2 millions.
> \blank
> \startsectioncolumns
>   On a \math{0< 0,8 < 1} donc \math{\lim\limits_{n \to +\infty} 0,8^n=0}.
> Comme pour tout entier naturel \math{n}, on a : \math{u_n=-500\times
> 0,8^n+2\,000}, on en déduit que la limite de la suite \u est égale à
> 2\,000. Si l'évolution des utilisateurs se maintient à long terme, le
> nombre de calculatrices vendues se stabiliserait autour de 2 millions.
> \startsectioncolumns
>
> \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
___

Re: [NTG-context] Wiki pages on Unicode blocks

2017-10-27 Thread Schmitz Thomas A.


> On 25. Oct 2017, at 15:47, N. Raghavendra  wrote:
> 
> Based on what I have learnt from the replies to my queries in the last
> few days, I have added the following Wiki pages on Unicode blocks in
> ConTeXt:

Very good articles, nice introduction and instructive overview. Very useful to 
have on the wiki, thank you!

Thomas
___
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] hvdm-plc module

2017-10-27 Thread Procházka Lukáš Ing .

Hello,

some time passed...

I'm still trying to:

- download hvdm-plc documentation (link http://www.hvandermeer.com/publications 
is broken)
- install & use hvdm-plc module (which may be named differently under ConTeXt 
distribution).

There was a mail traffic on this theme but I'm not sure all has been finished so that 
there is a HvdM's "place-block" module available under Ctx.

So - what is the state of the module, in relationship with Ctx?

Best regards,

Lukas


On Mon, 14 Aug 2017 13:37:12 +0200, Mojca Miklavec 
 wrote:


Hi,

All we need is a module upload to
https://modules.contextgarden.net/
and then a note saying you did so, so that we can add it to the
distribution and to CTAN. Taco or someone else might provide further
feedback in case some minor modifications would be needed.

Ideally the upload should be done by Hans (vdM, not Hagen).

I'm not sure where and how to see the module at this moment.

(And in case I miss an email, just repeat the request :) :) :)

Mojca


On 14 August 2017 at 13:09, Meer, Hans van der  wrote:

With regard to the use of my plc-module.

Should the maintainers of ConTeXt express the wish to include this module into 
ConTeXt mkiv, then I will gladly grant permission. The one condition being that 
my name as the original author of the package will remain inside.
Because I was relying on other modules of mine, I have made an independent 
version.
I like to hear if my offer is accepted, but I will not feel disappointed if it 
is decided not to incorporate it into mkiv.

Hans van der Meer





On 2 Aug 2017, at 17:47, Procházka Lukáš Ing.  wrote:

Hello Mojca, hello Hans,

would it be possible to include the hdvm-plc package into ConTeXt garden 
minimals?

The module seems very useful - guessing from what I read in MAPS magazine...

Thank you in advance.

Best regards,

Lukas


--- Forwarded message ---
From: "Hans Hagen" 
To: "mailing list for ConTeXt users" , "Procházka Lukáš Ing." 

Cc:
Subject: Re: [NTG-context] hvdm-plc module
Date: Wed, 02 Aug 2017 11:24:08 +0200

On 8/1/2017 6:05 PM, Procházka Lukáš Ing. wrote:

Hello,

just to check: is


https://www.google.cz/search?q=hvdm-plc+context=utf-8=utf-8=firefox-b-ab_rd=cr=4o-AWfa3Fa6E8QeZmYH4Bw

available for download?

I'd like to test/use the hvdm-plc module (probably here:
hvdmeer.myqnapcloud.com/pubs),
which is mentioned in one of the MAPS magazine;
but I need to download the module (and the manual) first...

you have to bribe mojca in adding the module to the garden given that it
is packaged as a t-* module achive

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-



--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

___
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] Asymptote with Context

2017-10-27 Thread Fabrice Couvreur
Hi Aditya,
I enclose the files you requested
Thank you
Fabrice

2017-10-26 17:09 GMT+02:00 Aditya Mahajan :

> On Thu, 26 Oct 2017, Fabrice Couvreur wrote:
>
> https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html
>>
>> Hi,
>> I tested the file and the figure is not drawn but I get the following
>> message "[[output file missing"
>>
>
> That works at my end so you will need to provide additional information.
> Please create a MWE, add \traceexternalfilters after \usemodule[filter] and
> attach the tex and log files.
>
> 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/list
> info/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> 
> ___


ntg70.tex
Description: TeX document
resolvers   > trees > analyzing 'home:texmf'

open source > level 1, order 1, name '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv'
system  > 
system  > ConTeXt  ver: 2017.05.15 21:48 MKIV beta  fmt: 2017.10.21  int: english/english
system  > 
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
close source> level 2, order 2, name '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'ntg70', input './ntg70', result 'ntg70'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name '/home/fab/ntg70.tex'
resolvers   > modules > 'filter' is loaded
open source > level 3, order 4, name '/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-filter.mkiv'
loading > Filter (ver: 2016.03.02)
resolvers   > modules > 'module-catcodes' is loaded
open source > level 4, order 5, name '/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-module-catcodes.tex'
loading > Module Catcodes (ver: 2011.12.17)
close source> level 4, order 5, name '/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-module-catcodes.tex'
close source> level 3, order 5, name '/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-filter.mkiv'
t-filter> defining filter : ASY
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
t-filter> current filter : ASY
t-filter> base file : ntg70-temp-ASY-0
t-filter> input file : ntg70-temp-ASY-0.tmp
t-filter> output file : ntg70-temp-ASY-0.pdf
t-filter> command : asy -tex "context" -outformat pdf -outname ntg70-temp-ASY-0.pdf ntg70-temp-ASY-0.tmp
t-filter> state : 
t-filter> cached output file 'ntg70-temp-ASY-0.pdf' missing. Rerunning filter
t-filter> file 'ntg70-temp-ASY-0.pdf' cannot be found
t-filter> current filter : ASY
t-filter> base file : ntg70-temp-ASY-0
t-filter> input file : ntg70-temp-ASY-0.tmp
t-filter> output file : ntg70-temp-ASY-0.pdf
floatblocks > '1' placed
backend > xmp > using file '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml'
pages   > flushing realpage 1, userpage 1, subpage 1
close source> level 2, order 5, name '/home/fab/ntg70.tex'
close source> level 1, order 5, name '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv'

system  > structure > start used structure

used structure  > text: ntg70

system  > structure > stop used structure


system  > files > start used files

used file   >1: filename=cont-yes.mkiv filetype=tex foundname=/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
used file   >2: filename=publ-imp-default.lua filetype=scripts foundname=/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
used file   >3: filename=cont-new.mkiv filetype=tex foundname=/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
used file   >4: filename=lang-us.lua filetype=scripts foundname=/home/fab/texlive/2017/texmf-dist/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
used file   >5: filename=/home/fab/ntg70.tex foundname=/home/fab/ntg70.tex usedmethod=direct
used file   >6: filename=t-filter.mkiv filetype=tex foundname=/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-filter.mkiv usedmethod=database
used file   >7: filename=t-module-catcodes.tex filetype=tex