[NTG-context] Re: BibTeX choking on comments in database

2024-05-29 Thread Alan Braslau via ntg-context
On Tue, 28 May 2024 21:54:08 -0700 Kip Warner wrote: > On Tue, 2024-05-28 at 17:00 -0600, Alan Braslau wrote: > > The Context publications reference subsystem reads BibTeX databases > > but does not use BibTeX at all. I am not sure what your quoted > > statement means exactly. > > I see. The

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

2024-05-29 Thread Taco Hoekwater
> On 29 May 2024, at 14:05, ai2472206...@yeah.net wrote: > > I'm defining a command to generate options for multiple choice questions, > but at the moment I'm stuck at this step. > I want to get a number and assign a value to the counter, but why can't I get > it? > > > \starttext >

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

2024-05-29 Thread ai2472206007
I'm defining a command to generate options for multiple choice questions, but at the moment I'm stuck at this step. I want to get a number and assign a value to the counter, but why can't I get it? \starttext \definedataset [myset] \setdataset[myset] [foo=1,boo=4] \newcount\tempa

[NTG-context] Re: regular expression as lua pattern

2024-05-29 Thread Henning Hraban Ramm
Am 28.05.24 um 20:06 schrieb Hans Hagen: On 5/28/2024 6:25 PM, Tomáš Hála wrote: Hi Pablo, unfortunately, that it is not possible: http://lua-users.org/wiki/PatternsTutorial, section Limitations. \starttext \startTEXpage[pagestate=start, offset=1em]     \startluacode    

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Henning Hraban Ramm
Am 29.05.24 um 11:16 schrieb Henning Hraban Ramm: Am 29.05.24 um 11:05 schrieb Sylvain Hubert: I replaced `strc-lev.lua` and rerun `context` but the error message stays the same. `context` command doesn't seem to recognize the change of `strc-lev.lua`. Should I run `mtxrun` or something

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Hans Hagen
On 5/29/2024 11:05 AM, Sylvain Hubert wrote: I replaced `strc-lev.lua` and rerun `context` but the error message stays the same. `context` command doesn't seem to recognize the change of `strc-lev.lua`. Should I run `mtxrun` or something before? context --make

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Henning Hraban Ramm
Am 29.05.24 um 11:05 schrieb Sylvain Hubert: I replaced `strc-lev.lua` and rerun `context` but the error message stays the same. `context` command doesn't seem to recognize the change of `strc-lev.lua`. Should I run `mtxrun` or something before? After changes to the source files you must

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Sylvain Hubert
I rerun `install.sh` after replacing `strc-lev.lua` and the error goes away. Thanks Hans! On Tue, 28 May 2024 at 20:20, Hans Hagen wrote: > On 5/28/2024 10:48 AM, Sylvain Hubert wrote: > > ConTeXt LMTX version: 2024.05.27 18:16 > > > > Reproducible example: > > > > \definesectionlevels > >

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Sylvain Hubert
I replaced `strc-lev.lua` and rerun `context` but the error message stays the same. `context` command doesn't seem to recognize the change of `strc-lev.lua`. Should I run `mtxrun` or something before? On Tue, 28 May 2024 at 20:20, Hans Hagen wrote: > On 5/28/2024 10:48 AM, Sylvain Hubert wrote:

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Kip Warner
On Tue, 2024-05-28 at 17:00 -0600, Alan Braslau wrote: > The Context publications reference subsystem reads BibTeX databases > but does not use BibTeX at all. I am not sure what your quoted > statement means exactly. I see. The first few lines of my BibTeX file just contains a copyright notice

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
On Tue, 2024-05-28 at 15:02 -0700, Kip Warner wrote: > On Tue, 2024-05-28 at 17:38 +0200, Wolfgang Schuster wrote: > > Add > > > > framecolor=colour_text, > > > > to the frame settings. > > Thanks Wolfgang. That does work. > > But another problem I've found is the font and circle are not

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Kip Warner
On Wed, 2024-05-29 at 00:45 +0200, Aditya Mahajan wrote: > Hard to say without looking at the bib file, but % is not a comment > character in bibtex. So, if your file starts with The first few lines of the file is just a copyright notice, with each line beginning with %. If that's not an

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Alan Braslau via ntg-context
On Mon, 27 May 2024 16:24:49 -0700 Kip Warner wrote: > I am using BibTeX under ConTeXt to typeset a publication. The Context publications reference subsystem reads BibTeX databases but does not use BibTeX at all. I am not sure what your quoted statement means exactly. Alan

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Aditya Mahajan
On Tue, 28 May 2024, Kip Warner wrote: > On Tue, 2024-05-28 at 08:05 +0200, Henning Hraban Ramm wrote: > > According to the documentation, everything outside of entries is > > considered a comment. Inside of entries, there can’t be comments. > > But in this case, is it not warning about text

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
On Tue, 2024-05-28 at 17:38 +0200, Wolfgang Schuster wrote: > Add > > framecolor=colour_text, > > to the frame settings. Thanks Wolfgang. That does work. But another problem I've found is the font and circle are not automatically resized when used in a formula:

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
On Tue, 2024-05-28 at 17:47 +0200, Pablo Rodriguez wrote: > fw is a new dimensio unit only available in LMTX (not in LuaTeX). > > Just in case it might help, Thanks Pablo. I'm using the context package for Ubuntu Mantic which is version 2021.03.05.20230120+dfsg-2. I'm assuming that doesn't

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
On Tue, 2024-05-28 at 08:17 +0200, Henning Hraban Ramm wrote: > Am 27.05.24 um 19:20 schrieb Kip Warner: > > On Mon, 2024-05-27 at 07:09 +0200, Ryszard Kubiak wrote: > > > Hi Kip, > > > > > > You may try characters with Unicode slots from U+2460 upto > > > U+2469. > > > They mean circled digits

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
On Mon, 2024-05-27 at 20:15 +0200, vm wrote: > if you make width and hwight 1.4en instead of 1.5em, the characters > will align with the running text. Thank you. I will give that a try. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description:

[NTG-context] Re: regular expression as lua pattern

2024-05-28 Thread Hans Hagen
On 5/28/2024 6:25 PM, Tomáš Hála wrote: Hi Pablo, unfortunately, that it is not possible: http://lua-users.org/wiki/PatternsTutorial, section Limitations. \starttext \startTEXpage[pagestate=start, offset=1em] \startluacode local pat = (lpeg.Cmt(lpeg.P("this") +

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Kip Warner
On Tue, 2024-05-28 at 08:05 +0200, Henning Hraban Ramm wrote: > According to the documentation, everything outside of entries is > considered a comment. Inside of entries, there can’t be comments. But in this case, is it not warning about text outside of an entry that should be treated as a

[NTG-context] Re: regular expression as lua pattern

2024-05-28 Thread Pablo Rodriguez via ntg-context
On 5/28/24 18:25, Tomáš Hála wrote: > Hi Pablo, > > unfortunately, that it is not possible: > > http://lua-users.org/wiki/PatternsTutorial, section Limitations. Many thanks for your reply, Tomáš. It is clear to me now. Pablo

[NTG-context] Re: regular expression as lua pattern

2024-05-28 Thread Tomáš Hála
Hi Pablo, unfortunately, that it is not possible: http://lua-users.org/wiki/PatternsTutorial, section Limitations. The best, Tomáš On Tue, May 28, 2024 at 06:12:51PM +0200, Pablo Rodriguez via ntg-context wrote: > Dear list, > > I have the following sample: > > \starttext >

[NTG-context] regular expression as lua pattern

2024-05-28 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startTEXpage[pagestate=start, offset=1em] \startluacode local str = "this is that" context(str:match("(this|these)")) \stopluacode \stopTEXpage \stoptext In short,

[NTG-context] Re: wrong font scaling in LMTX?

2024-05-28 Thread Pablo Rodriguez via ntg-context
On 5/26/24 20:50, Wolfgang Schuster wrote: > [...] > I get the same results with the default font mode in MkIV and LMTX but > when I add > > \enableexperiments[fonts.compact] > > the x and xx sizes are wrong. Many thanks for having fixed that in latest, both Hans and Wolfgang. Pablo

[NTG-context] Re: Number in a circle

2024-05-28 Thread Pablo Rodriguez via ntg-context
On 5/28/24 17:47, Pablo Rodriguez via ntg-context wrote: > On 5/27/24 19:10, Kip Warner wrote: >> [...] >>to say pt, for printer's55points. two letters. >> >> I'm not sure what it is referring to. > > fw is a new dimensio unit only available in LMTX (not in LuaTeX). Sorry for the noise. I

[NTG-context] Re: Number in a circle

2024-05-28 Thread Pablo Rodriguez via ntg-context
On 5/27/24 19:10, Kip Warner wrote: > [...] > Thanks Wolfgang. I gave it a try on https://context-on-web.eu/, but it > failed: > >Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, >bp, dk, or54sp; but yours is a new one! I'll assume that you meant >to say pt, for

[NTG-context] Re: Number in a circle

2024-05-28 Thread Wolfgang Schuster
Kip Warner schrieb am 28.05.2024 um 06:29: On Mon, 2024-05-27 at 19:44 +0200, Wolfgang Schuster wrote: You can use the \framed solution and modify it to use a metapost graphic as background, it also easy to replace the circle with a hexagon etc. \startuseMPgraphic{textcircle} draw

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-28 Thread Denis Maier via ntg-context
Well, you define less levels than you need. Try this : % \definesectionlevels [default] [ %chapter, % uncomment this line to make it work section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] \starttext

[NTG-context] lua error in `strc-lev.lua`

2024-05-28 Thread Sylvain Hubert
ConTeXt LMTX version: 2024.05.27 18:16 Reproducible example: \definesectionlevels [default] [section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] \starttext \startsectionlevel \startsectionlevel \startsectionlevel \startsectionlevel \startsectionlevel \startsectionlevel

[NTG-context] Re: Number in a circle

2024-05-28 Thread Henning Hraban Ramm
Am 27.05.24 um 19:20 schrieb Kip Warner: On Mon, 2024-05-27 at 07:09 +0200, Ryszard Kubiak wrote: Hi Kip, You may try characters with Unicode slots from U+2460 upto U+2469. They mean circled digits and are available in many fonts. Thanks Ryszard. Those would be perfect, except I can't get

[NTG-context] Re: BibTeX choking on comments in database

2024-05-28 Thread Henning Hraban Ramm
Am 28.05.24 um 01:24 schrieb Kip Warner: Hello list, I am using BibTeX under ConTeXt to typeset a publication. I noticed while building the publication ConTeXt raises the following non-fatal warning: ... This is BibTeX, Version 0.99d (TeX Live 2023/Debian) The top-level auxiliary

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
On Mon, 2024-05-27 at 19:44 +0200, Wolfgang Schuster wrote: > You can use the \framed solution and modify it to use a metapost > graphic as background, it also easy to replace the circle with a > hexagon etc. > > \startuseMPgraphic{textcircle} > draw fullcircle > xscaled

[NTG-context] BibTeX choking on comments in database

2024-05-27 Thread Kip Warner
Hello list, I am using BibTeX under ConTeXt to typeset a publication. I noticed while building the publication ConTeXt raises the following non-fatal warning: ... This is BibTeX, Version 0.99d (TeX Live 2023/Debian) The top-level auxiliary file: Secret_Sauce.aux The style file:

[NTG-context] Re: Number in a circle

2024-05-27 Thread vm via ntg-context
if you make width and hwight 1.4en instead of 1.5em, the characters will align with the running text. \defineframed [textcircled] [ width=1.4em, height=1.4em, location=low, corner=round, %radius=.5fw, radius=\dimexpr\framedwidth/2\relax, offset=none]

[NTG-context] Re: Number in a circle

2024-05-27 Thread Wolfgang Schuster
Kip Warner schrieb am 27.05.2024 um 19:23: On Mon, 2024-05-27 at 05:43 -0400, seyal zavira wrote: if you don't want to use metapost you can also use svg for background for example: \startuniqueMPgraphic{centered_svg}   draw lmt_svg [     filename = "badge.svg",     width  = OverlayWidth,  

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
On Mon, 2024-05-27 at 19:28 +0200, Wolfgang Schuster wrote: > TeX complains about the value ".5fw" for the radius key. Hans added > last year the function to add new units to ConTeXt and I used it to > set the radius to half of the width of the framed box. > > Use the following version of the

[NTG-context] Re: Number in a circle

2024-05-27 Thread Wolfgang Schuster
Kip Warner schrieb am 27.05.2024 um 19:10: On Mon, 2024-05-27 at 16:51 +0200, Wolfgang Schuster wrote: I can't provide a circle but I can give you a box with rounded corners. \defineframed    [textcircled]    [   width=1.5em,   height=1.5em,     location=low,   corner=round,  

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
On Mon, 2024-05-27 at 05:43 -0400, seyal zavira wrote: > if you don't want to use metapost you can also use svg for background > for example: > > \startuniqueMPgraphic{centered_svg} >   draw lmt_svg [ >     filename = "badge.svg", >     width  = OverlayWidth, >     y      = OverlayHeight/2,  ] ;

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
On Mon, 2024-05-27 at 07:09 +0200, Ryszard Kubiak wrote: > Hi Kip, > > You may try characters with Unicode slots from U+2460 upto U+2469. > They mean circled digits and are available in many fonts. Thanks Ryszard. Those would be perfect, except I can't get them to work in ConTeXt. I tried using

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
On Mon, 2024-05-27 at 16:51 +0200, Wolfgang Schuster wrote: > I can't provide a circle but I can give you a box with rounded > corners. > > \defineframed >    [textcircled] >    [   width=1.5em, >   height=1.5em, >     location=low, >   corner=round, >   radius=.5fw, >  

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

2024-05-27 Thread Cron Daemon
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-lmt.zip context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip

[NTG-context] Re: bug tracker

2024-05-27 Thread Hans Hagen via ntg-context
On 5/27/2024 3:46 PM, Peter Münster wrote: Is there a bug tracker for ConTeXt? (It seems, that https://tracker.luatex.org/ is no more used...) just mail to the list as bugs are normally either solved fast or becoem features Hans

[NTG-context] Re: Number in a circle

2024-05-27 Thread Wolfgang Schuster
Kip Warner schrieb am 27.05.2024 um 06:14: Hello list, I would like to typeset a number in a circle. Nothing fancy. No special colours, transforms, or complex metapost magic (which I am not familiar with). I have tried \circled{3} and \textcircled{3}, but ConTeXt does not appear to recognize

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

2024-05-27 Thread ai2472206007
Thanks for your reply, I found out that I just deleted the code 'default=cn', and it actually worked. With just this code system can install the language normally, and then get the correct 'labeltext'. %%% \installlanguage [zh-tw] [patterns=cn]% install traditional chinese %%%

[NTG-context] bug tracker

2024-05-27 Thread Peter Münster
Hi, Is there a bug tracker for ConTeXt? (It seems, that https://tracker.luatex.org/ is no more used...) TIA for any hints, -- Peter ___ If your question is of interest to others as well, please add an

[NTG-context] Re: Number in a circle

2024-05-27 Thread seyal zavira
if you don't want to use metapost you can also use svg for background for example: \startuniqueMPgraphic{centered_svg} draw lmt_svg [ filename = "badge.svg", width = OverlayWidth, y = OverlayHeight/2, ] ; \stopuniqueMPgraphic \defineoverlay [svgback]

[NTG-context] Re: Number in a circle

2024-05-26 Thread Ryszard Kubiak
Hi Kip, You may try characters with Unicode slots from U+2460 upto U+2469. They mean circled digits and are available in many fonts. Best, Ryszard pon., 27 maj 2024 o 06:39 Kip Warner napisał(a): > Hello list, > > I would like to typeset a number in a circle. Nothing fancy. No special >

[NTG-context] Number in a circle

2024-05-26 Thread Kip Warner
Hello list, I would like to typeset a number in a circle. Nothing fancy. No special colours, transforms, or complex metapost magic (which I am not familiar with). I have tried \circled{3} and \textcircled{3}, but ConTeXt does not appear to recognize these commands. Any help appreciated. --

[NTG-context] Re: wrong font scaling in LMTX?

2024-05-26 Thread Pablo Rodriguez via ntg-context
On 5/26/24 20:50, Wolfgang Schuster wrote: > [...] > I get the same results with the default font mode in MkIV and LMTX but > when I add > > \enableexperiments[fonts.compact] > > the x and xx sizes are wrong. Many thanks for your reply, Wolfgang. I tend to forget that I have always compact fonts

[NTG-context] Re: wrong font scaling in LMTX?

2024-05-26 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 26.05.2024 um 12:38: Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[mainface][ss][TeX Gyre Heros] [scale=0.125] \setupbodyfont[mainface]

[NTG-context] Re: page number

2024-05-26 Thread Wolfgang Schuster
Charles Doherty via ntg-context schrieb am 26.05.2024 um 11:27: Dear Wolfgang, I have a book in preparation with running heads. Pagenumber marking |marking Pagenumber The chapter title page has empty headings. The publisher would like the page number centered on the Chapter

[NTG-context] wrong font scaling in LMTX?

2024-05-26 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[mainface][ss][TeX Gyre Heros] [scale=0.125] \setupbodyfont[mainface] \starttext \startTEXpage[pagestate=start, offset=1em]

[NTG-context] Re: page number

2024-05-26 Thread Mikael Sundqvist
Hi Charles, On Sun, May 26, 2024 at 11:39 AM Charles Doherty via ntg-context wrote: > > Dear Wolfgang, > > I have a book in preparation with running heads. > > > Pagenumber marking |marking Pagenumber > > The chapter title page has empty headings. > > The publisher would like the

[NTG-context] page number

2024-05-26 Thread Charles Doherty via ntg-context
Dear Wolfgang, I have a book in preparation with running heads. Pagenumber marking |marking Pagenumber The chapter title page has empty headings. The publisher would like the page number centered on the Chapter title page. I manage to put it there but I don’t want it to run on

[NTG-context] Re: simplify side by side Poems

2024-05-25 Thread seyal . zavira
Thanks so much i also could define poem structure like this: Using table method: \protected\def\PoemStart#1\PoemStop {\bTABLE[setups=tablepoem]#1\eTABLE} \protected\def\Beyt#1 {\bTR #1 \eTR} \protected\def\Misra#1 {\bTD #1 \eTD} \starttext \PoemStart \Beyt{\Misra{the first

[NTG-context] Re: Problem with PNG images in the latest standalone version

2024-05-24 Thread Hajtmar Jaroslav
Thanks Wolfgang for the analysis and explanation. Both pictures are "not from my workshop" and I received them as background material. Moreover, I have reduced them a lot today for the purpose of sending them to the conference (I have reduced the quality a lot to reduce their size). Strangely,

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

2024-05-24 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 24.05.2024 um 16:39: 3. In general, it is enough to distinguish between Chinese Simplified Chinese and Chinese Traditional. Chinese has a large number of Chinese characters, therefore the fonts produced are generally divided into Chinese Simplified and Chinese

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

2024-05-24 Thread ai2472206007
3. In general, it is enough to distinguish between Chinese Simplified Chinese and Chinese Traditional. Chinese has a large number of Chinese characters, therefore the fonts produced are generally divided into Chinese Simplified and Chinese Traditional. This causes Chinese Simplified Chinese

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

2024-05-24 Thread ai2472206007
Thanks for the reply, the part about fonts is no problem on my system. ___ 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: How to Define a New Language

2024-05-24 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 24.05.2024 um 14:05: Hello, everyone. As the title describes, I want to define a new language: Chinese Traditional. Based on what I could find on the Internet, I made these settings. But I couldn't get the results I wanted. %%%start example

[NTG-context] Re: Problem with PNG images in the latest standalone version

2024-05-24 Thread Wolfgang Schuster
Hajtmar Jaroslav schrieb am 24.05.2024 um 13:48: Hello, thanx for reply. PNG and JPG files are available at the URL given, as well as PDF documents with the compilation results. The old ConTeXt seems to be able to embed PNGs from the local disk, but no longer from a remote address. The new

[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" --all

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

2024-05-24 Thread ai2472206007
and ,I've found that along with the language, there is also a 'mode', and when I define a new language, does I also define such a new mode, like 'startmode[*en]stopmode'? ___ If your question is of interest to others

[NTG-context] How to Define a New Language

2024-05-24 Thread ai2472206007
Hello, everyone. As the title describes, I want to define a new language: Chinese Traditional. Based on what I could find on the Internet, I made these settings. But I couldn't get the results I wanted. %%%start example \usetypescriptfile[osx] \setupbodyfont [stfangsong] \unprotect

[NTG-context] Re: Problem with PNG images in the latest standalone version

2024-05-24 Thread Hajtmar Jaroslav
Hello, thanx for reply. PNG and JPG files are available at the URL given, as well as PDF documents with the compilation results. The old ConTeXt seems to be able to embed PNGs from the local disk, but no longer from a remote address. The new ConTeXt handles both local and remote PNG image in

[NTG-context] Re: Problem with PNG images in the latest standalone version

2024-05-24 Thread Wolfgang Schuster
Thangalin schrieb am 24.05.2024 um 07:56: Hajtmar, please provide a complete, self-contained, minimal working example. Yes, a example and the problematic images are needed because a simple test with mill.png which is part of ConTeXt shows no problems but image formats are more complex than

[NTG-context] Re: Problem with PNG images in the latest standalone version

2024-05-23 Thread Thangalin
Hajtmar, please provide a complete, self-contained, minimal working example. See http://www.sscce.org/ for details. On Thu, May 23, 2024 at 3:43 PM Hajtmar Jaroslav wrote: > Hello. > After a long time of using ConText from TeXlive installation I tried the > standalone version again. > I found

[NTG-context] Problem with PNG images in the latest standalone version

2024-05-23 Thread Hajtmar Jaroslav
Hello. After a long time of using ConText from TeXlive installation I tried the standalone version again. I found that my old documents that I normally compile exclusively with the old ConText ver: 2018.04.04 00:51 MKIV beta fmt: 2019.5.2 latest version of standalone ConText compiles smoothly,

[NTG-context] Re: simplify side by side Poems

2024-05-23 Thread Wolfgang Schuster
seyal.zav...@gmail.com schrieb am 23.05.2024 um 18:59: Thanks so much but what should a person do if he wants to define an equivalent of \eTD? for example it can be useful for RTL language such as: \def\پسل{\eTD} and as you said this code will not work. You can create your own replacement for

[NTG-context] Re: simplify side by side Poems

2024-05-23 Thread seyal . zavira
Thanks so much but what should a person do if he wants to define an equivalent of \eTD? for example it can be useful for RTL language such as: \def\پسل{\eTD} and as you said this code will not work. ___ If your

[NTG-context] Re: Suppress pagenumber

2024-05-23 Thread Wolfgang Schuster
Thomas Meyer schrieb am 23.05.2024 um 16:34: Need Help! I'm standing in front of the barn door ... How can I suppress the pagenumber only on the first page? \starttext \noheaderandfooterlines \dorecurse{10}{\samplefile{lorem}} \stoptext Wolfgang

[NTG-context] Suppress pagenumber

2024-05-23 Thread Thomas Meyer
Need Help! I'm standing in front of the barn door ... How can I suppress the pagenumber only on the first page? Thanks in advance Thomas___ If your question is of interest to others as well, please add an entry to

[NTG-context] Re: simplify side by side Poems

2024-05-23 Thread Wolfgang Schuster
seyal.zav...@gmail.com schrieb am 23.05.2024 um 14:13: Hi all, i want to use tables for constructing poems structure this snippet of code works well: \startsetups tablepoem \setupTABLE[column][each][width=5cm] \stopsetups \starttext \bTABLE[setups=tablepoem] \bTR \bTD One one ons ksl \eTD

[NTG-context] simplify side by side Poems

2024-05-23 Thread seyal . zavira
Hi all, i want to use tables for constructing poems structure this snippet of code works well: \startsetups tablepoem \setupTABLE[column][each][width=5cm] \stopsetups \starttext \bTABLE[setups=tablepoem] \bTR \bTD One one ons ksl \eTD \bTD two gfjgfd oski kwo \eTD \eTR \bTR \bTD One wer s dft

[NTG-context] Re: Playing with math font setup

2024-05-21 Thread Hans Hagen
On 5/21/2024 4:40 PM, Ali Ali wrote: Hi, hope everyone's doing well! Is it possible to setup math font so that all the basic ascii characters (i.e. a..zA..Z0..9) glyphs are substituted with current serif (or sans) font. I tried playing with fallback thing but it didn't got me anywhere! e.g.

[NTG-context] Playing with math font setup

2024-05-21 Thread Ali Ali
Hi, hope everyone's doing well! Is it possible to setup math font so that all the basic ascii characters (i.e. a..zA..Z0..9) glyphs are substituted with current serif (or sans) font. I tried playing with fallback thing but it didn't got me anywhere! e.g. $x$ will use the 'x' glyph from current

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread Luc Chabassier
Excerpts from Wolfgang Schuster's message of May 21, 2024 3:54 pm: > Luc Chabassier schrieb am 21.05.2024 um 15:35: >> Excerpts from Hans Hagen's message of May 21, 2024 11:45 am: >>> concerning notes in the margin ... did you try the built in magin text >>> mechanisms? >> I did, but as far as I

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread Wolfgang Schuster
vm via ntg-context schrieb am 21.05.2024 um 16:07: On 21/05/2024 15:54, Wolfgang Schuster wrote: \setupmarginblocks[inbetween=] \starttext \dorecurse{100}    {\bold{#1:} \samplefile{ward}%     \startmarginblock Note #1\stopmarginblock     \par} \stoptext when I compile this, i get per

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread vm via ntg-context
just noticed that if the notes need more margin space then are pages available by the text, they get lost. e.g. this mwe generates 10 pages with 100 par but only 80 notes will show up. \setupmarginblocks[inbetween=] \starttext \dorecurse{100} {\bold{#1:} \samplefile{ward}%

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread vm via ntg-context
On 21/05/2024 15:54, Wolfgang Schuster wrote: \setupmarginblocks[inbetween=] \starttext \dorecurse{100}   {\bold{#1:} \samplefile{ward}%    \startmarginblock Note #1\stopmarginblock    \par} \stoptext when I compile this, i get per page with \par 1..10 -> the notes 1..11 \par 11..20

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread Wolfgang Schuster
Luc Chabassier schrieb am 21.05.2024 um 15:35: Excerpts from Hans Hagen's message of May 21, 2024 11:45 am: you have to provide some mwe so that we can see what is intended; in principle much info is available one way or the other I joined a minimal working example. The lua function

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread Hans Hagen
On 5/21/2024 10:26 AM, Luc Chabassier wrote: Hi everyone, I have recently migrated my PhD dissertation from LaTeX to ConTeXt. In LaTeX I was using kaobook, a template with lots of margin notes, but I was frustrated with the automatic placement of the notes. I implemented a system using

[NTG-context] LUA API for page numbers

2024-05-21 Thread Luc Chabassier
Hi everyone, I have recently migrated my PhD dissertation from LaTeX to ConTeXt. In LaTeX I was using kaobook, a template with lots of margin notes, but I was frustrated with the automatic placement of the notes. I implemented a system using overlays that automatically places the notes using

[NTG-context] Re: defining hashtag simulator

2024-05-20 Thread Hans Hagen
On 5/20/2024 8:01 AM, seyal.zav...@gmail.com wrote: Thanks. What if we want the text to be copied when it is clicked? I found these link on the stack site for this https://tex.stackexchange.com/questions/174637/copy-to-clipboard-feature-in-pdf-output/545107#545107 also i defined this:

[NTG-context] Re: luatex doesn't see installed 3rd party module

2024-05-20 Thread Arthur Rosendahl via ntg-context
On Mon, May 20, 2024 at 02:31:29AM +0400, and...@borisov.dev wrote: > Correction for misspelling : `context --latex` —> `context --luatex` It was a funny typo ;-) Arthur ___ If your question is of interest

[NTG-context] Re: Special charakter

2024-05-20 Thread Thomas Meyer
Thank you Axel for the hint! Thank you Hraban for the keylayout! Greetings Thomas Am 19.05.24 um 07:16 schrieb Axel Kielhorn: Am 18.05.24 um 11:17 schrieb Thomas Meyer: Hi folks, I have problems to produce the polish l. \l gives ł, but \L gives nothing! How can I write Łódź (on a Mac)?

[NTG-context] Re: luatex doesn't see installed 3rd party module

2024-05-20 Thread Hans Hagen via ntg-context
On 5/20/2024 12:38 AM, and...@borisov.dev wrote: Hello! I’ve installed a 3rd party module by copying its TDS folder structure and invoking `context --generate` as described in https://wiki.contextgarden.net/Modules#ConTeXt_LMTX When I compile my project with `context` (using LuaMetaTeX),

[NTG-context] Re: defining hashtag simulator

2024-05-20 Thread Hans Hagen via ntg-context
On 5/20/2024 8:01 AM, seyal.zav...@gmail.com wrote: Thanks. What if we want the text to be copied when it is clicked? I found these link on the stack site for this https://tex.stackexchange.com/questions/174637/copy-to-clipboard-feature-in-pdf-output/545107#545107 also i defined this:

[NTG-context] Re: How to disable hyphenation at the end of a line?

2024-05-20 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 20.05.2024 um 03:30: I'm using mostly default ConTeXt settings, but an editor has warned I should avoid using hyphenation at the end of lines--at least for my particular audience. I've found manual text that says how to disable specific words from being

[NTG-context] Re: defining hashtag simulator

2024-05-20 Thread seyal . zavira
Thanks. What if we want the text to be copied when it is clicked? I found these link on the stack site for this https://tex.stackexchange.com/questions/174637/copy-to-clipboard-feature-in-pdf-output/545107#545107 also i defined this: \def\Hashtag#1{ \hbox{\tfa\ctxlua{ str = "#1"

[NTG-context] Re: How to disable hyphenation at the end of a line?

2024-05-19 Thread Mikael Sundqvist
Hi, since it has to do with paragraph building and not with certain breaks it is controlled by a demerits rather than a penalty, and there is, as far as I know, no value that explicitly prohibits a hyphen at the last line specifically (you can set the hyphenpenalty to 1 to avoid hyphenations

[NTG-context] How to disable hyphenation at the end of a line?

2024-05-19 Thread Joel via ntg-context
I'm using mostly default ConTeXt settings, but an editor has warned I should avoid using hyphenation at the end of lines--at least for my particular audience. I've found manual text that says how to disable specific words from being hyphenated. Is there a whole-document switch to disable it?

[NTG-context] Re: luatex doesn't see installed 3rd party module

2024-05-19 Thread andrei
Correction for misspelling : `context --latex` —> `context --luatex` > On May 20, 2024, at 02:29, and...@borisov.dev wrote: > > Hello! > > I’ve installed a 3rd party module by copying its TDS folder structure and > invoking `context --generate` as described in >

[NTG-context] Re: luatex doesn't see installed 3rd party module

2024-05-19 Thread andrei
Correction for misspelling : `context --latex` —> `context --luatex` ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] luatex doesn't see installed 3rd party module

2024-05-19 Thread andrei
Hello! I’ve installed a 3rd party module by copying its TDS folder structure and invoking `context --generate` as described in https://wiki.contextgarden.net/Modules#ConTeXt_LMTX When I compile my project with `context` (using LuaMetaTeX), it's found and works just fine; however, when I try

[NTG-context] luatex doesn't see installed 3rd party module

2024-05-19 Thread andrei
Hello! I’ve installed a 3rd party module by copying its TDS folder structure and invoking `context --generate` as described in https://wiki.contextgarden.net/Modules#ConTeXt_LMTX When I compile my project with `context` (using LuaMetaTeX), it's found and works just fine; however, when I try

[NTG-context] Re: build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread Hans Hagen via ntg-context
On 5/19/2024 2:29 PM, garu...@azules.eu wrote: I still get some difficulties with build_parshape, \getshapetex and sectionning. I though I find a solution by removing \blank with \setuphead [subsection] [before=, after=, style=, command=\MySubSectionCommand, alternative=text ] But

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-05-19 Thread garulfo
> So is the plan to go through each of the main headings in the left side-bar > and make the same type of change? Yes. Maybe new ones will have to be added ___ If your question is of interest to others as well,

[NTG-context] build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread garulfo
I still get some difficulties with build_parshape, \getshapetex and sectionning. I though I find a solution by removing \blank with \setuphead [subsection] [before=, after=, style=, command=\MySubSectionCommand, alternative=text ] But actually it's not enough : when I add text before the

[NTG-context] Re: MyWay from dl.contextgarden.net

2024-05-19 Thread garulfo
Thanks Wolfgang, links are up-to-date https://wiki.contextgarden.net/This_Way_-_My_Way#MyWay ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

  1   2   3   4   5   6   7   8   9   10   >