Re: [NTG-context] new units

2023-05-07 Thread Mojca Miklavec via ntg-context
On Sun, 7 May 2023 at 11:11, Henning Hraban Ramm via ntg-context wrote:
>
> And what’s the abbreviation for Theodores?

I assume it must be "tr", though it's somewhat ambiguous what the "r"
in "tr" stands for, it seems to be country-dependent ;)

Mojca
___
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] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Mojca Miklavec via ntg-context
On Mon, 10 Oct 2022 at 08:48, Mojca Miklavec wrote:
> On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
> >
> > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and 
> > Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder 
> > (where I install Standalone) on the disk weighs only 7MB (the tex tree is 
> > created, but its folders are empty).
> > I've never had a problem installing it on my old computer (Intel processor).
> >
> > Do you know if it is a known problem?
>
> It should work, at least in theory. I'll check later today on our M1 machine.

It looks like mtx-update.lua doesn't properly recognise the platform.
This is something that Hans needs to fix inside the context sources.
(I'll try to patch it later, maybe I have some success.)

Mojca
___
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] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Mojca Miklavec via ntg-context
On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
>
> Hello list,
>
> I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and 
> Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder 
> (where I install Standalone) on the disk weighs only 7MB (the tex tree is 
> created, but its folders are empty).
> I've never had a problem installing it on my old computer (Intel processor).
>
> Do you know if it is a known problem?

It should work, at least in theory. I'll check later today on our M1 machine.
If that doesn't work, it should be some trivial problem (that should
be straightforward to fix).
If that works, it could be that "uname" reports something different
than "arm64" on M2. That should hopefully be easy to fix as well.

What does "uname -m" (and "uname -a") report on your mac?

Mojca
___
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 to do code listings & sections from XML (AsciiDoc)

2022-08-13 Thread Mojca Miklavec via ntg-context
On Fri, 12 Aug 2022 at 23:20, Aditya Mahajan wrote:
> On Fri, 12 Aug 2022, Mojca Miklavec via ntg-context wrote:
>
> > (a) I don't know how to turn program listing (verbatim code) from xml
> > to (perhaps, vim-based) syntax highlighting (but most importantly, to
> > make sure that line breaks work properly)
>
> Does something like this work:
>
> https://wiki.contextgarden.net/Verbatim_XML

Yes, awesome, this does exactly what I want, thank you very much.

I used the following code:

\usemodule[vim]
% this breaks if directory doesn't exist before
\setupvimtyping[directory=output/]
% it would be potentially useful to have some predefined vimtyping
already present in the module
\definevimtyping
[programlisting]
[syntax=]

\startluacode
function xml.functions.processprogramlisting(t)
buffers.assign("listing","\\startprogramlisting[syntax=cpp]\n"
.. tostring(xml.text(t)) .. "\n\\stopprogramlisting")
context.getbuffer { "listing" }
end
\stopluacode

\startxmlsetups xml:programlisting
\pushcatcodetable
\setcatcodetable\ctxcatcodes
\xmlfunction{#1}{processprogramlisting}
\popcatcodetable
\stopxmlsetups


Now I need to get the "cpp" and "unnumbered" part processed
automatically, so that it will work for any language:

// test.cpp:
int main()
{
return 0;
}

which would then be transformed into

\startprogramlisting[syntax=cpp,numbering=no]
int main()
{
return 0;
}
\stopprogramlisting

For some reason the syntax highlighting doesn't work on the full
document, but it works inside the minimal example, so I still need to
investigate what's going on with the full document.



On an unrelated note:

I cannot make \startnarrow[middle=1cm] (or left=... for that matter)
produce any offset on the left. I was playing with the following
code, but the frame refuses to be shifted to the right

\setupvimtyping
[before={
\startnarrow[left=1cm,before={\blank[10pt]}]
\switchtobodyfont[8pt]
\startframed
[align=flushleft,
 background=color,
 backgroundcolor=gray,
 frame=off,
 leftframe=on,
 rulethickness=2pt,
 framecolor=darkgray,
 width=local,
 offset=1ex]},
  after={\stopframed\stopnarrow}]

Hello
\startprogramlisting[syntax=cpp,numbering=yes]
int main()
{
return 0;
}
\stopprogramlisting


Mojca
___
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 to do code listings & sections from XML (AsciiDoc)

2022-08-13 Thread Mojca Miklavec via ntg-context
On Fri, 12 Aug 2022 at 23:20, Aditya Mahajan wrote:
> On Fri, 12 Aug 2022, Mojca Miklavec via ntg-context wrote:
>
> > Hi,
> >
> > Hans helped me out with some asciidoc processing a while ago.
> >
> > I played a bit further, but I'm currently facing two minor issues:
> >
> > (a) I don't know how to turn program listing (verbatim code) from xml
> > to (perhaps, vim-based) syntax highlighting (but most importantly, to
> > make sure that line breaks work properly)
>
> Does something like this work:
>
> https://wiki.contextgarden.net/Verbatim_XML

Yes, awesome, this does exactly what I want, thank you very much.

I used the following code:

\usemodule[vim]
% this breaks if directory doesn't exist before
\setupvimtyping[directory=output/]
% it would be potentially useful to have some predefined vimtyping
already present in the module
\definevimtyping
[programlisting]
[syntax=]

\startluacode
function xml.functions.processprogramlisting(t)
buffers.assign("listing","\\startprogramlisting[syntax=cpp]\n"
.. tostring(xml.text(t)) .. "\n\\stopprogramlisting")
context.getbuffer { "listing" }
end
\stopluacode

\startxmlsetups xml:programlisting
\pushcatcodetable
\setcatcodetable\ctxcatcodes
\xmlfunction{#1}{processprogramlisting}
\popcatcodetable
\stopxmlsetups


Now I need to get the "cpp" and "unnumbered" part processed
automatically, so that it will work for any language:

// test.cpp:
int main()
{
return 0;
}

which would then be transformed into

\startprogramlisting[syntax=cpp,numbering=no]
int main()
{
return 0;
}
\stopprogramlisting

For some reason the syntax highlighting doesn't work on the full
document, but it works inside the minimal example, so I still need to
investigate what's going on with the full document.



On an unrelated note:

I cannot make \startnarrow[middle=1cm] (or left=... for that matter)
produce any offset on the left. I was playing with the following
example, but the frame refuses to be shifted to the right

\setupvimtyping
[before={
\startnarrow[left=1cm,before={\blank[10pt]}]
\switchtobodyfont[8pt]
\startframed
[align=flushleft,
 background=color,
 backgroundcolor=gray,
 frame=off,
 leftframe=on,
 rulethickness=2pt,
 framecolor=darkgray,
 width=local,
 offset=1ex]},
  after={\stopframed\stopnarrow}]

Hello
\startprogramlisting[syntax=cpp,numbering=yes]
int main()
{
return 0;
}
\stopprogramlisting


Mojca
___
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 do code listings & sections from XML (AsciiDoc)

2022-08-12 Thread Mojca Miklavec via ntg-context
Hi,

Hans helped me out with some asciidoc processing a while ago.

I played a bit further, but I'm currently facing two minor issues:

(a) I don't know how to turn program listing (verbatim code) from xml
to (perhaps, vim-based) syntax highlighting (but most importantly, to
make sure that line breaks work properly)

(b) some section titles are missing


Ad (a). The source that looks similar to this:


int main()
{
return 0;
}


should be converted into some kind of equivalent of

% on top
\usemodule[vim]
\definevimtyping [CPP] [syntax=cpp]

\startCPP
int main()
{
return 0;
}
\stopCPP

In the attachment I have the source document (test.adoc), the
generated docbook xml that should be further processed, and test.tex
that one processes to get the final pdf.

Any hints would be greatly appreciated.

Mojca


test.tex
Description: Binary data


test.adoc
Description: Binary data



http://docbook.org/ns/docbook; xmlns:xl="http://www.w3.org/1999/xlink; version="5.0" xml:lang="en">

Document title (completely missing)
2022-08-12


This title seems to be missing
Hello code 

How it works
// test.cpp:

halfword tex_copy_node(halfword p)
{
/*tex
We really need a stub for copying because mem might move in the meantime due to resizing!
*/
if (p  0 || p = lmt_node_memory_state.nodes_data.allocated) {
return tex_formatted_error("nodes", "attempt to copy an impossible node %d", (int) p);
} else if (p  lmt_node_memory_state.reserved  lmt_node_memory_state.nodesizes[p] == 0) {
return tex_formatted_error("nodes", "attempt to copy a free %s node %d", get_node_name(node_type(p)), (int) p);
} else {
/*tex type of node */
halfword t = node_type(p);
int i = get_node_size(t);
/*tex current node being fabricated for new list */
halfword r = tex_get_node(i);
/*tex this saves work */
memcpy((void *) (lmt_node_memory_state.nodes + r), (void *) (lmt_node_memory_state.nodes + p), (sizeof(memoryword) * (unsigned) i));
if (tex_nodetype_is_complex(i)) {
 // halfword copy_stub;
if (tex_nodetype_has_attributes(t)) {
add_attribute_reference(node_attr(p));
node_prev(r) = null;
lmt_properties_copy(lmt_lua_state.lua_instance, r, p);
}
node_next(r) = null;
switch (t) {
case glue_node:
copy_sub_list(glue_leader_ptr(r), glue_leader_ptr(p));
break;




m-asciidoc-manual.tex
Description: Binary data
___
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] OpenBSD install

2022-05-13 Thread Mojca Miklavec via ntg-context
Dear Angel,

V pet., 13. maj 2022 08:15 je oseba Angel M Alganza via ntg-context <
ntg-context@ntg.nl> napisala:

> Hello,
>
> I've just started upgrading some systems to OpenBSD 7.1 (released last
> month) and found out there isn't a link to download LMTX for OpenBSD 7.1
> at https://wiki.contextgarden.net/Installation.
>

The wiki page was outdated. Can you please check again?
(My browser refuses opening http links from an https site, I'm not sure if
Hans configured https on his server.)


> I then thought I'd try to see if the previous versions (for 6.9 or 6.8)
> would work on 7.1, but it turned out that all four links (for both
> 32bits and 64bits) won't work.


At the moment we only support 7.0 and 7.1 (32-binaries are still there, but
unless someone needs them, we'll likely remove them).

Mojca
___
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] 32-bit OpenBSD

2022-05-08 Thread Mojca Miklavec via ntg-context
On Sat, 7 May 2022 at 22:37, Alain Delmotte via ntg-context
 wrote:
>
> Hi!
>
> Le 1/05/2022 à 11:01, Mojca Miklavec via ntg-context a écrit :
>
> Hi,
>
> How long do we want/need to keep running the builders for 32-bit OpenBSD?
>
> It's taking 2 or 3 times longer to build binaries than for the 64-bit
> OS (not that this is super relevant since ppc builder is a whole order
> of magnitude slower anyway: building TL there takes about 6 hours) and
> I suspect that nobody is using those 32-bit binaries anyway.
>
> Mojca
>
> My portable is a 32-bit on which I am running Lubuntu 18.04;

But that's 32-bit Linux rather than 32-bit OpenBSD. I was explicitly
asking about OpenBSD only.

> but i didn't upgrade ConTeXt lmtx for long as, as I did understand, there is 
> no more new binaries.

We never (intentionally) stopped providing support for that.
Is something not working for you if you try to do a clean installation
(in another directory)?

Mojca
___
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] 32-bit OpenBSD

2022-05-01 Thread Mojca Miklavec via ntg-context
Hi,

How long do we want/need to keep running the builders for 32-bit OpenBSD?

It's taking 2 or 3 times longer to build binaries than for the 64-bit
OS (not that this is super relevant since ppc builder is a whole order
of magnitude slower anyway: building TL there takes about 6 hours) and
I suspect that nobody is using those 32-bit binaries anyway.

Mojca
___
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] New upload is DOA on my M1 Mac

2022-03-12 Thread Mojca Miklavec via ntg-context
Hans,

I manually uploaded luametatex for arm64-darwin now.
Not that I actually checked anything.

Gavin, are you willing to try the binary from
https://dl.contextgarden.net/build/luametatex/arm64-darwin/
?

Mojca
___
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] New upload is DOA on my M1 Mac

2022-03-12 Thread Mojca Miklavec via ntg-context
> question for mojca: i see al getting compiled, even the vm on the mac
> but not the arm mac bin itself so is the main one listening to the
> master? : luametatex.darwin-arm64.moj stays inactive

I noticed that problem already before reaching the machine, but I
couldn't quite figure out what was wrong (I was too tired to debug
yesterday evening).

Python apparently keeps throwing some exceptions on the buildbot master.

Maybe I should just compile the binary and upload it manually for now.

Mojca
___
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] Scheduled server downtime today

2022-02-24 Thread Mojca Miklavec via ntg-context
Hi,

One of our servers is going to have some (hopefully short) scheduled
downtime today around 15:00 UTC.

Mojca
___
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] Transliteration

2022-02-03 Thread Mojca Miklavec via ntg-context
On Thu, 3 Feb 2022 at 21:41, Hans Hagen wrote:
>
> > I have also merged the Serbian hyphenation patterns, so there is no need
> > to switch the language in order to have hyphenation in transliterated text.
> > That was possible because cyrillic and latin scripts use different code
> > points, and there are no conflicts in patterns.
> > So I suggest merging the patterns for Serbian cyrillic and latin.
>
> I'd like to hear Arthur / Mojca on that  we can of course load them
> both but if that is an upstream merge i'll wait for that

Yes, loading both patterns at once is definitely the correct approach.
That's what the rest of the TeX world already does (at least LuaTeX
and XeTeX; pdfTeX not of course), see

https://github.com/hyphenation/tex-hyphen/blob/master/hyph-utf8/tex/generic/hyph-utf8/loadhyph/loadhyph-sr-latn.tex

We have two sets of Cyrillic patterns (and several Latin ones as
well), so composing a single file was a bit of a (somewhat political)
challenge.
Now at least in theory the users are free to choose which of the two
sets of patterns they want.

I never checked what ConTeXt was doing with the Serbian patterns.
Personally I would suggest taking hyph-sh-cyrl.pat.txt and hyph-sh-latn.pat.txt.

Mojca
___
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] The certificate of the mailman site has expired

2021-10-25 Thread Mojca Miklavec via ntg-context
On Mon, 25 Oct 2021 at 00:46, Ramkumar KB via ntg-context wrote:
>
> Taco,
>
> Chrome browser says R3 (in the certificate chain) has expired.
>
> See attached screenshot.

Are you using macOS <= 10.14?

I see Let's Encrypt mentioned and that one has been causing some
issues lately, partially due to a not-well-defined algorithm for
treating multiple certificates in the chain.

A bit more about the issue (very macOS-centric) can be read here:
https://trac.macports.org/wiki/ProblemHotlist#letsencrypt

Mojca
___
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] Update error on Raspberry Pi

2021-10-16 Thread Mojca Miklavec via ntg-context
Hi,

On Sat, 16 Oct 2021 at 23:28, Mojca Miklavec wrote:
>
> For some completely mysterious reason the new ISP's modem doesn't like
> the virtual machine running Debian 10 and I have no clue how to
> convince it to get network connectivity back.

Off-topic, but ... one hour afo the following comment was posted:
https://github.com/utmapp/UTM/issues/2280#issuecomment-945006193
and I discovered that an upgrade (still in beta) of the VM software
I'm using addressed two burning issues at the same time:
- they claim to have fixed some IPv6-related bug (and the network
magically works again)
- they now support auto-startup of VMs

So the situation with RPi support should hopefully become a tiny bit
better from this point on.
(Maybe the "old" modem, the one I received this summer, didn't have
proper IPv6 support.)

Mojca
___
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] Update error on Raspberry Pi

2021-10-16 Thread Mojca Miklavec via ntg-context
Hi,

On Sat, 16 Oct 2021 at 22:43, J. Hagen via ntg-context wrote:
>
> Looks like the pi bins and an osx one are behind (mojca then needs to kick 
> those vm's) ... I 'll check it tomorrow.

I'm sorry, the new binaries have been uploaded to the usual place
(Hans probably needs to regenerate the packages before they can be
used out-of-the-box again).

For some completely mysterious reason the new ISP's modem doesn't like
the virtual machine running Debian 10 and I have no clue how to
convince it to get network connectivity back.

(After reading the initial email from Luis I decided to try to connect
the main computer via my phone's hotspot and that worked, but I need
to find a permanent solution. Maybe I'll just set up some hardware
again. It's much slower than the VM, but better than not working at
all.)

Mojca

> Op 16 okt. 2021 15:12 schreef Luis Montgomery via ntg-context 
> :
>
> Hi,
> I try to update LMTX and the script sends me this error:
>
>
> resolvers   > lua > loading file 
> '/home/monty/context/tex/texmf-context/tex/context/base/mkxl/spac-par.lmt' 
> succeeded
> tex error   > tex error on line 41 in file spac-par.mkxl: Undefined 
> control sequence \undefined
>
> 
>   + \shapingpenaltiesfrozenparcode
>
> 
> The control sequence at the end of the top line of your error message was 
> never
> \def'ed. You can just continue as I'll forget about whatever was undefined.
>
> What has changed here?
>
> L. Montgomery
___
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] pgfplots module needs update from December

2021-08-22 Thread Mojca Miklavec via ntg-context
V ned., 22. avg. 2021 19:32 je oseba Gavin 
napisala:

>
> I am not sure what my next step should be. Should I wait a day for the
> system to do its fetching thing and then try the same instructions I
> followed before (https://wiki.contextgarden.net/Modules#ConTeXt_LMTX)?
>
> I know very little about these rsync commands. I’m just
> cutting-and-pasting into my command line.
>

Waiting won't help. Can you perhaps send full output of comping the sample
that you posted earlier? What OS and architecture do you use?

Mojca

>
___
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] pgfplots module needs update from December

2021-08-22 Thread Mojca Miklavec via ntg-context
I used the latest commit from the git repository rather than the latest
release.

Mojcs
___
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] pgfplots module needs update from December

2021-08-22 Thread Mojca Miklavec via ntg-context
V ned., 22. avg. 2021 18:13 je oseba Hans Hagen via ntg-context <
ntg-context@ntg.nl> napisala:

>
> it makes no sense to mojca to fix modules that come from elsewhere
> because a next time it might be different so when tikz is not updated on
> ctan (where it's fetched from) it's not an official fix
>

I didn't have to fix anything in the code, but the git repository was
moved, so the module wasn't kept up to date for a while. I just updated the
URL for fetching the latest sources.

Mojca

>
___
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] pgfplots module needs update from December

2021-08-22 Thread Mojca Miklavec via ntg-context
On Sun, 22 Aug 2021 at 17:46, Gavin  wrote:
>
> The instructions we followed for installing the modules are at
>
> https://wiki.contextgarden.net/Modules#ConTeXt_LMTX
>
> These instructions include the line
>
> rsync -rltv --del rsync://contextgarden.net/minimals/current/modules/ 
> modules
>
> This does not seem to produce the same files as the 
> distribution.contextgarden.net address that you provided.

What's the main difference?
(Sure, you get all of the modules, not just TikZ. I somewhat suspect
that old files don't get deleted, so you may also end up with some old
files with the same name taking precedence and breaking the
functionality.)

> Should we be following different installation instructions?

I didn't test them, but the instructions seem more or less correct.

If you only need tikz (or just for testing with a fresh installation),
you could test with something similar to
rsync -av --delete
rsync://contextgarden.net/minimals/current/modules/t-tikz/
path-to/texmf-modules/

Mojca
___
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] pgfplots module needs update from December

2021-08-22 Thread Mojca Miklavec via ntg-context
On Sun, 22 Aug 2021 at 15:43, Gavin via ntg-context wrote:
>
> usemodule[tikz]
> \usemodule[pgfplots]
> \usetikzlibrary[pgfplots.polar]
>
> \startTEXpage
>   \starttikzpicture
> \startpolaraxis
>   \addplot coordinates {(0,1) (90,1)
> (180,1) (270,1)};
> \stoppolaraxis
>   \stoptikzpicture
> \stopTEXpage

I tried a fresh installation of both MKIV and LMTX and both seem to
work fine for me, so sadly I cannot reproduce the problem.
(The files comes from rsync, from the same folder as shown here:
https://distribution.contextgarden.net/current/modules/t-tikz/)

Mojca
___
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] pgfplots module needs update from December

2021-08-21 Thread Mojca Miklavec via ntg-context
Dear Gavin,

On Sat, 21 Aug 2021 at 06:05, Gavin via ntg-context wrote:
>
> The module pgfplots has a bug that produces an error for polar plots, and 
> perhaps in other situations.
>
> Is there anything I can do to aid in getting this fixed in the distribution?

Can you please try updating and checking again (at least with the
"legacy installer", I'm not sure how Hans handles the modules for
lmtx)?

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