Re: [NTG-context] how to install on M2 Mac?

2023-06-27 Thread Henning Hraban Ramm via ntg-context

Am 27.06.23 um 22:02 schrieb Hans van der Meer via ntg-context:
After transferring the context directory to my new M2 Mac Studio 
sh.install.sh complains "Your system "Darwin arm64" is not supported 
(yet)". What now? I cannot live without TeX-ing 沈


You just copied the binaries from another computer? That doesn’t work.
Download the arm64 binaries from 
https://wiki.contextgarden.net/Installation, i.e. 
https://lmtx.pragma-ade.com/install-lmtx/context-osx-arm64.zip


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
___


Re: [NTG-context] expansion of section title

2023-06-27 Thread Henning Hraban Ramm via ntg-context

Am 27.06.23 um 21:01 schrieb Wolfgang Schuster via ntg-context:

Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55:

\defineregister[todos]

% add a "todos" index entry with the current section title
\define[1]\TODO{\todos{\structurevariable{title}}}

\chapter{Something}
\TODO{This is still empty!}

% at the end of the book
\chapter{work list}
\placetodos 


\define[1]\TODO{\expanded{\todos{\structurevariable{title


Thank you, that works.
I thought I tried that, but probably forgot the braces.


What is the purpose of the argument for \TODO when you don't use it?


I simplified too much, the actual definition is (now):

\define[1]\TODO{\inouter{\tt\color[ColTodo]{TODO}}\expanded{\todos{\structurevariable{title}}}\color[ColTodo]{\bf 
#1}\autoinsertnextspace}


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] expansion of section title

2023-06-27 Thread Henning Hraban Ramm via ntg-context
I think I had a good idea how to keep an overview of the “todos” in my 
book project:


\defineregister[todos]

% add a "todos" index entry with the current section title
\define[1]\TODO{\todos{\structurevariable{title}}}

\chapter{Something}
\TODO{This is still empty!}

% at the end of the book
\chapter{work list}
\placetodos


But the section title is always "work list" in the "todos" index.
I guess I need some expansion and tried \expanded, \safeexpanded, 
\expandoneargafter, \fullexpandoneargafter, but probably not in the 
right place.


How does this work?

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
___


Re: [NTG-context] context-on-web broken

2023-06-26 Thread Henning Hraban Ramm via ntg-context

Am 26.06.23 um 19:43 schrieb Miguel Diaz:
indeed it is a simple simulation of overleaf (for latex). But trying to 
learn the basics it is great that you can try context without an 
installation and configuration.
unfortunately the web is no more accesible and when I heard that the 
maillist hat problems as result of upgrade i thought the web would be in 
the same server.
But it seems the web is not of Pragma but of a university. Sorry for my 
ignorance!

and thanks anyway


Well, it’s not by the university, but the master(?) thesis of one 
student. He never published the source code, and apparently he stopped 
hosting it at all.


Unfortunately silent disappearance is a common fate of the really 
interesting ConTeXt and MetaPost projects from Brno.


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
___


Re: [NTG-context] context-on-web broken

2023-06-26 Thread Henning Hraban Ramm via ntg-context

Am 26.06.23 um 08:49 schrieb Taco Hoekwater via ntg-context:

Dear Miguel,


On 25 Jun 2023, at 22:48, Miguel Diaz via ntg-context  
wrote:

Hi everyone,
and sorry if this is not the right place to post.

Context-on-web is no more accesible.


What is this context-on-web? I tried searching, but context+web produces rather 
useless results.


https://context-on-web.eu
online IDE by Zdeněk Svoboda of Brno university


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] Arabic Type Design

2023-06-21 Thread Henning Hraban Ramm via ntg-context

interesting article:
https://futuress.org/stories/arabic-typography/amp/

HR
___
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] error in column sets

2023-06-20 Thread Henning Hraban Ramm via ntg-context

Am 19.06.23 um 21:59 schrieb Henning Hraban Ramm via ntg-context:

In a minimal example like this:

\setuppapersize[A5]
\definecolumnset[TwoColumns][n=2]

\starttext
\startcolumnset [TwoColumns]
    \dorecurse{10}{\samplefile{knuth}}
\stopcolumnset

\stoptext

… many columns start one line too low and overwrite their last line.

...
Also I seem to remember that column sets would enforce grid mode, but 
they clearly don’t.


If you enable \setuplayout[grid=yes], lines get placed correctly.
Also floats work well (here and top).

But some columnsetspans still disappear, and footnotes get overwritten. 
(I know, that tricky inset stuff…)


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] error in column sets

2023-06-19 Thread Henning Hraban Ramm via ntg-context

In a minimal example like this:

\setuppapersize[A5]
\definecolumnset[TwoColumns][n=2]

\starttext
\startcolumnset [TwoColumns]
   \dorecurse{10}{\samplefile{knuth}}
\stopcolumnset

\stoptext

… many columns start one line too low and overwrite their last line.


An extended example (nearly the same as in the manual) shows that some 
column set spans don’t appear:


\showgrid\showframe

\definecolumnset[Beispiel][n=3]
\definecolumnsetspan[Zwei][n=2,color=blue]
\definecolumnsetspan[Drei][n=3,color=red]

\starttext
\startcolumnset[Beispiel]
\startcolumnsetspan[Drei]% this works
{\bfd Überschrift}

Anleser: \dorecurse{2}{#1: \samplefile{knuth}\par}
\stoptitle
\stopcolumnsetspan

Zwischen: \samplefile{tufte}\par

\startcolumnsetspan[Zwei]% This never shows up!
Zwei: \dorecurse{2}{#1: \samplefile{lorem}\par}
\stopcolumnsetspan

Nach: \dorecurse{15}{#1: \samplefile{knuth}\par}
\stopcolumnset
\stoptext

Also I seem to remember that column sets would enforce grid mode, but 
they clearly don’t.


(BTW the old \startcolumns mode works better than I remembered.)

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] viewer layers (optional content groups, OCG)

2023-06-19 Thread Henning Hraban Ramm via ntg-context

Checking viewer layers:

* \setupviewerlayer doesn’t work; e.g. "state=stop" only works if I put 
it in \defineviewerlayer

* visible=no has no effect
* what are the options tag/name supposed to do?
(https://wiki.contextgarden.net/Viewer_Layers)
* known problem: only Acrobat supports JS to control OCGs 
(\overlayrollbutton in the MWE)


Hraban


\setupinteraction[state=start]% needed for JS

\defineviewerlayer[Gebuesch][
  state=stop,
]
\defineviewerlayer[Versteck]
\setupviewerlayer[Versteck][ % doesn’t work
  state=stop,
]

\starttext
Hier fängt der Wald an.

\startviewerlayer[Gebuesch]
Hier versteckt sich ein Wolf...
\stopviewerlayer

Bäume, Bäume, Bäume...

\viewerlayer[Gebuesch]{... und ein Rotkehlchen}

\startviewerlayer[Versteck]Rumpelwicht\stopviewerlayer

\defineoverlay[MitVersteck]
[{\overlayrollbutton[VideLayer{Versteck}][HideLayer{Versteck}]}]

\framed[background=MitVersteck]{Kummst du mul kuckn?}

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


Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-16 Thread Henning Hraban Ramm via ntg-context

Am 16.06.23 um 18:35 schrieb Gerben Wierda via ntg-context:
I know this is off topic, but I suspect this community is actually one 
of the best places to find an answer.


I really like Optima, and what I really like about it is the 'flared style'.

But I would like to move to a flared-sans font that gives me more 
licensing freedom. I haven't been able to find one after extensive 
searching. The only one who were reasonably priced (not free) were the 
URW Classico ones in Adobe Creative Cloud, but those can only be used in 
Adobe programs like InDesign (and not TeX).


I found some flared-sans fonts, but not one with at least regular, 
italic, bold, and bold-italic.


Is there really not a single flared-sans font that is /really/ free (so 
also for commercial use) to use out there?


How about Libertinus Sans?
https://github.com/alerque/libertinus

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
___


Re: [NTG-context] SOLVED: Fallbacks in text font interfere with math accents

2023-06-14 Thread Henning Hraban Ramm via ntg-context

Hans sent me a fix (font-mat.mklx), I guess it’ll be in the next upload.

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
___


Re: [NTG-context] All NUL files in the Context distribution

2023-06-14 Thread Henning Hraban Ramm via ntg-context

Am 14.06.23 um 17:13 schrieb Leah Neukirchen via ntg-context:

Hi,

I was looking into the SciTE setup when I found that
tex/texmf-context/context/data/scite/context/scite-context-internal.properties
only contained NUL bytes.

Deleting and reinstalling doesn't fix it.

I have now checked the other files there and these files seem to have
gotten corrupted at some point.  Does anyone have a working copy to
restore them?

tex/texmf-context/context/data/scite/context/scite-context-internal.properties
tex/texmf-context/context/data/scite/context/lexers/scite-context-lexer-web-snippets.lua
tex/texmf-context/doc/context/sources/general/manuals/start/en/ma-cb-en-commands.tex


All these files look good in my installation, will send them to you 
off-list.

current version: 2023.06.04 18:58

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
___


Re: [NTG-context] regular online meet-up

2023-06-14 Thread Henning Hraban Ramm via ntg-context

Reminder: this is in a few hours!

Looking forward to seeing you again,
Hraban

Am 09.06.23 um 13:29 schrieb Henning Hraban Ramm via ntg-context:

You’re invited to join on Wednesday, June 14th, 15:00 CEST (UTC+2)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on July 12th.



(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the 
audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).
* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.
* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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
___


Re: [NTG-context] Fallbacks in text font interfere with math accents

2023-06-10 Thread Henning Hraban Ramm via ntg-context

Am 10.06.23 um 19:46 schrieb Mikael Sundqvist via ntg-context:

Hi,

On Sat, Jun 10, 2023 at 10:06 AM Henning Hraban Ramm via ntg-context
 wrote:


Hi, this is probably for Hans & Mikael, but maybe someone else has a hint:

If I set a fallback for my body font to catch all missing characters,
some math accents get replaced by small bold uppercase characters (I
found hat by K and ring by T so far).

I tried [fallbacks=] for math to no avail.

My example uses Cambria, but it’s the same with other fonts.

(BTW, in \bar{b} with Libertinus, the bar looks too high.)


I leave the font fallbacks to Hans or somebody else, but for the \bar
one can argue that the "305 glyph in Libertinus Math sits too high.
This is adjusted for in the goodie file in the next upload.


I could fix a few math accents (e.g. widebar) by limiting my 
replacements to necessary glyphs, but many other problems remain (e.g. 
breve, check, dot, widehat). It also affects the sizing of limiters and 
e.g. underbraces.


Why do font fallbacks for non-math fonts affect math at all?

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] Fallbacks in text font interfere with math accents

2023-06-10 Thread Henning Hraban Ramm via ntg-context

Hi, this is probably for Hans & Mikael, but maybe someone else has a hint:

If I set a fallback for my body font to catch all missing characters, 
some math accents get replaced by small bold uppercase characters (I 
found hat by K and ring by T so far).


I tried [fallbacks=] for math to no avail.

My example uses Cambria, but it’s the same with other fonts.

(BTW, in \bar{b} with Libertinus, the bar looks too high.)

Hraban


\definefontfallback[symbolaFB]
  [file:symbola.otf]
  [0x0-0xF]
  [check=no,force=no]

\definefontfallback[arialFB]
  [name:arialunicodems]
  [0x0-0xF]
  [check=no,force=no,rscale=0.85]

\starttypescript [contextstart]
  \definetypeface [contextstart] [rm] [serif] [cambria]
[default][fallbacks=symbolaFB]
  \definetypeface [contextstart] [ss] [sans]  [segoe]
[default][fallbacks=arialFB]
  \definetypeface [contextstart] [tt] [mono]  [modern]
[default][fallbacks=arialFB]
  \definetypeface [contextstart] [mm] [math]  [cambria]
[default]
\stoptypescript

\setupbodyfont[contextstart,12pt]

\starttext

\im{\hat{H} \widehat{HAT} \bar{b} \widebar{bar}}

\im{\mathring{+} \mathring{±} \mathring{x}}

\stoptext

mathtest.tex
Description: TeX document
___
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] regular online meet-up

2023-06-09 Thread Henning Hraban Ramm via ntg-context

You’re invited to join on Wednesday, June 14th, 15:00 CEST (UTC+2)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on July 12th.



(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).
* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.
* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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
___


Re: [NTG-context] find font features

2023-06-08 Thread Henning Hraban Ramm via ntg-context

Am 08.06.23 um 16:09 schrieb Henning Hraban Ramm via ntg-context:

I just stumbled upon this project by a Dutch guy:

https://wakamaifondue.com

Font metadata analyzer in JavaScript.

I thought that was nice, but "mtxrun --script fonts" can do much more.


I posted too fast – overlooked the wealth of information the site gives 
if you scroll down… So it might be a handy complement to our (Hans’) 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://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] find font features

2023-06-08 Thread Henning Hraban Ramm via ntg-context

I just stumbled upon this project by a Dutch guy:

https://wakamaifondue.com

Font metadata analyzer in JavaScript.

I thought that was nice, but "mtxrun --script fonts" can do much more.

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
___


Re: [NTG-context] Server certificate of wiki server run out

2023-06-08 Thread Henning Hraban Ramm via ntg-context

Am 08.06.23 um 13:39 schrieb Taco Hoekwater via ntg-context:




On 8 Jun 2023, at 12:21, Henning Hraban Ramm via ntg-context 
 wrote:

Hi Mojca,

the server certificate is outdated since a few hours, can you renew it?


Fixed for now,


Thank you!
(I stupidly thought only Mojca had access to the server in Slovenia.)

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] Server certificate of wiki server run out

2023-06-08 Thread Henning Hraban Ramm via ntg-context

Hi Mojca,

the server certificate is outdated since a few hours, can you renew 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
___


Re: [NTG-context] SOLVED: text under page floats

2023-06-02 Thread Henning Hraban Ramm via ntg-context

Am 24.05.23 um 21:07 schrieb Henning Hraban Ramm via ntg-context:
If the page float is placed before a title, the next section starts 
below the float.


This is solved now after a one-line fix by Hans. (And I was dense.)

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
___


Re: [NTG-context] Change in flushleft alignment?

2023-06-01 Thread Henning Hraban Ramm via ntg-context

Am 01.06.23 um 04:17 schrieb Rik Kabel via ntg-context:
Previously (May 7) flushleft paragraphs were as wide as possible within 
the text area. Now (May 30) they appear to be re-wrapped to a much 
narrower width.


Here is the same paragraph, showing the difference:

and

It looks like every paragraph has been run through par.

This does not seem to create paragraphs with more lines, but they create 
a very odd, choppy page. It does not prevent hyphenation, and sometimes 
introduces it where none was present before.


Did I miss a change?


I found the same problem with a \definedescription; a workaround was to 
add "wide,hyphenated" to the alignment.


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
___


Re: [NTG-context] \doifelseoddpage not working as expected

2023-05-29 Thread Henning Hraban Ramm via ntg-context

Am 29.05.23 um 16:47 schrieb Hans Hagen via ntg-context:
Is this also the right approach to check for the current page within a 
float placement?

Like
\startplacefigure[]
 \dontleavehmode\signalrightpage % necessary?
 \doifelserightpage{RIGHT}{LEFT}
 \doifelseoddpage  {ODD  }{EVEN}
\stopplacefigure
?

In my macros from 2015 I’m still using manual right/left page 
versions, and I’d like to enhance them.
I need e.g. different \offset values for \externalfigure depending on 
right/left page.
normally you will use "inner*" and "outer*" placement there as in other 
cases (which uses the same tricks)


I have one macro to place an page-width image with bleed, it uses 
\placefigure[top] and then \offset to move the image, so that it starts 
with bleed on the top side and with/without on the left side depending 
on a parameter that I change manually if the page breaking changes. The 
caption must stay within the type area – that works so far.
But it shouldn’t be necessary to define left/right manually, and that’s 
my question: if these \doifs work correctly within a float placement.


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
___


Re: [NTG-context] \doifelseoddpage not working as expected

2023-05-29 Thread Henning Hraban Ramm via ntg-context

Am 27.05.23 um 23:54 schrieb Hans Hagen via ntg-context:
You never know when tex will break a page unless you are explicit so you 
typeset the status too soon.


\setuppagenumbering[alternative=doublesided]
% \setuppagenumbering[alternative={singlesided,doublesided}]

\starttext
     \dorecurse{200}{
     \dontleavehmode\signalrightpage
     \doifelserightpage{RIGHT}{LEFT}
     \doifelseoddpage  {ODD  }{EVEN}
     \par
     }
\stoptext

The rightpage check combined with putting a signal at the spot where you 
test will work ok.


The odd/even test works as expected when you're in the page builder 
(wrapping up the page).


Is this also the right approach to check for the current page within a 
float placement?

Like
\startplacefigure[]
\dontleavehmode\signalrightpage % necessary?
\doifelserightpage{RIGHT}{LEFT}
\doifelseoddpage  {ODD  }{EVEN}
\stopplacefigure
?

In my macros from 2015 I’m still using manual right/left page versions, 
and I’d like to enhance them.
I need e.g. different \offset values for \externalfigure depending on 
right/left page.


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
___


Re: [NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context

I found a MWE that shows the problem:

"""
\setuppapersize[C5]

\showframe

\starttext

\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.75\textheight]{TEST}
\stopplacefigure

\dorecurse{4}{\section{Tufte \recurselevel}

\samplefile{tufte}}

\stoptext
"""

If the page float is placed before a title, the next section starts 
below the float.


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
___


Re: [NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context

Am 24.05.23 um 16:44 schrieb Henning Hraban Ramm via ntg-context:

Hi,

in more than one of my books, I struggle with some lines of text below 
page floats. They start below the regular text area (i.e. in the bottom) 
and can even consist of a table float or a section title.


I can’t reproduce it in a simple example like this:

"""
\starttext

\dorecurse{2}{\samplefile{tufte}}

\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.5\textheight]{TEST}
\stopplacefigure

\dorecurse{5}{\samplefile{knuth}}

\stoptext
"""

What could cause this behavior? For what should I look in my setups?


In this instances, location=opposite causes the float to disappear.

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] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context

Hi,

in more than one of my books, I struggle with some lines of text below 
page floats. They start below the regular text area (i.e. in the bottom) 
and can even consist of a table float or a section title.


I can’t reproduce it in a simple example like this:

"""
\starttext

\dorecurse{2}{\samplefile{tufte}}

\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.5\textheight]{TEST}
\stopplacefigure

\dorecurse{5}{\samplefile{knuth}}

\stoptext
"""

What could cause this behavior? For what should I look in my setups?

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
___


Re: [NTG-context] How to really force figure to appear "here"?

2023-05-24 Thread Henning Hraban Ramm via ntg-context

Am 21.05.23 um 15:17 schrieb Wolfgang Schuster via ntg-context:

Joel via ntg-context schrieb am 21.05.2023 um 15:11:
Here, I've created an example that does just that. I want the figure 
to appear immediately after the bold text. Even if a lot of whitespace 
is placed and the figure appears on the next page, that is fine, but I 
don't want the next group of text to appear until *after* the figure. 
This is really confusing my readers.


\starttext
    \input knuth
    \input knuth

    {\boldface This is a short note about the picture. It should 
appear right after this.}

 \placefigure[here,force]{caption}{
 \externalfigure[1.jpg][width=\textwidth]
    }


Get rid of the here keyword and use only force, you can't use both at 
the same time
and one gets ignored (depends whatever is first checked in the float 
mechanism).


I seem to remember it used to work and was even suggested. Then I’d 
consider it a bug/regression.


Does {bottom,force} make sense?

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
___


Re: [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'

2023-05-24 Thread Henning Hraban Ramm via ntg-context

Am 24.05.23 um 08:51 schrieb Denis Maier via ntg-context:

Hi,

I’m setting up a new computer, and I’ve wanted to benefit from the new 
module installer. However, the commands I should use gives me the 
following error message :


mtxrun --script install-modules --list

mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'

I’m using a fresh context installation (2023.05.08 17:39) on Windows. 
I’ve see a couple of others had/have( ?) the same issue. It does not 
matter from where I run the command (i.e., I’m getting the same error 
message also from inside context\tex)


Is there anything I should do to make this work?


While --install only works within the "tex" directory, --list should 
work regardless of current directory.


Can mtxrun find other scripts, like "fonts"?

After a new installation, I usually need a new terminal window, 
otherwise the PATH is wrong or something like that.


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
___


Re: [NTG-context] Module authors: please update your metadata

2023-05-15 Thread Henning Hraban Ramm via ntg-context

Am 15.05.23 um 18:57 schrieb Jairo A. del Rio via ntg-context:
I reuploaded my module. Let me know if problems persist. Thank you very 
much!

Check again, please.


Now it’s there.

CTAN sync should happen every night.

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
___


Re: [NTG-context] Module authors: please update your metadata

2023-05-15 Thread Henning Hraban Ramm via ntg-context

Am 15.05.23 um 17:51 schrieb Jairo A. del Rio via ntg-context:
Hi, Hraban. I updated the sudoku module to remove the top redundant 
folder and added LICENSE, README, and VERSION files. What should I do 
if I want my module in CTAN? I asked two years ago and it was told to me 
synchronization with ConTeXt was automatic. Any comments? Thanks in advance.


Hi Jairo & thank you!

Yes, CTAN sync should happen automatically.

The metadata for your module looks good, except the missing license.

The file list also looks good:
https://modules.contextgarden.net/cgi-bin/module.cgi/action=view/id=107
But the download file is not to be found in the download section. 
Directory and VERSION has the new change date, but nothing more:

https://modules.contextgarden.net/dl/

I don’t know what happened, would you please try to upload again and/or 
send me your release file?


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
___


Re: [NTG-context] Is there a way to centrally add a list of indexed items to a sub category?

2023-05-15 Thread Henning Hraban Ramm via ntg-context

Am 15.05.23 um 03:37 schrieb Joel via ntg-context:


I have a document like this:

     \starttext
     \index{dogs}

     \index{cats}

     \index{flowers}

     \index{snails}

     \index{trees}

     \placeindex

     \stoptext

As I understand, if you use \index{animals+dogs}, it will place dogs as 
a sub-category of dogs.


Is there any way to control this centrally, for instance:

\addtosub[animals]{dogs, cats, snails}
\addtosub[plants]{flowers, trees}

Such a way would make it so \index{dogs} places an entry for "dog" under 
"d" and "animals --> dogs" under "a".


I’d suggest to cook your own macro, e.g. for a book with a lot of person 
index entries, I used a lookup table to unify different spellings or 
name changes (married, titles etc.) like this:


"""% environment:
\loadluafile[lookups] % Index lookups

\defineregister[Person][]
\defineprocessor[italics][style=italicface]
\define[1]\Passim{\emph{passim}}
\defineprocessor[passim][command=\Passim]

\define[1]\nPerson{%
  \expanded{\Person{\ctxlua{userdata.Lookup("#1")}}}%
}

\define[1]\TPerson{%
  \expanded{\Person[kursiv->]{\ctxlua{userdata.Lookup("#1")}}}%
}#1}
\define[1]\nCPerson{\expanded{\Person[italics->]{\ctxlua{userdata.Lookup("#1")%
\define[1]\TCPerson{\expanded{\Person[italics->]{\ctxlua{userdata.Lookup("#1")}}}#1}%
"""

"""lookups.lua:
userdata = userdata or { }

userdata.Lookups = {
…
  ["Pauline, geb. Fichtner Erdmannsdörfer"] = "Erdmannsdörfer, Pauline, 
geb. Fichtner",

  ["Pauline Erdmannsdörfer"] = "Erdmannsdörfer, Pauline, geb. Fichtner",
  ["Pauline Erdmannsdörfer-Fichtner"] = "Erdmannsdörfer, Pauline, geb. 
Fichtner",

…
}

function userdata.Lookup(name)
   context(userdata.Lookups[name] or name)
end
"""

In a similar way you could setup an \Animal macro to use a lookup table 
how the entry should get indexed.


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
___


Re: [NTG-context] installer

2023-05-13 Thread Henning Hraban Ramm via ntg-context

Am 13.05.23 um 16:57 schrieb Axel Kielhorn via ntg-context:

I have to
context % cd tex

After that the installer works fine.


That’s intended behavior.
(I’ll update the documentation.)

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
___


Re: [NTG-context] regular online meet-up

2023-05-10 Thread Henning Hraban Ramm via ntg-context

Reminder: This is in 2 hours. CU!

Am 07.05.23 um 11:44 schrieb Henning Hraban Ramm via ntg-context:

You’re invited to join on Wednesday, May 10th, 15:00 CEST (UTC+2)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on June 14th.



(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the 
audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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
___


Re: [NTG-context] new module installer and .tar.gz compression

2023-05-08 Thread Henning Hraban Ramm via ntg-context

Am 09.05.23 um 01:19 schrieb Hans Hagen via ntg-context:

On 5/8/2023 8:55 PM, Henning Hraban Ramm via ntg-context wrote:

But either the module scripts should re-pack tgz archives or the 
installer must learn to handle them.



The script now

-- before installing uninstalls a previous installation
-- can uninstall an installed module
-- can list installed modules


Great!


For the moment I disable a few badly packages zips:

metaducks, sudoku, aquamints, simpleslides

as they put files in the root and their own directories and I am not 
adding a zip-root remover and additional checkers.


I regard it good practice to have README, LICENSE and VERSION files in 
the root. A public git repository without these is incomplete, and if we 
use the zip/tgz packaging of platforms like github or gitea (codeberg), 
we can’t exclude them.

The installer script could just ignore/delete them.

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
___


Re: [NTG-context] new module installer and .tar.gz compression

2023-05-08 Thread Henning Hraban Ramm via ntg-context

Am 08.05.23 um 19:40 schrieb Pablo Rodriguez via ntg-context:

On 5/8/23 17:58, Bruce Horrocks via ntg-context wrote:

On 8 May 2023, at 16:20, Pablo Rodriguez wrote:
[...]
Sorry, but I don’t know how to force git urls to be added as zip
packages in https://modules.contextgarden.net.


Use  
as the link to download as a Zip file.


I thought https://codeberg.org/fiee/context-simpleslides as git URL 
would have worked for me, but the new script actually installs the 
outdated simpleslides.zip.


So I used a link to the release ZIP for a new release:
https://codeberg.org/fiee/context-simpleslides/archive/2023-04-13.zip

But the script still only installs the old ZIP.

Actually, no, it doesn’t install anything, but doesn’t complain:

"""
~/lmtx/tex $ mtxrun --script install-modules --install t-simpleslides

mtx-install-modules | loading entries from file 
'~/lmtx/tex/texmf-context/tex/context/modules/third/mtx-install-imp-modules.lua'
mtx-install-modules | loading entries from file 
'~/lmtx/tex/texmf-context/tex/context/modules/third/mtx-install-imp-tikz.lua'

mtx-install-modules |
mtx-install-modules |
mtx-install-modules | renewing file database
mtx-install-modules |
system  | lua | compiling 
'~/lmtx/tex/texmf-cache/luametatex-cache/context/c821363a6b068765c2a3bbfe3917fcf5/trees/71c82419867f9a0df8a150196c03c86f.lua' 
into 
'~/lmtx/tex/texmf-cache/luametatex-cache/context/c821363a6b068765c2a3bbfe3917fcf5/trees/71c82419867f9a0df8a150196c03c86f.lud'

...
system  | lua | dumping 
'~/lmtx/tex/texmf-cache/luametatex-cache/context/c821363a6b068765c2a3bbfe3917fcf5/trees/dcb651482955ac31eaab7723b70e0184.lua' 
into 
'~/lmtx/tex/texmf-cache/luametatex-cache/context/c821363a6b068765c2a3bbfe3917fcf5/trees/dcb651482955ac31eaab7723b70e0184.lud' 
stripped

mtx-install-modules |
mtx-install-modules | installed: t-simpleslides
mtx-install-modules |
"""


"mtxrun --script install-modules --install simpleslides" (without "t-") 
works.


But either the module scripts should re-pack tgz archives or the 
installer must learn to handle them.


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
___


Re: [NTG-context] installer

2023-05-08 Thread Henning Hraban Ramm via ntg-context

Am 08.05.23 um 09:50 schrieb Hans Hagen via ntg-context:

On 5/8/2023 9:00 AM, Günter Kolousek via ntg-context wrote:


Same here but invoking the command from the the directory

   context/tex

works well!
indeed, we don't want these modules to end up outside the tree so it's 
on purpose


Still doesn’t work; tried a new install:

~/lmtx/tex $ ls -al
total 1416
drwxr-xr-x   4 hraban  staff   128B  8 Mai 10:56 texmf/
drwxr-xr-x   4 hraban  staff   128B  8 Mai 10:57 texmf-cache/
drwxr-xr-x  11 hraban  staff   352B  8 Mai 10:56 texmf-context/
-rw-r--r--   1 hraban  staff   618K  8 Mai 10:56 texmf-context.tma
drwxr-xr-x   2 hraban  staff64B  8 Mai 10:56 texmf-fonts/
drwxr-xr-x   2 hraban  staff64B  8 Mai 10:56 texmf-local/
drwxr-xr-x   2 hraban  staff64B  8 Mai 10:56 texmf-modules/
drwxr-xr-x   3 hraban  staff96B  8 Mai 10:56 texmf-osx-64/
-rw-r--r--   1 hraban  staff   596B  8 Mai 10:56 texmf-osx-64.tma
drwxr-xr-x   2 hraban  staff64B  8 Mai 10:56 texmf-project/
-rw-r--r--   1 hraban  staff81K  8 Mai 10:56 texmf.tma
✓
~/lmtx/tex $ mtxrun --script install-modules --list
mtxrun  | unknown script 'install-modules.lua' or 
'mtx-install-modules.lua'



I tried "mtxrun --generate" and checked if the right binary of mtxrun is 
found.



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
___


Re: [NTG-context] installer

2023-05-07 Thread Henning Hraban Ramm via ntg-context

Am 07.05.23 um 16:38 schrieb Hans Hagen via ntg-context:

The mtx-install-tikz is now mtx-install-modules, so

   mtxrun --script install-modules



Someone (not me) has to adapt the wiki.


I updated https://wiki.contextgarden.net/Modules
(also deleted a lot of outdated information; module lists still need work)

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
___


Re: [NTG-context] new units

2023-05-07 Thread Henning Hraban Ramm via ntg-context

Am 07.05.23 um 12:29 schrieb Hans Hagen via ntg-context:

Edith Sundqvist  : on-site research, presentation
Mikael Sundqvist : scientific supervisor, calibration, article
Willi Egger  : quality assurance, edithorial device
Karl Berry   : peer review, tugboat
Hans Hagen   : implementation, article


Ah, now I get more of it – more context is usually desirable.

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
___


Re: [NTG-context] new units

2023-05-07 Thread Henning Hraban Ramm via ntg-context

Am 07.05.23 um 11:45 schrieb Hans Hagen via ntg-context:
I didn’t understand all details, and I guess some spelling errors are 
intentional – was there a Calli? Does “precission” refer to anything? 
And what’s the abbreviation for Theodores?
the theodore is only used in reporting an overflow so no real unit (just 
like feet is no unit in tex but used in the message)


of course

concerning precission, indeed there was a real beautiful handcrafted 
measuring device but as with much research one could sort of predict the 
median outcome esp after the main sample was made beforehand by 
carefully checking some resources; it was nice to see how most 
attendents properties fit the bill


I thought maybe a play on precision vs. precession

(Alan will be pleased to know that actually the Thumb was the starting 
point which happens to be close to an inch and the oid Dutch measure is 
Duim.)


I understand that the rule of thumb is the rule of 1/11 feet in Amsterdam.

ps. So 'I didn’t understand all details' is quite okay because the idea 
was to put you on the wrong foot (or theodore). It helps when you knwo 
the people involved, does it?


I know it’s not funny to explain jokes, but I don’t seem to know all 
people involved.


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] regular online meet-up

2023-05-07 Thread Henning Hraban Ramm via ntg-context

You’re invited to join on Wednesday, May 10th, 15:00 CEST (UTC+2)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on June 14th.



(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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] FROScon 2023

2023-05-07 Thread Henning Hraban Ramm via ntg-context

Hi,
yet another open source conference: https://www.froscon.org
2023-08-05/06 in Bonn-St.Augustin, Germany

DANTE will have a booth, and I’m planning to participate, maybe also 
give a lecture on a ConTeXt subject (practice for TUG, CCCamp and 
ConTeXt meeting ;)

Anyone else?

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
___


Re: [NTG-context] new units

2023-05-07 Thread Henning Hraban Ramm via ntg-context

Am 04.05.23 um 10:01 schrieb Hans Hagen via ntg-context:

Hi,

We now officially have three new units. These were officially introducd 
at the 2023 BachoTeX meeting in a presentation where the chair of the 
four person strong team also did the final live callibration (using the 
edithorial callibration instrument made for that purpose). An upcoming 
article in TB will explain the details of the process and also a careful 
mathematical annalysis of how we reached the right value with a high 
precission. The actual implementation is the most boring part.


Hi Hans, can I have the article also for CGJ, please?

I didn’t understand all details, and I guess some spelling errors are 
intentional – was there a Calli? Does “precission” refer to anything? 
And what’s the abbreviation for Theodores?


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
___


Re: [NTG-context] upload

2023-05-06 Thread Henning Hraban Ramm via ntg-context

Am 06.05.23 um 09:46 schrieb Hans Hagen via ntg-context:

On 5/5/2023 11:21 PM, Aditya Mahajan via ntg-context wrote:

Would it make sense to add a similar script to install context modules 
from modules.contextgarden.net?
I can look into that but then I need to slightly adapt it with a command 
line argument (no big deal, i just need rain outside and/or new cd's).


Not sure yet how to name the script.


Why not install-module(s), or just install?

mtxrun --script install --modules=filter,simpleslides

mtxrun --script install-modules --list=filter,simpleslides

?

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
___


Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-05-01 Thread Henning Hraban Ramm via ntg-context

Am 30.04.23 um 12:42 schrieb Wolfgang Schuster via ntg-context:

     \startmode [JA]
         \setscript [nihongo]
         \mainlanguage [ja]
     \stopmode


Shouldn’t that be \startmode[*ja], i.e. make it depend on the current 
language using the system mode?


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
___


Re: [NTG-context] Idea for a shared repository.

2023-04-25 Thread Henning Hraban Ramm via ntg-context

Am 25.04.23 um 17:13 schrieb Aditya Mahajan via ntg-context:

On Tue, 25 Apr 2023, Pawel Urbanski via ntg-context wrote:


What about creating a repository called: 'templates' or 'resources' - we can
figure out the exact name later.


Why not use the wiki for such documents? For fonts, there is already a wiki 
page collecting typescripts:

https://wiki.contextgarden.net/Typescripts_examples

There are also a collection of templates which are already on the wiki:

https://wiki.contextgarden.net/Category:Sample_documents



It is not about duplicating the Context garden site but to collect code in a
place where we could gradually fix possible errors or introduce improvements.


This can be done on the wiki as well.


I agree that it makes most sense to keep examples and (font) setups in 
the wiki.


Projects with several files, like modules, should have their own (git) 
repositories. (The scripts at modules.contextgarden.net can pull 
releases directly from a repository.)


I think it’s better to have (and manage) your own account somewhere and 
link to it from the wiki than to use the “official” account for stuff 
that is not part of ConTeXt proper.


My stuff is at https://codeberg.org/fiee/; some of that would also make 
(more) sense in the wiki.


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
___


Re: [NTG-context] adjustment to my local footnotes problem

2023-04-24 Thread Henning Hraban Ramm via ntg-context

Am 24.04.23 um 11:21 schrieb jbf via ntg-context:
Well, Hraban, you say that \directsetup makes no sense any more in LMTX, 
but in this case  (I use LMTX, not MKIV) I tried it without 
\directsetup, it did not work and furthermore I got an error. That is 
why I commented that I did not understand what \directsetup really does 
(or doesn't do as you are suggesting).


For now the immediate problem is resolved, and I am happy about that, 
but I don't understand why it works with \directsetup but not without it 
in LMTX (my version December last year)


Sorry, that was what Hans told me.
Maybe I misunderstood.
Seems like \directsetup is still necessary in this case, so I must fix 
my documentation.


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
___


Re: [NTG-context] adjustment to my local footnotes problem

2023-04-24 Thread Henning Hraban Ramm via ntg-context

Am 23.04.23 um 23:36 schrieb jbf via ntg-context:
I tried all those Hraban, unsuccessfully, but finally 'happened' upon a 
solution by trying whitespace instead in the setups. Except that I had 
read somewhere in the mailing list (Pablo I think) that I would need to 
use \directsetup. I don't actually understand why, have never been sure 
about what \directsetup does, but there's no doubt it works in this 
case! So the following has done what I needed:


I’m sorry, I didn’t test my suggestion.

In MkIV, \directsetup or \fastsetup are a bit faster than \setup. They 
can load only one setup and catch less errors. In LMTX, they don’t make 
sense any more.


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
___


Re: [NTG-context] adjustment to my local footnotes problem

2023-04-23 Thread Henning Hraban Ramm via ntg-context

Am 23.04.23 um 09:21 schrieb jbf via ntg-context:
I realise that I should have been talking about the space between local 
footnotes, rather than interlinespace (previous email on this issue), 
but my basic problem still stands. My efforts to influence the space 
between footnotes placed locally is to no avail so far.


I assume it is \setupnote (rather than \setupnotation, my earlier 
mistake) where I would need to somehow influence distance between 
footnotes which is currently too large. I have tried 
\setupnote[before={\blank[small]}, after={\blank[small]}]. It appears to 
be reducing the space before the entire block of local footnotes but not 
between the footnotes themselves, which is what I am trying to do.


Did you try "inbetween" or "distance"? (I’d assume the latter is for the 
distance between number and text, but inbetween is usually vertically.)


https://wiki.contextgarden.net/Command/setupnote

Am I correct in assuming that the \setupnote should influence my 
\placelocalfootnotes? Or is there something else I should do in the case 
of local footnotes as distinct from general footnotes (my document 
contains ONLY local footnotes, however).


I was wondering if \setupnote[localfootnote][…] makes sense, but I can’t 
find in the sources if local footnotes are setup differently from 
general one.


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] current Unicode blocks

2023-04-23 Thread Henning Hraban Ramm via ntg-context

Am 22.04.23 um 21:34 schrieb Hans Hagen via ntg-context:

On 4/22/2023 5:49 PM, Henning Hraban Ramm via ntg-context wrote:

This is probably for Hans:

The list of Unicode blocks in char-ini.lua is not complete, compared 
with ftp://www.unicode.org/Public/UNIDATA/Blocks.txt

(I was looking for Kaktovik numerals, of course ;))


hm, here i have

     ["kaktoviknumerals"]    = { first = 
0x1D2C0, last = 0x1D2DF,  description = "Kaktovik Numerals" },


Oh, sorry, I was just looking at the source browser. Garden isn’t current.


I’d offer to make an updated list, but maybe you already have a script 
for that?
yes, (of course) i have a script that i run when there is an update 
which then tells me what to add to the tables (not that much work, 
mostly emoiji and soem rare scripts nowadays)


Thought so.

maybe nice for a demo at the ctx meeting (generate new files, visually 
diff them so get the picture and then merge)


Sure!

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] current Unicode blocks

2023-04-22 Thread Henning Hraban Ramm via ntg-context

This is probably for Hans:

The list of Unicode blocks in char-ini.lua is not complete, compared 
with ftp://www.unicode.org/Public/UNIDATA/Blocks.txt

(I was looking for Kaktovik numerals, of course ;))

I’d offer to make an updated list, but maybe you already have a script 
for that?


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
___


Re: [NTG-context] Non-standard font alternatives

2023-04-19 Thread Henning Hraban Ramm via ntg-context

Am 19.04.23 um 16:53 schrieb Pawel Urbanski via ntg-context:

Dear Matthew,
I wrote you off the list in connection to the other thread where Hans 
helped me with using Roboto Flex.
I used your typescript definitions but the font is not embedded in the 
document.


** I've copied all the ttf font files to the recommended directory 
structure under: texmf-local/fonts/truetype.
** I've created a type-imp-roboto.mkiv file and saved it in the 
recommended location under: texmf-local/tex/.../mkiv/.
Using: \usetypescript or \usetypescriptfile or \usebodyfont [roboto] 
with setuphead does not work.


I use the following simplest setup command:
\setuphead[chapter][style={\switchtobodyfont[roboto,20pt]\ss}]


\switchtobodyfont[roboto,ss,20pt] is better than what you have; don’t 
know if it makes a difference.


Does \setupbodyfont[roboto] work for the main (i.e. body) font?

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
___


Re: [NTG-context] Non-standard font alternatives

2023-04-19 Thread Henning Hraban Ramm via ntg-context

Am 19.04.23 um 16:53 schrieb Pawel Urbanski via ntg-context:

Dear Matthew,
I wrote you off the list in connection to the other thread where Hans 
helped me with using Roboto Flex.
I used your typescript definitions but the font is not embedded in the 
document.


** I've copied all the ttf font files to the recommended directory 
structure under: texmf-local/fonts/truetype.
** I've created a type-imp-roboto.mkiv file and saved it in the 
recommended location under: texmf-local/tex/.../mkiv/.
Using: \usetypescript or \usetypescriptfile or \usebodyfont [roboto] 
with setuphead does not work.


Did you run
mtxrun --generate
?

And did you check with
mtxrun --script fonts --list --all --pattern=roboto
?

If ConTeXt can’t find the files, nothing meaningful will happen.

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
___


Re: [NTG-context] Reminder: regular online meet-up

2023-04-19 Thread Henning Hraban Ramm via ntg-context

Am 19.04.23 um 14:17 schrieb Mikael Sundqvist via ntg-context:

Hi all,

On Wed, Apr 12, 2023 at 1:40 PM Hans Hagen via ntg-context
 wrote:


On 4/12/2023 1:35 PM, Henning Hraban Ramm via ntg-context wrote:

Reminder: This is in less than 2 hours.

I’m sick and can’t participate this time.

Hraban

we can shift it one week as I have to go mid afternoon

Hans


Does this mean that there is a meeting today? (In about 43 minutes from now.)


Sorry, I didn’t plan to, I’m just too busy these days.

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
___


Re: [NTG-context] Kaktovik numerals

2023-04-19 Thread Henning Hraban Ramm via ntg-context

Am 18.04.23 um 15:01 schrieb Hans Hagen via ntg-context:

On 4/18/2023 10:57 AM, Henning Hraban Ramm via ntg-context wrote:
I just came across this thread about the base-20 system of the Inuit 
people and the numerals invented for it in the 1990s:

https://mathstodon.xyz/@johncarlosbaez/110215432175491555

This makes simple calculations just beautiful.

interesting ... quick hack attached


Thank you very much!
I want to use this for paginations ;))

(Sorry for somewhat erratical response behavior – I’m quite busy 
preparing for the book fair in Leipzig…)


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] Kaktovik numerals

2023-04-18 Thread Henning Hraban Ramm via ntg-context
I just came across this thread about the base-20 system of the Inuit 
people and the numerals invented for it in the 1990s:

https://mathstodon.xyz/@johncarlosbaez/110215432175491555

This makes simple calculations just beautiful.

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] help wanted: English native speaker as co-editor

2023-04-16 Thread Henning Hraban Ramm via ntg-context
Hi, as most of you know, I’m the editor of context journal, the annual 
magazine for all members of context group, AKA “proceedings of the 
[previous] ConTeXt meeting”.


While I have some experience as an editor in German, my English is far 
from perfect, so I need to rely on a native speaker for proofreading.


In the least years, Clyde was filling that role very diligently, but he 
just moved and can’t make the time again.


Deadline for the current issue is only in August, but we’re already at 
~100 pages with the articles I got (by Willi, Willi, Willi, Taco, Taco, 
Götz, and me) and I’d like to spread the work a bit.


* Would you like to help with that? *

– You don’t need to understand the code.
– I want the text to be correct and understandable, we don’t need to 
reach literary quality.

– You can work in PDF or in the sources, as you like.
– More than one person is welcome.


BTW I never thought of offering “our” articles to TUG and NTG, while I 
sometimes got articles that were published in TUGboat or MAPS first. 
(And I’m writing/translating for DANTE’s DTK regularly.) I’ll start to 
do that, since “recycling” makes sense, and it also can’t hurt to spread 
the word.



This is also a reminder to hand in your talks from Dreifelden – or new 
articles!



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
___


Re: [NTG-context] Module authors: please update your metadata

2023-04-14 Thread Henning Hraban Ramm via ntg-context

Am 14.04.23 um 18:18 schrieb Rik Kabel via ntg-context:

Hraban,

Is there a reason that t-handlecsv is listed in your note, but not in 
https://wiki.contextgarden.net/Modules?




I didn’t work on the lists of modules on that page.
Too many building sites at once…

(BTW https://codeberg.org/fiee/language-context for Pulsar/Atom is 
updated, but still not very good.)


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] Module authors: please update your metadata

2023-04-14 Thread Henning Hraban Ramm via ntg-context

Hi,
I just updated the module writing guidelines, since I couldn’t find a 
description of the necessary structure of a module release file:

https://wiki.contextgarden.net/Modules#Module_writing_guidelines

I also added an explanation how the publishing via 
https://modules.contextgarden.net works.


If you ever published a module, please check if its metadata is still 
correct, e.g. if the module works for MkIV / LMTX and how it should be 
published – some modules aren’t installable via rsync as outlined in

https://wiki.contextgarden.net/Modules#ConTeXt_LMTX

(For me, the “simplified version” works.)

These modules get installed that way:

f-urwgaramond
f-urwgothic
t-account
t-algorithmic
t-animation
t-annotation
t-bnf
t-chromato
t-cmscbf
t-cmttbf
t-construction-plan
t-cyrillicnumbers
t-degrade
t-fancybreak
t-filter
t-fixme
t-french
t-fullpage
t-games (not in dl)
t-gantt
t-gnuplot
t-handlecsv (newer than in dl)
t-layout
t-letter
t-lettrine
t-lilypond (not in dl, obsolete)
t-mathsets
t-rst
t-ruby
t-simplefonts
t-simpleslides
t-tikz
t-title
t-transliterator
t-typearea
t-typescripts
t-vim
t-visualcounter

Some of these are probably outdated, I didn’t check.
If you know something is obsolete, please let us know or remove it 
yourself, if you still know your account data.



Several more modules are available via 
https://modules.contextgarden.net/dl/ (mentioned as "dl" above).

I added a comment where the directory structure isn’t quite right:

PocketDiary-V2.zip (module folder on top)
Collection-of-calendars-based-on-PocketDiary-module.zip (module folder 
on top)

Date-driven-lists.zip (module folder on top)
Environment-for-collating-marks.zip (module folder on top)
aquamints (no structure)
bibmod-doc (looks right)
gfsdidot (looks right)
grph-downsample.lua  (looks right, except .lua in folder name)
enigma.zip (looks right, except .zip in folder name)
handlecsv (not unzipped, no VERSION file, but newer version in dl)
high (looks right)
karnaugh (looks right)
lua-widow-control (looks right)
lucida-cint.zip (looks right, except .zip in folder name)
metaducks (metaducks folder on top)
presvoz (looks right)
pret-c.lua (looks right, except .lua in folder name)
stormfontsupport (looks right)
sudoku (sudoku folder on top)
t-gm (looks right)
t-greek (looks right)
t-gs (looks right)
t-inifile (looks right)
t-layout (looks right)
t-letterspace.mkiv (looks right, except .mkiv in folder name)
t-rsteps (looks right)
t-simplebib (looks right)
t-taspresent (looks right)
u-texshow (looks right)

(“looks right” only means that the structure looks like TDS, many are 
old and probably obsolete, but a few are quite new, like the first four 
by Willi)



All the best & happy TeXing,
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] Reminder: regular online meet-up

2023-04-12 Thread Henning Hraban Ramm via ntg-context

Reminder: This is in less than 2 hours.

I’m sick and can’t participate this time.

Hraban

Am 09.04.23 um 22:09 schrieb Henning Hraban Ramm via ntg-context:

You’re invited to join on Wednesday, April 12th, 15:00 CEST (UTC+2)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on May 10th.


(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the 
audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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] regular online meet-up

2023-04-09 Thread Henning Hraban Ramm via ntg-context

You’re invited to join on Wednesday, April 12th, 15:00 CEST (UTC+2)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on May 10th.


(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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
___


Re: [NTG-context] PDF 2.0 standard documents now free

2023-04-05 Thread Henning Hraban Ramm via ntg-context

Am 05.04.23 um 20:09 schrieb Hans Hagen via ntg-context:

On 4/5/2023 7:48 PM, Henning Hraban Ramm via ntg-context wrote:

Forwarding from Mastodon:

Adobe, Apryse, Foxit and PDFAssociation have partnered up and made
ISO32000-2 2020 (aka PDF 2.0),
ISO/TS 32001 (Extensions to Hash Algorithm Support in ISO 32000-2) and
ISO/TS 32002 (Extensions to Digital Signatures in ISO 32000-2)
available as sponsored papers ... so **FREE**.
Follow the links below; no valid email (or address) necessary:
https://www.pdfa.org/sponsored-standards/

kind of interesting thatthe one from adobe is version 1 and the other one 2

i'll wait till it's really free .. currently it still costs EUR 0, so 
one has to fill in some cart / form


You can put in arbitrary data and then download.
I don’t think it will become any more free.

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] PDF 2.0 standard documents now free

2023-04-05 Thread Henning Hraban Ramm via ntg-context

Forwarding from Mastodon:

Adobe, Apryse, Foxit and PDFAssociation have partnered up and made
ISO32000-2 2020 (aka PDF 2.0),
ISO/TS 32001 (Extensions to Hash Algorithm Support in ISO 32000-2) and
ISO/TS 32002 (Extensions to Digital Signatures in ISO 32000-2)
available as sponsored papers ... so **FREE**.
Follow the links below; no valid email (or address) necessary:
https://www.pdfa.org/sponsored-standards/



Have fun,
Hraban
(@cont...@fosstodon.org, @fiee@literatur.social)
___
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] English-Vietnamese facing pages

2023-04-03 Thread Henning Hraban Ramm via ntg-context

Am 03.04.23 um 11:54 schrieb jbf via ntg-context:

Q 2: I suppose the third question is whether, since LMTX, there has been 
any further development in the 'streams' mechanism that might help me?


No.

This is one these problems that arise once every other year, but so far 
nobody contributed a usable solution or at least specification. (That’s 
how I understood Hans when I asked about this fo my book.)


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] natural table oddities

2023-04-01 Thread Henning Hraban Ramm via ntg-context
[This mail sat in my drafts folder for days; wanted to research more 
first, well…]


Am 28.03.23 um 02:19 schrieb Bruce Horrocks:

If you're asking for comments with a view to making changes then...


I can’t make the changes myself, only suggest them to Hans.


On 27 Mar 2023, at 15:03, Henning Hraban Ramm via ntg-context 
 wrote:



* If I format a column, e.g. \setupTABLE[c][-1][color=red], body and foot are 
formatted, but not the same column in header. I couldn’t find how to format 
columns in header.


If you disregard the Wiki page instructions to use \bTH...\eTH then you can 
format the header using:

\bTD ... \eTD


but I'm not sure what the consequences might be, if any. You lose the default 
bold heading so maybe that's all /bTH.../eTH is adding?


Yes, I also found that out – either I sent an incomplete email, or I 
forgot to add my later “research”. 樂


TH (table header, not Taco or Tomáš ) adds a separation between header 
and body cells, but setting up "header" affects both TD and TH within 
TABLEhead.



It would be nice to have a way of specifying the header explicitly. My 
suggestion would be to have:
- \setupTABLE[r][head][...] affect just the header
- \setupTABLE[r][next][...] affect the new page header
- \setupTABLE[r][first|last|body][...] affect the first, or last, or only the 
body rows (i.e. not the header or footer)
- \setupTABLE[r][foot][...] affect just the footer

[r][last] (and [r][-1]) would represent the last body row (but not the footer 
row if one has been requested).


I agree.


## Formatting
* maxwidth doesn’t seem to have an effect, neither on the whole table nor on a 
column.
* textwidth works only for the whole table.
* width gets stretched if option=stretch; i.e. I can’t fix the width of single 
cells or columns.


For me, \setupTABLE [c] [1] [width=3cm] fixes the width of column 1 and forces 
long text to wrap.


But the width of a column is not fixed if you set option=stretch, then 
*all* columns are stretched, not only the undefined.


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
___


Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Henning Hraban Ramm via ntg-context

Am 30.03.23 um 17:09 schrieb Willi Egger via ntg-context:

I am still working on the previously mentioned project, consisting out of 
different parts. There are about 25 chapters in each part and most of the 
chapters contain figures. When using the predefined figure environment, then 
all figures in the figure-list are placed correctly though at each part the 
numbering restarts.

Now I tried to implement for each part its own float environment, which enables 
me to produce a figure-list per part with subtitels. How ever in the newly 
defined floats there is no continuous numbering i.e. 
chapternumber.serialnumber. Instead each float get the chapter number only.

How to get the numbering right?


You can define the resetting of numbering with 
\setupcaption[Afigure][way=bytext|bypart|bychapter].


For the list, \placelist[Afigure][criterium=chapter] (or local?) should 
work.


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


Re: [NTG-context] natural table oddities

2023-03-27 Thread Henning Hraban Ramm via ntg-context

I would be happy about some answers/comments.
Hraban

Am 13.03.23 um 23:26 schrieb Henning Hraban Ramm:
Working on the documentation for “natural tables” in my book I stumbled 
upon a few oddities/problems:


## Addressing cells:

* There’s \setupTABLE[header], but not "footer" (or "section"); since we 
have TABLEhead and TABLEfoot, IMO "head" and "foot" would make sense.


* Row 1 is the first row of TABLEbody. I couldn’t find how to address 
the first line of TABLEbody.


* If I format a column, e.g. \setupTABLE[c][-1][color=red], body and 
foot are formatted, but not the same column in header. I couldn’t find 
how to format columns in header.


* I don’t understand the addressing options "start" and "one".


## Formatting

* maxwidth doesn’t seem to have an effect, neither on the whole table 
nor on a column.

* textwidth works only for the whole table.
* width gets stretched if option=stretch; i.e. I can’t fix the width of 
single cells or columns.



## Page breaking

* What’s the difference between split=repeat and header=repeat ?



I’d like to know if there are misunderstandings / if the behavior is 
intentional.


___
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] Text editors

2023-03-26 Thread Henning Hraban Ramm via ntg-context

Am 26.03.23 um 10:22 schrieb Alexandre Christe via ntg-context:
I'm wondering what kind of typesetting system / syntax highlighting / 
completion you're using.


Active development happens for Visual Studio Code; I use VSCodium 
besides Atom.


Usable support for ConTeXt in Atom is available at 
https://codeberg.org/fiee/language-context
It’s a bit unkempt, since I stopped working on it when Atom was 
discontinued. I didn’t try the fork Pulsar yet (https://pulsar-edit.dev).

Atom’s git client is better than VSC’s, and I like its search bar better.

Also there’s COW: https://context-on-web.eu

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
___


Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-26 Thread Henning Hraban Ramm via ntg-context

Am 25.03.23 um 23:42 schrieb Carlos via ntg-context:


fonts   | names | 3092 afm files checked,   okay
fonts   | names | identifying tree font files with suffix 'AFM'
fonts   | names | scanning path '/home/ce/.texlive2023/texmf-config' 
for AFM files



fonts   | names | variable 'OSFONTDIR' specifies path '/home/ce'
fonts   | names | variable 'OSFONTDIR' specifies path '/usr/share/fonts'
fonts   | names | globbing path '/home/ce/**.otf'


There is something strange here.
Is maybe TEXMFHOME set?

Since you use a TeX live installation, some other texmfcnf.lua or 
texmf.cnf might interfere.

Look into /usr/local/texlive/2023/

Since it scans everything in your home directory, maybe TEXMFHOME or 
OSFONTDIR is set to ~ (instead ~/texmf) there?


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
___


Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Henning Hraban Ramm via ntg-context

Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context:

Good evening!

I have a setup in which I need to send info to the TOC:

Consider the following example:

\starttext

\starttitle[title=Contents]
   \placelist[chapter][criterium=all]
\stoptitle

\startchapter[title=Mychapter]
   \input knuth
   \startsubject[title=Subject will be in TOC]
 \writetolist[chapter]{1}{I am in TOC!}
 \input ward
   \stopsubject
\stopchapter

\stoptext

According to the Wiki I should get te number (1) in the TOC. Instead the text 
starts at the height of the chapter-numbering and is not carrying the given 
number.

Am I doing something wrong?


The wiki says:

“The default table of contents is combined list. To write to it one has 
to choose the level to which it should be inserted: 
\writetolist[chapter]{1.}{Chapter list entry A},

\writetolist[section]{1.1}{Section list entry A}, etc.”

https://wiki.contextgarden.net/Command/writetolist

So maybe you need a dot?

Otherwise I don’t know.

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
___


Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Henning Hraban Ramm via ntg-context

Am 25.03.23 um 21:39 schrieb Willi Egger via ntg-context:

Hello everybody,


in my project is a table which does not fit the width of the page. Hence I need 
to rotate it. Rotating the table is ok, but the caption is not rotated. My 
question is how can I instruct ConTeXt to rotate the caption and place it on 
the right side?

My attempt:



\setupcaption[table][location=right,orientation=90]
\startplacetable
[location=middle,
 reference=tab:papierformaten,
 title={Standaardformaten}]
 \rotate[rotation=90]{\externalfigure[Table1][type=buffer]}
\stopplacetable


I think \setupcaption[orientation=90] should work. Did you try different 
locations?


But the problem might be your use of \rotation, since \startplacefloat 
as well as \setupTABLE have options for rotation.

Try \startplacetable[location=90]

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
___


Re: [NTG-context] \setupTABLE: framecolor

2023-03-25 Thread Henning Hraban Ramm via ntg-context

Am 25.03.23 um 06:45 schrieb jbf via ntg-context:
Hi, I am struggling with the last row of a table which, according to its 
author, should have a black bottomframe, but gray (I am using a defined 
'lightgray') for the sides. The first row has a black frame. All 
intermediate rows have gray.


I have no difficulty achieving the first row, and the black bottomframe 
for the last row, but I have been unable to get the last row sides to be 
gray. Here is the current setups that I have:


\setupTABLE[frame=off]

\setupTABLE[row] [first] [topframe=on,bottomframe=on,style=bold]

\setupTABLE[row][2][topframe=on]

\setupTABLE[row][2][topframe=off,rightframe=on,leftframe=on,framecolor=lightgray]

\setupTABLE[row][3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21][frame=on, 
framecolor=lightgray]

\setupTABLE[row] [last] [bottomframe=on,style=normal]

My first row is fine and all but the topframe of row 2 is 'lightgray'; 
all following rows are 'lightgray'. The last row (22) has a black 
bottomframe, but how could I achieve 'lightgray' for rightframe, 
leftframe? If I add a new setup e.g.


\setupTABLE[row][last][rightframe=on,leftframe=on,framecolor=lightgray] 
then I lose the bottomframe in black. I have tried all kinds of 
combinations but unsuccessfully.


Table cells are based on \framed, and there doesn’t seem to be an option 
to have different colors of parts of the frame (e.g. bottomframecolor…)


You can use a MetaPost graphic as background, like in the “diagonal” 
example:

https://wiki.contextgarden.net/TABLE#Diagonal_rules

HTH, 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] wtf ligature

2023-03-21 Thread Henning Hraban Ramm via ntg-context

example:
https://chaos.social/@stralau/110045470196046463

We need this urgently in all the fonts!

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


Re: [NTG-context] rotated headers in natural tables

2023-03-20 Thread Henning Hraban Ramm via ntg-context

Am 15.03.23 um 23:27 schrieb fv leung via ntg-context:

How about using \vfill ?

\define[1]{\RtH}{\vfill\rotate{#1}}


This is actually the only version that works flawlessly.

But thanks for all answers! (I was busy over the weekend.)

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
___


Re: [NTG-context] Printing problem

2023-03-16 Thread Henning Hraban Ramm via ntg-context

Kyocera FS-C5100DN,
* Apple Preview: ok
* Adobe Acrobat Pro 9: doesn’t print, no error
* Adobe Acrobat Reader DC: PostScript Error (after "poäng")
* Qoppa PDF Studio 2019: ok
* Skim: ok
* Firefox (pdf.js): ok (prints as lowres image, as usual)
* Foxit PDF Reader 11: ok

Looks like it might be a problem with Adobe’s PS/PDF library.

Hraban

Am 16.03.23 um 12:49 schrieb Mikael Sundqvist via ntg-context:

Hi all,

I have had some printing problems lately, and it is not perfectly
clear to me (or to Hans, we have discussed this a bit) whether it is
the printer that has a lack of memory or if the pdf files are somehow
corrupted. It might have to do with type3 fonts.

I attach a pdf file that does not print on our printer at work. Or
well, it prints almost all of the page, but stops at the word
"negativa" (or was it "egenvärden", I do not have the printout here
right now). Then the printer also prints an error report about some
"offending command".

So, a request: If you have an easy access to a printer, can you print
this page and report back if all of it comes out, or what is
happening?

Thanks

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


___
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] rotated headers in natural tables

2023-03-15 Thread Henning Hraban Ramm via ntg-context

Hi!

In my table, I want the header texts to be 90˚ rotated and aligned to 
the bottom of their cell. I couldn’t find an option to do that.

Tried \dontleavehmode or \hfill in my \RtH macro to no avail.
Is it possible?


\define[1]{\RtH}{\rotate{#1}}

\starttext

\setupTABLE[offset=3pt]
\setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
\bTABLE
\bTABLEhead
\bTR \bTH\RtH{animal}\eTH \bTH\RtH{size}\eTH \bTH\RtH{weight}\eTH 
\bTH\RtH{average speed}\eTH \eTR

\eTABLEhead
\bTABLEbody
\bTR \bTD sparrow \eTD \bTD small \eTD \bTD light \eTD \bTD high \eTD \eTR
\bTR \bTD dog \eTD \bTD medium \eTD \bTD medium \eTD \bTD medium \eTD \eTR
\bTR \bTD snail \eTD \bTD small \eTD \bTD light \eTD \bTD slow \eTD \eTR
\bTR \bTD elephant \eTD \bTD big \eTD \bTD heavy \eTD \bTD medium \eTD \eTR
\eTABLEbody
\eTABLE

\stoptext

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] natural table oddities

2023-03-14 Thread Henning Hraban Ramm via ntg-context
Working on the documentation for “natural tables” I stumbled upon a few 
oddities/problems.
I’d like to know if there are misunderstandings on my part or if the 
behavior is intentional.


BTW enattab.pdf is missing in the LMTX distribution.

## Options

* before/after/inbetween values don’t appear anywhere.
* spaceinbetween should insert between rows, but nothing happens.
* splitoffset doesn’t seem to change anything.
* What’s samepage for?


## Addressing cells

* It’s not possible to address single cells with \setupTABLE, or is it?

* There’s \setupTABLE[header], but not "footer" (or "section"); since we 
have TABLEhead and TABLEfoot, IMO "head" and "foot" would make sense.


* Row 1 is the first row of TABLEbody. I couldn’t find how to address 
the first line of TABLEbody.


* Is it possible, and how, to use odd/even only for the body?

* If I format a column, e.g. \setupTABLE[c][-1][color=red], body and 
foot are formatted, but not the same column in header. (I found out, if 
I use TD instead of TH in the header, it works.)


* I don’t understand the addressing options "start" and "one".


## Formatting

* maxwidth doesn’t seem to have an effect, neither on the whole table 
nor on a column.

* textwidth works only for the whole table.
* width gets stretched if option=stretch; i.e. you can’t fix the width 
of single cells or columns.



## Page breaking

* What’s the difference between [split=repeat] and 
[split=yes,header=repeat], i.e. which sense makes the header option)?


* Is there an option to repeat the footer (as the last line of each 
page)? (I’d imagine to use it in an invoice or similar calculation for a 
subtotal – that would imply some more magic…)



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
___


Re: [NTG-context] regular online meet-up

2023-03-07 Thread Henning Hraban Ramm via ntg-context

Reminder: This is in a few hours.

For my part I’d like to know what was in the latest updates and maybe 
discuss the page breaking in floats (possible with tables, how about 
text background boxes – didn’t try yet, just curious).


Hraban

Am 04.03.23 um 18:42 schrieb Henning Hraban Ramm via ntg-context:

You’re invited to join on Wednesday, March 8th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on April 12th.


(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the 
audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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
___


Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Henning Hraban Ramm via ntg-context

Am 06.03.23 um 12:19 schrieb Gerion Entrup via ntg-context:

I want to typeset a "Good to know" section that is visually highlighted
and can spawn across multiple pages.

In LaTeX this would be possible with the mdframed package. See the
attached screenshot for an example how it might look like (it is copied
out of page 4: Definition: Inhomogeneous linear of the mdframed
documentation:
http://mirrors.ctan.org/macros/latex/contrib/mdframed/mdframed.pdf)

I have searched in the wiki and found \defineenumeration:
This is near of that what I need. However I explicitly does not need an
enumeration (so no number or counter). Also I am not sure if I can set a
background and so on.

The other possibility is \defineframedtext. For example this goes much
in the direction that I want:
\definecolor[gbackground][s=0.98]
\defineframedtext[gtk][frame=on,
offset=5pt,
background=color,
width=0.95\textwidth,
backgroundcolor=gbackground]

However, there does not seem a possibility to define a title and it
seems to not work on multiple pages.

Is there a mix of an enumeration and framedtext that can produce
something like in the attached picture?


If you don’t need an enumeration, then don’t use one.

Did you try text backgrounds?
https://wiki.contextgarden.net/TextBackground

And then use the plethora of \framed options.

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] regular online meet-up

2023-03-04 Thread Henning Hraban Ramm via ntg-context

You’re invited to join on Wednesday, March 8th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on April 12th.


(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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
___


Re: [NTG-context] Lettrine module not working?!

2023-02-20 Thread Henning Hraban Ramm via ntg-context

Am 20.02.23 um 15:30 schrieb G.C.H.M. Verhaag via ntg-context:

Hi,

Yes Hraban that worked! Thanks!

My next issue is adapting the font-family, because a want to use the 
*Antykwa-Poltawskiego* font|| as my initial. I tried the following:


*\definefont[InitialCapFont][name:antpoltcondregular*default sa 4]*

*\setupinitial[color=MyColor,distance=6pt,n=3,font=InitialCapFont]*

Has anybody any idea why this doesn't work?


Did you confirm that \InitialCapFont works outside of that setup?

I recently used initials with a simple "font=Serif at 37pt,", and that 
worked. Maybe the operator "sa" doesn’t work in this context? (IDK)


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
___


Re: [NTG-context] Lettrine module not working?!

2023-02-20 Thread Henning Hraban Ramm via ntg-context

Am 20.02.23 um 10:39 schrieb G.C.H.M. Verhaag via ntg-context:

*\definecolor[MyColor] [r=.76,g=.72,b=.48]**
**\setupinitial[color=\MyColor,font=Bold sa 4,distance=0pt,n=3]*

doesn't seem to work! Is this as expected behaviour or a possible issue?


The color key generally takes color _names_, i.e. color=MyColor
I didn’t check if it works with \setupinitial.

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
___


Re: [NTG-context] Problem using \scale

2023-02-09 Thread Henning Hraban Ramm via ntg-context

Am 09.02.23 um 22:42 schrieb Bruce Horrocks via ntg-context:

I'm printing address labels. Sometimes an address has a long line that is too 
long to fit on the label with the result that it wraps. Instead of wrapping, I 
thought it would be nice to try and auto-scale the label and shrink it so that 
the long line just fits.

I'm using \crlf to break the address into lines and this doesn't play well with 
the \scale command, see MWE below, where the second frame is just one long line 
as the \crlf's seem to be ignored.

Is there a simple solution that allows \crlf and also scale?

\starttext
\startbuffer[address]
Name \crlf
Address 1 \crlf
A long line that wraps \crlf
Town \crlf
Postcode
\stopbuffer
\framed[width=3cm,align=flushleft]{\getbuffer[address]}
\framed[width=3cm,align=flushleft]{\scale[factor=fit]{\getbuffer[address]}}
\stoptext


Did you try \framedtext instead of \framed? (I didn’t test.)

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
___


Re: [NTG-context] regular online meet-up

2023-02-08 Thread Henning Hraban Ramm via ntg-context

Reminder: that’s in a few hours.
See you later!

Am 03.02.23 um 08:19 schrieb Henning Hraban Ramm via ntg-context:

You’re invited to join on Wednesday, February 8th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on March 8th.


(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the 
audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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] Fwd: BachoTeX 2023: invitation and call for papers

2023-02-05 Thread Henning Hraban Ramm via ntg-context

 Weitergeleitete Nachricht 
Betreff: BachoTeX 2023: invitation and call for papers
Datum: Wed, 1 Feb 2023 20:33:11 +0100
Von: Jerzy.Ludwichowski 

Dear Friends,

please pass on the BachoTeX 2023 announcement to your members.

With best wishes,
-- Jerzy Ludwichowski

===
Dear TeX users and friends,

good news - come what may, there will be BachoTeX 2023 as indeed I 
promised when

announcing BachoTeX 2022 cancellation.

The SARS-CoV-2 virus did not disappear but seems to have become less of 
a danger
as far as one can tell. The war in Ukraine is raging still, but none the 
less we

decided to organize BachoTeX 2023 at the usual dates and venue.

We hope that for the fall and to make up for the lost time by keeping the
same theme as the cancelled 2020 conference.

Please find below the call for papers for BachoTeX 2023, with the same 
theme as

planned for BachoTeX 2020 and 2022.

The dates are from 29th of April until 3rd of May, 2023.

Registrations will be announced separately as soon as possible.

-- Jerzy Ludwichowski
(for the Organizing Committee)


The 28th GUST TeX conference

A model kit.
Modeling and implementing text typesetting in TeX and other systems.

TeX as a program created by a scientist - Professor of The Art of Computer
Programming, D. E. Knuth - stands out among other typesetting programs.
Here we have not only an implementation but also a theoretical model to
explain its behavior. For example the line breaking algorithm is based on
the "algebra of glue and boxes". Algorithms designed for TeX became the
basis for several scientific publications. TeX became a suitable
environment for research in typography.

We ask participants to reflect on the dependencies between theoretical
models and implementation. Do they help or are they an obstacle?

* Papers/presentations

Of course we also look forward to the normal mix of TeX, Metafont/Metapost
(please, do not forget the fonts!), ConTeXt, LaTeX, and friends related
presentations. We also do upkeep the BachoTeX trend in which we try to bring
together programmers and designers of typographic systems, typographers and
other users of such systems. The normal channel of offering papers is the
emailing of proposals to the Program Committee, but before rushing off 
to the

mailer, please consult the info for authors.
* Workshops and tutorials

We look forward to proposals for TeX-related tutorials or introductions.
If you have suggestions for tutorials or workshops by others than
yourself or about specific topics, please let us know.

* Poster sessions

As always at BachoTeX participants will be given the opportunity to
present their TeX and typographic results in the form of posters for
which we provide exhibition space.

* Deadlines and addresses

The deadline for "regular" abstracts and other proposals is March 26th,
2023. The deadline for final papers to appear in the conference materials
is April 16th. Contributions should be sent by email to the Program
Committee:

     prog-2023 at gust.org.pl.

The Program Committee is chaired by Bogusław Jackowski
(b_jackowski at gust dot org dot pl).

For other conference details see http://gust.org.pl/bachotex/2023-en.

___
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] regular online meet-up

2023-02-02 Thread Henning Hraban Ramm via ntg-context

You’re invited to join on Wednesday, February 8th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on March 8th.


(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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
___


Re: [NTG-context] Best way to access casul fonts

2023-01-30 Thread Henning Hraban Ramm via ntg-context

Am 30.01.23 um 18:24 schrieb Mattias Märka via ntg-context:

\definefontstyle is still bugging me. I gather from previous threads that it 
should be possible to define a new font style for casual and use that via a 
font switch, but I cannot get this to work. I'm not sure this is still possible.


No, it isn’t, I recently asked Hans.

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
___


Re: [NTG-context] How to create multi-line headers and footers?

2023-01-29 Thread Henning Hraban Ramm via ntg-context

Am 29.01.23 um 18:14 schrieb Joel via ntg-context:

I am creating a template for a 1-page newsletter.

At the top of every page is a huge title, below which is a block with a 
brief introduction to the newsletter. The body is just 200-300 words 
each issue--I edit it such that all of the content fits on just 
one-side, one page. Finally, in the footer, is contact information and 
some other closing details.


==
TITLE <-- big title
 <-- introduction paragraph

==
--
-- <-- body text
--
==
 <-- message in footer
==

I tried placing that all into a macro called "\introduction" then 
calling with this


\setupheadertexts[\introduction]


Better use setups instead of a macros, like in
https://wiki.contextgarden.net/Headers_and_Footers

In setups, you must use explicit space commands, since whitespace 
doesn’t matter.


It seems when placing the macro inside \setupheadertexts, the text is 
reduced to a single line. Any code involving \frames{} doesn't seem to 
work normally. Its all compressed to a single line, then centered.
How can I put a mult-line frame or multi-line text in the headers and 
footers?


MWE please.

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] Fwd: Lucida-1.901 (2023-01-21) available

2023-01-23 Thread Henning Hraban Ramm via ntg-context

https://tug.org/pipermail/lucida/2023-January/000921.html

A new version (1.901) of the Lucida OpenType fonts from TUG is
available.  As with previous updates, there's no additional charge if
you've already purchased licenses; you can use the same download
information sent to you at the time of purchase to get the new fonts.
(If you've lost the download info, you can email us at
lucida-admin at tug.org.)

I will append the changes for this release. The same information is also
online at https://tug.org/store/lucida/NEWS.txt.

To summarize, the most significant changes have been to the math fonts,
especially the regular-weight LucidaBrightMathOT. Many of these changes
were discussed in greater detail in the recent article about Lucida math
by Hans Hagen and Mikael Sundqvist:
  https://tug.org/TUGboat/tb43-3/tb135hagen-lucida.pdf

The four Lucida Sans fonts and the three specialized fonts (Blackletter,
Calligraphy, Handwriting) are not changed at all from the last release
(not even version numbers or dates). All other fonts were changed.

On behalf of TUG, I thank Hans, Mikael, and Michael Sharpe, who among
them did essentially all of the technical font editing for this
release. And we must thank Chuck Bigelow and Kris Holmes (they approved
this release, as always), without whom nothing could be done.

Bug reports and character/feature requests are welcome (email to this
list is best), though, as usual, we cannot promise any particular
timeline for the next release.

Happy typesetting,
Karl [Berry]
___
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] regular online meet-up

2023-01-10 Thread Henning Hraban Ramm via ntg-context

Reminder: this is in a few hours.

CU, Hraban


Am 06.01.23 um 15:34 schrieb Henning Hraban Ramm via ntg-context:

You’re invited to join on Wednesday, January 11th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on February 8th.


___
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] regular online meet-up

2023-01-06 Thread Henning Hraban Ramm via ntg-context

You’re invited to join on Wednesday, January 11th, 15:00 CET (UTC+1)

at https://lecture.senfcall.de/hen-rbr-rku-oke
(same, but shorter: https://v34h.de/ctxmtg)

ConTeXt users of all levels are welcome!

Next meeting will be on February 8th.


(Same blurb as every time:)

[Howto]
* No special software installation required; most modern browsers should 
work (WebRTC required).

* Open the above URL, accept the privacy statement,
* enter your name,
* click "join" (or "start" if you’re the first),
* click "with microphone", allow your browser to access it, check the audio.
* Your microphone is muted if you join. Activate microphone and/or 
camera with the buttons at the bottom.

* Minimize the default presentation with the "screen" button, bottom right.

* If you’d like to share your screen or upload a file, you can make 
yourself the presenter: Click on your user name, change the setting, 
then you’ll see the "screen sharing" button beside the camera button; 
also there’s now "manage presentations" behind the "plus" button.
Beware there is only one presenter at a time, so don’t kill someone 
else’s presentation.


[Technical hints]
* Sound is usually better if you use a headset (less noise for everyone).

* Connection problems are mostly due to low bandwidth or high latency on 
your side, e.g. with mobile connections.

* If audio/video doesn’t work for you, you can still use the text chat.
* Screen sharing needs a lot of bandwidth.

* BigBlueButton documentation applies: 
https://bigbluebutton.org/teachers/tutorials/


[Netiquette]
* Please use a name that we recognize from here. Some feel uncomfortable 
with anonymous lurkers.

* Mute your microphone while you’re not talking.
* It’s nice to show your face at least when you join.
* If there are connection problems, stop camera sharing.
* The room is set to “everyone’s a moderator“, I trust you...

See you, 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
___


Re: [NTG-context] Problem with latest version ?

2023-01-04 Thread Henning Hraban Ramm via ntg-context

Am 04.01.23 um 19:00 schrieb Fabrice Couvreur via ntg-context:

The problem seems to come from pgfplots ...


There was a message about the same by Gavin and an answer by Hans on 
2022-12-30. Maybe the fix didn’t make it into the latest upload.


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
___


Re: [NTG-context] TUG 2023

2023-01-04 Thread Henning Hraban Ramm via ntg-context

Hi Thomas,

Am 04.01.23 um 17:50 schrieb Thomas A. Schmitz via ntg-context:

an excellent year 2023 to all of you...


The same to you!


is any of the developers going (Hans?)?


I’m not a dev but I’ll be there.

Since the public will be 99 % LaTeX-centric: I had the 
idea of showing (off) how ConTeXt can typeset xml and produce different 
outputs from the same source (similar to what I've done in Bassenge in 
2019). Those of you who have been to TUG conferences before: would that 
be of interest even to people who know little to nothing about ConTeXt 
yet are familiar with other forms of TeX? I guess I just what to get a 
feeling what to expect at a TUG conference.


I’ve never been to a TUG conference, but it’s also a DANTE conference, 
and I wouldn’t hesitate to talk about ConTeXt – your example is a good 
one to get people interested, I think.


I’ll probably show how I make our architectural guides for Bonn – I 
suggested to have a guided tour to one of the HICOG settlements (that 
were built for the American forces and their German employees) with the 
group that’s behind the guides (Werkstatt Baukultur Bonn).


Since I’ll be there on company time (I’m now working for my former main 
customer), I’ll probably also help presenting our LaTeX3-based 
documentation workflow.


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
___


Re: [NTG-context] problem with Segoe Ui Symbol as fallback font

2023-01-04 Thread Henning Hraban Ramm via ntg-context

Am 04.01.23 um 14:29 schrieb Jacob Kauffmann via ntg-context:
The problem is that now that \bf, \it and so on stopped working outside 
math mode.

A workaround is to add \rm after \starttext.



\setupbodyfont[mainface]


Did you try \setupbodyfont[mainface,rm] ?

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
___


Re: [NTG-context] Download remote SVG images

2023-01-02 Thread Henning Hraban Ramm via ntg-context

Am 03.01.23 um 07:38 schrieb Thangalin via ntg-context:

Hi list!

% SOT
\starttext
   
\externalfigure[https://upload.wikimedia.org/wikipedia/commons/f/fd/Ghostscript_Tiger.svg]

   
\externalfigure[https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Ghostscript_Tiger.svg/1024px-Ghostscript_Tiger.svg.png]
\stoptext
% EOT

Is there a way to have ConTeXt download remote SVG images?


AFAIK this should work, at least if you have curl installed and the URL 
is not redirected.

You might need [conversion=mp] for the SVG, otherwise Inkscape installed.

But it doesn’t work for me, too.

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
___


Re: [NTG-context] numbering questions

2023-01-01 Thread Henning Hraban Ramm via ntg-context

Thank you, Wolfgang!
I _knew_ ConTeXt would be able to handle my requirements! ;D
It’s wikified now (at \setuphead and \defineconversion).

Hraban

Am 01.01.23 um 11:27 schrieb Wolfgang Schuster:

Henning Hraban Ramm via ntg-context schrieb am 31.12.2022 um 18:23:

A happy new year to everyone!

I’m playing with some examples of section numbering.

* Is there a setup to influence the order of number segments? I.e. can 
I have “section.chapter.part“ instead of “part.chapter.section”?


You need a new prefix-set to rearrange the order of the sections.

 begin example
\defineprefixset [reverse-section]    [section,chapter] []
\defineprefixset [reverse-subsection] [subsection,section,chapter] []

\setuphead
   [section]
   [sectionset=reverse-section]

\setuphead
   [subsection]
   [sectionset=reverse-subsection]

\starttext

\startchapter [title={A}]

\startsection [title={B}]

\startsubsection [title={C}] \stopsubsection
\startsubsection [title={D}] \stopsubsection
\startsubsection [title={E}] \stopsubsection

\stopsection

\startsection [title={F}]

\startsubsection [title={G}] \stopsubsection
\startsubsection [title={H}] \stopsubsection
\startsubsection [title={I}] \stopsubsection

\stopsection

\stopchapter

\stoptext
 end example

* How can I format the segments, e.g. to get two or three digits each 
(leading zeros)?


You can create your own conversion format.

 begin example
\startluacode
interfaces.implement {
     name  = "FourDigits",
     public    = true,
     arguments = "string",
     actions   = function(s) context("%04d",tonumber(s)) end
}
\stopluacode

\defineconversion [FourDigits] [\FourDigits]

\setuphead
   [chapter]
   [conversion=FourDigits]

\starttext

\startchapter [title={Chapter}] \stopchapter

\stoptext
 end example

Wolfgang



___
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] Ajami script

2023-01-01 Thread Henning Hraban Ramm via ntg-context

Am 01.01.23 um 10:21 schrieb Hans Hagen via ntg-context:

On 12/31/2022 3:06 PM, Henning Hraban Ramm via ntg-context wrote:

I just read this:
https://www.bu.edu/articles/2022/fallou-ngom-discovers-ajami-african-writing-system/

And now I’d like to know if ConTeXt is capable of typesetting this 
variant of Arabic. (Just out of curiosity, I can’t read any Arabic and 
don’t know any African language.)

Afaiks that script has been known fro a while:


I also thought I heard about it several years ago. The article makes it 
sound like news, that might be the perspective of the US scholars or a 
necessary means to get funded. But the oldest sources quoted in 
Wikipedia are from 1971 and 1982.



https://en.wikipedia.org/wiki/Ajami_script
so when there are proper fonts, as:
https://software.sil.org/scheherazade/
https://software.sil.org/harmattan/


I don’t dare to ask about the Husayni fonts... ;)

it should be doable. The script is supported by unicode. I get the 
impression that the arabic scipt is mostly used getting the way the 
languages sounds on paper so vowels matter. There is mentioning of 
transliteration and so that might need some specific support. Nothing 
tex (context) can't do but only users and usage can prove that.


Thank you for your insights!
Of course it’s a matter of use(r)s.

All the best for a happy new year!
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
___


Re: [NTG-context] numbering questions

2022-12-31 Thread Henning Hraban Ramm via ntg-context

Am 31.12.22 um 20:41 schrieb Pablo Rodriguez via ntg-context:

On 12/31/22 18:23, Henning Hraban Ramm via ntg-context wrote:

I’m playing with some examples of section numbering.

* Is there a setup to influence the order of number segments? I.e. can I
have “section.chapter.part“ instead of “part.chapter.section”?


I thought sectionsegments=section:chapter would work, but it doesn’t.


* How can I format the segments, e.g. to get two or three digits each
(leading zeros)?


The easy part is to have the leading zeros, but I cannot get it working
with numbercommand or deepnumbercommand.

   \startluacode
   function document.leadingzeros(str)
 local lzeros = 3-str:len()
 return ("0"):rep(lzeros)
   end
   \stopluacode
   \unexpanded\def\lzeros#1%
 {\cldcontext{document.leadingzeros("#1")}}


Same. With numbercommand, Lua gets "\s and can’t handle it, with 
deepnumbercommand it gets "1-\m". Is this a catcode issue?




* I can force a section number with “ownnumber”, but the next one is
back in the previous scheme. Itemize has “start”. How can I start
section chapter numbering at 3 (or -1 or whatever; I know I can start at
0 with “zero”) and let ConTeXt continue from there?


\setupheadnumber[chapter][3] % will start with 4


Thank you, that works.


I hope it helps. »Einen guten Rutsch ins Neujahr!«


Dito!

(In proper German that would be just “Guten Rutsch” or “Guten Rutsch ins 
neue Jahr”; Neujahr ist just the name of the holiday.)


All the best,
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
___


Re: [NTG-context] numbering questions

2022-12-31 Thread Henning Hraban Ramm via ntg-context

Am 31.12.22 um 19:20 schrieb Duncan Hothersall:

I can't test right now but would something like
\setuphead[Day][sectionsegments=Day:Month:Year]
help?


I forgot to mention that I tried this. It doesn’t work (while it would 
be the most easy syntax, I guess), you can set the segments only in 
order of hierarchy.


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] numbering questions

2022-12-31 Thread Henning Hraban Ramm via ntg-context

A happy new year to everyone!

I’m playing with some examples of section numbering.

* Is there a setup to influence the order of number segments? I.e. can I 
have “section.chapter.part“ instead of “part.chapter.section”?


* How can I format the segments, e.g. to get two or three digits each 
(leading zeros)?


* I can force a section number with “ownnumber”, but the next one is 
back in the previous scheme. Itemize has “start”. How can I start 
section chapter numbering at 3 (or -1 or whatever; I know I can start at 
0 with “zero”) and let ConTeXt continue from there?



My example tries to (ab)use the section numbering for a date (e.g. for a 
diary):


-
\definestructureconversionset[default][n,n,month,n][n]
\definestructureseparatorset [default][-,-,-,-]

\definehead[Year][chapter]
\definehead[Month][section]
\definehead[Day][subsection]

\define[2]\TitleCmd{#1} % number only

\setuphead[Year,Month,Day][number=yes,page=no,command=\TitleCmd]
\setuphead[Year][page=yes]
%\setuphead[Month][]
\setuphead[Day][style={\ss\bf}]

\def\Dummycontent{
\dorecurse{12}{
\startMonth
New Month.

\dorecurse{5}{
\startDay
Another day.

\stopDay
}

\stopMonth
}}

\starttext

\startYear[ownnumber=2023,title=This]
A new year begins.

\Dummycontent

\stopYear

\startYear
Next year.

\Dummycontent

\stopYear

\stoptext
-

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
___


  1   2   3   4   5   6   >