[NTG-context] Re: Downsampling images (again)

2024-10-09 Thread Henning Hraban Ramm
mage ? I use img.scan() for that. Hi Peter, sorry, I forgot to answer. I was using your code for years, and AFAIR it also doesn’t use the final scaled size. But I must check again – too much going on ATM… Hraban _

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

2024-10-09 Thread Henning Hraban Ramm
"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" b

[NTG-context] Re: configuring spitter

2024-10-08 Thread Henning Hraban Ramm
; second baz Use the source, juh! In https://source.contextgarden.net/tex/context/base/mkiv/util-prs.lua?search=rfc4180splitter#l580 you can find that rfc4180splitter takes a "specification" parameter that looks like { separator = ",", quote = '"' }. I did

[NTG-context] Re: (ConTeXt LMTX) (Beginner) how do i set up vertical CJK?

2024-10-07 Thread Florent Michel
Hi, Out of curiosity, I tried compiling the followingup manual with ConTeXt LMTX 2024.09.25. I did not check the whole manual, but section 6 seems to render fine as far as I can tell, up to two small issues (not sure whether they are due to changes in ConTeXt or to font issues on my side): * I

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-10-06 Thread Alan Braslau via ntg-context
ce). > > hm, so i have to stick to windows for viewing (and an ancient > hardware laptop in order to avoid copilot and recall) but i'll check > ubuntu anyway -- Alan Braslau 816 West Mountain Avenue Fort Collins, CO 80521 USA mobile: (9

[NTG-context] regular online meet-up

2024-10-05 Thread Henning Hraban Ramm
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 yo

[NTG-context] Re: “breaking news”

2024-10-01 Thread Henning Hraban Ramm
but we're now integrating it into \setupalign and making sure that the overhead can be neglected. Great! I already do without grid, VZ works, HZ also should (I didn’t check with a tracker, and it’s not so extreme that I’d see it), but it’s not enough to automatically avoid single line

[NTG-context] Re: “breaking news”

2024-09-30 Thread Hans Hagen
ting) but we're now integrating it into \setupalign and making sure that the overhead can be neglected. I already do without grid, VZ works, HZ also should (I didn’t check with a tracker, and it’s not so extreme that I’d see it), but it’s not enough to automatically avoid single lin

[NTG-context] Re: “breaking news”

2024-09-30 Thread Henning Hraban Ramm
break – it’s hard to avoid widows and orphans. I already do without grid, VZ works, HZ also should (I didn’t check with a tracker, and it’s not so extreme that I’d see it), but it’s not enough to automatically avoid single lines. If a paragraph starts at page breaks, I can tweak the layout

[NTG-context] Re: first line in different font

2024-09-29 Thread Thomas Meyer
168 in typo-fln (because we run in parindent == glue mode in context, otherwise parindent is applied twice) (i didn't check mkiv) Hans -   Hans Hagen | PRAGMA ADE   Ridderstra

[NTG-context] Re: first line in different font

2024-09-28 Thread Hans Hagen via ntg-context
x27;t check mkiv) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-p

[NTG-context] Re: Same font for metafun as document

2024-09-16 Thread Shiv Shankar Dayal
w can I have > > metafun use the same fonts for labelling. All the metafun code is > > inline. > > MetaFun usually uses the main font. If it doesn’t, check if you set it > up before you create your graphics. > > If there’s a problem, m

[NTG-context] Re: Same font for metafun as document

2024-09-16 Thread Henning Hraban Ramm
Am 17.09.24 um 08:05 schrieb Shiv Shankar Dayal: Suppose I use dejavu fonts for the main document then how can I have metafun use the same fonts for labelling. All the metafun code is inline. MetaFun usually uses the main font. If it doesn’t, check if you set it up before you create your

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-11 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 11.09.2024 um 04:22: Thank you for your careful and patient explanation. I'll check my code again. Because it's still very simple, and some situations haven't been taken into account. In particular, the condition judgment to split the part of t

[NTG-context] Re: regular online meetup

2024-09-11 Thread Henning Hraban Ramm
"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 wi

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread ai2472206007
Thank you for your careful and patient explanation. I'll check my code again. Because it's still very simple, and some situations haven't been taken into account. In particular, the condition judgment to split the part of the box. Regarding the part about referencing commands,

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
\tolerant\def\warichu[#1]#:#2%   {...} \global\advance\cnt@warichu by 1\relax% You don't need % at the end when you end the line with a command (e.g. \relax). \iffirstargument\setupwarichu[#1]\fi% Change this to \ifparameter#1\or\setupwarichu[#1]\fi when you use \tole

[NTG-context] Validation of pdf/A-2a

2024-09-10 Thread Thomas Meyer
Hello, I would like to use pdf/A-2a for my documents and was wondering whether the documents will stand up to validation. I used veraPDF for the validation check. Unfortunately the a-variants (pdf/A1-a and pdf/A-2a) fail. Here the Validation Information: Validation information *Rule

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
o determine if it's an odd or even page. This is then used to get a certain width to determine the width of the command on that line. Below I designed the command. The code related to this issue is mainly You have to differentiate between odd and even and right hand and left hand pages.

[NTG-context] regular online meetup

2024-09-09 Thread Henning Hraban Ramm
h 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 yo

[NTG-context] Re: Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-09-03 Thread Wolfgang Schuster
Jürgen Hanneder via ntg-context schrieb am 31.08.2024 um 17:27: I recently learned not to leave a space before and after \reference , but have not seen further complex problems as you describe so far. Can you give more specific examples for these, I have to check, because I am also

[NTG-context] Re: Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-08-31 Thread Jürgen Hanneder via ntg-context
I recently learned not to leave a space before and after \reference , but have not seen further complex problems as you describe so far. Can you give more specific examples for these, I have to check, because I am also finalising a book at the moment. Best wishes, Jürgen - Nachricht

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Mojca Miklavec
eXt file. This conversion then needs to be tweaked in order to produce two different results: - A standalone file that could be processed directly by ConTeXt. - A minimalistic file that could be included from another ConTeXt source to generate the final document. Check the file that you get right n

[NTG-context] Re: chapter counter?

2024-08-26 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 26.08.2024 um 20:14: Am 26.08.24 um 17:57 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 26.08.2024 um 17:41: Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t

[NTG-context] Re: chapter counter?

2024-08-26 Thread Henning Hraban Ramm
Am 26.08.24 um 17:58 schrieb Aditya Mahajan: On Mon, 26 Aug 2024, Henning Hraban Ramm wrote: Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t called "chapter", or I’m doing it wrong otherwise.

[NTG-context] Re: chapter counter?

2024-08-26 Thread Henning Hraban Ramm
Am 26.08.24 um 17:57 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 26.08.2024 um 17:41: Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t called "chapter", or I’m doing it wrong

[NTG-context] Re: chapter counter?

2024-08-26 Thread Aditya Mahajan
On Mon, 26 Aug 2024, Henning Hraban Ramm wrote: > Hi, > I’d like to check the chapter number like > > \ifodd\rawcountervalue[chapter] > What an odd chapter! > \fi > > but apparently the counter isn’t called "chapter", or I’m doing it wrong > otherwise

[NTG-context] Re: chapter counter?

2024-08-26 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 26.08.2024 um 17:41: Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t called "chapter", or I’m doing it wrong otherwise. Could you enlighten me? \namedheadnumb

[NTG-context] chapter counter?

2024-08-26 Thread Henning Hraban Ramm
Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t called "chapter", or I’m doing it wrong otherwise. Could you enlighten m

[NTG-context] Re: Does ConTeXt still support ePub output?

2024-08-24 Thread Keith McKay
epub using kindle previewer. Best wishes Keith McKay On Sat, 24 Aug 2024, 18:08 Hans Hagen via ntg-context, wrote: > On 8/24/2024 6:25 PM, Henning Hraban Ramm wrote: > > > Unfortunately, the ePub at least doesn’t work with Calibre. I need to > > check what’s actually the proble

[NTG-context] Re: Does ConTeXt still support ePub output?

2024-08-24 Thread Hans Hagen via ntg-context
On 8/24/2024 6:25 PM, Henning Hraban Ramm wrote: Unfortunately, the ePub at least doesn’t work with Calibre. I need to check what’s actually the problem. Indeed we need to check the current state ... at that time there weer variations of the 'standards' and various devices expected

[NTG-context] Re: Does ConTeXt still support ePub output?

2024-08-24 Thread Henning Hraban Ramm
n.net/Export) and probably \setupexport[alternative=html], that creates the necessary content files, and then mtxrun --script epub yourdocument creates an ePub, as documented in https://wiki.contextgarden.net/ePub Unfortunately, the ePub at least doesn’t work with Calibre. I need to check w

[NTG-context] OT: specifications and reality

2024-08-24 Thread Henning Hraban Ramm
books in print). A friend and I had the idea of an open book catalogue (for all publishers and bookshops that want to participate), and they’re setting up a proof of concept. Just got a message: * The examples from the ONIX homepage have errors if you check against their “strict” schemas

[NTG-context] Re: Problem with Cambria

2024-08-16 Thread Lutz Haseloff
tion is no longer available because Ascender was bought in 2010 >by Monotype and it seems the fonts aren't available for purchase anymore. > >@Hans and Mikael: Can we remove the ascender version from the typescript or

[NTG-context] Re: Problem with Cambria

2024-08-16 Thread Wolfgang Schuster
bought a end user license from Ascender fonts. The second option is no longer available because Ascender was bought in 2010 by Monotype and it seems the fonts aren't available for purchase anymore. @Hans and Mikael: Can we remove the ascender version from the typescript or change the file

[NTG-context] regular online meet-up

2024-08-10 Thread Henning Hraban Ramm
). * 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

[NTG-context] workflow tool: add to git

2024-08-07 Thread Henning Hraban Ramm
In case you organize your ConTeXt projects in git repositories: "addtogit.py" is a little script that checks your log (or jlg) file for the local files used and adds them to the git stage. (No automatical commit so that you can check if you want these files.) Leaves out auto-gener

[NTG-context] Re: upload

2024-08-01 Thread Hans Hagen
sed to make an images file so that you don't need to update (i assumed that you'd turn the text into whatever the journal needs (if you render yourself best also check if the examples come out right) Being careful, I did a parallel install, but all looks good so far. no fu

[NTG-context] Re: Emacs and spell check

2024-07-25 Thread Shiv Shankar Dayal
I came across https://github.com/PillFall/languagetool.el, which also checks grammar. On Thu, Jul 25, 2024 at 2:09 AM Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > Dear Peter, > > Thanks. I tried and it works pretty well. > > On Thu, Jul 25, 2024 at 1:44 AM Peter Münster wrote: > >>

[NTG-context] Re: Emacs and spell check

2024-07-24 Thread Shiv Shankar Dayal
Dear Peter, Thanks. I tried and it works pretty well. On Thu, Jul 25, 2024 at 1:44 AM Peter Münster wrote: > On Thu, Jul 25 2024, Shiv Shankar Dayal wrote: > > > Can you please share your Emacs config for this? > > Hi, > > I use hunspell. Works very nicely: > > (setq-default ispell-program-name

[NTG-context] Re: Emacs and spell check

2024-07-24 Thread Peter Münster
On Thu, Jul 25 2024, Shiv Shankar Dayal wrote: > Can you please share your Emacs config for this? Hi, I use hunspell. Works very nicely: (setq-default ispell-program-name "hunspell") -- Peter ___ If you

[NTG-context] Emacs and spell check

2024-07-24 Thread Shiv Shankar Dayal
Hi, Does anyone use Emacs with ConTeXt with spell check? Can you please share your Emacs config for this? -- Respect, Shiv Shankar Dayal ___ If your question is of interest to others as well, please add an entry to

[NTG-context] Re: spacing in columns

2024-07-23 Thread Hans van der Meer via ntg-context
][n=2] to get columns? > > Did you try \setupnote[footnote][inbetween=,spaceinbetween=,]? > (I didn’t check, trying footnote options is still on my todo list.) > > https://wiki.contextgarden.net/Command/setupnote > > Hraban > _

[NTG-context] Re: spacing in columns

2024-07-23 Thread Henning Hraban Ramm
o get columns? Did you try \setupnote[footnote][inbetween=,spaceinbetween=,]? (I didn’t check, trying footnote options is still on my todo list.) https://wiki.contextgarden.net/Command/setupnote Hraban ___ If your que

[NTG-context] Re: Zed editor

2024-07-15 Thread Marcus Vinicius Mesquita
t; > > It supports Tree-sitter. > > Looks interesting, and I’ll check it out, but they’re already including > “AI” and collect the users’ data (even if you still can disable > telemetry etc.). They’re private-equity owned, and these owners want to > see profit (or

[NTG-context] Re: Zed editor

2024-07-15 Thread Henning Hraban Ramm
Am 15.07.24 um 16:09 schrieb luigi scarso: https://zed.dev/ <https://zed.dev/> It supports Tree-sitter. Looks interesting, and I’ll check it out, but they’re already including “AI” and collect the users’ data (even if you still can disable telemetry etc.). They’re private-equity owne

[NTG-context] regular online meet-up

2024-07-04 Thread Henning Hraban Ramm
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

[NTG-context] Re: Letter module broken?

2024-06-26 Thread Wolfgang Schuster
about the loading of the module: modules > 'letter' is loaded open source > level 2, order 3, name '/Users/hraban/context/tex/texmf- modules/tex/context/third/letter/base/s-cor-01.mkvi' Please check if the module is there and re-generate the file database.

[NTG-context] Re: Letter module broken?

2024-06-26 Thread Kip Warner
g of the module: > > modules > 'letter' is loaded > open source > level 2, order 3, name > '/Users/hraban/context/tex/texmf- > modules/tex/context/third/letter/base/s-cor-01.mkvi' > > Please check if the module is there and re-generate t

[NTG-context] Re: Letter module broken?

2024-06-25 Thread Henning Hraban Ramm
dules > 'letter' is loaded open source > level 2, order 3, name '/Users/hraban/context/tex/texmf-modules/tex/context/third/letter/base/s-cor-01.mkvi' Please check if the module is there and re-gene

[NTG-context] Re: getting LuaTeX to work

2024-06-24 Thread Henning Hraban Ramm
erate in the texlive structure Well, I use LMTX from its distribution and LaTeX from TeX live, and that’s usually enough. I just thought it would be nice to be able to check MkIV occasionally. But even if I take LMTX out of my PATH, TL23’s context can’t make a format, neither LMTX nor MkIV. I’ll t

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Bryan Kaplan via ntg-context
On 2024-06-24 at 01:31:46-06:00, Hans Hagen via ntg-context set forth: > Do you have a bin then? And ran mtxrun --generate --luatex ? > Hans Yes, at least I ran that command just now and it apparently succeeded. I just discovered something relevant and useful. Check this out: $ contex

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Hans Hagen via ntg-context
an alpine on WSL to see what happens - it looks like some 32/64 bit mixup ... this is a side effect of the fact that it take a bit of effort to see if we need musl - the buildbot doesn't generate the binaries (i can't login to the machine to check if the client is running at all) i&#

[NTG-context] Re: digital signing in ConTeXt

2024-06-19 Thread Pablo Rodriguez via ntg-context
2.1 /usr/lib/libcrypto.so.3 /usr/lib/libcrypto.so.3.2.1 /usr/lib/libssl.so.3 /usr/lib/libssl.so.3.2.1 This might be causing the issue, but I’m afraid Wine needs 32bit libs. I need to check this further. Pablo ___ If you

[NTG-context] Re: context / auctex problem?

2024-06-19 Thread Jim
"ancient" version of auctex? > 2. >> Apparently, your Emacs doesn’t use the same PATH as your terminal. >> The error message is from /bin/sh, I guess you usually run bash, zsh or >> the like, and that gets its PATH from .bashrc or something like that. >> C

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Hans Hagen via ntg-context
ource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#search=ByteRange): This range should be the entire file, including the signature dictionary but excluding the signature value itself (the Contents entry). Other ranges may be used but since they do not check for

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Pablo Rodriguez via ntg-context
teRange): This range should be the entire file, including the signature dictionary but excluding the signature value itself (the Contents entry). Other ranges may be used but since they do not check for all changes to the document, their use is not recommended. When a byte range digest is

[NTG-context] Re: context / auctex problem?

2024-06-18 Thread Jürgen Hanneder via ntg-context
ps using the command "context" directly, but via texexec. 2. Apparently, your Emacs doesn’t use the same PATH as your terminal. The error message is from /bin/sh, I guess you usually run bash, zsh or the like, and that gets its PATH from .bashrc or something like that. Check how Emacs call

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Hans Hagen via ntg-context
heckers expect either or not +/- 1 but i didn't check recently if things have improved There are two different issues here: digest mismatch and total document signing. I’m afraid that the patch is needed since /ByteRange excludes a blank space before the value of /Contents that is in the temp

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-18 Thread Gerion Entrup
eXt document. > > For example, this MWE seems to not respect transparency (see mwe.pdf): > > ``` > > \starttext > > \externalfigure[fig.pdf][page=1] > > \stoptext > > ``` > > > > I use Okular/Poppler as PDF viewer. > > Can I fix this somehow or

[NTG-context] Re: digital signing in ConTeXt

2024-06-17 Thread Pablo Rodriguez via ntg-context
Acrobat may be wrong in not detecting the signature (I’m investigating it). > concerning the suggested patches: this <whatever> boundary is a > bit fuzzy and i found that different viewers / checkers expect either or > not +/- 1 but i didn't check recently if things have impr

[NTG-context] Re: digital signing in ConTeXt

2024-06-17 Thread Hans Hagen via ntg-context
iewers / checkers expect either or not +/- 1 but i didn't check recently if things have improved if we know the specs and have way to test ... no big deal to fix a few offsets Hans -

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-17 Thread Hans Hagen
Poppler as PDF viewer. Can I fix this somehow or is it a bug somewhere deeper? next time check the file that you include ... it has no transparency (it has zero values) the attached works ok Hans -

[NTG-context] Re: context / auctex problem?

2024-06-17 Thread Joaquín Ataz López
al. The error message is from /bin/sh, I guess you usually run bash, zsh or the like, and that gets its PATH from .bashrc or something like that. Check how Emacs calls that script, and if you can define a PATH. Hraban _

[NTG-context] Re: context / auctex problem?

2024-06-17 Thread seyal zavira
.tex'' > > /bin/sh: Zeile 1: context: Kommando nicht gefunden. > > > > TeX Output exited abnormally with code 127 at Mon Jun 17 14:03:03 > > -- > > Apparently, your Emacs doesn’t use the same PATH as your terminal. > > The error message is from /bin/

[NTG-context] Re: context / auctex problem?

2024-06-17 Thread Henning Hraban Ramm
e, and that gets its PATH from .bashrc or something like that. Check how Emacs calls that script, and if you can define a PATH. Hraban ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-14 Thread Hans Hagen via ntg-context
10.15, can anyone confirm with current versions? So it’s dependend on the screen rendering, anti aliasing settings (that you usually can’t influence). hm, so i have to stick to windows for viewing (and an ancient hardware laptop in order to avoid copilot and recall) but i'll check ubuntu a

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Hans Hagen via ntg-context
p. Kind of a bug we think. Hans ps. One reason when I always use (x)ubuntu when i have to use a linux desktop is that it always was set up right wrt rendering fonts and anti aliasing. I might need to

[NTG-context] Re: get measures as dimension in Lua

2024-06-13 Thread Hans Hagen via ntg-context
dimen then return value .. "sp" else return value end So I needed just tex.getdimensionvalue(namespace..name) just use tex.getmeasure in the upcoming Not to be misunderstood, I couldn’t check yet, maybe I wasn’t clear: I need to process the me

[NTG-context] Re: get measures as dimension in Lua

2024-06-13 Thread Henning Hraban Ramm
" else return value end So I needed just tex.getdimensionvalue(namespace..name) Not to be misunderstood, I couldn’t check yet, maybe I wasn’t clear: I need to process the measure as a dimension, like \measured{Bleed}. As far as I tried, neither tex.measured nor con

[NTG-context] Re: get measures as dimension in Lua

2024-06-10 Thread Henning Hraban Ramm
) but it's in one of my todo's because I can use it in some places (there ar emopre such todo's) after which it will be discussed in one of the lowlelvel manuals i'll add tex.getmeasure to the core (but a bit different) Not to be misunderstood, I couldn’t check yet, maybe I

[NTG-context] regular online meet-up

2024-06-09 Thread Henning Hraban Ramm
" 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, bott

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Gerion Entrup
s{extract:start}, > after=\setups{extract:stop}] > > \startsetups extract:start > \startdextract > \stopsetups > > \startsetups extract:stop > \startstopparameter{author} > \stopdextract > \blank[1ex,samepage] > \hrule > \blank[1ex,samep

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Hans Hagen via ntg-context
etups \starttext \startextract[author=René Descartes] Cogito ergo sum. \stopextract \stoptext but first i want Wolfgang to check the patch, Hans - Hans Hagen | PRAGM

[NTG-context] Re: Kerning in Noto Serif

2024-06-06 Thread Lutz Haseloff
12345}\par >> \stoptext >> >> Line 4 and 6 should be significantly shorter too. >> I tried the variable and the static versions. >> In fontforge I can see a kerning of -80 between A and V. >> My context is the newest lmtx. > >For me, it looks good with

[NTG-context] Re: Kerning in Noto Serif

2024-06-06 Thread Henning Hraban Ramm
oo. I tried the variable and the static versions. In fontforge I can see a kerning of -80 between A and V. My context is the newest lmtx. For me, it looks good with ConTeXt v2024.05.31 and Noto Serif v.1.03 Just to check the font (yes, it has kerning): $ mtxrun --script font --list --pa

[NTG-context] Re: setuphead in connection with the command argument

2024-06-03 Thread Gerion Entrup
\startchapter etc. in your document and only at this > point it has to make a decision what should happen when both "command" > and "alternative" are set. The order in which the parameters are used is > the following: a) check if the "command" parameter has a val

[NTG-context] Re: setuphead in connection with the command argument

2024-06-02 Thread Wolfgang Schuster
is point it has to make a decision what should happen when both "command" and "alternative" are set. The order in which the parameters are used is the following: a) check if the "command" parameter has a value and if this is true is it and ignore the "alternative

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
f] [0x00300-0x003FF,0x02100-0x02800,0x1F000-0x2] % look up the right Unicode ranges! [check=no,force=no] \definetypeface[circle_typeface][rm][serif][times][default][fallbacks=SymbolFB] \starttext Some text in default font before temporarily switching just

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
-0x2] % look up the right Unicode ranges!    [check=no,force=no] \definetypeface [myfonts] [rm] [serif] [times] [default] [fallbacks=SymbolFB] And then copy the character from a symbol table, no need for a macro. Hmm, that's a great idea. But I can't seem to get a minimal to work

[NTG-context] Re: Numbers obtained by commands <\datasetvariable> cannot be copied to counters

2024-05-29 Thread Wolfgang Schuster
edataset [myset] \setdataset[myset] [foo=1,boo=4] \newcount\tempa \datasetvariable{myset}{1}{boo} % definitely get 4 %\tempa=\datasetvariable{myset}{1}{boo} % why i cannt pass 4 to tempa? %\number\tempa \stoptext % If anyone can fix it, thanka very much You have to add a check to ensure t

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
t, like: > > \definefontfallback[SymbolFB] >    [file:symbola.otf] >    [0x00300-0x003FF,0x02100-0x02800,0x1F000-0x2] % look up the > right > Unicode ranges! >    [check=no,force=no] > > \definetypeface [myfonts] [rm] [serif] [times] [default] > [fallback

[NTG-context] Re: Number in a circle

2024-05-27 Thread Henning Hraban Ramm
could just define a fallback font, like: \definefontfallback[SymbolFB] [file:symbola.otf] [0x00300-0x003FF,0x02100-0x02800,0x1F000-0x2] % look up the right Unicode ranges! [check=no,force=no] \definetypeface [myfonts] [rm] [serif] [times] [default] [fallbacks=SymbolFB] And the

[NTG-context] Re: How to Define a New Language

2024-05-24 Thread Jean-Pierre Delange
Hi Muyik ! The first thing to check, even if it seems stupid, is to make sure that the Traditional Chinese fonts are installed in the /context/context-mf/fonts/ etc. folder and test this installation with the following command: mtxrun --script fonts --list --pattern="Chinese Font&q

[NTG-context] Re: Special charakter

2024-05-18 Thread vm via ntg-context
On 18/05/2024 12:54, Thomas Meyer wrote: I know I can copy and paste it, like here (copied from Wikipedia), but if I don't have a template in a hurry ... Your local OS might support some kind of keyboard language typing to place accents, dots and strikings. Check your mac os m

[NTG-context] [installation] "unzipping" gives 0K files on windows

2024-05-14 Thread yashpalgoyal1304+ntgcontext
3075584 : tex/texmf-win64/bin/luametatex.exe mtx-install | skipping tex/texmf-win64/bin/mtxrun.exe mtx-install | new : 100 % : 701766 : tex/texmf-win64/bin/mtxrun.lua ``` - ### links [context_history]: https://wiki.contextgarden.net/ConTeXt_history#ConTeXt_LMTX "lmt

[NTG-context] regular online meet-up

2024-05-03 Thread Henning Hraban Ramm
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

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Pablo Rodriguez via ntg-context
ifier is wrong (I guess you meant \unexpanded) but > which check for the number of arguments you use doesn't matter in a > document. You are right, I meant \unexpanded. > The LMTX version of the \iffourthargument etc. checks is the > \ifarguments commands where you use \or to set a case for

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Wolfgang Schuster
}% {#4} {\doiftextelse{#3} {#3} {#2}}} The \expanded modifier is wrong (I guess you meant \unexpanded) but which check for the number of arguments you use doesn't matter in a document. The LMTX version of the \iffourthargument etc. checks is the \ifarguments com

[NTG-context] Re: start/stopregister

2024-04-25 Thread Hans Hagen
: extendregister { metadata = { name = name }, references = { abel = label }, } Let me know if you't see it. Possibly related: I noticed last week that mkxl does not update the legacy counter \pageno any more f

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Joel via ntg-context
I've managed to get a minimum working example. If you check, you'll see the 5th footnote inside a placefigure doesn't render anywhere: \starttext     \input knuth     \placefigure{Caption\footnote{message A}}{\externalfigure[cow][width=\textwidth]}     \input knuth     \plac

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Hans Hagen via ntg-context
-win64/bin/ directory. This may sound stupid, but could you check whether the bin directory contain the required binary? Sorry, "luatex --version" and even "whereis luatex" should give the same result (but on Windows, it seems to be https://ss64.com/nt/where.html). I hope it may hel

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Denis Maier via ntg-context
tx-mtx- > context.lua > > On 4/10/24 22:28, Denis Maier wrote: > >> [...] > >> context --luatex --generate > > > > Thanks, Pablo. > > I've tried it, but it doesn't seem to work... > > I get the same result on Win64 when I move the luatex b

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Pablo Rodriguez via ntg-context
On 4/10/24 22:28, Denis Maier wrote: >> [...] >> context --luatex --generate > > Thanks, Pablo. > I've tried it, but it doesn't seem to work... I get the same result on Win64 when I move the luatex binary from the tex/texmf-win64/bin/ directory. This may so

[NTG-context] Re: \luaescapestring in proper Lua

2024-04-10 Thread Hans Hagen via ntg-context
([[\luaescapestring{#1}]])}} \PrintTheThing{a \em b {c}} \stoptext I wonder whether there is a proper way in the Lua code to avoid [[\luaescapestring{}]] in \ctxlua. BTW, [[\luaescapestring{}]] in \ctxlua works better for me, since in my real world document, I’m using str:match() to check

[NTG-context] \luaescapestring in proper Lua

2024-04-10 Thread Pablo Rodriguez via ntg-context
wonder whether there is a proper way in the Lua code to avoid [[\luaescapestring{}]] in \ctxlua. BTW, [[\luaescapestring{}]] in \ctxlua works better for me, since in my real world document, I’m using str:match() to check whether the string ends with interrogation or exclamation marks

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Hans Hagen
standards. (Didn’t check, jost forwarded the message.) 2. Well-Tagged PDF (WTPDF) https://pdfa.org/wtpdf/ well, tagging ... Of course. But you asked for wanted accessibility features: sure. We have \pdfbackendactualtext{visible}{alternative}, can we get alternative text (ActualText) for

[NTG-context] regular online meet-up

2024-04-07 Thread Henning Hraban Ramm
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

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Henning Hraban Ramm
Am 07.04.24 um 08:06 schrieb Hans Hagen: On 4/6/2024 5:34 PM, Henning Hraban Ramm wrote: 1. PDF/UA-2 https://pdfa.org/iso-14289-2-pdfua-2/ looks likes one has to pay for it Oh, as usual with PDF association… That’s not how you promote open standards. (Didn’t check, jost forwarded the

[NTG-context] context editor support / syntax highlighting for Pulsar

2024-04-01 Thread Henning Hraban Ramm
ConTeXt Interface Related Goodies 0.14 generate context mkii interface files equals generate scite interface generate bbedit interface files generate jedit interface files generate pulsar/atom interface files generate textpad interface f

  1   2   3   4   5   6   7   8   9   10   >