[NTG-context] removing whitespace

2024-02-12 Thread Michael Guravage
In the example below I pass the macro a string with a space, but the space
should not appear in the url.

I've tried using \ctxlua to invoke string substitution, but without
success. What is the proper way to remove this space, and to perform string
manipulation more generally?

\setupinteraction[state=start]

\def\squeeze#1%
  {\goto{#1}[url(tel:#1)]}

\starttext
  Call \squeeze{01234 56789}
\stoptext

-- 
With kind regards,

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

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


[NTG-context] Section numbering does not work

2024-02-12 Thread Oliver Marugg
Hi 

Section numbering does not work until I remove \startbackmatter 
\stopbackmatter. I had a longer text file and I stripped it down until I found 
this?

Greets Oliver


Running freshly installed context ARM64 on m1 and updated it via sh install.sh 
on ARM64 macos 14.3.1:

context --version
mtx-context | ConTeXt Process Management 1.05
mtx-context |
mtx-context | main context file: 
/Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2024.01.24 22:39
mtx-context | main context file: 
/Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2024.01.24 22:39
--

Stripped down MWE:

\setuppapersize[A4] [A4] 
\starttext
\completecontent[criterium=all]
% ToC
\page
\chapter{CHAP 1}
TEXT
\startbackmatter
\startchapter[title=Literature]
\placelistofpublications
\stopchapter
\stopbackmatter
\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


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

2024-02-12 Thread Willi Egger
Hi Hraban,

hm there is a incongruence of the date. Either it is Wednesday the 14th of 
February or Tuesday the 13th of February… Which correct?

Cheers 
Willi

> On 10 Feb 2024, at 23:01, Henning Hraban Ramm  wrote:
> 
> You’re invited to our regular online meet-up, this upcoming
> Wednesday, February 13th, 19:00 CET (UTC+1)
> 
> at https://lecture.senfcall.de/hen-rbr-rku-oke
> (same, but shorter: https://u.mtxrun.eu/ctxmtg)
> 
> ConTeXt users of all levels are welcome!
> 
> Do you have a subject that you’d like to talk about?
> (I hope I’ll manage to show a poster draft…)
> 
> Looking forward to seeing you,
> Hraban
> 
> 
> (Same blurb as always:)
> 
> [Howto]
> * No special software installation required; most modern browsers should work 
> (WebRTC required).
> * Open the URL above, 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.
> * Sometimes leaving and re-entering helps.
> * 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...
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___

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

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