Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Hi Axel,

> On 10 Aug 2020, at 16:11, Axel Kielhorn  wrote:
> […]
> Well, one more suggestion:
> Use TeX Live Manager to update TeX-Live.
> I didn’t see any comments about context not working, but maybe the update 
> fixes something.
> (You can filter for context related packages.)
> 
> There has been one update to „context“ in June 2020.

I did update TeXLive with TeX Live Manager. But still I cannot run ConTeXt from 
TeXLive2020 (neither from TeXShop nor from Terminal).

> […]
> And another one:
> Please look into the home directory for a local .texlive2020 folder.
> There shouldn’t be any and it shouldn’t contain anything context related.

I checked for the existence of directories of the type .texlive2020: there is 
no such directory in my home directory.
There were three leftover directories .texlive2008, .texlive2010 and 
.texlive2019, which I removed.
Doing 
mtxrun --generate
creates a .texlive2019 directory which contains some other folders which are
texmf-var/luatex-cache/context/88aacfe88c3cbee9a12d5f4bec4da90b/trees/
and in the latter folder there are 10 files with suffixes .lua and .luc.
Again 
context test.tex
results in 
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'

So the problem remains…

Best regards: Otared
___
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] custom header/footer for 1st/other pages of section

2020-08-10 Thread Mike Cooper


> -Original Message-
> From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang
> Schuster
> Sent: Thursday, August 06, 2020 2:58 PM
> To: mailing list for ConTeXt users
> Subject: Re: [NTG-context] custom header/footer for 1st/other pages of section
> 
> Mike Cooper schrieb am 06.08.2020 um 17:15:
> > Hola,
> >
> > I imagine this is probably simple but I can’t find it…
> >
> > I want the first page only of each section to have particular content in
> > header/footer, then all the following pages to different specific
> > content.Right now, I am manually entering it in each section.I’m hoping
> > there’s a way to automate this; put it into the environment file for all
> > sections.
> 
> Of course you can set different header/footer layouts for chapter pages.
> 
> With  \setupheadertexts and \setupfootertexts you set first the text
> which should appear on regular pages.
> 
> To have a different text on a chapter page you can use the \definetext
> command to set them (third first argument is the name of the setup and
> the second argument the location). These setups than can applied to the
> chapter with the header and footer key in \setuphead.
> 
>  begin example
> \setupheadertexts
>[Page \userpagenumber\ of \lastuserpagenumber]
> 
> \definetext
>[chapterheader] % name
>[header] % vertical position
>[This is a chapter page] % content
> 
> \definetext
>[chapterfooter]
>[footer]
>[pagenumber]
> 
> \setuphead
>[chapter]
>[header=chapterheader,
> footer=chapterfooter]
> 
> \starttext
> 
> \dorecurse{10}
>{\expanded{\chapter{Chapter \recurselevel}}
> \dorecurse{\numexpr2*\recurselevel\relax}{\samplefile{knuth}}}
> 
> \stoptext
>  end example
> 
> Wolfgang


Thank you Wolfgang!

I tried to change your code from chapters to sections (since that's what I was 
already using) but it didn't work.  So, I switched my sections to chapters and 
it works great!  But it also caused me to run into other things I'd set up 
manually that I'm having to figure out---good way to learn!  Haha!

One thing I *CANNOT* figure out:  I've been using \doifoddpageelse to put in a 
blank/empty page at the end of a section (if needed) so that new sections 
always start on an odd page.  This is still working with the change to chapters 
from sections, EXCEPT for the first chapter (after TOC)!  Totally stuck with 
that one...

Thanks again!

hasta,
Mike

___
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 set pdfminorversion in LMTX?

2020-08-10 Thread Wolfgang Schuster

Aditya Mahajan schrieb am 10.08.2020 um 09:11:

On Mon, 10 Aug 2020, Henri Menke wrote:


On 10/08/20, 01:20, Aditya Mahajan wrote:

Hi,

How do I set pdfminorversion in LTMX. Both \pdfminorversion and 
\pdfvariable minorversion fail with undefined control sequence.


Does lpdf.setversion(major, minor) work in LMTX?


It does not give an error, but it doesn't change the minor version 
either.


1. A better solution for this is to add a key to \setupbackend.

2. It doesn't work because when you set the version it's too late 
because ConTeXt already wrote the PDF header (the relevant code is in 
lpdf-lmt.lmt).


This is a problem because when you set a PDF format the version entry is 
ignored in the header (but it's correct in catalogue entry).



%% begin example
\setupbackend[format=PDF/X-1a:2003]

\starttext
Hello TeX.
\stoptext
%% end example

%% begin pdf file (snippet from the example above, compare the version 
numbers)

%PDF-1.7
%ÃÏÎÔÅØÔÐÄÆ
...
<< /Lang (en) /Metadata 7 0 R /PageLabels << /Nums [ 0 << /S /D /St 1 >> 
] >> /PageMode /UseNone /Pages 15 0 R /Type /Catalog /Version /1.4.0 >>

...
%% end pdf file

Wolfgang

___
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] Wrong counting of lines and paragraphs

2020-08-10 Thread Marcus Vinicius Mesquita
Ok. Thank you for your clarification.

Regards

Marcus Vinicius

On Sat, Aug 8, 2020 at 7:03 AM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> Marcus Vinicius Mesquita schrieb am 07.08.2020 um 21:10:
> > Dear list,
> >
> > In the MWE below you don't get lines and paragraphs numbered correctly:
> >
> > [...]
> >
> > Have I hit a bug?
>
> No, this is a side effect from your sections which start the paragraphs.
>
> Wolfgang
>


-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___
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 can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Axel Kielhorn

> The luatools script was there to offer some kpse like functionality but it 
> has been obsolete for ages (the generate was in mtx-base at that time). Just 
> use
> 
>  mtxrun --generate

Should the comment in the engine file change?

Context is called with:

mtxrun --script context --autogenerate --synctex=1 "$1“

Greetings
Axel

___
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 can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Axel Kielhorn


> Am 10.08.2020 um 14:59 schrieb Otared Kavian :
> 
> It is possible that the version of mtxrun or luatools scripts in TeXLive are 
> not working.

Well, one more suggestion:
Use TeX Live Manager to update TeX-Live.
I didn’t see any comments about context not working, but maybe the update fixes 
something.
(You can filter for context related packages.)

There has been one update to „context“ in June 2020.

> I don't remember what I did with TeXLive2019 to fix the issue, but my concern 
> is that if including ConTeXt in TeXLive is intended for people to use it, 
> then it SHOULD run without such tweakings which, even for someone who is a 
> regular user of ConTeXt, are not easy to find.

Well, it works here on a (relatively) clean install of 10.13.

> The solution consisting of installing a standalone tree of ConTeXt, is not a 
> real solution because many people do not know how to do it and, even if they 
> could, then what would be the point of doing so much work for people who 
> include a ConTeXt tree in TeXLive?

It should work.

> Anyway, I apologize for my acrimonius remarks, and I thank you again for your 
> help.

One more thing:
Please look at environment variables starting with TEX and comment them, they 
will cause problems.

And another one:
Please look into the home directory for a local .texlive2020 folder.
There shouldn’t be any and it shouldn’t contain anything context related.

Greetings
Axel
___
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 can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Hi Hans and Taco,

Thanks for the help!
Doing 
context --make
results in
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'

Doing 
mtxrun --generate
results in the lines (and much more):

resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/opt/local/libexec/texlive/binaries'
resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/opt/local/libexec/texlive'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to 
'/opt/local/libexec'
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to ''
resolvers   | resolving | variable 'TEXOS' set to 'texlive'
resolvers   | resolving |
resolvers   | resolving | using configuration specification 
'home:texmf/web2c;/opt/local/etc/texmf'
resolvers   | resolving |
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/Users/kavian/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on weird path 
'/opt/local/etc/texmf' from specification '/opt/local/etc/texmf'
resolvers   | resolving | found regular configuration file 
'/opt/local/etc/texmf/texmfcnf.lua'

The directory
/opt/local/libexec/texlive/binaries
exists and contains  (among other things) « context » which is a symlink to 
/opt/local/share/texmf-texlive/scripts/context/stubs/unix/context
which does not exist…

Best regards: Otared

> On 10 Aug 2020, at 15:20, Hans Hagen  wrote:
> 
> On 8/10/2020 2:59 PM, Otared Kavian wrote:
>> Hi Alex,
>> Thank you and Taco for helping.
>> In order to help solve the problem of running ConTeXt from MacTeX, I 
>> installed MacTeX2020 (which is the same as TeXLive2020). Now if in a 
>> Terminal window I do
>>  which context
>> the answer is:
>>  /Library/TeX/texbin/context
>> And the answer to
>>  which pdflatex
>> is
>>  /Library/TeX/texbin/pdflatex
>> Also the answer to:
>>  which luatools
>> is
>>  /Library/TeX/texbin/luatools
>> So the binaries are in /Library/TeX/texbin, which is in fact an alias for
>>  /usr/local/texlive/2020/bin/x86_64-darwin
>> Now, as you and the « ConTeXt (LuaTeX) » engin suggest, if I do
>>  luatools --generate
>> then the answer is:
>>  mtxrun | unknown script 'base.lua' or 'mtx-base.lua'
>> It is possible that the version of mtxrun or luatools scripts in TeXLive are 
>> not working.
>> I don't remember what I did with TeXLive2019 to fix the issue, but my 
>> concern is that if including ConTeXt in TeXLive is intended for people to 
>> use it, then it SHOULD run without such tweakings which, even for someone 
>> who is a regular user of ConTeXt, are not easy to find.
>> The solution consisting of installing a standalone tree of ConTeXt, is not a 
>> real solution because many people do not know how to do it and, even if they 
>> could, then what would be the point of doing so much work for people who 
>> include a ConTeXt tree in TeXLive?
>> Anyway, I apologize for my acrimonius remarks, and I thank you again for 
>> your help.
> The luatools script was there to offer some kpse like functionality but it 
> has been obsolete for ages (the generate was in mtx-base at that time). Just 
> use
> 
>  mtxrun --generate
> 
> or
> 
>  context --make
> 
> which does a generate anyway (normally)
> 
> Hans
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -

___
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 can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Hans Hagen

On 8/10/2020 2:59 PM, Otared Kavian wrote:

Hi Alex,

Thank you and Taco for helping.
In order to help solve the problem of running ConTeXt from MacTeX, I installed 
MacTeX2020 (which is the same as TeXLive2020). Now if in a Terminal window I do
which context
the answer is:
/Library/TeX/texbin/context
And the answer to
which pdflatex
is
/Library/TeX/texbin/pdflatex
Also the answer to:
which luatools
is
/Library/TeX/texbin/luatools

So the binaries are in /Library/TeX/texbin, which is in fact an alias for
/usr/local/texlive/2020/bin/x86_64-darwin

Now, as you and the « ConTeXt (LuaTeX) » engin suggest, if I do
luatools --generate
then the answer is:
mtxrun | unknown script 'base.lua' or 'mtx-base.lua'
It is possible that the version of mtxrun or luatools scripts in TeXLive are 
not working.

I don't remember what I did with TeXLive2019 to fix the issue, but my concern 
is that if including ConTeXt in TeXLive is intended for people to use it, then 
it SHOULD run without such tweakings which, even for someone who is a regular 
user of ConTeXt, are not easy to find.
The solution consisting of installing a standalone tree of ConTeXt, is not a 
real solution because many people do not know how to do it and, even if they 
could, then what would be the point of doing so much work for people who 
include a ConTeXt tree in TeXLive?

Anyway, I apologize for my acrimonius remarks, and I thank you again for your 
help.
The luatools script was there to offer some kpse like functionality but 
it has been obsolete for ages (the generate was in mtx-base at that 
time). Just use


  mtxrun --generate

or

  context --make

which does a generate anyway (normally)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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 can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Taco Hoekwater


> On 10 Aug 2020, at 14:59, Otared Kavian  wrote:
> 
> Hi Alex,
> 
> Thank you and Taco for helping. 
> In order to help solve the problem of running ConTeXt from MacTeX, I 
> installed MacTeX2020 (which is the same as TeXLive2020). Now if in a Terminal 
> window I do
>   which context
> the answer is:
>   /Library/TeX/texbin/context
> And the answer to
>   which pdflatex
> is
>   /Library/TeX/texbin/pdflatex
> Also the answer to:
>   which luatools 
> is
>   /Library/TeX/texbin/luatools
> 
> So the binaries are in /Library/TeX/texbin, which is in fact an alias for
>   /usr/local/texlive/2020/bin/x86_64-darwin
> 
> Now, as you and the « ConTeXt (LuaTeX) » engin suggest, if I do
>   luatools --generate 

Does

  mtxrun —generate

work?



___
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 can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Hi Alex,

Thank you and Taco for helping. 
In order to help solve the problem of running ConTeXt from MacTeX, I installed 
MacTeX2020 (which is the same as TeXLive2020). Now if in a Terminal window I do
which context
the answer is:
/Library/TeX/texbin/context
And the answer to
which pdflatex
is
/Library/TeX/texbin/pdflatex
Also the answer to:
which luatools 
is
/Library/TeX/texbin/luatools

So the binaries are in /Library/TeX/texbin, which is in fact an alias for
/usr/local/texlive/2020/bin/x86_64-darwin

Now, as you and the « ConTeXt (LuaTeX) » engin suggest, if I do
luatools --generate 
then the answer is:
mtxrun | unknown script 'base.lua' or 'mtx-base.lua'
It is possible that the version of mtxrun or luatools scripts in TeXLive are 
not working.

I don't remember what I did with TeXLive2019 to fix the issue, but my concern 
is that if including ConTeXt in TeXLive is intended for people to use it, then 
it SHOULD run without such tweakings which, even for someone who is a regular 
user of ConTeXt, are not easy to find.
The solution consisting of installing a standalone tree of ConTeXt, is not a 
real solution because many people do not know how to do it and, even if they 
could, then what would be the point of doing so much work for people who 
include a ConTeXt tree in TeXLive?

Anyway, I apologize for my acrimonius remarks, and I thank you again for your 
help.

Best regards: Otared


> On 10 Aug 2020, at 12:39, Axel Kielhorn  wrote:
> 
> 
> 
>> Am 10.08.2020 um 12:03 schrieb Otared Kavian :
>> 
>> Hi all,
>> 
>> I suggested to a friend, who is using plain TeX and LaTeX, to switch to 
>> ConTeXt, and since he is using TeXShop on MacOSX with a version of 
>> TeXLive2020 (named MacTeX2020), I thought he would just typeset a simple 
>> test document with the option « ConTeXt (LuaTeX) » from the menu in TeXShop, 
>> where it does appear.
>> 
>> Unfortunately when doing this all he gets in the log file is:
>> 
>> /sw/bin/init.csh: No such file or directory.
>> mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'
>> 
>> and I could not help him make the format (I do not have access to his 
>> machine, and I was trying to explain what to do on the phone).
> 
> The TeXshop engine file says:
> 
> # Before using this engine, you must run the following command once in 
> Terminal: luatools --generate
> 
> I probably did this when I installed TeXLive.
> 
> But I’m a little irritated by /sw/bin/.
> Is this a real MacTeX installation and not something like homebrew?
> 
> Let’s start with the simple things:
> 
> What is the result of:
> which context
> 
> it should be:
> /Library/TeX/texbin/context
> 
> If that doesn’t work try:
> 
> which pdflatex
> 
> The result is probably not
> 
> /Library/TeX/texbin/pdflatex
> 
> but should give some indication where to look.
> 
> There may be an old installation of MacTeX without Context somewhere in the 
> path.
> 
> If this is an old TeXShop installation, the Context engine may need an update 
> because it points to the old PATH.
> Simply copy the engine from ~/Library/TeXShop/Engines/inactive/ConTeXt to 
> ~/Library/TeXShop/Engines
> 
> Hope this helps
> Axel
> 
> 
> ___
> 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] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Axel Kielhorn


> Am 10.08.2020 um 12:03 schrieb Otared Kavian :
> 
> Hi all,
> 
> I suggested to a friend, who is using plain TeX and LaTeX, to switch to 
> ConTeXt, and since he is using TeXShop on MacOSX with a version of 
> TeXLive2020 (named MacTeX2020), I thought he would just typeset a simple test 
> document with the option « ConTeXt (LuaTeX) » from the menu in TeXShop, where 
> it does appear.
> 
> Unfortunately when doing this all he gets in the log file is:
> 
> /sw/bin/init.csh: No such file or directory.
> mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'
> 
> and I could not help him make the format (I do not have access to his 
> machine, and I was trying to explain what to do on the phone).

The TeXshop engine file says:

# Before using this engine, you must run the following command once in 
Terminal: luatools --generate

I probably did this when I installed TeXLive.

But I’m a little irritated by /sw/bin/.
Is this a real MacTeX installation and not something like homebrew?

Let’s start with the simple things:

What is the result of:
which context

it should be:
/Library/TeX/texbin/context

If that doesn’t work try:

which pdflatex

The result is probably not

/Library/TeX/texbin/pdflatex

but should give some indication where to look.

There may be an old installation of MacTeX without Context somewhere in the 
path.

If this is an old TeXShop installation, the Context engine may need an update 
because it points to the old PATH.
Simply copy the engine from ~/Library/TeXShop/Engines/inactive/ConTeXt to 
~/Library/TeXShop/Engines

Hope this helps
Axel


___
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 can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Taco Hoekwater


> On 10 Aug 2020, at 12:03, Otared Kavian  wrote:
> 
> Hi all,
> 
> I suggested to a friend, who is using plain TeX and LaTeX, to switch to 
> ConTeXt, and since he is using TeXShop on MacOSX with a version of 
> TeXLive2020 (named MacTeX2020), I thought he would just typeset a simple test 
> document with the option « ConTeXt (LuaTeX) » from the menu in TeXShop, where 
> it does appear.
> 
> Unfortunately when doing this all he gets in the log file is:
> 
> /sw/bin/init.csh: No such file or directory.

My guess is that this missing init.csh is supposed to set up the correct PATH 
environment.

But that is as far as my knowledge goes…

Taco
___
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] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Hi all,

I suggested to a friend, who is using plain TeX and LaTeX, to switch to 
ConTeXt, and since he is using TeXShop on MacOSX with a version of TeXLive2020 
(named MacTeX2020), I thought he would just typeset a simple test document with 
the option « ConTeXt (LuaTeX) » from the menu in TeXShop, where it does appear.

Unfortunately when doing this all he gets in the log file is:

/sw/bin/init.csh: No such file or directory.
mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'

and I could not help him make the format (I do not have access to his machine, 
and I was trying to explain what to do on the phone).

He cannot (or does not want) to install a standalone version of ConTeXt, and he 
thinks that since ConTeXt exists in TeXLive2020 it should work out of the box, 
as do plain TeX and LaTeX. My opinion is that he is right… But since for the 
tim ebeing this is not the case, can anyone explain what to do in order to 
enable ConTeXt running from TeXLive2020?

Thanks in advance for any help: 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] How to set pdfminorversion in LMTX?

2020-08-10 Thread Aditya Mahajan

On Mon, 10 Aug 2020, Henri Menke wrote:


On 10/08/20, 01:20, Aditya Mahajan wrote:

Hi,

How do I set pdfminorversion in LTMX. Both \pdfminorversion and \pdfvariable 
minorversion fail with undefined control sequence.


Does lpdf.setversion(major, minor) work in LMTX?


It does not give an error, but it doesn't change the minor version either.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to set pdfminorversion in LMTX?

2020-08-10 Thread Henri Menke
On 10/08/20, 01:20, Aditya Mahajan wrote:
> Hi,
> 
> How do I set pdfminorversion in LTMX. Both \pdfminorversion and \pdfvariable 
> minorversion fail with undefined control sequence.

Does lpdf.setversion(major, minor) work in LMTX?

Cheers, Henri

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