[NTG-context] Re: Japanese

2024-03-11 Thread Wolfgang Schuster

Emanuel Han via ntg-context schrieb am 10.03.2024 um 17:43:

Hi all,

I added 
https://wiki.contextgarden.net/Chinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements_for_Japanese_Text_Layout

with attached working example code and to-do list.

Thanks for any contributions!

The working example code is still a work in progress. Its text layout 
output meets already some of the requirements (see comments in the 
code). Among the ones to still be implemented are:


 *
solid setting (no extra spacing between characters)
https://www.w3.org/TR/jlreq/#fig1_8 if no requirement for
line-adjustment https://www.w3.org/TR/jlreq/#term.line-adjustment
 *
aligning of the lines to the Kihon-hanmen (optimizing the code
below in this regard)

Can you make text files out of the images [1] with the spacing 
before/after punctuation to have short examples for testing.


[1] https://www.w3.org/TR/jlreq/#positioning_of_punctuation_marks


 *
positioning and realm of headings
https://www.w3.org/TR/jlreq/#fig3_1_9
https://www.w3.org/TR/jlreq/#fig3_1_15 et al, and
https://www.w3.org/TR/jlreq/#fig3_1_4
 *
positioning of yokugo-ruby https://www.w3.org/TR/jlreq/#fig2_3_24
 *
inline cutting note (warichu) https://www.w3.org/TR/jlreq/#fig2_4_1
 *
emphasis with sesame dot or bullet
 *
itemization https://www.w3.org/TR/jlreq/#fig2_5_6

Circled numbered are easy and achieved by adding additional number 
conversions.


 *
indenting of quotation paragraphs
https://www.w3.org/TR/jlreq/#fig2_5_7


Use the narrower or blockquote environment for this.


 *
tab setting https://www.w3.org/TR/jlreq/#fig2_6_1


Just use a table.


 *
furiwake https://www.w3.org/TR/jlreq/#fig2_7_2
 *
jidori https://www.w3.org/TR/jlreq/#fig2_7_4
 *
math https://www.w3.org/TR/jlreq/#fig2_7_6 and
https://www.w3.org/TR/jlreq/#fig2_7_62
 *
tategaki (writing vertically)


Wolfgang

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: update

2024-03-11 Thread Emanuel Han via ntg-context
Dear developers,
thanks for your hard work!

Thank you Wolfgang for the Japanese line break rule fix in line 831 of 
scrp-cjk.lua:
full_width_open = stretch_break, -- WS, was: nobreak_stretch_break_shrink,

Emanuel

On März 11 2024, at 7:23 pm, Pablo Rodriguez via ntg-context 
 wrote:
> On 3/11/24 18:48, Hans Hagen wrote:
> > Hi,
> >
> > Todays update has a fix for the compact mode slant interference (as
> > explained by Wolfgang a few days ago). Hopefully that works out well.
>
> Many thanks for that fix, Hans.
> Pablo
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: update

2024-03-11 Thread Pablo Rodriguez via ntg-context
On 3/11/24 18:48, Hans Hagen wrote:
> Hi,
>
> Todays update has a fix for the compact mode slant interference (as
> explained by Wolfgang a few days ago). Hopefully that works out well.

Many thanks for that fix, Hans.

Pablo

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: issue with module update

2024-03-11 Thread Pablo Rodriguez via ntg-context
On 3/11/24 17:17, Taco Hoekwater wrote:
>> On 11 Mar 2024, at 16:57, Pablo Rodriguez wrote:
>> [...]
>> Is there something I am missing here?
>
> One of your releases had “changed-name” as its release ‘number’.
>
> The modules site does not know how to deal with non-numeric release
> names all that well; it made a mess of its symlinking stage.
>
> I fixed the symlink manually, it should be fine now.

Really sorry for causing you problems when updating the modules, Taco.

I had no idea that non-numeric releases were problematic with symbolic
linking.

I made that change to avoid having two releases with the same date (I
think this also may give issues with symlinks).

Well, I realize that if I make a wrong release, I have to number the new
version with only numbers (and maybe points instead of hyphens).

Sorry again for giving problems and many thanks for your work,

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] update

2024-03-11 Thread Hans Hagen

Hi,

Todays update has a fix for the compact mode slant interference (as 
explained by Wolfgang a few days ago). Hopefully that works out well.


We (MS and HH) also managed to make curve detection more accurate (the 
decision routine that is responsible for straight lines in the MP 
output) so that extreme paths with control points way beyond reasonable 
still produce the right output (before we could get a wrong bbox due to 
clipping the curve in the backend). One can actually also force "always 
curve" with "withcurvature 1" (more variants might follow) but that is 
more or us to have a test option. Curvature detection is mostly a pdf 
efficiency feature and normally users should rely on the default to work 
okay.


Other new mp features are relative and absolute points which makes it 
possible to define paths in a turtle graphics way (a bit like hlineto 
and vline in postscript), a native "--" operator (equivalent but 
somewehat more efficient on huge generated paths). The luametafun manual 
has a chapter on paths that describes some of this.


Yet another new feature is "firstcontrol" and "secondcontrol" that is an 
addendum to controls that makes both control points the same when only 
one is given.


Finally there is a fix in mp where some directions, think { dir 120 }, 
gave the wrong result due to sign swapping (so it was seen as { dir 200} 
or { dir -60 }) as side effect of negative zeros fed into tan2. This 
became obvious when MS reprocessed a graphic, as last year we switched 
from scsled (no bug) to double (long time bug exposed). (The bug is also 
present in LuaTeX double/binary mode but it will be fixed there too.)


The rest is not (yet) worth mentioning,

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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: issue with module update

2024-03-11 Thread Taco Hoekwater


> On 11 Mar 2024, at 16:57, Pablo Rodriguez via ntg-context 
>  wrote:
> 
> Dear list,
> 
> I have just updated a module named PresVoz.
> 
> I get the standard directory
> (https://modules.contextgarden.net/dl/presvoz/) and
> (https://modules.contextgarden.net/dl/presvoz-{%version%}.zip), but no
> https://modules.contextgarden.net/dl/presvoz.zip (with current version).
> 
> So when updating the module, I get it only uninstalled.
> 
> The two most recent updates (this one and the one before) had this issue.
> 
> Is there something I am missing here?

One of your releases had “changed-name” as its release ‘number’. 

The modules site does not know how to deal with non-numeric release names all 
that well; it made a mess of its symlinking stage. 

I fixed the symlink manually, it should be fine now.

Best wishes,
Taco 

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)


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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] issue with module update

2024-03-11 Thread Pablo Rodriguez via ntg-context
Dear list,

I have just updated a module named PresVoz.

I get the standard directory
(https://modules.contextgarden.net/dl/presvoz/) and
(https://modules.contextgarden.net/dl/presvoz-{%version%}.zip), but no
https://modules.contextgarden.net/dl/presvoz.zip (with current version).

So when updating the module, I get it only uninstalled.

The two most recent updates (this one and the one before) had this issue.

Is there something I am missing here?

Many thanks your your help,

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: weird character normalization in the wiki

2024-03-11 Thread Pablo Rodriguez via ntg-context
On 3/11/24 09:31, Taco Hoekwater wrote:
>> On 9 Mar 2024, at 09:35, Pablo Rodriguez via ntg-context 
>>  wrote:
>>
>> Sure, they may be a workaround to type codepoints instead of characters
>> (such as with \utfchar{0x1fbb}, but wouln’t it be possible to disable
>> that character normalization in the wiki?
>
> AFAIK, Wikimedia’s Unicode normalisation can not be turned off.

Hi Taco,

then I have to use the woraround.

Many thanks for your help,

Pablo

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: has the statistical charts module a new home?

2024-03-11 Thread Aditya Mahajan
On Mon, 11 Mar 2024, Henning Hraban Ramm wrote:

> Hi Tomáš et al.,
> 
> the site https://akela.mendelu.cz/~thala/statcharts/ and actually the whole
> server disappeared.
> 
> Is there a new download location for the charts module?

There is a version on internet archive:

https://web.archive.org/web/20230603222611/https://akela.mendelu.cz/~thala/statcharts/

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] has the statistical charts module a new home?

2024-03-11 Thread Henning Hraban Ramm

Hi Tomáš et al.,

the site https://akela.mendelu.cz/~thala/statcharts/ and actually the 
whole server disappeared.


Is there a new download location for the charts module?

It would be nice if we could just host it on 
https://modules.contextgarden.net, then it could also get installed via 
the mtxrun script.


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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


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

2024-03-11 Thread Cron Daemon
receiving incremental file list
 ./
 ctan.lsr
 document-2.htm
 download-1.htm
 download-2.htm
 logo-ade.png
 logo-cts.png
 logo-pod.png
 rss.xml
 show-fil.pdf
 context/latest/
 context/latest/cont-lmt.zip
 context/latest/cont-mpd.zip
 context/latest/cont-ppc.zip
 context/latest/cont-sci.zip
 context/latest/cont-tmf.zip
 context/latest/cont-tst.7z
 context/latest/cont-tst.tar.xz
 context/latest/cont-tst.zip
 general/manuals/
 general/manuals/luametafun.pdf
 
 sent 191,427 bytes  received 50,818,272 bytes  3,517,910.28 bytes/sec
 total size is 579,139,721  speedup is 11.35


Running archiver:

New dir: /var/www/aanhet.net/context//htdocs/archives/context-2024-03-11.11
246221856   
/var/www/aanhet.net/context//htdocs/archives/context-2024-03-11.11/latest
126745317   
/var/www/aanhet.net/context//htdocs/archives/context-2024-03-11.11/current
372971269   
/var/www/aanhet.net/context//htdocs/archives/context-2024-03-11.11
372971269   total
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: weird character normalization in the wiki

2024-03-11 Thread Taco Hoekwater
Hi,



> On 9 Mar 2024, at 09:35, Pablo Rodriguez via ntg-context  
> wrote:
> 
> Sure, they may be a workaround to type codepoints instead of characters
> (such as with \utfchar{0x1fbb}, but wouln’t it be possible to disable
> that character normalization in the wiki?

AFAIK, Wikimedia’s Unicode normalisation can not be turned off.


Best wishes,
Taco

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___