[NTG-context] bidi protocols

2018-06-06 Thread Idris Samawi Hamid ادريس سماوي حامد

Greetings,

mtx-context | current version: 2018.06.02 22:34

In the following, bidi does not work:

===
\setupdirections[bidi=global]

\starttext
\definedfont[file:almfixed.otf*arabic at 14pt]
Test امتحان test

\righttoleft
Test امتحان test
\stoptext
===

See attached. This used to work: Is there a new protocol or something that  
I'm missing? Thank you in advance.


Best wishes
Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512

scratch.pdf
Description: Adobe PDF document


scratch.tex
Description: TeX 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
___

Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Taco Hoekwater
Hi,

It is interesting (and a bit depressing) that my TL2018 install worked out of 
the box on my mac. Mine was a straight ‘tlnet’ install, but I did install into 
a directory where I have write permissions. Mostly so I would not have to mess 
with sudo, but I now suspect that made a big difference (/opt/local/texlive is 
writable by me).

Sorry, I have no clue what is going on with that systemd folder either.
Last time I had anything to do with it, Mojca did the context-for-tl stuff, I 
assume that is still the case, and she is also on a mac normally. Perhaps she 
can help...

Best wishes,
Taco

> Op 6 jun. 2018 om 20:37 heeft Otared Kavian  het volgende 
> geschreven:
> 
> Hi Aditya,
> 
> Your experiment confirms what I experienced last week with various types of 
> operating systems, and today on my Mac with MacTeX 2018, which is just an 
> installer of TL2018 dedicated to MacOS.
> 
> Best regards: OK
> 
>> On 6 Jun 2018, at 17:20, Aditya Mahajan  wrote:
>> 
>> Hi Otared,
>> 
>>> On Wed, 6 Jun 2018, Otared Kavian wrote:
>>> 
>>> I don't know to whom I should write to have ConTeXt enabled in TeXLive when 
>>> one installs it: can anyone give me a hint?
>> 
>> I haven't used context that comes with texlive so I tried doing so on a new 
>> computer (which means that there were no left overs from previous texlive 
>> installs). I am on archlinux. First, some sanity checks:
>> 
>> $whereis context
>> context: /usr/bin/context
>> 
>> $pacman -Qo =context
>> /usr/bin/context is owned by texlive-core 2017.46770-1
>> 
>> Now, I tried compiling a file:
>> 
>> $context test
>> resolvers   | trees | analyzing 'home:texmf'
>> mtx-context | warning: no format found, forcing remake (commandline 
>> driven)
>> resolvers   | resolving | configuration files already identified
>> resolvers   | resolving | loading configuration file 
>> 'selfautodir:/share/texmf-dist/web2c/texmfcnf.lua'
>> resolvers   | resolving |
>> resolvers   | resolving | locating list of 'home:.texlive/texmf-config' 
>> (runtime) (tree:///home:.texlive/texmf-config)
>> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
>> 'tree', argument 'tree:///home:.texlive/texmf-config'
>> resolvers   | trees | locator 'home:.texlive/texmf-config' not found
>> resolvers   | resolving | locating list of 'home:texmf' (runtime) 
>> (tree:///home:texmf)
>> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
>> 'tree', argument 'tree:///home:texmf'
>> resolvers   | trees | locator '/home/adityam/texmf' found
>> resolvers   | resolving | hash 'home:texmf' appended
>> resolvers   | resolving | locating list of '/etc/texmf' (cached)
>> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
>> 'file', argument '/etc/texmf'
>> resolvers   | files | file locator '/etc/texmf' found as '/etc/texmf'
>> resolvers   | resolving | locating list of '/var/lib/texmf' (cached)
>> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
>> 'file', argument '/var/lib/texmf'
>> resolvers   | files | file locator '/var/lib/texmf' found as 
>> '/var/lib/texmf'
>> resolvers   | resolving | locating list of 
>> 'selfautoparent:texmf-project' (cached)
>> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
>> 'file', argument 'selfautoparent:texmf-project'
>> resolvers   | files | file locator 'selfautoparent:texmf-project' not 
>> found
>> resolvers   | resolving | locating list of 'selfautoparent:texmf-fonts' 
>> (cached)
>> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
>> 'file', argument 'selfautoparent:texmf-fonts'
>> resolvers   | files | file locator 'selfautoparent:texmf-fonts' not found
>> resolvers   | resolving | locating list of '.' (cached)
>> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
>> 'file', argument '.'
>> resolvers   | files | file locator '.' found as '.'
>> resolvers   | resolving | locating list of 
>> 'selfautodir:share/texmf-dist' (cached)
>> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
>> 'file', argument 'selfautodir:share/texmf-dist'
>> resolvers   | files | file locator 'selfautodir:share/texmf-dist' found 
>> as '/usr/share/texmf-dist'
>> resolvers   | resolving |
>> resolvers   | methods | resolving, method 'generators', how 'uri', 
>> handler 'file', argument 'home:texmf'
>> resolvers   | expansions | using cached scan of path 'home:texmf', 
>> branch 'home:texmf'
>> resolvers   | methods | resolving, method 'generators', how 'uri', 
>> handler 'file', argument '/etc/texmf'
>> resolvers   | expansions | scanning path '/etc/texmf', branch 
>> '/etc/texmf'
>> resolvers   | expansions | 14 files found on 11 directories with 2 
>> uppercase remappings
>> resolvers   | methods | resolving, method 'generators', how 'uri', 
>> 

Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Otared Kavian
Hi Hans,

Thanks for your attention and your remarks, which are full of good sense.
My point, as confirmed by Aditya, is that context should work without any other 
user intervention when TL is installed.

I got your point about writing to MOjca: I'll do that off list to see whether 
this can be fixed and how.

Best regards: OK

> On 6 Jun 2018, at 19:15, Hans Hagen  wrote:
> 
> On 6/6/2018 4:54 PM, Otared Kavian wrote:
>> Hi all,
>> I would like to report (with a rather bad humor) on an issue regarding the 
>> use of ConTeXt when one starts with TeXLive.
>> Last week I was at a meeting of mathematicians and several people asked me 
>> to explain why I am using ConTeXt rather than LaTeX, and show them some of 
>> the features which (according to me) are fundamentally better thought and 
>> better designed.
>> When some of my colleagues were convinced with what I showed them, since 
>> they had already a version of TeXLive installed on their computer, they 
>> wanted to try out ConTeXt on their own. So we tried to make some tests with 
>> their own installation of TeXLive and ConTeXt on their machine, and this is 
>> when the troubles began, because none of them could run ConTeXt out of the 
>> box…
>> I confess that I am not at all a geek and my knowledge of ConTeXt is rather 
>> elementary, and just sufficient for my own (elementary) needs, therefore I 
>> could not solve the problems preventing those people to use ConTeXt.
>> However, as those people told me, when using LaTeX they don't need any 
>> further technical knowledge, since any file can be typeset out of the box 
>> with an installation of TeXLive.
>> So here is my frustrated question: why we cannot typeset a file « test.tex » 
>> written in TeX and using ConTeXt commands just by saying
>>  context test.tex
>> in a terminal window (nor using a GUI front end) while one would be able to 
>> do that if that file were written using LaTeX commands?
> 
> last week someone was sitting next to me who tried that and it just worked 
> ... ok, installing the whole of tex live took a while
> 
> (btw, when you install the lot there is an issue with the speed of making the 
> file database .. somehow it's quite slow compared to the garden variant)
> 
>> I know that it is possible to search on the web and find an answer regarding 
>> the steps one should take to enable ConTeXt from TeXLive, but it is not 
>> natural to expect people come to ConTeXt if they cannot use it out of the 
>> box. By the way, just for testing I installed TeXLive 2018, and could not 
>> use ConTeXt out of the box… (and I don't remember what I should do to enable 
>> it…).
>> Indeed it is always possible to install a standalone version of ConTeXt on 
>> one's machine, but this pushes us to behave like a sect in the TeX community.
> 
> just come up with arguments like:
> 
> - it's small and installs easily
> - you can also update to the latest greatest
> - it doesn't interfere with existing tex live(s)
> - that includes the just released fonts
> - it's also faster
> 
>> I don't know to whom I should write to have ConTeXt enabled in TeXLive when 
>> one installs it: can anyone give me a hint?
> 
> probably to Mojca
> 
>> Best regards to all of you, especially those who do an incredible lot of 
>> work to develop ConTeXt and, who deserve to be better known among TeX users.
>> Otared K.
>> ___
>> 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
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 

Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Otared Kavian
Hi Aditya,

Your experiment confirms what I experienced last week with various types of 
operating systems, and today on my Mac with MacTeX 2018, which is just an 
installer of TL2018 dedicated to MacOS.

Best regards: OK

> On 6 Jun 2018, at 17:20, Aditya Mahajan  wrote:
> 
> Hi Otared,
> 
> On Wed, 6 Jun 2018, Otared Kavian wrote:
> 
>> I don't know to whom I should write to have ConTeXt enabled in TeXLive when 
>> one installs it: can anyone give me a hint?
> 
> I haven't used context that comes with texlive so I tried doing so on a new 
> computer (which means that there were no left overs from previous texlive 
> installs). I am on archlinux. First, some sanity checks:
> 
> $whereis context
> context: /usr/bin/context
> 
> $pacman -Qo =context
> /usr/bin/context is owned by texlive-core 2017.46770-1
> 
> Now, I tried compiling a file:
> 
> $context test
> resolvers   | trees | analyzing 'home:texmf'
> mtx-context | warning: no format found, forcing remake (commandline 
> driven)
> resolvers   | resolving | configuration files already identified
> resolvers   | resolving | loading configuration file 
> 'selfautodir:/share/texmf-dist/web2c/texmfcnf.lua'
> resolvers   | resolving |
> resolvers   | resolving | locating list of 'home:.texlive/texmf-config' 
> (runtime) (tree:///home:.texlive/texmf-config)
> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
> 'tree', argument 'tree:///home:.texlive/texmf-config'
> resolvers   | trees | locator 'home:.texlive/texmf-config' not found
> resolvers   | resolving | locating list of 'home:texmf' (runtime) 
> (tree:///home:texmf)
> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
> 'tree', argument 'tree:///home:texmf'
> resolvers   | trees | locator '/home/adityam/texmf' found
> resolvers   | resolving | hash 'home:texmf' appended
> resolvers   | resolving | locating list of '/etc/texmf' (cached)
> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
> 'file', argument '/etc/texmf'
> resolvers   | files | file locator '/etc/texmf' found as '/etc/texmf'
> resolvers   | resolving | locating list of '/var/lib/texmf' (cached)
> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
> 'file', argument '/var/lib/texmf'
> resolvers   | files | file locator '/var/lib/texmf' found as 
> '/var/lib/texmf'
> resolvers   | resolving | locating list of 'selfautoparent:texmf-project' 
> (cached)
> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
> 'file', argument 'selfautoparent:texmf-project'
> resolvers   | files | file locator 'selfautoparent:texmf-project' not 
> found
> resolvers   | resolving | locating list of 'selfautoparent:texmf-fonts' 
> (cached)
> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
> 'file', argument 'selfautoparent:texmf-fonts'
> resolvers   | files | file locator 'selfautoparent:texmf-fonts' not found
> resolvers   | resolving | locating list of '.' (cached)
> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
> 'file', argument '.'
> resolvers   | files | file locator '.' found as '.'
> resolvers   | resolving | locating list of 'selfautodir:share/texmf-dist' 
> (cached)
> resolvers   | methods | resolving, method 'locators', how 'uri', handler 
> 'file', argument 'selfautodir:share/texmf-dist'
> resolvers   | files | file locator 'selfautodir:share/texmf-dist' found 
> as '/usr/share/texmf-dist'
> resolvers   | resolving |
> resolvers   | methods | resolving, method 'generators', how 'uri', 
> handler 'file', argument 'home:texmf'
> resolvers   | expansions | using cached scan of path 'home:texmf', branch 
> 'home:texmf'
> resolvers   | methods | resolving, method 'generators', how 'uri', 
> handler 'file', argument '/etc/texmf'
> resolvers   | expansions | scanning path '/etc/texmf', branch '/etc/texmf'
> resolvers   | expansions | 14 files found on 11 directories with 2 
> uppercase remappings
> resolvers   | methods | resolving, method 'generators', how 'uri', 
> handler 'file', argument '/var/lib/texmf'
> resolvers   | expansions | scanning path '/var/lib/texmf', branch 
> '/var/lib/texmf'
> resolvers   | expansions | 86 files found on 21 directories with 1 
> uppercase remappings
> resolvers   | methods | resolving, method 'generators', how 'uri', 
> handler 'file', argument '.'
> resolvers   | expansions | scanning path '.', branch 
> '.'/usr/bin/mtxrun:253: cannot open 
> ./systemd-private-55c5c02a6995423fa7b5ef0af16560b5-colord.service-GCWnsA/: 
> Permission denied
> 
> which says that context could not find a format, so it tried to generate one, 
> but none of the given directories were writable. I don't know why mtxrun is 
> trying to write in a /systemd-private directory.
> 
> $ mtxrun --expand-var TEXMFCACHE
> 

Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Otared Kavian
Hi Taco,

Actually context, luatex, lualatex and latex are all installed by TL2018 but 
the only one NOT working is context.
This discourages many people to experiment with context before installing a 
standalone version.

Best regards: OK


> On 6 Jun 2018, at 17:19, Taco Hoekwater  wrote:
> 
> Hi Otared,
> 
> Since it works for me just fine (TL2018), a wild guess is that the installed 
> TeXLive did not 
> install the context scheme at all?
> 
> Best wishes,
> Taxo
> 
>> On 6 Jun 2018, at 16:54, Otared Kavian  wrote:
>> 
>> Hi all,
>> 
>> I would like to report (with a rather bad humor) on an issue regarding the 
>> use of ConTeXt when one starts with TeXLive.
>> 
>> Last week I was at a meeting of mathematicians and several people asked me 
>> to explain why I am using ConTeXt rather than LaTeX, and show them some of 
>> the features which (according to me) are fundamentally better thought and 
>> better designed.
>> 
>> When some of my colleagues were convinced with what I showed them, since 
>> they had already a version of TeXLive installed on their computer, they 
>> wanted to try out ConTeXt on their own. So we tried to make some tests with 
>> their own installation of TeXLive and ConTeXt on their machine, and this is 
>> when the troubles began, because none of them could run ConTeXt out of the 
>> box…
>> 
>> I confess that I am not at all a geek and my knowledge of ConTeXt is rather 
>> elementary, and just sufficient for my own (elementary) needs, therefore I 
>> could not solve the problems preventing those people to use ConTeXt.
>> However, as those people told me, when using LaTeX they don't need any 
>> further technical knowledge, since any file can be typeset out of the box 
>> with an installation of TeXLive.
>> 
>> So here is my frustrated question: why we cannot typeset a file « test.tex » 
>> written in TeX and using ConTeXt commands just by saying
>>  context test.tex
>> in a terminal window (nor using a GUI front end) while one would be able to 
>> do that if that file were written using LaTeX commands?
>> 
>> I know that it is possible to search on the web and find an answer regarding 
>> the steps one should take to enable ConTeXt from TeXLive, but it is not 
>> natural to expect people come to ConTeXt if they cannot use it out of the 
>> box. By the way, just for testing I installed TeXLive 2018, and could not 
>> use ConTeXt out of the box… (and I don't remember what I should do to enable 
>> it…).
>> 
>> Indeed it is always possible to install a standalone version of ConTeXt on 
>> one's machine, but this pushes us to behave like a sect in the TeX 
>> community. 
>> 
>> I don't know to whom I should write to have ConTeXt enabled in TeXLive when 
>> one installs it: can anyone give me a hint?
>> 
>> Best regards to all of you, especially those who do an incredible lot of 
>> work to develop ConTeXt and, who deserve to be better known among TeX users.
>> Otared K.
>> ___
>> 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
>> ___
> 
> Taco Hoekwater
> Elvenkind BV
> 
> 
> 
> 
> ___
> 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] TeXLive and ConTeXt

2018-06-06 Thread Hans Hagen

On 6/6/2018 4:54 PM, Otared Kavian wrote:

Hi all,

I would like to report (with a rather bad humor) on an issue regarding the use 
of ConTeXt when one starts with TeXLive.

Last week I was at a meeting of mathematicians and several people asked me to 
explain why I am using ConTeXt rather than LaTeX, and show them some of the 
features which (according to me) are fundamentally better thought and better 
designed.

When some of my colleagues were convinced with what I showed them, since they 
had already a version of TeXLive installed on their computer, they wanted to 
try out ConTeXt on their own. So we tried to make some tests with their own 
installation of TeXLive and ConTeXt on their machine, and this is when the 
troubles began, because none of them could run ConTeXt out of the box…

I confess that I am not at all a geek and my knowledge of ConTeXt is rather 
elementary, and just sufficient for my own (elementary) needs, therefore I 
could not solve the problems preventing those people to use ConTeXt.
However, as those people told me, when using LaTeX they don't need any further 
technical knowledge, since any file can be typeset out of the box with an 
installation of TeXLive.

So here is my frustrated question: why we cannot typeset a file « test.tex » 
written in TeX and using ConTeXt commands just by saying
context test.tex
in a terminal window (nor using a GUI front end) while one would be able to do 
that if that file were written using LaTeX commands?


last week someone was sitting next to me who tried that and it just 
worked ... ok, installing the whole of tex live took a while


(btw, when you install the lot there is an issue with the speed of 
making the file database .. somehow it's quite slow compared to the 
garden variant)



I know that it is possible to search on the web and find an answer regarding 
the steps one should take to enable ConTeXt from TeXLive, but it is not natural 
to expect people come to ConTeXt if they cannot use it out of the box. By the 
way, just for testing I installed TeXLive 2018, and could not use ConTeXt out 
of the box… (and I don't remember what I should do to enable it…).

Indeed it is always possible to install a standalone version of ConTeXt on 
one's machine, but this pushes us to behave like a sect in the TeX community.


just come up with arguments like:

- it's small and installs easily
- you can also update to the latest greatest
- it doesn't interfere with existing tex live(s)
- that includes the just released fonts
- it's also faster


I don't know to whom I should write to have ConTeXt enabled in TeXLive when one 
installs it: can anyone give me a hint?


probably to Mojca


Best regards to all of you, especially those who do an incredible lot of work 
to develop ConTeXt and, who deserve to be better known among TeX users.
Otared K.
___
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] TeXLive and ConTeXt

2018-06-06 Thread Aditya Mahajan

Hi Otared,

On Wed, 6 Jun 2018, Otared Kavian wrote:

I don't know to whom I should write to have ConTeXt enabled in TeXLive 
when one installs it: can anyone give me a hint?


I haven't used context that comes with texlive so I tried doing so on a 
new computer (which means that there were no left overs from previous 
texlive installs). I am on archlinux. First, some sanity checks:


$whereis context
context: /usr/bin/context

$pacman -Qo =context
/usr/bin/context is owned by texlive-core 2017.46770-1

Now, I tried compiling a file:

$context test
resolvers   | trees | analyzing 'home:texmf'
mtx-context | warning: no format found, forcing remake (commandline 
driven)

resolvers   | resolving | configuration files already identified
resolvers   | resolving | loading configuration file 
'selfautodir:/share/texmf-dist/web2c/texmfcnf.lua'

resolvers   | resolving |
resolvers   | resolving | locating list of 
'home:.texlive/texmf-config' (runtime) 
(tree:///home:.texlive/texmf-config)
resolvers   | methods | resolving, method 'locators', how 'uri', 
handler 'tree', argument 'tree:///home:.texlive/texmf-config'

resolvers   | trees | locator 'home:.texlive/texmf-config' not found
resolvers   | resolving | locating list of 'home:texmf' (runtime) 
(tree:///home:texmf)
resolvers   | methods | resolving, method 'locators', how 'uri', 
handler 'tree', argument 'tree:///home:texmf'

resolvers   | trees | locator '/home/adityam/texmf' found
resolvers   | resolving | hash 'home:texmf' appended
resolvers   | resolving | locating list of '/etc/texmf' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', 
handler 'file', argument '/etc/texmf'

resolvers   | files | file locator '/etc/texmf' found as '/etc/texmf'
resolvers   | resolving | locating list of '/var/lib/texmf' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', 
handler 'file', argument '/var/lib/texmf'
resolvers   | files | file locator '/var/lib/texmf' found as 
'/var/lib/texmf'
resolvers   | resolving | locating list of 
'selfautoparent:texmf-project' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', 
handler 'file', argument 'selfautoparent:texmf-project'
resolvers   | files | file locator 'selfautoparent:texmf-project' not 
found
resolvers   | resolving | locating list of 
'selfautoparent:texmf-fonts' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', 
handler 'file', argument 'selfautoparent:texmf-fonts'
resolvers   | files | file locator 'selfautoparent:texmf-fonts' not 
found

resolvers   | resolving | locating list of '.' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', 
handler 'file', argument '.'

resolvers   | files | file locator '.' found as '.'
resolvers   | resolving | locating list of 
'selfautodir:share/texmf-dist' (cached)
resolvers   | methods | resolving, method 'locators', how 'uri', 
handler 'file', argument 'selfautodir:share/texmf-dist'
resolvers   | files | file locator 'selfautodir:share/texmf-dist' 
found as '/usr/share/texmf-dist'

resolvers   | resolving |
resolvers   | methods | resolving, method 'generators', how 'uri', 
handler 'file', argument 'home:texmf'
resolvers   | expansions | using cached scan of path 'home:texmf', 
branch 'home:texmf'
resolvers   | methods | resolving, method 'generators', how 'uri', 
handler 'file', argument '/etc/texmf'
resolvers   | expansions | scanning path '/etc/texmf', branch 
'/etc/texmf'
resolvers   | expansions | 14 files found on 11 directories with 2 
uppercase remappings
resolvers   | methods | resolving, method 'generators', how 'uri', 
handler 'file', argument '/var/lib/texmf'
resolvers   | expansions | scanning path '/var/lib/texmf', branch 
'/var/lib/texmf'
resolvers   | expansions | 86 files found on 21 directories with 1 
uppercase remappings
resolvers   | methods | resolving, method 'generators', how 'uri', 
handler 'file', argument '.'
resolvers   | expansions | scanning path '.', branch 
'.'/usr/bin/mtxrun:253: cannot open 
./systemd-private-55c5c02a6995423fa7b5ef0af16560b5-colord.service-GCWnsA/: 
Permission denied


which says that context could not find a format, so it tried to generate 
one, but none of the given directories were writable. I don't know why 
mtxrun is trying to write in a /systemd-private directory.


$ mtxrun --expand-var TEXMFCACHE
/var/lib/texmf;home:.texlive/texmf-var

and the second directory is writable.

So, I can confirm that context that ships with texlive did not run out of 
the box on my computer. It would have been nice had texlive generated the 
context format (as it does for latex), so a user could have run context 
out of the box. Even if that is not the case, context does try to generate 
the format on its own and fails. I'll dig deeper into why that is 
happenign.



Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Taco Hoekwater
Hi Otared,

Since it works for me just fine (TL2018), a wild guess is that the installed 
TeXLive did not 
install the context scheme at all?

Best wishes,
Taxo

> On 6 Jun 2018, at 16:54, Otared Kavian  wrote:
> 
> Hi all,
> 
> I would like to report (with a rather bad humor) on an issue regarding the 
> use of ConTeXt when one starts with TeXLive.
> 
> Last week I was at a meeting of mathematicians and several people asked me to 
> explain why I am using ConTeXt rather than LaTeX, and show them some of the 
> features which (according to me) are fundamentally better thought and better 
> designed.
> 
> When some of my colleagues were convinced with what I showed them, since they 
> had already a version of TeXLive installed on their computer, they wanted to 
> try out ConTeXt on their own. So we tried to make some tests with their own 
> installation of TeXLive and ConTeXt on their machine, and this is when the 
> troubles began, because none of them could run ConTeXt out of the box…
> 
> I confess that I am not at all a geek and my knowledge of ConTeXt is rather 
> elementary, and just sufficient for my own (elementary) needs, therefore I 
> could not solve the problems preventing those people to use ConTeXt.
> However, as those people told me, when using LaTeX they don't need any 
> further technical knowledge, since any file can be typeset out of the box 
> with an installation of TeXLive.
> 
> So here is my frustrated question: why we cannot typeset a file « test.tex » 
> written in TeX and using ConTeXt commands just by saying
>   context test.tex
> in a terminal window (nor using a GUI front end) while one would be able to 
> do that if that file were written using LaTeX commands?
> 
> I know that it is possible to search on the web and find an answer regarding 
> the steps one should take to enable ConTeXt from TeXLive, but it is not 
> natural to expect people come to ConTeXt if they cannot use it out of the 
> box. By the way, just for testing I installed TeXLive 2018, and could not use 
> ConTeXt out of the box… (and I don't remember what I should do to enable it…).
> 
> Indeed it is always possible to install a standalone version of ConTeXt on 
> one's machine, but this pushes us to behave like a sect in the TeX community. 
> 
> I don't know to whom I should write to have ConTeXt enabled in TeXLive when 
> one installs it: can anyone give me a hint?
> 
> Best regards to all of you, especially those who do an incredible lot of work 
> to develop ConTeXt and, who deserve to be better known among TeX users.
> Otared K.
> ___
> 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
> ___

Taco Hoekwater
Elvenkind BV




___
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] How to scale math with text?

2018-06-06 Thread Aditya Mahajan

On Tue, 5 Jun 2018, Alan Braslau wrote:


The "style=" use is, in general, preferable for tagging (and
exporting). For less than paragraph switching, the use of
\definehighlight for example could be used.

Quick and dirty font switching is almost always poor usage...


You didn't read the first paragraph of my article :-)

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
___

[NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Otared Kavian
Hi all,

I would like to report (with a rather bad humor) on an issue regarding the use 
of ConTeXt when one starts with TeXLive.

Last week I was at a meeting of mathematicians and several people asked me to 
explain why I am using ConTeXt rather than LaTeX, and show them some of the 
features which (according to me) are fundamentally better thought and better 
designed.

When some of my colleagues were convinced with what I showed them, since they 
had already a version of TeXLive installed on their computer, they wanted to 
try out ConTeXt on their own. So we tried to make some tests with their own 
installation of TeXLive and ConTeXt on their machine, and this is when the 
troubles began, because none of them could run ConTeXt out of the box…

I confess that I am not at all a geek and my knowledge of ConTeXt is rather 
elementary, and just sufficient for my own (elementary) needs, therefore I 
could not solve the problems preventing those people to use ConTeXt.
However, as those people told me, when using LaTeX they don't need any further 
technical knowledge, since any file can be typeset out of the box with an 
installation of TeXLive.

So here is my frustrated question: why we cannot typeset a file « test.tex » 
written in TeX and using ConTeXt commands just by saying
context test.tex
in a terminal window (nor using a GUI front end) while one would be able to do 
that if that file were written using LaTeX commands?

I know that it is possible to search on the web and find an answer regarding 
the steps one should take to enable ConTeXt from TeXLive, but it is not natural 
to expect people come to ConTeXt if they cannot use it out of the box. By the 
way, just for testing I installed TeXLive 2018, and could not use ConTeXt out 
of the box… (and I don't remember what I should do to enable it…).

Indeed it is always possible to install a standalone version of ConTeXt on 
one's machine, but this pushes us to behave like a sect in the TeX community. 

I don't know to whom I should write to have ConTeXt enabled in TeXLive when one 
installs it: can anyone give me a hint?

Best regards to all of you, especially those who do an incredible lot of work 
to develop ConTeXt and, who deserve to be better known among TeX users.
Otared K.
___
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 converted images

2018-06-06 Thread Jano Kula
 Nice tip, works as expected, thank you, Hans.
Jano



On Wed, 6 Jun 2018 at 15:02, Hans Hagen  wrote:

> On 6/6/2018 12:31 PM, Jano Kula wrote:
> > Dear list,
> >
> > images converted on-the-fly (m_k_i_v_*)are stored in the same folder as
> > original images. Is there an option to change cache folder? Original
> > files are stored in the read-only location.
> >
> > Script convert offers --outputpath option, but I would like to make the
> > switch with script context, using mtxrun --script context .
>
> \starttext
>  \externalfigure[hacker.png][conversion=cmyk.pdf,cache=mkivcache]
> \stoptext
>
> > Taco's talk 'mtxrun scripts' at the meeting
> >  will hopefully
> > show us even more magic.
> >
> > Thank you,
> > Jano
> >
> >
> >
> ___
> > 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] First example in xml-mkiv.pdf

2018-06-06 Thread Keith McKay
Aah yes, how silly of me to forget to add \starttext... \stoptext! 
Thanks for your help.


Best Wishes

Keith


On 06/06/2018 14:32, Hans Hagen wrote:

On 6/5/2018 10:03 PM, Keith McKay wrote:

Dear List,

In my continuing effort to improve my ConTeXt skills I thought I 
would have a look at XML and ConTeXt. Note: I have no XML skills but, 
"in for a penny, in for a pound", as they say over here. I started by 
looking at the very first example on page 5 of "Dealing with XML in 
ConTeXt mkiv" and straight away hit a problem.  There is a typo in 
the first line of the XML file which I corrected:




should be



However when I ran the file using the tex file it only produced a 3 
page pdf with a contents page and 2 title pages and no other text.


Here is the XML file which is the similar to the one on page 5 but 
with two sections rather than one:








Some title



a paragraph of text

another paragraph of text







Another title



a paragraph of text

another paragraph of text







The TeX file is cut and pasted from pages 5 and 6 of xml-mkiv.pdf:

\startxmlsetups xml:demo:base

\xmlsetsetup{#1}{document|section|p|itemize|item}{xml:demo:*}

\stopxmlsetups

\xmlregisterdocumentsetup{demo}{xml:demo:base}

\startxmlsetups xml:demo:document

\starttitle[title={Contents}]

\placelist[chapter]

\stoptitle

\xmlflush{#1}

\stopxmlsetups

\startxmlsetups xml:demo:section

\startchapter[title=\xmlfirst{#1}{/title}]

\xmlfirst{#1}{/content}

\stopchapter

\stopxmlsetups

\startxmlsetups xml:demo:p

\xmlflush{#1}\endgraf

\stopxmlsetups

\xmlprocessfile{demo}{demo.xml}{}

This seemed such a simple example and I'm a bit perplexed as to why 
it did not work. Can somebody explain why no paragraphs are showing 
up? I'm using:


ConTeXt ver: 2018.04.04 00:51 MKIV beta fmt: 2018.6.2 int: 
english/english


LuaTeX, Version 1.07.0 (TeX Live 2018)

Thanks and Best Wishes

you need to add \starttext ... \stoptext

\startbuffer[demo]



    
    Some title
    
    a paragraph of text
    another paragraph of text
    
    
    
    Another title
    
    a paragraph of text
    another paragraph of text
    
    

\stopbuffer

\startxmlsetups xml:demo:base
    \xmlsetsetup{#1}{document|section|p|itemize|item}{xml:demo:*}
\stopxmlsetups

\xmlregisterdocumentsetup{demo}{xml:demo:base}

\startxmlsetups xml:demo:document
    \starttitle[title={Contents}]
    \placelist[chapter]
    \stoptitle
    \xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:demo:section
    \startchapter[title=\xmlfirst{#1}{/title}]
    \xmlfirst{#1}{/content}
    \stopchapter
\stopxmlsetups

\startxmlsetups xml:demo:p
    \xmlflush{#1}\endgraf
\stopxmlsetups

\starttext
    \xmlprocessbuffer{demo}{demo}{}
\stoptext


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



___
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] First example in xml-mkiv.pdf

2018-06-06 Thread Hans Hagen

On 6/5/2018 10:03 PM, Keith McKay wrote:

Dear List,

In my continuing effort to improve my ConTeXt skills I thought I would 
have a look at XML and ConTeXt. Note: I have no XML skills but, "in for 
a penny, in for a pound", as they say over here. I started by looking at 
the very first example on page 5 of "Dealing with XML in ConTeXt mkiv" 
and straight away hit a problem.  There is a typo in the first line of 
the XML file which I corrected:




should be



However when I ran the file using the tex file it only produced a 3 page 
pdf with a contents page and 2 title pages and no other text.


Here is the XML file which is the similar to the one on page 5 but with 
two sections rather than one:








Some title



a paragraph of text

another paragraph of text







Another title



a paragraph of text

another paragraph of text







The TeX file is cut and pasted from pages 5 and 6 of xml-mkiv.pdf:

\startxmlsetups xml:demo:base

\xmlsetsetup{#1}{document|section|p|itemize|item}{xml:demo:*}

\stopxmlsetups

\xmlregisterdocumentsetup{demo}{xml:demo:base}

\startxmlsetups xml:demo:document

\starttitle[title={Contents}]

\placelist[chapter]

\stoptitle

\xmlflush{#1}

\stopxmlsetups

\startxmlsetups xml:demo:section

\startchapter[title=\xmlfirst{#1}{/title}]

\xmlfirst{#1}{/content}

\stopchapter

\stopxmlsetups

\startxmlsetups xml:demo:p

\xmlflush{#1}\endgraf

\stopxmlsetups

\xmlprocessfile{demo}{demo.xml}{}

This seemed such a simple example and I'm a bit perplexed as to why it 
did not work. Can somebody explain why no paragraphs are showing up? I'm 
using:


ConTeXt ver: 2018.04.04 00:51 MKIV beta fmt: 2018.6.2 int: english/english

LuaTeX, Version 1.07.0 (TeX Live 2018)

Thanks and Best Wishes

you need to add \starttext ... \stoptext

\startbuffer[demo]




Some title

a paragraph of text
another paragraph of text



Another title

a paragraph of text
another paragraph of text



\stopbuffer

\startxmlsetups xml:demo:base
\xmlsetsetup{#1}{document|section|p|itemize|item}{xml:demo:*}
\stopxmlsetups

\xmlregisterdocumentsetup{demo}{xml:demo:base}

\startxmlsetups xml:demo:document
\starttitle[title={Contents}]
\placelist[chapter]
\stoptitle
\xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:demo:section
\startchapter[title=\xmlfirst{#1}{/title}]
\xmlfirst{#1}{/content}
\stopchapter
\stopxmlsetups

\startxmlsetups xml:demo:p
\xmlflush{#1}\endgraf
\stopxmlsetups

\starttext
\xmlprocessbuffer{demo}{demo}{}
\stoptext


-
  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] location of converted images

2018-06-06 Thread Hans Hagen

On 6/6/2018 12:31 PM, Jano Kula wrote:

Dear list,

images converted on-the-fly (m_k_i_v_*)are stored in the same folder as 
original images. Is there an option to change cache folder? Original 
files are stored in the read-only location.


Script convert offers --outputpath option, but I would like to make the 
switch with script context, using mtxrun --script context .


\starttext
\externalfigure[hacker.png][conversion=cmyk.pdf,cache=mkivcache]
\stoptext

Taco's talk 'mtxrun scripts' at the meeting 
 will hopefully 
show us even more magic.


Thank you,
Jano


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

[NTG-context] location of converted images

2018-06-06 Thread Jano Kula
Dear list,

images converted on-the-fly (m_k_i_v_*) are stored in the same folder as
original images. Is there an option to change cache folder? Original files
are stored in the read-only location.

Script convert offers --outputpath option, but I would like to make the
switch with script context, using mtxrun --script context .

Taco's talk 'mtxrun scripts' at the meeting
 will hopefully show
us even more magic.

Thank you,
Jano
___
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
___