[NTG-context] And the nominees for best Motion Picture of the year are…

2023-06-05 Thread Carlos via ntg-context
And the nominees for best Motion Picture of the year are

«Chatgpt and me»

set in the 20's, A professor reckons with life and love of computers
using chatgpt software with TeX. Embarking on a journey, he becomes
obsessed like no other. Directed by Alan Braslau

and 

«Remembrances in the path»

Set in the wake of advanced technologies, a dedicated
 user experiments with a TeX based software called ConTeXt embedded in
a customized Time Machine. Directed by Jigé 

and the Award goes to...



-- 
X windows:
Something you can be ashamed of.
30% more entropy than the leading window system.
The first fully modular software disaster.
Rome was destroyed in a day.
Warn your friends about it.
Climbing to new depths.  Sinking to new heights.
An accident that couldn't wait to happen.
Don't wait for the movie.
Never use it after a big meal.
Need we say less?
Plumbing the depths of human incompetence.
It'll make your day.
Don't get frustrated without it.
Power tools for power losers.
A software disaster of Biblical proportions.
Never had it.  Never will.
The software with no visible means of support.
More than just a generation behind.

Hindenburg.  Titanic.  Edsel.
X windows.

___
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] TiKz with LMTX

2023-06-05 Thread Aditya Mahajan via ntg-context
On Mon, 5 Jun 2023, Aditya Mahajan via ntg-context wrote:

> On Sun, 4 Jun 2023, Jigé via ntg-context wrote:
> 
> 
> > $ mkdir ~/.local/share/context
> > $ cd ~/.local/share/context
> > $ wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip
> > $ unzip context-linux-64.zip
> > $ sh install.sh
> > $ rm context-linux-64.zip
> > $ cd ~/.local/share/context/tex
> > $ mtxrun --script install-modules --list
> > $ mtxrun --script install-modules --install tikz
> > (And for good measure, I later did `mtxrun --script install-modules 
> > --install all`)
> > 
> > $ cd my-working-directory
> > $ vi some-sample-context-file.tex
> > $ export PATH=/home/myname/.local/share/context/tex/texmf-linux-64/bin:$PATH
> > $ context some-sample-context-file.tex
> > 
> > Did I miss anything? It works just fine.
> 
> On a new machine and pgfsys-luatex.def is missing for me as well. I'll try to 
> check what is going on. 

This was a bit crazy to track down. Here is the fix: 

In line 180 of mtx-install-modules.lua, comment the line

or find(n,"luatex")

Otherwise, the file 

tex/generic/pgf/systemlayer/pgfsys-luatex.def

is not extracted from the tikz.zip! 

I don't know why OP and I (both on archlinux) were the only ones who had 
pgfsys-luatex.def missing. Everyone should have been affected by this. 

Aditya


PS: Also on line 103, it may be a good idea to change the curl call to 

curl --ssl --location

mirros.ctan.org will also do a HTTP 302 redirect and without the --location 
flag, curl will not follow the redirect. ___
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] How to switch back to default font size after having used \tfa

2023-06-05 Thread Emanuel Han via ntg-context
\tf doesn't work.

version used: 2023.06.04 18:58

MWE:
\starttext a\tfa a \tf a\stoptext
should make default size a followed by 1.2 sized a followed by default size a
but instead, it's default size a followed by 1.2 sized a followed by 1.2 sized a

Thanks
Emanuel___
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] TiKz with LMTX

2023-06-05 Thread Carlos via ntg-context
On Mon, Jun 05, 2023 at 03:43:59PM -0400, Carlos via ntg-context wrote:
> On Mon, Jun 05, 2023 at 03:06:10PM +0200, Floris van Manen via ntg-context 
> wrote:
> > 
> > 
> > On 05/06/2023 14:49, Carlos via ntg-context wrote:
> > > %# Synchronize all modules from ConTeXt Garden in the 'modules' 
> > > directory, which is created if it doesn’t exist.
> > > to wherever the modules are
> > 
> > 
> > isn't the command
> > 
> > mtxrun --script install-modules --install tikz
> > 
> > or
> > 
> > mtxrun --script install-modules --install --all
> > 
> > doing exactly that?
> > 
> 
> Okay Floris. I see Aditya nearby. He'll take over from now on :) stand
> by please. I know you didn't ask the original question but this is over
> the pgfsys-pdftex and the pgfsys-luatex. It's a race between them !!
> sort of
> 
> The solutions are a few if any really, either as I suggested first and update
> afterwards or install tikz 
> 
> if the driver is the problem, what does common sense tells you Floris?
> the database needs to be updated, correct? The driver needs to be
> loaded somehow, right? 
> 
> 
> system  > ConTeXt  ver: 2023.06.04 18:58 LMTX  fmt: 2023.6.5  int: 
> english/english
> 
> So install tikz. then run the file 
> 
> mtx-install-modules | from 
> 'https://mirrors.ctan.org/install/graphics/pgf/base/pgf.tds.zip'
> mtx-install-modules | into 'texmf-modules'
>   64 files of  642 done,2108636 bytes, 0.015 seconds
>  128 files of  642 done,   13693106 bytes, 0.089 seconds
>  194 files of  642 done,   15194110 bytes, 0.100 seconds
>  317 files of  642 done,   16096396 bytes, 0.108 seconds
>  382 files of  642 done,   17178524 bytes, 0.116 seconds
>  446 files of  642 done,   17768214 bytes, 0.123 seconds
>  510 files of  642 done,   18327708 bytes, 0.130 seconds
>  574 files of  642 done,   18656649 bytes, 0.136 seconds
>  638 files of  642 done,   18860083 bytes, 0.142 seconds
>  642 files of  642 done,   18864376 bytes, 0.142 seconds
> mtx-install-modules | from 
> 'https://mirrors.ctan.org/install/graphics/pgf/contrib/pgfplots.tds.zip'
> mtx-install-modules | into 'texmf-modules'
>   29 files of  168 done,  69116 bytes, 0.002 seconds
>   48 files of  168 done,1596420 bytes, 0.010 seconds
>   67 files of  168 done,1889062 bytes, 0.012 seconds
>   83 files of  168 done,2761170 bytes, 0.017 seconds
>  100 files of  168 done,3156638 bytes, 0.021 seconds
>  116 files of  168 done,3508192 bytes, 0.024 seconds
>  132 files of  168 done,4035279 bytes, 0.027 seconds
>  148 files of  168 done,4163894 bytes, 0.029 seconds
>  168 files of  168 done,4195360 bytes, 0.029 seconds
> mtx-install-modules | from 
> 'https://mirrors.ctan.org/install/graphics/pgf/contrib/circuitikz.tds.zip'
> mtx-install-modules | into 'texmf-modules'
>7 files of   70 done,  14967 bytes, 0.000 seconds
>   21 files of   70 done,  61604 bytes, 0.001 seconds
>   28 files of   70 done,4839027 bytes, 0.033 seconds
>   35 files of   70 done,5906994 bytes, 0.040 seconds
>   42 files of   70 done,6399050 bytes, 0.043 seconds
>   70 files of   70 done,6879048 bytes, 0.045 seconds
> mtx-install-modules | wiping 17 files in 'tex/context/third/pgf/**'
> mtx-install-modules | wiping 0 files in 'doc/context/third/pgf/**'
> mtx-install-modules | wiping 0 files in 'source/context/third/pgf/**'
> mtx-install-modules | wiping 0 files in 'tex/context/pgf/**'
> mtx-install-modules | wiping 0 files in 'doc/context/pgf/**'
> mtx-install-modules | wiping 0 files in 'source/context/pgf/**'
> mtx-install-modules | wiping 0 files in 'scripts/pgf/**'
> mtx-install-modules | wiping 2 files in 'tex/context/third/pgfplots/**'
> mtx-install-modules | wiping 3 files in 'doc/context/third/pgfplots/**'
> mtx-install-modules | wiping 1 files in 'source/context/third/pgfplots/**'
> mtx-install-modules | wiping 0 files in 'tex/context/pgfplots/**'
> mtx-install-modules | wiping 0 files in 'doc/context/pgfplots/**'
> mtx-install-modules | wiping 0 files in 'source/context/pgfplots/**'
> mtx-install-modules | wiping 4 files in 'scripts/pgfplots/**'
> mtx-install-modules | wiping 8 files in 'tex/context/third/circuitikz/**'
> mtx-install-modules | wiping 2 files in 'doc/context/third/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'source/context/third/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'tex/context/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'doc/context/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'source/context/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'scripts/circuitikz/**'
> mtx-install-modules | wiping 0 files in 'tex/latex/**'
> mtx-install-modules | wiping 0 files in 'tex/plain/**'
> mtx-install-modules | wiping 0 files in 'doc/latex/**'
> mtx-install-modules | wiping 0 files in 'doc/plain/**'
> mtx-install-modules | wiping 148 files in 'doc/generic/**'
> mtx-install-modules | wiping 0 files in 'source/latex/**'
> mtx-install-modules | 

Re: [NTG-context] TiKz with LMTX

2023-06-05 Thread Carlos via ntg-context
On Mon, Jun 05, 2023 at 03:06:10PM +0200, Floris van Manen via ntg-context 
wrote:
> 
> 
> On 05/06/2023 14:49, Carlos via ntg-context wrote:
> > %# Synchronize all modules from ConTeXt Garden in the 'modules' directory, 
> > which is created if it doesn’t exist.
> > to wherever the modules are
> 
> 
> isn't the command
> 
> mtxrun --script install-modules --install tikz
> 
> or
> 
> mtxrun --script install-modules --install --all
> 
> doing exactly that?
> 

Okay Floris. I see Aditya nearby. He'll take over from now on :) stand
by please. I know you didn't ask the original question but this is over
the pgfsys-pdftex and the pgfsys-luatex. It's a race between them !!
sort of

The solutions are a few if any really, either as I suggested first and update
afterwards or install tikz 

if the driver is the problem, what does common sense tells you Floris?
the database needs to be updated, correct? The driver needs to be
loaded somehow, right? 


system  > ConTeXt  ver: 2023.06.04 18:58 LMTX  fmt: 2023.6.5  int: 
english/english

So install tikz. then run the file 

mtx-install-modules | from 
'https://mirrors.ctan.org/install/graphics/pgf/base/pgf.tds.zip'
mtx-install-modules | into 'texmf-modules'
  64 files of  642 done,2108636 bytes, 0.015 seconds
 128 files of  642 done,   13693106 bytes, 0.089 seconds
 194 files of  642 done,   15194110 bytes, 0.100 seconds
 317 files of  642 done,   16096396 bytes, 0.108 seconds
 382 files of  642 done,   17178524 bytes, 0.116 seconds
 446 files of  642 done,   17768214 bytes, 0.123 seconds
 510 files of  642 done,   18327708 bytes, 0.130 seconds
 574 files of  642 done,   18656649 bytes, 0.136 seconds
 638 files of  642 done,   18860083 bytes, 0.142 seconds
 642 files of  642 done,   18864376 bytes, 0.142 seconds
mtx-install-modules | from 
'https://mirrors.ctan.org/install/graphics/pgf/contrib/pgfplots.tds.zip'
mtx-install-modules | into 'texmf-modules'
  29 files of  168 done,  69116 bytes, 0.002 seconds
  48 files of  168 done,1596420 bytes, 0.010 seconds
  67 files of  168 done,1889062 bytes, 0.012 seconds
  83 files of  168 done,2761170 bytes, 0.017 seconds
 100 files of  168 done,3156638 bytes, 0.021 seconds
 116 files of  168 done,3508192 bytes, 0.024 seconds
 132 files of  168 done,4035279 bytes, 0.027 seconds
 148 files of  168 done,4163894 bytes, 0.029 seconds
 168 files of  168 done,4195360 bytes, 0.029 seconds
mtx-install-modules | from 
'https://mirrors.ctan.org/install/graphics/pgf/contrib/circuitikz.tds.zip'
mtx-install-modules | into 'texmf-modules'
   7 files of   70 done,  14967 bytes, 0.000 seconds
  21 files of   70 done,  61604 bytes, 0.001 seconds
  28 files of   70 done,4839027 bytes, 0.033 seconds
  35 files of   70 done,5906994 bytes, 0.040 seconds
  42 files of   70 done,6399050 bytes, 0.043 seconds
  70 files of   70 done,6879048 bytes, 0.045 seconds
mtx-install-modules | wiping 17 files in 'tex/context/third/pgf/**'
mtx-install-modules | wiping 0 files in 'doc/context/third/pgf/**'
mtx-install-modules | wiping 0 files in 'source/context/third/pgf/**'
mtx-install-modules | wiping 0 files in 'tex/context/pgf/**'
mtx-install-modules | wiping 0 files in 'doc/context/pgf/**'
mtx-install-modules | wiping 0 files in 'source/context/pgf/**'
mtx-install-modules | wiping 0 files in 'scripts/pgf/**'
mtx-install-modules | wiping 2 files in 'tex/context/third/pgfplots/**'
mtx-install-modules | wiping 3 files in 'doc/context/third/pgfplots/**'
mtx-install-modules | wiping 1 files in 'source/context/third/pgfplots/**'
mtx-install-modules | wiping 0 files in 'tex/context/pgfplots/**'
mtx-install-modules | wiping 0 files in 'doc/context/pgfplots/**'
mtx-install-modules | wiping 0 files in 'source/context/pgfplots/**'
mtx-install-modules | wiping 4 files in 'scripts/pgfplots/**'
mtx-install-modules | wiping 8 files in 'tex/context/third/circuitikz/**'
mtx-install-modules | wiping 2 files in 'doc/context/third/circuitikz/**'
mtx-install-modules | wiping 0 files in 'source/context/third/circuitikz/**'
mtx-install-modules | wiping 0 files in 'tex/context/circuitikz/**'
mtx-install-modules | wiping 0 files in 'doc/context/circuitikz/**'
mtx-install-modules | wiping 0 files in 'source/context/circuitikz/**'
mtx-install-modules | wiping 0 files in 'scripts/circuitikz/**'
mtx-install-modules | wiping 0 files in 'tex/latex/**'
mtx-install-modules | wiping 0 files in 'tex/plain/**'
mtx-install-modules | wiping 0 files in 'doc/latex/**'
mtx-install-modules | wiping 0 files in 'doc/plain/**'
mtx-install-modules | wiping 148 files in 'doc/generic/**'
mtx-install-modules | wiping 0 files in 'source/latex/**'
mtx-install-modules | wiping 0 files in 'source/plain/**'
mtx-install-modules |
mtx-install-modules | renewing file database

mtx-install-modules |
mtx-install-modules | installed: tikz
mtx-install-modules |


system  > beware: some patches loaded from cont-new.mkiv
close source> level 

Re: [NTG-context] TiKz with LMTX

2023-06-05 Thread Aditya Mahajan via ntg-context
On Sun, 4 Jun 2023, Jigé via ntg-context wrote:


> $ mkdir ~/.local/share/context
> $ cd ~/.local/share/context
> $ wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip
> $ unzip context-linux-64.zip
> $ sh install.sh
> $ rm context-linux-64.zip
> $ cd ~/.local/share/context/tex
> $ mtxrun --script install-modules --list
> $ mtxrun --script install-modules --install tikz
> (And for good measure, I later did `mtxrun --script install-modules --install 
> all`)
> 
> $ cd my-working-directory
> $ vi some-sample-context-file.tex
> $ export PATH=/home/myname/.local/share/context/tex/texmf-linux-64/bin:$PATH
> $ context some-sample-context-file.tex
> 
> Did I miss anything? It works just fine.

On a new machine and pgfsys-luatex.def is missing for me as well. I'll try to 
check what is going on. 

Aditya___
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] Moving up a Figure

2023-06-05 Thread Aditya Mahajan via ntg-context
On Mon, 5 Jun 2023, Alan Braslau via ntg-context wrote:

> On 05/06/23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote:
> > On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context
> >   wrote:
> >> Not fully, it indeed moves up the figure but a little too much. Is there a
> >> more granular method?
> > Not that I know of, but maybe {right,halfline} will do?
> 
> Maybe try "location={right,-1*hang},"

For finer control, you can use `\movesidefloat`:

\movesidefloat[x=-..., y=...]
\startplacefigure
  [..]
\stopplacefigure

Aditya

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

2023-06-05 Thread Carlos via ntg-context
On Mon, Jun 05, 2023 at 04:50:53PM +0200, luigi scarso via ntg-context wrote:
> On Mon, 5 Jun 2023 at 15:18, Alan Braslau via ntg-context <
> ntg-context@ntg.nl> wrote:
> 
> >
> > On 04/06/23 04/06/23, 15:57, Berend de Boer via ntg-context wrote:
> > >> Probably some on this list already checked how well chatgpt answers
> > >> questions about domains one knows well and then probably noted that in
> > >> spite of impressive wording, one can run into quite incorrect answers.
> > >
> > > I've been using it for ConTeXt, and to be honest, it works amazingly
> > > well. It hallucinates sometimes, but it's such a time saver.
> >
> > Maybe someone should try asking it to write documentation/manuals?
> >
> > As a teacher, we are accustomed to seeing Google/Wikipedia/etc.
> > cut-and-paste nonsense; now, this nonsense appears more polished, and
> > our students are none the wiser. Saves them time, too! ;-)
> >
> > Who said: "the best way to economize thought is not to think at all"?
> >
> 
> 
> not all is bad: sometimes a textual description can replace a formalized
> notation, e.g.
> https://fosstodon.org/@t...@mathstodon.xyz/110250604086213386
> I can imagine similar examples with tables.
> Of course a very high level text is often ambiguous (as some kind of
> formalized grammars, after all)
> but  the example shows that in these cases  it is better to fix something
> already almost ok than  to typeset it from scratch.
> 
> --
> luigi

Not all is bad, no, except the company behind chatgpt  ought to pay its
users for feeding more data into it. It's a westernized company after
all. Lots of baggage. I'm surprised it hasn't applied for a patent yet
really.


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


-- 
You know you've been spending too much time on the computer when your
friend misdates a check, and you suggest adding a "++" to fix it.

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

2023-06-05 Thread Alan Braslau via ntg-context

On 05/06/23 05/06/23, 08:50, luigi scarso wrote:



On Mon, 5 Jun 2023 at 15:18, Alan Braslau via ntg-context 
mailto:ntg-context@ntg.nl>> wrote:



On 04/06/23 04/06/23, 15:57, Berend de Boer via ntg-context wrote:
 >> Probably some on this list already checked how well chatgpt answers
 >> questions about domains one knows well and then probably noted
that in
 >> spite of impressive wording, one can run into quite incorrect
answers.
 >
 > I've been using it for ConTeXt, and to be honest, it works amazingly
 > well. It hallucinates sometimes, but it's such a time saver.

Maybe someone should try asking it to write documentation/manuals?

As a teacher, we are accustomed to seeing Google/Wikipedia/etc.
cut-and-paste nonsense; now, this nonsense appears more polished, and
our students are none the wiser. Saves them time, too! ;-)

Who said: "the best way to economize thought is not to think at all"?



not all is bad: sometimes a textual description can replace a formalized 
notation, e.g.
https://fosstodon.org/@t...@mathstodon.xyz/110250604086213386 


I can imagine similar examples with tables.
Of course a very high level text is often ambiguous (as some kind of 
formalized grammars, after all)
but  the example shows that in these cases  it is better to fix 
something already almost ok than  to typeset it from scratch.


As an Artificial Intelligence machine, I cannot speculate why it is so 
hard to write correct LaTeX that does not need to be tweaked in order to 
give an aesthetic result. However, from monitoring the ConTeXt mailing 
list, I have observed that most problems seem to have an answer that 
work correctly when used correctly. In the rare case that ConTeXt users 
report something not working correctly, this usually is revealed to be a 
small typographic error in the macros appearing following a major 
internal code rewrite. I have recorded in all of these rare cases a 
pattern that reoccurs repeatedly with the phrase "fixed in next upload". 
I cannot speculate as to how such fixes appear so rapidly and so 
consistently. My analytical artificial intelligence is thrown off by 
seemingly irrelevant statements about listening to this or that CD. What 
could this possibly mean?


In supplement, I have not yet deciphered what is meant by the acronym 
MWE that also repeatedly occurs. This does not appear to fit with 
something that is reported as being broken.


(Written with the assistance of ChatGPT.)

Alan
___
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] TiKz with LMTX

2023-06-05 Thread Jigé via ntg-context
 When I asked about the fresh install, I think I was asking to Mikael who can 
compile the sample file. Sorry Floris, this was not clear enough because I've 
been answering to the mailing-list digest and not to invidual messages.
Mikael, maybe you have in your $PATH some remembrances of past installation / 
files?

Jean-Guillaume


Le lundi 5 juin 2023 à 15:15:46 UTC+2,  a écrit :

For whatever it is worth, I just tried to install tikz with

mtxrun --script install-modules --install tikz

and then your example in your first mail did compile here (and gave a
cross, and that looks right from the source).

/Mikael 

On 05/06/2023 12:33, Jig? via ntg-context wrote:
> Did you do that in a fresh install?

yes

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

2023-06-05 Thread luigi scarso via ntg-context
On Mon, 5 Jun 2023 at 15:18, Alan Braslau via ntg-context <
ntg-context@ntg.nl> wrote:

>
> On 04/06/23 04/06/23, 15:57, Berend de Boer via ntg-context wrote:
> >> Probably some on this list already checked how well chatgpt answers
> >> questions about domains one knows well and then probably noted that in
> >> spite of impressive wording, one can run into quite incorrect answers.
> >
> > I've been using it for ConTeXt, and to be honest, it works amazingly
> > well. It hallucinates sometimes, but it's such a time saver.
>
> Maybe someone should try asking it to write documentation/manuals?
>
> As a teacher, we are accustomed to seeing Google/Wikipedia/etc.
> cut-and-paste nonsense; now, this nonsense appears more polished, and
> our students are none the wiser. Saves them time, too! ;-)
>
> Who said: "the best way to economize thought is not to think at all"?
>


not all is bad: sometimes a textual description can replace a formalized
notation, e.g.
https://fosstodon.org/@t...@mathstodon.xyz/110250604086213386
I can imagine similar examples with tables.
Of course a very high level text is often ambiguous (as some kind of
formalized grammars, after all)
but  the example shows that in these cases  it is better to fix something
already almost ok than  to typeset it from scratch.

--
luigi
___
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] knuth

2023-06-05 Thread Carlos via ntg-context
On Mon, Jun 05, 2023 at 03:09:02PM +0200, Alan Braslau via ntg-context wrote:
> 
> On 04/06/23 04/06/23, 15:57, Berend de Boer via ntg-context wrote:
> > > Probably some on this list already checked how well chatgpt answers
> > > questions about domains one knows well and then probably noted that in
> > > spite of impressive wording, one can run into quite incorrect answers.
> > 
> > I've been using it for ConTeXt, and to be honest, it works amazingly
> > well. It hallucinates sometimes, but it's such a time saver.
> 
> Maybe someone should try asking it to write documentation/manuals?
> 
> As a teacher, we are accustomed to seeing Google/Wikipedia/etc.
> cut-and-paste nonsense; now, this nonsense appears more polished, and our
> students are none the wiser. Saves them time, too! ;-)
> 
> Who said: "the best way to economize thought is not to think at all"?
> 
> Alan

Yeah. :) that's funny. Everybody uses chatgpt with lmtx

that's why everyone that uses it ends up in the mailing list asking to
resolve a problem that chatgpt couldn't resolve on its own. 

But here is the interesting part. The questions are answered by using chatgpt
too, rather than humans so nothing gets worked out in the end 

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

-- 
If it has syntax, it isn't user friendly.

___
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] TiKz with LMTX

2023-06-05 Thread Carlos via ntg-context
On Mon, Jun 05, 2023 at 03:06:10PM +0200, Floris van Manen via ntg-context 
wrote:
> 
> 
> On 05/06/2023 14:49, Carlos via ntg-context wrote:
> > %# Synchronize all modules from ConTeXt Garden in the 'modules' directory, 
> > which is created if it doesn’t exist.
> > to wherever the modules are
> 
> 
> isn't the command
> 
> mtxrun --script install-modules --install tikz
> 
> or
> 
> mtxrun --script install-modules --install --all
> 
> doing exactly that?

supposedly I guess it's supposed to work. That's what Mikael said. 

Your version is younger

system  > ConTeXt  ver: 2023.06.01 09:42 LMTX  fmt: 2023.6.4 int:
english/english

whereas mine is older 

system  > ConTeXt  ver: 2023.04.27 17:04 LMTX  fmt: 2023.6.5  int: 
english/english



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

-- 
Thus spake the master programmer:
"Without the wind, the grass does not move.  Without software,
hardware is useless."
-- Geoffrey James, "The Tao of Programming"

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

2023-06-05 Thread Alan Braslau via ntg-context



On 04/06/23 04/06/23, 15:57, Berend de Boer via ntg-context wrote:

Probably some on this list already checked how well chatgpt answers
questions about domains one knows well and then probably noted that in
spite of impressive wording, one can run into quite incorrect answers.


I've been using it for ConTeXt, and to be honest, it works amazingly
well. It hallucinates sometimes, but it's such a time saver.


Maybe someone should try asking it to write documentation/manuals?

As a teacher, we are accustomed to seeing Google/Wikipedia/etc. 
cut-and-paste nonsense; now, this nonsense appears more polished, and 
our students are none the wiser. Saves them time, too! ;-)


Who said: "the best way to economize thought is not to think at all"?

Alan
___
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] Moving up a Figure

2023-06-05 Thread Alan Braslau via ntg-context

On 05/06/23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote:

On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context
  wrote:

Not fully, it indeed moves up the figure but a little too much. Is there a more 
granular method?

Not that I know of, but maybe {right,halfline} will do?


Maybe try "location={right,-1*hang},"

Alan

___
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] TiKz with LMTX

2023-06-05 Thread Floris van Manen via ntg-context



On 05/06/2023 14:49, Carlos via ntg-context wrote:

%# Synchronize all modules from ConTeXt Garden in the 'modules' directory, 
which is created if it doesn’t exist.
  
to wherever the modules are



isn't the command

mtxrun --script install-modules --install tikz

or

mtxrun --script install-modules --install --all

doing exactly that?

___
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] TiKz with LMTX

2023-06-05 Thread Carlos via ntg-context
On Mon, Jun 05, 2023 at 01:02:43PM +0200, Floris van Manen via ntg-context 
wrote:
> 
> 
> On 05/06/2023 12:33, Jigé via ntg-context wrote:
> > Did you do that in a fresh install?
> 
> yes

%copied from the wiki 
%# Synchronize all modules from ConTeXt Garden in the 'modules' directory, 
which is created if it doesn’t exist.
 
to wherever the modules are 

$ rsync --recursive --links --times --info=progress2,remove,symsafe,flist,del 
--human-readable --del rsync://contextgarden.net/minimals/current/modules/ 
modules

then forget context --generate, it won't do anything else but going on
a loop but rather do a context --make


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

-- 
God is real, unless declared integer.

___
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] TiKz with LMTX

2023-06-05 Thread Floris van Manen via ntg-context



On 05/06/2023 12:33, Jigé via ntg-context wrote:

Did you do that in a fresh install?


yes
___
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] TiKz with LMTX

2023-06-05 Thread Jigé via ntg-context
 Did you do that in a fresh install?


Le lundi 5 juin 2023 à 08:26:15 UTC+2,  a écrit :

For whatever it is worth, I just tried to install tikz with

mtxrun --script install-modules --install tikz

and then your example in your first mail did compile here (and gave a
cross, and that looks right from the source).

/Mikael  ___
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] TiKz with LMTX

2023-06-05 Thread vm via ntg-context




On 05/06/2023 07:43, Mikael Sundqvist via ntg-context wrote:


For whatever it is worth, I just tried to install tikz with

mtxrun --script install-modules --install tikz

and then your example in your first mail did compile here (and gave a
cross, and that looks right from the source).


did exctly the same steps, but still get the fatal error code 1



Driver file for pgf: pgfsys-luatex.def

! Package pgf Error: Driver file ``pgfsys-luatex.def'' not found..
 \pgfutil@packageerror
#1#2#3->\errhelp {#3}\errmessage {Package #1 Error: #2}
 \pgfutil@IfFileExists
#1#2#3->\openin \pgfutil@inputcheck =#1 \ifeof \pgfutil@inputcheck #3
\relax \else #2\relax \fi \closein \pgfutil@inputcheck

  \pgferror{Driver file ``\pgfsysdriver'' not found.}}


.F
___
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] Page breaks with \defineparagraphs possible?

2023-06-05 Thread Berend de Boer via ntg-context

Hi Wolfgang,


\definetabulate[bilingual][|pA{normal,verytolerant,stretch}|pA{normal,verytolerant,stretch}|]


One more on this actually: how can I influence the white space between
the columns? I tried to set distance, but that didn't do anything.

Setting p(4cm) or so, made the paragraphs smaller, but did not impact
the white space between the columns.

--
All the best,

Berend de Boer
___
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] Page breaks with \defineparagraphs possible?

2023-06-05 Thread Berend de Boer via ntg-context

Hi Wolfgang,


You can use the tabulate environment to create parallel paragraphs.


Just one thing for others, this solution as the same problem as
paragraphs: \placeinitial won't work.

I.e. this:

   \setupinitial[text=#1]\placeinitial

inside the tabulate or paragraphs doesn't work (but here I simply use
a \hbox{\vbox{}\hfil\vbox{}} solution which works well enough I think,
as I only need this for the opening paragraph.

--
All the best,

Berend de Boer
___
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] Page breaks with \defineparagraphs possible?

2023-06-05 Thread Berend de Boer via ntg-context

Hi Wolfgang,


You can use the tabulate environment to create parallel paragraphs.


Ah yes, that's working! Thank you so much!

One question on the pA{normal,verytolerant,stretch}: what does that do exactly?


From the manual I got that A only takes one key, what does specifying three 
keys mean?


--
All the best,

Berend de Boer
___
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] Moving up a Figure

2023-06-05 Thread Mikael Sundqvist via ntg-context
Hi,

On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context
 wrote:
>
> Not fully, it indeed moves up the figure but a little too much. Is there a 
> more granular method?

Not that I know of, but maybe {right,halfline} will do?

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