[NTG-context] Re: References to elements in hidden blocks

2025-08-12 Thread Hans Hagen via ntg-context
On 8/12/2025 12:08 PM, Yves Debongnie wrote: Hello everyone, New context user here, coming over from the latex world. I am writing a textbook, and wish to write the content in one file and create multiple versions from it (theory in one document, exercise in another, exams in yet other

[NTG-context] References to elements in hidden blocks

2025-08-12 Thread Yves Debongnie
Hello everyone, New context user here, coming over from the latex world. I am writing a textbook, and wish to write the content in one file and create multiple versions from it (theory in one document, exercise in another, exams in yet other documents, etc). Obviously, references between the

[NTG-context] Re: Audible footnotes

2025-08-11 Thread Hans Hagen via ntg-context
ers have tools that we don't know about and might not even depend on tagging. And, as some of these machine learning language models actually scan the content stream I bet one of these days decent tagging (without mappign to some unsuitable pdf sub model) wins over obscure, buggy, bad define

[NTG-context] Re: Illustrations in running text.

2025-08-10 Thread Matthias Weber
x27;s capabilities with artwork): >> >> 1. Context doesn't load images present in the TeX tree unless you tel it >> to do so. >> >> 2. The cow sample figure is provided as a pdf file while you try to load >> an jpeg image. >> >> Be aware the

[NTG-context] Re: Illustrations in running text.

2025-08-10 Thread John Was
ys for additional texts of figures have ben changed to > descriptiontext and alternativetext. > > > \starttext > > > > The small cow \externalfigure[cow.jpg] > > [width=0.5em,height=2ex,label={This is a small cow.}] was attacked by > > the quick brown fox that jumped o

[NTG-context] Re: Illustrations in running text.

2025-08-09 Thread Wolfgang Schuster
was attacked by the quick brown fox that jumped over the lazy dog's back.\stoptext \setupexternalfigures[location={local,global,default}] \starttext Cow: \externalfigure[cow][height=2ex]. Cow: \offset[y=sd]\externalfigure[cow][height=lh].

[NTG-context] Illustrations in running text.

2025-08-09 Thread John Was
exT's capabilities with artwork): \starttext The small cow \externalfigure[cow.jpg][width=0.5em,height=2ex,label={This is a small cow.}] was attacked by the quick brown fox that jumped over the lazy dog's back.\stoptext John <http://www.avg.com/email-signature?utm_medium=email&utm_so

[NTG-context] Re: Preserving Stanza Integrity

2025-08-07 Thread Michael Guravage
way to horizontally center a left-aligned block while also ensuring that > > stanzas aren't split over page boundaries? > > > > The MWE uses the text from het Wilhelmus. At the bottom of the first > > page the fourth couplet is the first to split over two pages. >

[NTG-context] Re: Preserving Stanza Integrity

2025-08-07 Thread Wolfgang Schuster
poem has to be considered in its entirety.  My question is, is there a way to horizontally center a left-aligned block while also ensuring that stanzas aren't split over page boundaries? The MWE uses the text from het Wilhelmus. At the bottom of the first page the fourth couplet is the first to

[NTG-context] Preserving Stanza Integrity

2025-08-06 Thread Michael Guravage
s there a way to horizontally center a left-aligned block while also ensuring that stanzas aren't split over page boundaries? The MWE uses the text from het Wilhelmus. At the bottom of the first page the fourth couplet is the first to split over two pages. Any sugestions would be much apprec

[NTG-context] Re: testing language tagging?

2025-07-30 Thread Mikael Sundqvist
on This quote contains two paragraphs. You just read the first one, this is the second one. \stopquotation giving (only look at the structure) “ This quote contains two paragraphs. You just read the first one, this is the second one. ” ? This v

[NTG-context] Re: Margin text?

2025-07-24 Thread Ursula Hermann
there are several approaches possible. – The colored area must “bleed” over the edge of the paper (usually 2–3 mm), i.e. you must use the second parameter of \setuppaper for the sheet size. – It makes sense to use a layer for placement and a \framed for the box, i.e. \setlayerframed. – It makes sense

[NTG-context] Re: Margin text?

2025-07-24 Thread Wolfgang Schuster
Am 24.07.2025 um 17:09 schrieb Ursula Hermann: Dear Wolfgang, Many thanks for your answer. Should the thumb index be in the body text? Or be a margin text? To have full control over the placement you position the index as page background, the wiki has an example [1] for a thumb index. [1

[NTG-context] Re: Margin text?

2025-07-24 Thread Henning Hraban Ramm
within that section. – Its setup should probably be triggered by \setuphead or maybe \setupheader, but there’s nothing ready-made and there are several approaches possible. – The colored area must “bleed” over the edge of the paper (usually 2–3 mm), i.e. you must use the second parameter of

[NTG-context] Re: language in tagging and export

2025-07-14 Thread Hans Hagen via ntg-context
ux it depends on the general setup and i always found that ubuntu (xubuntu) was set up right wrt fonts, others were unbearable which is why i stayed on windows; recently i managed to set up opensuse (we use that on a server) to render fonts ok too, although it differs (and over the year i simply b

[NTG-context] Re: weird issue with latest win64 binaries

2025-07-14 Thread Pablo Rodriguez via ntg-context
[…] > Okay, so it looks like the permissions are correct. > […] > You can calculate checksums directly in Windows, rather than over a > file share, by using PowerShell: Good to know, but MSYS2 is fine for me. > I get the same as you do above for mtxrun.exe. > […] > That defi

[NTG-context] Re: Docker images

2025-07-12 Thread Max Chernoff via ntg-context
text-cache.tex context --luatex --make mtxrun --luatex --script fonts --reload context --luatex context-cache.tex where context-cache.tex is the following: \starttext \startbuffer[line] \tf The quick brown fox jumps over the lazy dog. $\sqrt{x^2} \mathbb{R

[NTG-context] Re: weird issue with latest win64 binaries

2025-07-12 Thread Bruce Horrocks
5d2b6663ff2a9167 > */c/old/tex/texmf-win64/bin/luametatex.exe > e156a063e5459a9ad9840d816ba69f9edfc448e71fda15b7d0f392cc9bfd4972e56584f2e874d67ffdf12787c969ae3cbdf5c73554cb1dff8edba518ebb50d81 > */c/old/tex/texmf-win64/bin/luatex.exe > b18ef7b0b49ea6423920b1dd50aaa643ebc984a437acc602e9c949

[NTG-context] Re: testing tagging for UA-2

2025-07-12 Thread Hans Hagen via ntg-context
bitrary, even in your example you have two paragraphs and a formula as being one paragraph. Heuristics always can fail. And keep in mind that in tex anything can end up inside anywhere: no endpoints are defined unless one starts blocking nested tagging! I probably need to go over the now kind

[NTG-context] Re: testing tagging for UA-2

2025-07-12 Thread Max Chernoff via ntg-context
we deal with. The latex is > just a different world (to us); little or no overlap. LaTeX and ConTeXt inline math (_not_ display math) syntaxes are essentially identical, since they're both essentially "Plain TeX with \frac instead of \over", so I don't think that many LaT

[NTG-context] Re: testing tagging for UA-2

2025-07-10 Thread Hans Hagen via ntg-context
deed, the format influences some later settings (arbitrary order initializations would complicate the code with no real gain) .. it might im prove over time but all this tagging is mostly a "when we're in the mood and has to be done when we are motivated" and it comes for

[NTG-context] Re: testing tagging for UA-2

2025-07-09 Thread Jean-Pierre Delange via ntg-context
understand is apparently based on the sounds they want to transcribe. And as pronunciation evolves over time (example: the verb “céder,” which in the future tense becomes “je cèderai” - ‘è’ instead of “é”), institutions are seeking to follow practice, while at the same time simplifying words with

[NTG-context] Re: Full-page illustrations

2025-07-07 Thread Duncan Hothersall
that layout using \setuplayout when I'm doing a landscape figure or table. This has two advantages - it gives you much more control over the page layout for your landscape pages, and it encourages most viewers to display those pages in landscape, making proofs much more readable online. Dunc

[NTG-context] To Any Software Users: Collective Identity and Software-Based Creative Practitioners

2025-06-24 Thread Riviera Taylor via ntg-context
nd them thought-provoking. Structurally, the single-document algorithm was crafted over the course of several sleepless nights by me (another detrimental aspect of software which too many are familiar with: losing sleep...) It playfully refuses a \starttext ... \stoptext structure which generates a non-fat

[NTG-context] Re: Processing time

2025-06-23 Thread John Was
rted time ... the operating system caches > files and programs like tex benefits from this > > in the past when running on a network share - in most cases we use(d) > opensuse linux servers - using e.g. installations like texlive was > basically impossible due to the size which is why

[NTG-context] Re: Processing time

2025-06-22 Thread Hans Hagen
n the past when running on a network share - in most cases we use(d) opensuse linux servers - using e.g. installations like texlive was basically impossible due to the size which is why we had the minimal distributions, also for pdfex/mkii; i think that over time kpse lookups improved a bit b

[NTG-context] Re: SlideTitle font in Simpleslide module

2025-06-22 Thread Wolfgang Schuster
is the current maintainer of the simpleslides module. True, and after taking over and trying to enhance it I recognized that it doesn’t fit my needs and also works a bit against ConTeXt, e.g. with its own font mechanism. I didn’t touch it since 2023-04. See “Using different fonts” in https

[NTG-context] Re: SlideTitle font in Simpleslide module

2025-06-22 Thread Henning Hraban Ramm
. True, and after taking over and trying to enhance it I recognized that it doesn’t fit my needs and also works a bit against ConTeXt, e.g. with its own font mechanism. I didn’t touch it since 2023-04. See “Using different fonts” in https://codeberg.org/fiee/context-simpleslides – but that’s

[NTG-context] Re: Processing time

2025-06-20 Thread John Was
in the first agument (e.g. english in > the following example). > > \starttext > > \hyphenatedword{abolished} > \hyphenatedword{contributes} > > \startexceptions[en] > abo-lished > con-tri-butes > \stopexceptions > > \hyphenatedword{abolished} > \hyphenatedword

[NTG-context] Re: Processing time

2025-06-20 Thread Wolfgang Schuster
dword{abolished} \hyphenatedword{contributes} \stoptext At the moment I am using XeTeX-type font calls while I work out other aspects of ConTexT.  If that is all that is holding things up I can go over to ConTexT's native system  if necessary, though in a typical file header I would have

[NTG-context] Re: Processing time

2025-06-20 Thread John Was
work out other aspects of ConTexT. If that is all that is holding things up I can go over to ConTexT's native system if necessary, though in a typical file header I would have dozens of fonts to load. Here is what I have at present: \definefont[ubsreight][file:BaskervilleMTPro-Regular*oldst

[NTG-context] Re: Processing time

2025-06-20 Thread Wolfgang Schuster
Am 20.06.2025 um 12:42 schrieb John Was: Hello I am using a very short experimental file of five pages to acquaint myself with ConTexT, and find that processing takes a long time (over a minute or sometimes over two minutes) because at every run it is checking on paths etc. - mainly

[NTG-context] Processing time

2025-06-20 Thread John Was
Hello I am using a very short experimental file of five pages to acquaint myself with ConTexT, and find that processing takes a long time (over a minute or sometimes over two minutes) because at every run it is checking on paths etc. - mainly verifying and searching for fonts. Is there some way

[NTG-context] Using Kurinto: Cursive/Slanted

2025-06-17 Thread Mike Urban
tfamily[Kurinto] [mm] [Latin Modern Math] \setupbodyfont[Kurinto,12pt] \startbuffer[line] The quick brown fox jumps over \stopbuffer \startbuffer[sample] \startTABLE \NC \type{\normal}\NC \normal{\getbuffer[line]}\NC \NR \NC \type{\italic}\NC \italic{\getbuffer[line]}\NC

[NTG-context] Re: upload

2025-06-14 Thread Max Chernoff via ntg-context
eased), and there are a few packages that are consistently > > updated almost every week. > > hm, times have changed ... (i wonder how that impacts users who expect > for instance fonts and patterns to be the same over time but maybe they > juist don't update or at least not hit th

[NTG-context] Re: upload

2025-06-14 Thread Hans Hagen
w major version was released), and there are a few packages that are consistently updated almost every week. hm, times have changed ... (i wonder how that impacts users who expect for instance fonts and patterns to be the same over time but maybe they juist don't update or at least not hi

[NTG-context] Re: upload

2025-06-12 Thread Rik Kabel
On 2025-06-12 07:56, Hans Hagen wrote: Hi, I uploaded a new version, this time a bit of beta, because of: -- reworked control over callbacks: more restrictive, some protection against overload, better control; as a side effect context can run a bit faster but it depends on the job and

[NTG-context] upload

2025-06-12 Thread Hans Hagen
Hi, I uploaded a new version, this time a bit of beta, because of: -- reworked control over callbacks: more restrictive, some protection against overload, better control; as a side effect context can run a bit faster but it depends on the job and features used; if something is not working as

[NTG-context] Re: \time pendant to \currenttime

2025-06-11 Thread Benjamin Buchmuller
p ... > >> and one could "hijack" the command for durations as well (with some >> overloading similar to "m", "MONTH", "mm", "month" etc.) >> \time[M=3,S=30,u=minute][MM,{:},SS,{ },unit] >> % 04:32 min >&

[NTG-context] Re: \time pendant to \currenttime

2025-06-10 Thread Hans Hagen
inute][MM,{:},SS,{ },unit] % 04:32 min (Unit would take abbreviation from the units module, ideally.) Then \setuplangauge[en][time={HH, :, MM, :, p}] Just a couple of thoughts though. Thank you for all your help! That is something

[NTG-context] Re: ConTeXt in TeX Live

2025-06-08 Thread Max Chernoff via ntg-context
Hi Mojca On Sun, 2025-06-08 at 17:44 +0200, Mojca Miklavec wrote: > On Sun, 8 Jun 2025 at 02:10, Max Chernoff via tex-live wrote: > > I've taken over packaging ConTeXt for CTAN and TeX Live. > > Thanks a lot for this, but I have one question: what's the plan with > lu

[NTG-context] Re: ConTeXt in TeX Live

2025-06-08 Thread Mojca Miklavec
Dear Max, On Sun, 8 Jun 2025 at 02:10, Max Chernoff via tex-live wrote: > > I've taken over packaging ConTeXt for CTAN and TeX Live. Thanks a lot for this, but I have one question: what's the plan with luametatex binaries? Would the binaries then be updated multiple times per

[NTG-context] ConTeXt in TeX Live

2025-06-07 Thread Max Chernoff via ntg-context
orted into TeX Live (and were briefly mispackaged last year). Because of this, I've taken over packaging ConTeXt for CTAN and TeX Live. The very first release via this new process has already been imported into TeX Live, and should reach the CTAN mirrors shortly. I've set up so

[NTG-context] Re: Two questions to counter in margin

2025-05-28 Thread Bruce Horrocks
Context provides? Specifically: why not use \chapter for each act of the play and then \section for each scene? The reason I suggest it is that \heading gives you much more control over the numbering and position of the number and would solve the questions you are asking. Document structure is summa

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-04-30 Thread Pablo Rodriguez via ntg-context
erfectly opaque process, the one you mention for accesibility testing. Far from ideal (to say the least). > I tried the first page from > https://www.recht.bund.de/bgbl/1/2025/104/regelungstext.pdf?__blob=publicationFile&v=3. > > It passes Acrobat’s accessibility check, hovering o

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-04-29 Thread Wolfgang Schuster
}] \startparagraph a \stopparagraph \stoptext produces a PDF that passes the accessibility check in the current Adobe Acrobat. In particular, it passes the alternate text checks. Hovering over the image shows the alternate text in Acrobat. However, VoiceOver (on the Mac) does not read the

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-04-29 Thread Ulrike Fischer
es[location=default] >> \starttext >> \externalfigure[hacker][label={this is an image}] >> >> \startparagraph >>a >> \stopparagraph >> \stoptext > > produces a PDF that passes the accessibility check in the current Adobe > Acrobat. In particular,

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-04-29 Thread Matthias Weber
to be the case, too, but my abilities to test for any of that are limited. I tried the first page from https://www.recht.bund.de/bgbl/1/2025/104/regelungstext.pdf?__blob=publicationFile&v=3?. It passes Acrobat’s accessibility check, hovering over the image produces the alternate text, let

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-04-29 Thread Pablo Rodriguez via ntg-context
On 4/29/25 19:13, Matthias Weber wrote: > Dear All, > > I am starting a new thread as requested. Hi Matthias, > I can confirm that > [...] > produces a PDF that passes the accessibility check in the current> Adobe > Acrobat. In particular, it passes the alternate text

[NTG-context] Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-04-29 Thread Matthias Weber
agraph > \stoptext produces a PDF that passes the accessibility check in the current Adobe Acrobat. In particular, it passes the alternate text checks. Hovering over the image shows the alternate text in Acrobat. However, VoiceOver (on the Mac) does not read the alternate text; it complete

[NTG-context] Re: upload

2025-04-29 Thread Steffen Wolfrum
p.uni-heidelberg.de/ <https://heiup.uni-heidelberg.de/> >> Definitely no turnaround over 7 digits. A small but committed publisher, >> that is engaged in making PDF documents also accessible for blind people. > > - adding some Alt whatever to a pdf has been possible for ages but

[NTG-context] Re: Aligning sub- and superscripts

2025-04-24 Thread Florent Michel
s my eyes are deceiving me) twice the same output, with > > the subscript b below a. > > fwiw: {} in context in math does not create an atom, it is just grouping > so here it does nothing; we have a different mechanism for handling > multiple successive scripts

[NTG-context] Re: Aligning sub- and superscripts

2025-04-24 Thread Hans Hagen
; we have a different mechanism for handling multiple successive scripts (plus control over spacing) see mikaels answer Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061

[NTG-context] Re: Tagging Math

2025-04-11 Thread Matthias Weber
>> (but the mathnotes at leats make sense). >> So the question is how to get the content of the mathnotes into the PDF tags… > > Last time we looked into this (over a year ago) we tested several variants > with some viewers (Mikael and I use Sumatra (mupdf) and Okular) and did

[NTG-context] Re: Tagging Math

2025-04-11 Thread Hans Hagen via ntg-context
garbled way (but the mathnotes at leats make sense). So the question is how to get the content of the mathnotes into the PDF tags… Last time we looked into this (over a year ago) we tested several variants with some viewers (Mikael and I use Sumatra (mupdf) and Okular) and did some tests with

[NTG-context] Re: Alternate text for images?

2025-04-09 Thread Pablo Rodriguez via ntg-context
this file to -- roll out your own variant. We also use this file for testing so there coule be subtle -- changes over time. return { name = "old school pdf tagging", version = "1.00", comment = "This is our crappy level two mapping, sort of an ex

[NTG-context] Re: How to get TABLE to start on the same page, split when needed?

2025-04-02 Thread Aditya Mahajan
to put it on the next page, > instead of just splitting that cell up. I believe that in natural tables the table cell cannot split over a page. If there is not enough space to place the first row in the current page, then the table moves to the next page. Aditya_

[NTG-context] Re: Problem with: 0.222 222 222_3

2025-03-26 Thread Pablo Rodriguez via ntg-context
On 3/25/25 22:31, Max Chernoff via ntg-context wrote: > Hi Pablo, Many thanks for your correction, Max. I think it was over five years ago the last time I installed TeX Live installed on my computer. Before that, I quickly realized (wisely advised by this mailing-list participants) that it

[NTG-context] Re: Problem with JPEG2000 inclusion in 2025.02.28 update

2025-03-23 Thread Jim
igure[cow-jpg.jpg][height=1in]% \hss \externalfigure[cow-jpx.jpx][height=1in]} \stoptext %%% The problem (as I now discover, because of Wolfgang's sample and tracker suggestion) is the line \definegraphictypesynonym [jpx] [jp2] which I eg

[NTG-context] Re: \placefigure conundrum

2025-03-16 Thread Jim
aving text too close to the bottom of the picture. Using "low" makes the extra indentation go away (thanks again for that) but does not adjust the position of the cow. Thus my confusion over the specific option "low". Anyway, I have the answer to my original question. So maybe

[NTG-context] Re: Compilation error

2025-03-15 Thread Fabrice Couvreur
ilman3/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: Compilation error

2025-03-15 Thread Mikael Sundqvist
text{E\times F}}. That seems conceptually wrong, and the \times inside the \text is not done in math mode. But as Wolfram just wrote, please make a small test file showing also the definition of \coord. /Mikael PS \mtext is preferred over \text for text in math. __

[NTG-context] Footer issue (for graduated wizards mastering kung-fu)

2025-03-13 Thread roberto . bianchi
- \startappendices \noheaderandfooterlines \ \vskip5cm \midaligned{\bfd APPENDICES} \page \startchapter[title={Definition of engineering},reference={sec:engineering}] Here is working %\input{.\\TEX\\Appendix_1.tex} \stopchapter % \startchapter[title={Definition of take-over points},reference={sec:TO

[NTG-context] How to stop column text from crashing into content afterwards?

2025-03-05 Thread Joel via ntg-context
ge piece of the page gone. I've even seen some cases where it seems the columns start writing over each other, instead of going to the next page. So image in this documetn if question 8, 9, and 10 appeared on topo of 5, 6, and 7. Is there any way to present this terrible behavior from renderi

[NTG-context] Re: automatic character comparison

2025-03-05 Thread Pablo Rodriguez via ntg-context
xt/base/mkiv/mtx-context-compare.tex > > so maybe you can put together something similar from there? I’m afraid not. I used "compare" in the past, but I need to mark additions and deletions, not to see differences imposing one file over the other one. Sorry, but when I need to see

[NTG-context] Re: \setuplist[chapter][alternative=d] inside margins

2025-02-27 Thread Hans Hagen
ed to experiment with is \setuplistalternative which should give you much more control over the layout. The example on the Wiki page shows how to construct a tabulate table containing the TOC entries which could be adapted to provide columns if that is what you want. Many thanks for this command, since

[NTG-context] Re: \setuplist[chapter][alternative=d] inside margins

2025-02-27 Thread Pablo Rodriguez via ntg-context
ernative which should give you much more control over > the layout. The example on the Wiki page wiki.contextgarden.net/Command/setuplistalternative> shows how to > construct a tabulate table containing the TOC entries which could be > adapted to provide columns if that is what you want

[NTG-context] Re: \setuplist[chapter][alternative=d] inside margins

2025-02-27 Thread Bruce Horrocks
e command you need to experiment with is \setuplistalternative which should give you much more control over the layout. The example on the Wiki page <https://wiki.contextgarden.net/Command/setuplistalternative> shows how to construct a tabulate table containing the TOC entries which could be

[NTG-context] Re: upload

2025-02-15 Thread Steffen Wolfrum
> Am 14.02.2025 um 20:43 schrieb Hans Hagen : > > On 2/14/2025 8:03 PM, Steffen Wolfrum wrote: > >> in my case the publisher that needs this feature right now is Heidelberg >> University Publishing: >> https://heiup.uni-heidelberg.de/ >> Definitely no t

[NTG-context] Re: upload

2025-02-15 Thread Steffen Wolfrum
> Am 15.02.2025 um 14:16 schrieb Pablo Rodriguez via ntg-context > : > > On 2/14/25 20:03, Steffen Wolfrum wrote: >> […] >> Definitely no turnaround over 7 digits. A small but committed >> publisher, that is engaged in making PDF documents also accessible >

[NTG-context] Re: upload

2025-02-15 Thread Pablo Rodriguez via ntg-context
On 2/14/25 20:03, Steffen Wolfrum wrote: > […] > Definitely no turnaround over 7 digits. A small but committed > publisher, that is engaged in making PDF documents also accessible > for blind people. Hi Steffen, could you send them this attachment (https://mailman.ntg.nl/archives/list

[NTG-context] Re: upload

2025-02-14 Thread Hans Hagen
On 2/14/2025 8:03 PM, Steffen Wolfrum wrote: in my case the publisher that needs this feature right now is Heidelberg University Publishing: https://heiup.uni-heidelberg.de/ Definitely no turnaround over 7 digits. A small but committed publisher, that is engaged in making PDF documents also

[NTG-context] Re: upload

2025-02-14 Thread Steffen Wolfrum
ample). >> I didn't want to introduce unwanted spaces. Where are spaces in my example? > > after } and then after ] > >>> We can actually put an Alt on a specific image element (by setting >>> label={...}) but for now it's disabled for now. Last time we

[NTG-context] Re: upload

2025-02-14 Thread Hans Hagen
ld come up with these demands I'd ask them to put their money where their mouth is (pay for development, extra work involved, tools needed). How do we manage this? If 'we' means 'me' (Hans) ... well, some of these rules only apply to organizations that have a turnaround

[NTG-context] Re: images with alt text

2025-02-05 Thread Hans Hagen
cessible_f.pdf> and this a checker https://pac.pdf-accessibility.org/en <https://pac.pdf-accessibility.org/en> (the pdf doesn't seem good for accessibility) well, with over a decade of accesibility not resulting in free viewers that do something useful with it one can alway

[NTG-context] Re: defining macros

2025-01-14 Thread Hans Hagen
n a loop that does simple things cpu caching speeds up things contrary to doing things all over memory and code; anyway one avoids some tokenization when used right if one noticed a bottleneck we can look into but as we don't get complaints i guess p

[NTG-context] Re: Weird date output

2025-01-14 Thread Wolfgang Schuster
local one = n % 10 if one == 1 then return "st" elseif one == 2 then return "nd" elseif one == 3 then return "rd" else return "th"

[NTG-context] Fwd: lug-boards] BachoTeX 2025: invitation and call for papers

2025-01-13 Thread Taco Hoekwater
ose who contribute to education processes should be able to see the value of > and potential offered by the TeX system – be it for preparing teaching > materials > or creating tools to support everyday school activities – TeX’s advantages > over > other software systems or packages s

[NTG-context] Fwd: Call for Papers / BachoTeX 2025

2025-01-12 Thread Henning Hraban Ramm
groups and others involved in school’s life. Those who contribute to education processes should be able to see the value of and potential offered by the TeX system – be it for preparing teaching materials or creating tools to support everyday school activities – TeX’s advantages over other

[NTG-context] Re: Bug in recent math parsing (?)

2025-01-06 Thread Jim
questions: >>>> (2) Should the example there be re-written to use preferred ConTeXt syntax? >>> Definitely, yes to (2)! >> I changed \over usage to \frac on the wiki page known, as of very recently, >> as "Text blocks/Environments/Frames" (i.e., >> ht

[NTG-context] Re: Bug in recent math parsing (?)

2025-01-06 Thread Hans Hagen
preferred ConTeXt syntax? Definitely, yes to (2)! I changed \over usage to \frac on the wiki page known, as of very recently, as "Text blocks/Environments/Frames" (i.e., https://wiki.contextgarden.net/Text_blocks/Environments/Frames ) However, the greyed math (see "Shaded backgro

[NTG-context] Re: Bug in recent math parsing (?)

2025-01-05 Thread Aditya Mahajan
n to use preferred ConTeXt syntax? > > > Definitely, yes to (2)! > > I changed \over usage to \frac on the wiki page known, as of very recently, > as "Text blocks/Environments/Frames" (i.e., > https://wiki.contextgarden.net/Text_blocks/Environments/Frames ) > > Ho

[NTG-context] Re: Bug in recent math parsing (?)

2025-01-05 Thread Jim
On Fri, Jan 3, 2025 at 12:29 (-0500), Aditya Mahajan wrote: > On Fri, 3 Jan 2025, Jim wrote: >> Has anyone who has read this far care to comment on the wiki questions: >> (2) Should the example there be re-written to use preferred ConTeXt syntax? > Definitely, yes to (2)

[NTG-context] Re: Bug in recent math parsing (?)

2025-01-05 Thread Jim
> Has anyone who has read this far care to comment on the wiki questions: >> (1) Why does \over work correctly in the \framed wiki example, and >> (2) Should the example there be re-written to use preferred ConTeXt syntax? > As you can see on its start page, Had I only known or t

[NTG-context] Re: Bug in recent math parsing (?)

2025-01-03 Thread Henning Hraban Ramm
hought was enlightening. In this case, the edit is major, and I would not want anyone to feel I was stepping on anyone's toes by rewriting the examples in the framed page. Has anyone who has read this far care to comment on the wiki questions: (1) Why does \over work correctly in the \framed wiki

[NTG-context] Re: Bug in recent math parsing (?)

2025-01-03 Thread Jim
backgroundoffset=3pt]} >> \starttext >> \startformula >>{x^3\over3} - 2 >> \stopformula >> \stoptext >> creates a fraction that I would expect from >> {x^3\over3 - 2} >> Is this just my (newly updated) context, or has the year 2025 started off >

[NTG-context] Re: Bug in recent math parsing (?)

2025-01-03 Thread Hans Hagen
his just my (newly updated) context, or has the year 2025 started off with a \over problem? It's been so for a while. In fact, using \over was never advocated For various reasons you should use: \frac{x^3}{3} - 2 Here are some: - in lmtx we configure {} to as anywhere else in tex: grouping

[NTG-context] Bug in recent math parsing (?)

2025-01-02 Thread Jim
has the year 2025 started off with a \over problem? Thanks. Jim ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Re: [ natural tables ]

2024-12-29 Thread Wolfgang Schuster
eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD[nr=2,nc=2,color=red] 2/3 \eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR \eTABLE \stoptext --->8 i don't get the same result as is show in the manual. rather the color=red seems to

[NTG-context] Re: [ natural tables ]

2024-12-29 Thread Hans Hagen via ntg-context
bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD[nr=2,nc=2,color=red] 2/3 \eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR \eTABLE \stoptext --->8 i don't get the same result as is show in the manual. rather the color=red seems to spre

[NTG-context] [ natural tables ]

2024-12-29 Thread vm via ntg-context
c=2,color=red] 2/3 \eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD 4 \eTD \eTR \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR \eTABLE \stoptext --->8 i don't get the same result as is show in the manual. rather the color=red seems to spread over the frame of the cell as well. did so

[NTG-context] Re: Transition from ConTeXt mark II to mark IV

2024-12-06 Thread Michal Kvasnička
he rest of the stuff, but if you can hint me how to proceed, I might find the way for the rest. (I didn't follow the progress of the ConTeXt, and now I'm stuck with the old version of the old Ubuntu in a virtual machine. I definitely have to upgrade my knowledge over Christmas. Hence any

[NTG-context] Re: Hiding a part of a path

2024-12-02 Thread Gavin via ntg-context
ant. Your original example made an image and colored white over part of the path. It doesn’t look great. It can be improved by making the white pen bigger: pic := image(draw p; draw q withpen pencircle scaled 0.6 withcolor white;); I’m not sure this gives what you want at the ends, but it certainly h

[NTG-context] Re: Why is framed text crashing into and overlapping other text?

2024-11-28 Thread Wolfgang Schuster
seemingly floating to weird locations and appearing over other text? While I think \framedtext should work, try a simple \vbox when you don’t need styling. A different solution is to use a label or enumeration for the first level (but keep itemize for the second level) which can be enclosed in a

[NTG-context] Re: Why is framed text crashing into and overlapping other text?

2024-11-28 Thread Joel via ntg-context
Thank you! I replaced \framedtext and \framed all over my document and \vbox seems to have resolved all the issues! --Joel On Thursday, November 28, 2024 at 06:36:02 AM MST, Henning Hraban Ramm wrote: Am 28.11.24 um 14:24 schrieb Joel via ntg-context: > Is frame the write tool to

[NTG-context] Re: Why is framed text crashing into and overlapping other text?

2024-11-28 Thread Henning Hraban Ramm
Am 28.11.24 um 14:24 schrieb Joel via ntg-context: Is frame the write tool to use to keep the itemized items together as a group without allowing column and page breaks to separate them? How do I stop the strange behavior of the frames seemingly floating to weird locations and appearing over

[NTG-context] Why is framed text crashing into and overlapping other text?

2024-11-28 Thread Joel via ntg-context
weird problems putting frames around the items. Sometimes it puts item 10 on top of 9, so its like the text is written on top of the other text. Sometimes the frames make the text crash over the items after it. Is frame the write tool to use to keep the itemized items together as a group without

[NTG-context] Re: serial letters

2024-11-11 Thread Robert via ntg-context
Interesting question. You can use an xml database in which you collect your contacts and how to address them. I have been doing this for over 20 years now. Try this for a single letter: \startxmlsetups xml:setups \xmlfilter{#1}{contact[@label=‘labelMaryDoe']/command(xml:contact)} \xmlset

[NTG-context] What is the current correct way to load fallback fonts?

2024-11-05 Thread Joel via ntg-context
've looked through many handbooks and old questions on-line and tried many configurations. It appears the way to define the fallback has changed many times over the years, and none I've tried works. I've confirmed I can make ConTeXt use my font "FreeSerif.otf", but I ca

[NTG-context] Re: How can a macro check how many items are in a list?

2024-11-03 Thread Bruce Horrocks
> Read the prompt below: > > - Do you think cats should be banned from university dormitories? If your actual items are more complex than those in your example and Wolfgang’s suggestion of iterating over a comma separated list won’t work then ... The following code stores the le

  1   2   3   4   5   6   7   8   9   10   >