Re: [NTG-context] Color property of \setupurl

2022-08-19 Thread Max Chernoff via ntg-context
Hi,

> Could someone clarify me in what kind of context the color of a 
> hyperlink is controlled by the "color" property of \setupurl?

This code:

   \show\setupurl
   \showthe\everysetupurl
   
produces:

   > \setupurl=frozen protected macro: [#1]->\ifarguments \or 
\mult_interfaces_get_parameters \??url [#1]\fi \the \everysetupurl 
   > 
   
so \setupurl doesn't appear to do anything at all. I suspect that it is an
old MkII relic, and can be safely ignored.

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

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


[NTG-context] Color property of \setupurl

2022-08-19 Thread Joaquín Ataz López via ntg-context

Good morning everyone.

I have been doing some tests on the "color" property of 
\setupinteraction and the "color" property of \setupurl and my feeling 
is that the color of the hyperlinks is always controlled by 
\setupinteraction.


Could someone clarify me in what kind of context the color of a 
hyperlink is controlled by the "color" property of \setupurl?



--
Joaquín Ataz López
Derecho civil
Universidad de Murcia | j...@um.es

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

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


Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread amano.kenji via ntg-context
Okay. An installation guide for package distributors may appear in the future. 
But, it's not going to appear anytime soon.

For now, I'm going to fix up texmfcnf.lua in Gentoo Linux texlive package for 
using stable releases of ConTeXt and use install.sh for testing the latest 
changes.

--- Original Message ---
On Friday, August 19th, 2022 at 1:11 PM, Hans Hagen  wrote:


> On 8/19/2022 3:03 PM, amano.kenji wrote:
> 
> > Wait. Are you actually saying that no one who has write access to ConTeXt 
> > source is going to write documentation that describes manual offline 
> > installation for package distributors?
> 
> Not sure what you mean here but basically a (future) installation is:
> 
> - unzip the main zip file
> - goto the source subtree
> - run build.sh (assumes compiler and cmake installed)
> - move the binary file to the relevant bin location
> - set symlinks from luametatex to mtsrun and context
> - copy mtxrun.lua and context.lue there too
> - adapt your path
> - maybe add texmf-fonts and texmf-projects
> - and you're done
> 
> so, something like that, or ... use the online installer instead.
> 
> And how a packager then use that is upto the packager .. we don't
> prescript something at all.
> 
> 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread Hans Hagen via ntg-context

On 8/19/2022 3:03 PM, amano.kenji wrote:

Wait. Are you actually saying that no one who has write access to ConTeXt 
source is going to write documentation that describes manual offline 
installation for package distributors?

Not sure what you mean here but basically a (future) installation is:

- unzip the main zip file
- goto the source subtree
- run build.sh (assumes compiler and cmake installed)
- move the binary file to the relevant bin location
- set symlinks from luametatex to mtsrun and context
- copy mtxrun.lua and context.lue there too
- adapt your path
- maybe add texmf-fonts and texmf-projects
- and you're done

so, something like that, or ... use the online installer instead.

And how a packager then use that is upto the packager .. we don't 
prescript something at all.


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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread Hans Hagen via ntg-context

On 8/19/2022 2:51 PM, amano.kenji wrote:

You don't have to install anything.

What I'm asking is documentation of offline installation instructions. Offline 
installation means downloading all required archives in advance and then 
installing them without internet access.

Translation of what install.sh roughly does into a documentation that any OS 
package maintainer can read and adapt to one's operating system.

What would you tell a system admin to do if instructions contained in 
install.sh have to be done manually by hand?

For example, you can add a plain text file called INSTALL that has a list of 
commands that build or install ConTeXt into any directory structure. If you 
provide instructions for installing ConTeXt into an arbitrary directory 
structure and how to adjust contextcnf.lua to the new directory structure, 
package maintainers can adapt.

The problem is that there are two methods:

(1) install texlive and unzip the latest context zip if you want the 
latest greatest


(2) for lmtx get the right zips (main one + platform one) and just unzip

However, we have currently no list of the platform ones (they can of 
course be guessed) simply because we assume the installer; the main 
reason for that is that the minimals also just rsynced files depending 
on platform (that each were somewhat different)


It is till undecided if we will post zips with bins or let users compile 
if they install on their own ... it also depends on how we set up the 
garden for lmtx ... keep in mind that lmtx is still experimental 
although it is now moving slower.


So, in due time I guess there will be some install.rme file but then we 
also need to have pointers to the platform bins (in tree format).


Of course you're free to write an installation guide as starting point.

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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread amano.kenji via ntg-context
Wait. Are you actually saying that no one who has write access to ConTeXt 
source is going to write documentation that describes manual offline 
installation for package distributors?

--- Original Message ---
On Thursday, August 18th, 2022 at 5:16 PM, Hans Hagen  
wrote:


> On 8/18/2022 4:08 PM, amano.kenji wrote:
> 
> > Sorry for spamming the list a little bit.
> > 
> > If there was something like 
> > https://www.linuxfromscratch.org/lfs/view/stable/chapter06/ncurses.html for 
> > ConTeXt and luametatex (binary), then distribution maintainers can make 
> > packages for ConTeXt easily.
> > 
> > I don't know TeX/TeXLive/kpathsea/ConTeXt directory structure conventions. 
> > Linux package maintainers don't know, either. I have packaged hundreds of 
> > programs, and TeX derivatives are monsters.
> > 
> > Most users just install texlive OS package, use TexLive upstream installer, 
> > or use ConTeXt upstream install.sh.
> 
> The problem with something context is that there are basically only two
> components:
> 
> - a tex tree with fonts and macros
> - a few binaries (just one for lmtx)
> 
> while in texlive one has quite some choices. We made these minimals
> actually in order to not end up with complex system dependent
> installations, also because most users just install context this way (it
> is fast too).
> 
> So, as Alan explained, anyone can wrap differently based on that. And if
> something is needed, we can provide it. But I'm not going to install
> something else than what i have for testing it. My develop and work
> machine is windows pro + linux sub system, the servers run opensuse. On
> all I just install under /data/context and that makes it system wide. I
> don't need to set up something apart from adding a binary to the path
> (or when I run from e.g. a web service I just use a fully quialified
> path to mtxrun) .. it cannot be simpler than that.
> 
> 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread amano.kenji via ntg-context
You don't have to install anything.

What I'm asking is documentation of offline installation instructions. Offline 
installation means downloading all required archives in advance and then 
installing them without internet access.

Translation of what install.sh roughly does into a documentation that any OS 
package maintainer can read and adapt to one's operating system.

What would you tell a system admin to do if instructions contained in 
install.sh have to be done manually by hand?

For example, you can add a plain text file called INSTALL that has a list of 
commands that build or install ConTeXt into any directory structure. If you 
provide instructions for installing ConTeXt into an arbitrary directory 
structure and how to adjust contextcnf.lua to the new directory structure, 
package maintainers can adapt.

--- Original Message ---
On Thursday, August 18th, 2022 at 5:16 PM, Hans Hagen  
wrote:


> On 8/18/2022 4:08 PM, amano.kenji wrote:
> 
> > Sorry for spamming the list a little bit.
> > 
> > If there was something like 
> > https://www.linuxfromscratch.org/lfs/view/stable/chapter06/ncurses.html for 
> > ConTeXt and luametatex (binary), then distribution maintainers can make 
> > packages for ConTeXt easily.
> > 
> > I don't know TeX/TeXLive/kpathsea/ConTeXt directory structure conventions. 
> > Linux package maintainers don't know, either. I have packaged hundreds of 
> > programs, and TeX derivatives are monsters.
> > 
> > Most users just install texlive OS package, use TexLive upstream installer, 
> > or use ConTeXt upstream install.sh.
> 
> The problem with something context is that there are basically only two
> components:
> 
> - a tex tree with fonts and macros
> - a few binaries (just one for lmtx)
> 
> while in texlive one has quite some choices. We made these minimals
> actually in order to not end up with complex system dependent
> installations, also because most users just install context this way (it
> is fast too).
> 
> So, as Alan explained, anyone can wrap differently based on that. And if
> something is needed, we can provide it. But I'm not going to install
> something else than what i have for testing it. My develop and work
> machine is windows pro + linux sub system, the servers run opensuse. On
> all I just install under /data/context and that makes it system wide. I
> don't need to set up something apart from adding a binary to the path
> (or when I run from e.g. a web service I just use a fully quialified
> path to mtxrun) .. it cannot be simpler than that.
> 
> 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Write a long chapter title in two lines

2022-08-19 Thread Hans Hagen via ntg-context

On 8/19/2022 3:03 AM, Jeong Dal wrote:

Dear all,

A few days ago, I sent an email as follows. But it is linked to another subject 
because I choose reply of another subject.
So, I send the same mail again.

\startuseMPgraphic{outlineT}
draw lmt_outline [
text  = \MPvar{tt},
kind  = "both",
width = 12cm,
align = "middle",
fillcolor = "gray",
drawcolor = "blue"
] ;


-
  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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___