ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TeXLive and ConTeXt
@ 2018-06-06 14:54 Otared Kavian
  2018-06-06 15:19 ` Taco Hoekwater
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Otared Kavian @ 2018-06-06 14:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 14:54 TeXLive and ConTeXt Otared Kavian
@ 2018-06-06 15:19 ` Taco Hoekwater
  2018-06-06 18:35   ` Otared Kavian
  2018-06-06 15:20 ` Aditya Mahajan
  2018-06-06 17:15 ` Hans Hagen
  2 siblings, 1 reply; 13+ messages in thread
From: Taco Hoekwater @ 2018-06-06 15:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <otared@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 14:54 TeXLive and ConTeXt Otared Kavian
  2018-06-06 15:19 ` Taco Hoekwater
@ 2018-06-06 15:20 ` Aditya Mahajan
  2018-06-06 18:37   ` Otared Kavian
  2018-06-07 18:12   ` Aditya Mahajan
  2018-06-06 17:15 ` Hans Hagen
  2 siblings, 2 replies; 13+ messages in thread
From: Aditya Mahajan @ 2018-06-06 15:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.

Please do keep in mind that this is texlive that ships with archlinux and 
not the one distributed by ctan. So, this could be a packaging error in 
arch.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 14:54 TeXLive and ConTeXt Otared Kavian
  2018-06-06 15:19 ` Taco Hoekwater
  2018-06-06 15:20 ` Aditya Mahajan
@ 2018-06-06 17:15 ` Hans Hagen
  2018-06-06 18:40   ` Otared Kavian
  2 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2018-06-06 17:15 UTC (permalink / raw)
  To: ntg-context@ntg.nl >> mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 15:19 ` Taco Hoekwater
@ 2018-06-06 18:35   ` Otared Kavian
  0 siblings, 0 replies; 13+ messages in thread
From: Otared Kavian @ 2018-06-06 18:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <taco@elvenkind.com> 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 <otared@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 15:20 ` Aditya Mahajan
@ 2018-06-06 18:37   ` Otared Kavian
  2018-06-06 22:40     ` Taco Hoekwater
  2018-06-07 18:12   ` Aditya Mahajan
  1 sibling, 1 reply; 13+ messages in thread
From: Otared Kavian @ 2018-06-06 18:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <adityam@umich.edu> 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
> /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.
> 
> Please do keep in mind that this is texlive that ships with archlinux and not the one distributed by ctan. So, this could be a packaging error in arch.
> 
> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 17:15 ` Hans Hagen
@ 2018-06-06 18:40   ` Otared Kavian
  2018-06-07 12:53     ` Arthur Reutenauer
  0 siblings, 1 reply; 13+ messages in thread
From: Otared Kavian @ 2018-06-06 18:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <j.hagen@xs4all.nl> 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 / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 18:37   ` Otared Kavian
@ 2018-06-06 22:40     ` Taco Hoekwater
  2018-06-07 12:35       ` Aditya Mahajan
  2018-06-07 22:25       ` Hans Åberg
  0 siblings, 2 replies; 13+ messages in thread
From: Taco Hoekwater @ 2018-06-06 22:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <otared@gmail.com> 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 <adityam@umich.edu> 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
>> /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.
>> 
>> Please do keep in mind that this is texlive that ships with archlinux and not the one distributed by ctan. So, this could be a packaging error in arch.
>> 
>> 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
> ___________________________________________________________________________________

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 22:40     ` Taco Hoekwater
@ 2018-06-07 12:35       ` Aditya Mahajan
  2018-06-07 22:25       ` Hans Åberg
  1 sibling, 0 replies; 13+ messages in thread
From: Aditya Mahajan @ 2018-06-07 12:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 7 Jun 2018, Taco Hoekwater wrote:

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

That was a distribution screw up. I did the following test using docker:

1. Install full texlive (it is a 3 GB install!)

$docker pull sumdoc/texlive-2017

2. Run Docker (here /tmp/context folder contained a few context files)

$docker run -it -v /tmp/context:/home -w /home sumdoc/texlive-2017 
/bin/bash

3. On the docker prompt, run

#context test.tex

Context regenerated the formats and compiled the files.

So context works out of the box on texlive 2017. How to make sure that 
texlive distributions on major linux distributions work out of the box is 
a separate issue. I am not sure what archlinux is doing differently that a 
systemd service for setting color profiles is being called.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 18:40   ` Otared Kavian
@ 2018-06-07 12:53     ` Arthur Reutenauer
  0 siblings, 0 replies; 13+ messages in thread
From: Arthur Reutenauer @ 2018-06-07 12:53 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

> My point, as confirmed by Aditya, is that context should work without any other user intervention when TL is installed.

  Yes, and nobody is saying anything to the contrary.  It is a bug that
it is not working; not a deliberate action, or evidence of sectarian
behaviour.

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

  Actually, rather than bothering Mojca who is already overburdened, you
should report it to the TeX Live list (http://tug.org/mailman/listinfo/tex-live)
where you’ll be able to reach the people responsible for TeX Live, and
many more.  

	Best,

		Arthur
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 15:20 ` Aditya Mahajan
  2018-06-06 18:37   ` Otared Kavian
@ 2018-06-07 18:12   ` Aditya Mahajan
  1 sibling, 0 replies; 13+ messages in thread
From: Aditya Mahajan @ 2018-06-07 18:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 6 Jun 2018, 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?
>
> $context test
> resolvers       | trees | analyzing 'home:texmf'
> [...]
> '.'/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.

If I disable the colord.service through systemd, then context format is 
generated correctly, and context can compile the file. Once the format has 
been generated, the colord.service can be enabled again and the context 
compiles correctly.

So, I'll say that the arch version of texlive also works out of the box.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-06 22:40     ` Taco Hoekwater
  2018-06-07 12:35       ` Aditya Mahajan
@ 2018-06-07 22:25       ` Hans Åberg
  2018-06-14  8:58         ` Robert Zydenbos
  1 sibling, 1 reply; 13+ messages in thread
From: Hans Åberg @ 2018-06-07 22:25 UTC (permalink / raw)
  To: Taco Hoekwater; +Cc: mailing list for ConTeXt users, Otared Kavian


> On 7 Jun 2018, at 00:40, Taco Hoekwater <taco@elvenkind.com> wrote:
> 
> It is interesting (and a bit depressing) that my TL2018 install worked out of the box on my mac.

I got errors, but then I updated the application 'TeX Live Utility' in /Applications/TeX/, and then it worked.

So run this program, and also regularly for updates.

Even though the distribution is only released once a year, it is possible to keep packages up-to-date.


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TeXLive and ConTeXt
  2018-06-07 22:25       ` Hans Åberg
@ 2018-06-14  8:58         ` Robert Zydenbos
  0 siblings, 0 replies; 13+ messages in thread
From: Robert Zydenbos @ 2018-06-14  8:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Perhaps it is useful that I mention that this is a MkIV problem on my iMac with TeXLive (2018 version). Using MkII, also with XeTeX, everything ran right out of the box. For MkIV, I had to run a program to let LuaTeX find all the fonts, and then it worked.

Robert
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-06-14  8:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-06 14:54 TeXLive and ConTeXt Otared Kavian
2018-06-06 15:19 ` Taco Hoekwater
2018-06-06 18:35   ` Otared Kavian
2018-06-06 15:20 ` Aditya Mahajan
2018-06-06 18:37   ` Otared Kavian
2018-06-06 22:40     ` Taco Hoekwater
2018-06-07 12:35       ` Aditya Mahajan
2018-06-07 22:25       ` Hans Åberg
2018-06-14  8:58         ` Robert Zydenbos
2018-06-07 18:12   ` Aditya Mahajan
2018-06-06 17:15 ` Hans Hagen
2018-06-06 18:40   ` Otared Kavian
2018-06-07 12:53     ` Arthur Reutenauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).