[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-10-02 Thread Cron Daemon
rsync: getaddrinfo: rsync.pragma-ade.nl 873: Temporary failure in name 
resolution
rsync error: error in socket IO (code 10) at clientserver.c(139) 
[Receiver=3.2.7]
___
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] Re: Chemistry in LMTX

2023-10-02 Thread Alan Braslau via ntg-context
On Sun, 1 Oct 2023 10:49:34 +0200
Henning Hraban Ramm  wrote:

> >> chem-str.lua seems to be an updated version by Alan & Hans
> >>
> >> Did I miss something?  
> > 
> > work in progress ... i'm working on that (part of the math upgrade)
> > so best wait till we're stable  
> 
> Ok, thank you

The current code is not very broken - I just used it extensively in a
book that was published. There are many quarks in its conception,
dating from the original MKII model.

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
___


[NTG-context] Re: bibliography questions

2023-10-02 Thread Alan Braslau via ntg-context
On Mon, 2 Oct 2023 13:13:52 +0200
Henning Hraban Ramm  wrote:

> Consider:
> @Book {rattenhka,
> author = "Bettina von Arnim and Gisela von Arnim",
> title = "Das Leben der Hochgräfin Gritta von Rattenzuhausbeiuns",
> …
> }
> 
> The authors are usually given as “Bettina and Gisela von Arnim”
> (mother and daughter; similar “Jacob and Wilhelm Grimm” as brothers
> or “Bettina and Achim von Arnim” as a couple) – is there a good
> solution for related authors?

Multiple authors should be treated as multiple authors. That they are
related is not and should not be a consideration in citing works. At
least this is the practice that I know of for academic texts.

You can cheat and try to define one author with a combined first name,
like
author={Eames, Ray & Earl},
but I don't know how that parses as I have never tried it; "and" is a
reserved token used to define multiple authors. I wouldn't do it as I
can think of many examples (Bjaer & Bjaer) where we give both credit,
individually.

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
___

[NTG-context] Frontpage and Titlepage

2023-10-02 Thread Jeroen
The following MWE is how I create my frontpage and titlepage. Is this the
proper way to do so?

\definemakeup
  [frontpage]
  [align=middle]

\definemakeup
  [titlepage]

\setupmakeup
  [titlepage]
  [align={right,top},
   top=\vfill,
   pagestate=stop,
   style=smallbodyfont]

\definealternativestyle
  [authorstyle]
  [\rm\tfb]
  []

\definealternativestyle
  [titlestyle]
  [\rm\bfd]
  []

\starttext

\startmakeup
  [frontpage]

\authorstyle
  {The Author}

\blank

\titlestyle
  {This is the Title}

\stopmakeup

\startmakeup
  [titlepage]

\titlestyle
  {This is the Title}

\stopmakeup

\startchapter
  [title={Chapter Title}]

\samplefile{tufte}

\stopchapter

\stoptext
___
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] Re: wiki update: Modules

2023-10-02 Thread Hans Hagen

On 10/1/2023 11:01 AM, Henning Hraban Ramm wrote:

Am 01.10.23 um 05:51 schrieb Otared Kavian:

Hi Hraban,

Thank you for your updating of the modules stuff.
As far as I remember the matrix features are not related to any 
modules, but rather are part of LMTX. In nay case next week I will 
look at the page


https://wiki.contextgarden.net/Matrix_in_maths 



and verify that eveything on that page works fine and is up to date.


Thank you!

But there _is_ a matrix module (hey, I just looked through all this 
stuff!) by Jeong Dalyoung & Hans; apparently it can do matrix calculations.


https://source.contextgarden.net/tex/context/modules/mkiv/m-matrix.mkiv

indeed, it has been around for quite a while

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
___


[NTG-context] Re: Offline documentations

2023-10-02 Thread Juliano David Hilario
@Thomas I think so too,

Thanks Hans, I'll take a look at it!

On Mon, Oct 2, 2023, 5:15 PM Hans van der Meer via ntg-context <
ntg-context@ntg.nl> wrote:

> I find offline documentation in the installed ConteXt files in
> ConTeXt/tex/texmf-context/doc/context/documents/general/manuals
> with more in neighboring directories. Hope this helps.
>
> met vriendelijke groet,
> dr. Hans van der Meer
> Burgemeester Rijnderslaan 244 ingang D
> 1185 MC Amstelveen
> tel. 020 6452701 / 06 53743629
>
> On 2 Oct 2023, at 10:55, Henning Hraban Ramm  wrote:
>
>
> __
>
>
>
> ___
> 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 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] bibliography questions

2023-10-02 Thread Henning Hraban Ramm


My example is setup as advised in the manual:

"""
%\mainlanguage[de]
\usebtxdataset[beispiel][bib_example.bib]
\setupbtx[dataset=beispiel]
%\usebtxdefinitions[apa]
\definebtxrendering[beispiel][apa][dataset=beispiel,group=beispiele]

\starttext
\placelistofpublications[beispiel]

\cite[authoryear] [WiFo2010]

\cite[authoryear] [rattenhka]

\stoptext
"""

But I get the error message:

"""
system  > error: invalid parent apa for beispiel, apa defined 
too (best check it)
system  > error: invalid parent btx:apa for btx:beispiel, 
btx:apa defined too (best check it)

"""

Are these messages wrong? And why do they come from "system" and not 
from "publications"?



My minimal example works anyway, still investigating why it doesn’t in 
my book.



Another question:

Consider:
@Book {rattenhka,
author = "Bettina von Arnim and Gisela von Arnim",
title = "Das Leben der Hochgräfin Gritta von Rattenzuhausbeiuns",
…
}

The authors are usually given as “Bettina and Gisela von Arnim” (mother 
and daughter; similar “Jacob and Wilhelm Grimm” as brothers or “Bettina 
and Achim von Arnim” as a couple) – is there a good solution for related 
authors?


Hraban
@Book {WiFo2010,
title = "Lesetypografie",
author = "Willberg, Hans Peter and Forssman, Friedrich",
publisher = "Hermann Schmidt",
address = "Mainz",
year = "2010",
  language = "german",
keywords = "typography",
}

@Book {kgdz,
author = "Stephen Hawking and Leonard Mlodinow",
title = "Die kürzeste Geschichte der Zeit",
title:en = "A Briefer History of Time",
publisher = "Rowohlt",
address = "Reinbek",
year = "2005",
language = "german",
keywords = "physics;astromy;time",
}

@Book {rattenhka,
author = "Bettina von Arnim and Gisela von Arnim",
title = "Das Leben der Hochgräfin Gritta von Rattenzuhausbeiuns",
editor = "Otto Mallon",
publisher = "S. Martin Fraenkel",
address = "Berlin",
year = "1926",
language = "german",
keywords = "novel;historical",
}
___
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] Re: Offline documentations

2023-10-02 Thread Hans van der Meer via ntg-context
I find offline documentation in the installed ConteXt files in 
ConTeXt/tex/texmf-context/doc/context/documents/general/manuals 
with more in neighboring directories. Hope this helps.

met vriendelijke groet,
dr. Hans van der Meer
Burgemeester Rijnderslaan 244 ingang D
1185 MC Amstelveen
tel. 020 6452701 / 06 53743629

> On 2 Oct 2023, at 10:55, Henning Hraban Ramm  wrote:
> 
> 
> __

___
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] Re: Offline documentations

2023-10-02 Thread Thomas A. Schmitz

On 02.10.23 10:32, Juliano David Hilario wrote:
If I were to download the entire wiki with the exception of the 
discussion files and the user pages, do you think it would be wise? I 
would try to make it dynamically updatable too, if possible, and also 
try to make as offline-friendly as the Python docs. Do you think that 
would be wise? Thank you for your help, the wiki is very useful.


That doesn't answer your question if it would be wise, but if you manage 
to write a script that would create an archive of the wiki in a useful 
format for off-line browsing and keep it reasonably up to date, that 
would be a wonderful thing to have. I regularly find myself in 
situations where I don't have internet access and would love to have a 
look at the wiki.


On the other hand: there is a lot of cruft on the wiki, badly outdated 
pages that relate to mkii etc. But selecting the ones that are good and 
getting rid of the others would be a huge amount of work...


Thomas

___
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] Re: Offline documentations

2023-10-02 Thread Henning Hraban Ramm

Am 02.10.23 um 10:37 schrieb Juliano David Hilario:
Also, if I were to do that, I might just make at the moment some sort of 
search engine, or grep it when I need something, then view whatever I 
need in the wiki. I'm just wondering if it's fine if I were to send many 
GET requests and obtain a copy of the wiki. Would that act like a DDoS 
attack?


For a DDoS attack you’d need more (for one, it’s not distributed, so at 
most DoS). I assume it should be ok if you don’t do it too often (like 
hourly).
And of course you’re expected to report wrong/outdated information and 
to help with updating it.


Hraban

___
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] Re: Offline documentations

2023-10-02 Thread Henning Hraban Ramm

Am 02.10.23 um 10:32 schrieb Juliano David Hilario:
If I were to download the entire wiki with the exception of the 
discussion files and the user pages, do you think it would be wise? I 
would try to make it dynamically updatable too, if possible, and also 
try to make as offline-friendly as the Python docs. Do you think that 
would be wise? Thank you for your help, the wiki is very useful.


I don’t know if it’s wise.

It’s a MediaWiki, there are solutions around, e.g.:
https://www.mediawiki.org/wiki/Exporting_all_the_files_of_a_wiki
https://github.com/WikiTeam/wikiteam

One is even built-in: https://wiki.contextgarden.net/Special:Export (you 
would need a local MediaWiki instance a import the pages there).

See also https://www.mediawiki.org/wiki/Help:Export

You can also use curl to recursively download all contents of a website.

Hraban
___
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] Re: Offline documentations

2023-10-02 Thread Juliano David Hilario
Also, if I were to do that, I might just make at the moment some sort of
search engine, or grep it when I need something, then view whatever I need
in the wiki. I'm just wondering if it's fine if I were to send many GET
requests and obtain a copy of the wiki. Would that act like a DDoS attack?

On Mon, Oct 2, 2023, 4:32 PM Juliano David Hilario <
yellowcutterpil...@gmail.com> wrote:

> If I were to download the entire wiki with the exception of the discussion
> files and the user pages, do you think it would be wise? I would try to
> make it dynamically updatable too, if possible, and also try to make as
> offline-friendly as the Python docs. Do you think that would be wise? Thank
> you for your help, the wiki is very useful.
>
> On Mon, Oct 2, 2023, 4:29 PM Henning Hraban Ramm  wrote:
>
>> Am 02.10.23 um 09:59 schrieb Juliano David Hilario:
>> > Is there a way to view the documentations offline? Sort of the way the
>> > Python docs work, where you could just search for a subject and it will
>> > function regardless of internet connection. If it's not yet working, I
>> > could contribute some of my time if it's not that a heavy of a task.
>> > Something like this would be convient, since some like to search by
>> > topic. Though since we probably have the common ground of liking
>> > writing, we, or most of us, prefer referring to current manuals out
>> there.
>>
>> Well, the documentation is spread over several PDF files, and the wiki
>> is not usable offline, of course.
>>
>> You can grep through the sources of the manuals (in
>> texmf-context/doc/context/sources).
>>
>> And there is a command reference browser:
>>
>> mtxrun --script server --auto
>>
>> and the open
>> http://localhost:8088/mtx-server-ctx-help.lua
>>
>> But since it just shows what’s in the interface files, it lacks any
>> explanations.
>>
>> Hraban
>>
>> ___
>> 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 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] Re: Offline documentations

2023-10-02 Thread Juliano David Hilario
If I were to download the entire wiki with the exception of the discussion
files and the user pages, do you think it would be wise? I would try to
make it dynamically updatable too, if possible, and also try to make as
offline-friendly as the Python docs. Do you think that would be wise? Thank
you for your help, the wiki is very useful.

On Mon, Oct 2, 2023, 4:29 PM Henning Hraban Ramm  wrote:

> Am 02.10.23 um 09:59 schrieb Juliano David Hilario:
> > Is there a way to view the documentations offline? Sort of the way the
> > Python docs work, where you could just search for a subject and it will
> > function regardless of internet connection. If it's not yet working, I
> > could contribute some of my time if it's not that a heavy of a task.
> > Something like this would be convient, since some like to search by
> > topic. Though since we probably have the common ground of liking
> > writing, we, or most of us, prefer referring to current manuals out
> there.
>
> Well, the documentation is spread over several PDF files, and the wiki
> is not usable offline, of course.
>
> You can grep through the sources of the manuals (in
> texmf-context/doc/context/sources).
>
> And there is a command reference browser:
>
> mtxrun --script server --auto
>
> and the open
> http://localhost:8088/mtx-server-ctx-help.lua
>
> But since it just shows what’s in the interface files, it lacks any
> explanations.
>
> Hraban
>
> ___
> 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 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] Re: Offline documentations

2023-10-02 Thread Henning Hraban Ramm

Am 02.10.23 um 09:59 schrieb Juliano David Hilario:
Is there a way to view the documentations offline? Sort of the way the 
Python docs work, where you could just search for a subject and it will 
function regardless of internet connection. If it's not yet working, I 
could contribute some of my time if it's not that a heavy of a task. 
Something like this would be convient, since some like to search by 
topic. Though since we probably have the common ground of liking 
writing, we, or most of us, prefer referring to current manuals out there.


Well, the documentation is spread over several PDF files, and the wiki 
is not usable offline, of course.


You can grep through the sources of the manuals (in 
texmf-context/doc/context/sources).


And there is a command reference browser:

mtxrun --script server --auto

and the open
http://localhost:8088/mtx-server-ctx-help.lua

But since it just shows what’s in the interface files, it lacks any 
explanations.


Hraban
___
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] Re: wiki update: Modules

2023-10-02 Thread Henning Hraban Ramm

Am 02.10.23 um 04:00 schrieb Andres Conrado Montoya:
In the wiki, if I click a link to check a source code file (for example 
https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv 
) I get a blank page with a very long list of source files on the left. If I search for the file with my browser's ctrl+f on that page, it returns zero results. I'm using Chrome. It happens for every link to source files.


Not sure if it's a problem with my setup, but I have noticed that 
before, in different machines. Can anybody else confirm if they can 
correctly see the source files when clicking the links?


Sorry, I used the general {{src|filename}} template in the wiki, that 
links to the source browser, but only to files in tex/context/base but 
not to the modules in tex/context/modules

Not a problem on your side, I just need to fix the links.

Otherwise you can use the search field of the source browser.

Hraban
___
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] Offline documentations

2023-10-02 Thread Juliano David Hilario
Is there a way to view the documentations offline? Sort of the way the
Python docs work, where you could just search for a subject and it will
function regardless of internet connection. If it's not yet working, I
could contribute some of my time if it's not that a heavy of a task.
Something like this would be convient, since some like to search by topic.
Though since we probably have the common ground of liking writing, we, or
most of us, prefer referring to current manuals out there.
___
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
___