[NTG-context] Issue with bibliographical items in footnotes

2025-07-26 Thread Jean-Pierre Delange via ntg-context
dynamique de l'{Occident}}, year = {2010}, address= {Paris}, edition= {Flammarion}, isbn = {978-2-08-123750-6}, month = sep, language = {Français}, shorttitle = {Les métamorphoses de la cité}, } @Book{manent-loi2018, author= {Manent, Pierre},

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

2025-07-12 Thread Hans Hagen via ntg-context
is what we focus on, that is the (small but appreciating) audience we have. Just watch the youtube videos about the voyager and how they fix things on a distance, or the appollo lander computers .. much we brag about today was (conceptually) invented then. It's the time I picked up on

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

2025-07-12 Thread Max Chernoff via ntg-context
on MathML is probably the best way forwards. > You need to keep in mind that when we started with all this there were > no programs that did anything useful with tagging, Viewer support is still very weak---MathML only works with Foxit and a version of NVDA released less than a month ago.

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

2025-07-07 Thread Pablo Rodriguez via ntg-context
ing (or breaking) it first. > [...] > Did you test it with ua 1 replaced by ua 2 ? No, it works fine. Sorry, but with lines such as: description= { pua = "ua1", pdf = "Note" }, `pua = "ua1"` made me think that it was UA-1 only. > If needed we can

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

2025-07-07 Thread Hans Hagen via ntg-context
can pick up on it next month or so unless there are clean and easy additions to make (we're currently not in that mode and it's not the most interesting stuff to play with so we like to concentrate it, and the more it rains the better). Thanks for looking into it (I have

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

2025-06-11 Thread Benjamin Buchmuller
end context.type(os.date("%X", os.time(datetable))) end \stopluacode \def\mytime#1#2{\ctxlua{userdata.mytime([==[#1]==], [==[#2]==])}} \mytime{year=1970, month=1, day=1, hour=0, sec=1}{} However, I don't know how to convert/handle th

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

2025-06-10 Thread Hans Hagen
e primitive is not correctly overloaded? Or (more likely) I'm not doing it right to get the mkxl file being executed. :-) Regarding the formatting, maybe this could be constructed similarly to \date[d=25,m=4,y=2008][weekday,month,day,{,~},year] one could specify similarly to other parsers

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

2025-06-10 Thread Benjamin Buchmuller
r (more likely) I'm not doing it right to get the mkxl file being executed. :-) Regarding the formatting, maybe this could be constructed similarly to \date[d=25,m=4,y=2008][weekday,month,day,{,~},year] one could specify similarly to other parsers where "m" is reserved for "month&qu

[NTG-context] Re: Enumerations: How to place an itemized list's index above an item's contents?

2025-05-14 Thread Bruce Horrocks
> On 14 May 2025, at 09:15, Michael Guravage > wrote: > > Greetings, > > I have 365 short poems; one for each day of the year. I thought I'd wrap each > month in an enumeration and use the item numbers as titles. My MWE raises > several questions: > >

[NTG-context] Enumerations: How to place an itemized list's index above an item's contents?

2025-05-14 Thread Michael Guravage
Greetings, I have 365 short poems; one for each day of the year. I thought I'd wrap each month in an enumeration and use the item numbers as titles. My MWE raises several questions: How do I center an index above its item? How do I keep an index and its item together? How do I keep an i

[NTG-context] Re: month form \currentdate in Roman numerals

2025-03-02 Thread Mohammad Hossein Bateni
On Sun, Mar 2, 2025, 8:00 AM Hans Hagen via ntg-context wrote: > On 2/28/2025 11:28 PM, Mohammad Hossein Bateni wrote: > > the following outputs "farsi" instead of "fa". is this the reason the > > translation of jalali month does not kick in? > >

[NTG-context] Re: month form \currentdate in Roman numerals

2025-03-02 Thread Hans Hagen via ntg-context
On 2/28/2025 11:28 PM, Mohammad Hossein Bateni wrote: the following outputs "farsi" instead of "fa". is this the reason the translation of jalali month does not kick in? We have these short and long names, and originally only had short ones, for efficiency reasons (like m

[NTG-context] Re: month form \currentdate in Roman numerals

2025-03-02 Thread Hans Hagen via ntg-context
On 2/28/2025 11:30 PM, Mohammad Hossein Bateni wrote: BTW why doesn't \setuplabeltext exist in the mtx-server-ctx-help? It does exist in setup-en.pdf and shows that it is an instance of \setupLABELtext. because it's a 'defined command' ... i could probably add it but it's not like there has b

[NTG-context] Re: month form \currentdate in Roman numerals

2025-02-28 Thread Mohammad Hossein Bateni
uot;. is this the reason the > translation of jalali month does not kick in? > > -- > \mainlanguage[fa] > \currentlanguage > -- > > strangely either of the following two lines changes the month name. > > -- > \setuplabeltext[en][february:jalali=test] > \setuplab

[NTG-context] Re: month form \currentdate in Roman numerals

2025-02-28 Thread Mohammad Hossein Bateni
the following outputs "farsi" instead of "fa". is this the reason the translation of jalali month does not kick in? -- \mainlanguage[fa] \currentlanguage -- strangely either of the following two lines changes the month name. -- \setuplabeltext[en][

[NTG-context] Re: month form \currentdate in Roman numerals

2025-02-27 Thread Mohammad Hossein Bateni
tdate[#1]{\persmap{\rawdate[#1]}} \mycurrentdate[jalali:to,dd,/,mm,/,y] even with \mainlanguage[fa] and \language[fa] I don't get the month names translated to persian labels. why? -- \mainlanguage[fa] \language[fa] \starttext \currentdate[month:jalali] \stoptext - On Fri, Feb 21,

[NTG-context] Re: month form \currentdate in Roman numerals

2025-02-21 Thread Wolfgang Schuster
Am 20.02.2025 um 19:53 schrieb Mohammad Hossein Bateni: Any thoughts why the following doesn't work? \currentdate[d:persiannumerals] It just outputs the normal digits. In contrast, these work: \currentdate[d:abjadnumerals] \convertnumber{persiannumerals}{\normalday} persiannumerals aren't c

[NTG-context] Re: month form \currentdate in Roman numerals

2025-02-20 Thread Mohammad Hossein Bateni
-context@ntg.nl> wrote: > On 12/6/24 15:39, Wolfgang Schuster wrote: > > [...] > > The \date (and \currentdate) command supports number conversion for the > > day and year values but not the month. > > > > \starttext > > \currentdate[d:R,space,space,y:R]

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-14 Thread Thomas Meyer
acode function userdata.Ddate(str)    local year  = string.sub(str,1,4)    local month = string.sub(str,5,6)    local day   = string.sub(str,7,8) context.date({d=day,m=month,y=year},{"weekday,{, },day, {. },month,space,year"}) end \stopluacode \def\DDate#1{\blank\noindentatio

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-13 Thread Wolfgang Schuster
={footer,middle}, alternative=onesided] onesided isn't a valid keyword for the alternative key, only singlesided and doublesided can be used. \setuplayout[     lines=44,     grid=yes, ] \showgrid \startluacode function userdata.Ddate(str)   local year  = string.sub(str,1,4)   local mo

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-13 Thread Thomas Meyer
s Hagen via ntg-context: On 2/13/2025 10:58 AM, Thomas Meyer wrote: \startluacode function userdata.Ddate(str)    local year  = string.sub(str,1,4)    local month = string.sub(str,5,6)    local day   = string.sub(str,7,8) context.date({d=day,m=month,y=year},{"weekday,{, },day, {. },mont

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-13 Thread Hans Hagen via ntg-context
On 2/13/2025 10:58 AM, Thomas Meyer wrote: \startluacode function userdata.Ddate(str)   local year  = string.sub(str,1,4)   local month = string.sub(str,5,6)   local day   = string.sub(str,7,8) context.date({d=day,m=month,y=year},{"weekday,{, },day, {. },month,space,year&qu

[NTG-context] prevent a kind of heading at the bottom of the page

2025-02-13 Thread Thomas Meyer
\setuplayout[     lines=44,     grid=yes, ] \showgrid \startluacode function userdata.Ddate(str)   local year  = string.sub(str,1,4)   local month = string.sub(str,5,6)   local day   = string.sub(str,7,8) context.date({d=day,m=month,y=year},{"weekday,{, },day,{. },month,space,year"}) end \s

[NTG-context] Re: upload

2025-02-12 Thread Steffen Wolfrum
Am 12.02.2025 um 12:05 schrieb Hans Hagen : > > Hi, > > Thanks to Bruce end others for providing input and testing it we managed to > get binary that works on apple arm. Hopefully there are not more issues as we > need to make a tex live 2025 snapshot

[NTG-context] upload

2025-02-12 Thread Hans Hagen
Hi, Thanks to Bruce end others for providing input and testing it we managed to get binary that works on apple arm. Hopefully there are not more issues as we need to make a tex live 2025 snapshot this month. Hans

[NTG-context] Re: How to load external lua library

2025-01-23 Thread Hans Hagen
ubtable type = "error", action = "process", data = { filename = "test-1", message = "whatever a" } } ) loggers.save(db, { -- variant 2: flat table type = "warning", action = "process", filename = "test-2", m

[NTG-context] How to load external lua library

2025-01-23 Thread krulis . tomas
ot;, data = { filename = "test-1", message = "whatever a" } } ) loggers.save(db, { -- variant 2: flat table type = "warning", action = "process", filename = "test-2", message = "whatever b" } ) local result = loggers.c

[NTG-context] Re: wiki update

2025-01-18 Thread Taco Hoekwater
Hi, That is amazing, thank you! You did an amazing amount of work: user Garulfoo did 4400+ page edits in the last month. Best wishes, Taco > On 18 Jan 2025, at 15:36, garu...@azules.eu wrote: > > Hi all, > > for your information, many significant changes have been d

[NTG-context] Re: Weird date output

2025-01-14 Thread Wolfgang Schuster
Am 13.01.2025 um 19:02 schrieb Hans Hagen: On 1/13/2025 5:43 PM, Wolfgang Schuster wrote: Am 12.01.2025 um 06:16 schrieb autumnus: Thank you for your explanation. Regarding the space after the month, will it be added to the ConTeXt in the future? I'm worried that after I patch it, it wi

[NTG-context] Re: Weird date output

2025-01-13 Thread Hans Hagen
On 1/13/2025 8:09 PM, Wolfgang Schuster wrote: Am 13.01.2025 um 19:02 schrieb Hans Hagen: On 1/13/2025 5:43 PM, Wolfgang Schuster wrote: Am 12.01.2025 um 06:16 schrieb autumnus: Thank you for your explanation. Regarding the space after the month, will it be added to the ConTeXt in the

[NTG-context] Re: Weird date output

2025-01-13 Thread Hans Hagen
On 1/13/2025 5:43 PM, Wolfgang Schuster wrote: Am 12.01.2025 um 06:16 schrieb autumnus: Thank you for your explanation. Regarding the space after the month, will it be added to the ConTeXt in the future? I'm worried that after I patch it, it will be overwritten when I update it later.

[NTG-context] Re: Weird date output

2025-01-13 Thread Wolfgang Schuster
Am 12.01.2025 um 06:16 schrieb autumnus: Thank you for your explanation. Regarding the space after the month, will it be added to the ConTeXt in the future? I'm worried that after I patch it, it will be overwritten when I update it later. It depends whether Hans includes the fix o

[NTG-context] Re: Weird date output

2025-01-12 Thread autumnus
I don't know why, the text is automatically added with spaces. The correct one should be: \currentdate[year,年,M,月,day,日] \currentdate[year:cn-d,年,month,day:cn,日] ___ If your question is of interest to othe

[NTG-context] Re: Weird date output

2025-01-12 Thread autumnus
-d,年,month,day:cn,日] : 二〇二五年一月十二日 The addition of spaces should only be added between numbers and kanji. The addition of spaces should take effect not only in the date, but in all texts. If you add a space it should be: 2025 年 1 月 12 日 (between numbers and kanji) 二〇二五年一月十二日 (no space

[NTG-context] Re: Weird date output

2025-01-12 Thread Tomáš Hála
Hi autumnus, I have got no experience with Chinese but I think it is possible to change it for the future. The current settings for Chinese has been defined as (file tex/texmf-context/tex/context/base/mkxl/lang-def.mkxl, line no. 655): \c!date={\v!year,年,\space,\v!month,\v!day,日} You can

[NTG-context] Re: Weird date output

2025-01-11 Thread autumnus
Thank you for your explanation. Regarding the space after the month, will it be added to the ConTeXt in the future? I'm worried that after I patch it, it will be overwritten when I update it later. autumnus _

[NTG-context] Re: Weird date output

2025-01-11 Thread Wolfgang Schuster
Am 11.01.2025 um 06:08 schrieb autumnus: hi, When I try to output the Chinese date with the command below, I find that it doesn't process the month at all. No matter how I try any of the "month,month:cn-a,month:cn-c,month:cn-d" conversions Unless I pre-set the labeltext for th

[NTG-context] Re: JPEG 2000 extensions

2025-01-11 Thread Jim
rt 2, but I can say I haven't seen such a thing yet. (In about a year and a half of using Part 2 images in a monthly newsletter I edit, I have only had one person complain once about not being able to see the images; this person is know

[NTG-context] Weird date output

2025-01-10 Thread autumnus
hi, When I try to output the Chinese date with the command below, I find that it doesn't process the month at all. No matter how I try any of the "month,month:cn-a,month:cn-c,month:cn-d" conversions Unless I pre-set the labeltext for the Chinese month. \definedfont[name:ad

[NTG-context] Re: playing with dates

2024-12-17 Thread Pablo Rodriguez via ntg-context
tring-\cldcontext{document.rcount}-last, week list, month label above left, month text={\feature[+][smallcaps]\%mt}, ] if (Sunday, equals=2025-04-20, equals=2025-04-18, equals=2025-04-19, equal

[NTG-context] Re: playing with dates

2024-12-16 Thread Aditya Mahajan
icture \calendar[dates=2025-01-01 to 2025-04-last,week list, month label above centered]; \stoptikzpicture \stoptext Also see https://tikz.dev/library-calender and https://texample.net/tikz/examples/feature/calendar-library/ (which, in principle, can be translated to ConTeXt rather

[NTG-context] Re: playing with dates

2024-12-16 Thread vm via ntg-context
ays = {"Sun ", "Mon ", "Tue ", "Wed ", "Thu ", "Fri ", "Sat "} local z = os.date("*t", os.time()) local nn = os.date("*t", os.time{year=z.year, month=z.month, day=z.day+dd}) --context(wdays[nn.wday] .. nn.

[NTG-context] Re: playing with dates

2024-12-16 Thread vm via ntg-context
On 16/12/2024 21:03, Pablo Rodriguez via ntg-context wrote: Besides, I think \normalday could be way more useful if it could increment the whole date, not only the day number. does this help? https://www.lua.org/pil/22.1.html > nn = os.date("*t", os.time{year=2024, month=

[NTG-context] Re: month form \currentdate in Roman numerals

2024-12-07 Thread Pablo Rodriguez via ntg-context
On 12/6/24 15:39, Wolfgang Schuster wrote: > [...] > The \date (and \currentdate) command supports number conversion for the > day and year values but not the month. > > \starttext > \currentdate[d:R,space,space,y:R] > \stoptext Many thanks for your fast reply, Wolfgang. I

[NTG-context] Re: month form \currentdate in Roman numerals

2024-12-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.12.2024 um 12:35: Dear list, I would like to get the current month in Roman numerals (just now, it would be XII for December). The best I get is: \currentdate[\cldcontext{converters['R'] (tonumber(os.date("\letterpercent m&qu

[NTG-context] month form \currentdate in Roman numerals

2024-12-06 Thread Pablo Rodriguez via ntg-context
Dear list, I would like to get the current month in Roman numerals (just now, it would be XII for December). The best I get is: \currentdate[\cldcontext{converters['R'] (tonumber(os.date("\letterpercent m", os.date(os.time()}] This strikes me as too complex (

[NTG-context] Some suggestions for the current lang-txt.lua file and some questions about setting the labeltext and date

2024-10-24 Thread ai2472206007
tion => => {"第","項"} % %%% date related % % All Chinese months should be changed to Arabic numerals. % % Although month originally corresponded to a long name % % Because it is possible to switch to Chinese capital numbers % % in its entirety by a

[NTG-context] Re: Values from Lua back to ConTeXt

2024-10-03 Thread Thomas Meyer
,space,day,space,month,space,year”} so that I get a comma after weekday and a period after day? Where can I find something about this? Aside from keywords like day, weekday etc. the \date (and \currentdate) commands allows free input which used as separator between these keywords. To set a

[NTG-context] Re: Values from Lua back to ConTeXt

2024-10-03 Thread Wolfgang Schuster
Thomas Meyer schrieb am 03.10.2024 um 10:59: Thank you very much, Wolfgang, that helps me a lot. But how can I change the formatting {“weekday,space,day,space,month,space,year”} so that I get a comma after weekday and a period after day? Where can I find something about this? Aside from

[NTG-context] Re: Values from Lua back to ConTeXt

2024-10-03 Thread Thomas Meyer
Thank you very much, Wolfgang, that helps me a lot. But how can I change the formatting {“weekday,space,day,space,month,space,year”} so that I get a comma after weekday and a period after day? Where can I find something about this? Thanks again and have a nice day Thomas Am 02.10.24 um 19

[NTG-context] Re: Values from Lua back to ConTeXt

2024-10-02 Thread Wolfgang Schuster
Thomas Meyer schrieb am 02.10.2024 um 15:44: Hello, what do I have to do so that the values (d1, m1, y1) from the Lua block are returned with Return and the commented out line \date[d=d1,m=m1,y=y1][weekday,{,~},day,{.~},month,{~},year] works in ConTeXt. In other words: how do I do it right

[NTG-context] Values from Lua back to ConTeXt

2024-10-02 Thread Thomas Meyer
Hello, what do I have to do so that the values (d1, m1, y1) from the Lua block are returned with Return and the commented out line \date[d=d1,m=m1,y=y1][weekday,{,~},day,{.~},month,{~},year] works in ConTeXt. In other words: how do I do it right? Thank you in advance Greetings Thomas PS

[NTG-context] Re: upload

2024-08-01 Thread Hans Hagen
On 8/1/2024 9:21 AM, Henning Hraban Ramm wrote: Am 31.07.24 um 19:55 schrieb Hans Hagen via ntg-context: Hi, end of the month update: - we are still working on the math manual so updates there (we want the manual to stable for the upcoming meeting) - we also work on the export (some

[NTG-context] Re: upload

2024-08-01 Thread Henning Hraban Ramm
Am 31.07.24 um 19:55 schrieb Hans Hagen via ntg-context: Hi, end of the month update: - we are still working on the math manual so updates there (we want the manual to stable for the upcoming meeting) - we also work on the export (some changes and additions there but we will conver that

[NTG-context] Re: upload

2024-07-31 Thread Henning Hraban Ramm
Sound great, thanks! I just don’t dare to update with printing deadlines approaching… Hraban Am 31.07.24 um 19:55 schrieb Hans Hagen via ntg-context: Hi, end of the month update: - we are still working on the math manual so updates there (we want the manual to stable for the upcoming

[NTG-context] upload

2024-07-31 Thread Hans Hagen via ntg-context
Hi, end of the month update: - we are still working on the math manual so updates there (we want the manual to stable for the upcoming meeting) - we also work on the export (some changes and additions there but we will conver that plus some new tools later when we're done, read

[NTG-context] Re: Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-16 Thread Bruce Horrocks
pective pocketdiary directories > Solar and Moonphase and run mtxrun --generate. > > Your suggestion of the Day key was the first thing I tried myself. > Unfortunately, it has no effect. > > Thanks for thinking along. The month table layout is hard-coded in line 515 of file

[NTG-context] Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Michael Guravage
do local monthname = string.lower(os.date("%B", os.time{year=year,month=i,day=1})) context.startplacefigure({number="",title=""}) context.externalfigure({i}, {width = "0.8\\textwidth"}) context.stopplacefigure() context

[NTG-context] Re: self defined conversion in \date

2024-05-30 Thread Wolfgang Schuster
context"1\\ier" else context(s) end end } \stopluacode \def\ier{\highordinalstr{er}} \mainlanguage[fr] \defineconversion[frd][\FRdate] \setuplanguage[fr][date={day:frd,\ ,month,\ ,year}] \starttext Conversion: \convertnumber

[NTG-context] Re: self defined conversion in \date

2024-05-30 Thread Peter Münster
else context(s) end end } \stopluacode \def\ier{\highordinalstr{er}} \mainlanguage[fr] \defineconversion[frd][\FRdate] \setuplanguage[fr][date={day:frd,\ ,month,\ ,year}] \starttext Conversion: \convertnumber{frd}{1}, \convertnumber{frd}{2} (OK)\\ Dates: \date[

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

2024-05-29 Thread Kip Warner
iography... % References database and other general settings... \setupbibtex[database={./References}, sort=author] % Global settings... \setuppublications[ alternative=apa, numbering=yes, monthconversion=month, autohang=yes, sortt

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

2024-04-06 Thread Henning Hraban Ramm
Quoting a post by Philipp Kiff, https://mastodon.social/@pkiff/11221949350928: In amongst the release of PDF/UA-2 (PDF for Universal Accessibility) and the new Well-Tagged PDF (WTPDF) standard last month, some PDF professionals may have missed two other new resources that may help

[NTG-context] Re: upload

2024-04-01 Thread Otared Kavian
upport for envelopes (penbased outlines) in metafun. This is still work in progress, some is present and discussed in the manual, and we'll come back to that sometime next month. Given the next item, we also might need to change some in the manual (different focus).-- Because we have users

[NTG-context] Re: upload

2024-04-01 Thread Mikael Sundqvist
in progress, some is present and discussed in the manual, and > we'll come back to that sometime next month. Given the next item, we > also might need to change some in the manual (different focus). > > -- Because we have users who have to conform to the European > Accessibility

[NTG-context] upload

2024-04-01 Thread Hans Hagen
the (eg luametafun manual). -- The math manual is not yet there because we were distracted by improving support for envelopes (penbased outlines) in metafun. This is still work in progress, some is present and discussed in the manual, and we'll come back to that sometime next month. Give

[NTG-context] Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04

2024-02-14 Thread Henning Hraban Ramm
e is no binaries and the tex tree doesn't exist. It seems that make require a folder in which to create the compiled files. Any help? Alain Le 13-02-24 à 18:21, Henning Hraban Ramm a écrit : Am 13.02.24 um 17:29 schrieb Alain Delmotte: Hi, A month or so ago Hans provided a new uplo

[NTG-context] Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04

2024-02-13 Thread Alain Delmotte
écrit : Am 13.02.24 um 17:29 schrieb Alain Delmotte: Hi, A month or so ago Hans provided a new upload (thanks I managed to get and install it on my Windows 10 64b). At that time I was struggling for having my computers back in order (that appends sometimes). Now I'd like to have LMTX

[NTG-context] Re: Context lmtx for 32bit under LUBUNTU 18.04

2024-02-13 Thread Henning Hraban Ramm
Am 13.02.24 um 17:29 schrieb Alain Delmotte: Hi, A month or so ago Hans provided a new upload (thanks I managed to get and install it on my Windows 10 64b). At that time I was struggling for having my computers back in order (that appends sometimes). Now I'd like to have LMTX on an ol

[NTG-context] Context lmtx for 32bit under LUBUNTU 18.04

2024-02-13 Thread Alain Delmotte
Hi, A month or so ago Hans provided a new upload (thanks I managed to get and install it on my Windows 10 64b). At that time I was struggling for having my computers back in order (that appends sometimes). Now I'd like to have LMTX on an old but still used (when travelling) portable

[NTG-context] Re: Hyphenation for Indonesian language

2023-12-29 Thread Hans Hagen
pload Btw, Tomas Hala is currently working on (among some other languages) Indonesian with his students (labels etc) so next month that will likely show up. Hans - Hans Hagen | PRAGM

[NTG-context] Re: Support Chinese Date Conversion

2023-11-29 Thread Yihan Song
potential number conversions. And I just realize, for Chinese date, only year section follows the as-is pattern, for month or day, December should be represented as 十二月 instead of 一二, twenty-sixth is 二十六日 instead of 二六, we might need to consider to narrow down the name to be year could be more p

[NTG-context] Re: usage of conversion in \date

2023-11-29 Thread Peter Münster
On Wed, Nov 29 2023, Hans Hagen wrote: > \setuplanguage[fr][date={day:++,\ ,month,\ ,year}] Unfortunately this does not work as I need. Only the "1" should be converted to 1er, not the other numbers. French is a bit special: You say "le premier novembre" but not "

[NTG-context] Re: usage of conversion in \date

2023-11-29 Thread Hans Hagen
\\ier" else context(s) end end } \stopluacode \def\ier{\highordinalstr{er}} \mainlanguage[fr] \defineconversion[frd][\FRdate] \setuplanguage[fr][date={day:frd,\ ,month,\ ,year}] \starttext Conversion: \convertnumber{frd}{1}, \convertnumber{frd}{2} (OK

[NTG-context] usage of conversion in \date

2023-11-28 Thread Peter Münster
end end } \stopluacode \def\ier{\highordinalstr{er}} \mainlanguage[fr] \defineconversion[frd][\FRdate] \setuplanguage[fr][date={day:frd,\ ,month,\ ,year}] \starttext Conversion: \convertnumber{frd}{1}, \convertnumber{frd}{2} (OK)\\ Dates: \date[d=1], \date[d=2] (not OK) \stoptext --8<

[NTG-context] Re: # verbatim typesetting

2023-09-07 Thread Marcus Vinicius Mesquita
elow gives a pdf with two #'s instead of only one. Why is that? > > > > \starttext > > > > \startluacode > > context.type("#") > > \stopluacode > > > > \stoptext > because by default tex loves to duplicate hashes when it serial

[NTG-context] Re: # verbatim typesetting

2023-09-07 Thread Hans Hagen via ntg-context
es token lists as this seems to be "the month of the duplicate hashes" i looked it what we did so far can also work here and i sort of managed although there might be more cases (when im done with this we probably "have it the other way around" which could mean adapting some

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Henning Hraban Ramm
at work). I would be happy to provide the code to implement this, but I’m afraid this is way beyond my knowledge. remind me in a month or so ... i'm not going to touch that part of the code now (some other priorities) Perfectly fine for me, Hans. While I don’t know what’s missing unde

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Pablo Rodriguez
. >> >> I would be happy to provide the code to implement this, but I’m >> afraid this is way beyond my knowledge. > remind me in a month or so ... i'm not going to touch that part of the > code now (som

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Hans Hagen
d be extremely helpful to access embedded documents (believe it or not, this is something I explain almost every week at work). I would be happy to provide the code to implement this, but I’m afraid this is way beyond my knowledge. remind me in a month or so ... i'm not g

[NTG-context] ConTeXt meeting 2023 attendance (please read)

2023-08-22 Thread Taco Hoekwater
there. You can (of course) attend in person, but registration for online only attendance is also possible! We hope to see you next month! NOTE: There have recently been problems with the delivery of the filled-in registration form to the organisers. If you have registered sometime *in the last

[NTG-context] Re: zint 2.12.0 barcode generator

2023-08-20 Thread Keith McKay
maybe there is some subtle error (like there was when > we upgraded to 2.11). > > Unfortunately I am unable to take a closer look until the end of the > month. In the meantime can you please try to compile the library > yourself? Here are the instructions: > > https://

[NTG-context] Re: zint 2.12.0 barcode generator

2023-08-20 Thread Michal Vlasák
Hans updated ConTeXt to account for 2.12.0 already in April, so it should work, but maybe there is some subtle error (like there was when we upgraded to 2.11). Unfortunately I am unable to take a closer look until the end of the month. In the meantime can you please try to compile the library you

[NTG-context] itemize

2023-08-15 Thread Hans Hagen via ntg-context
is invited to wikify it. Hans ps. The page columns also have some improvements but that's for next month. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hassel

[NTG-context] itemize

2023-08-15 Thread Hans Hagen via ntg-context
me improvements but that's for next month. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Hans Hagen
rmanentment inacabada. Per aquest motiu convé saber quina versió del document esteu llegint. 28 29 \medskip 30 La versió d'aquest document és la {\bf 0.4.0-alfa.\currentdate[year,-, mm,-,dd]}. 31 32 \bigskip 33 Aquest document ha estat generat, \currentdate[wee

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Xavier B.
uina versió del document esteu llegint. 28 29 \medskip 30 La versió d'aquest document és la {\bf 0.4.0-alfa.\currentdate[year,-, mm,-,dd]}. 31 32 \bigskip 33 Aquest document ha estat generat, \currentdate[weekday,{ },day,{ },month,{ },year] a les \currenttime, usant prog

Re: [NTG-context] TiKz with LMTX

2023-06-04 Thread Hans Hagen via ntg-context
On 6/4/2023 11:11 AM, Jigé via ntg-context wrote: Hi all. I'm trying to use TiKz inside ConTeXt. It has not been working for some time... I checked the messages from last month on the mailing list (late april, early may). Il didn't quit actually understand what was going on but I

[NTG-context] TiKz with LMTX

2023-06-04 Thread Jigé via ntg-context
Hi all. I'm trying to use TiKz inside ConTeXt. It has not been working for some time... I checked the messages from last month on the mailing list (late april, early may). Il didn't quit actually understand what was going on but I read that some files had to be updated. Maybe as a

Re: [NTG-context] This is rmally done by loading special math fonts into the math family slots.

2023-05-10 Thread Carlos via ntg-context
possible (after all there are not than > > manyu math fonts) one always has to match them properly with serif and sans > > fonts (relative scaling etc). > > > > When someone wants support for some commercial font, they have to buy us a > > few copies with no constraints. (

Re: [NTG-context] This is rmally done by loading special math fonts into the math family slots.

2023-05-09 Thread Carlos via ntg-context
rt for some commercial font, they have to buy us a > few copies with no constraints. (Normally in a project we just get them > anyway.) There are plenty of examples in the type-imp-* files that show the > way. > > Hans Thanks for the info Hans. I'll check it out again. About a

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Alan Braslau via ntg-context
unit > will probably > remain in the engine for nostalgic reasons, but it will no be > accepted in > MWE. Instead, we will provide some more modern, culturally > correct, kid-friendly units that we will use in examples, manuals and > such. Because > the four-person

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Willi Egger via ntg-context
ovide some more modern, culturally correct, >kid-friendly units that we will use in examples, manuals and such. Because >the four-person strong team dealing with this wants to avoid making > mistakes, >we will go through a careful and scientifically sound process of >

[NTG-context] update / punctuation / math

2023-04-01 Thread Hans Hagen via ntg-context
we will go through a careful and scientifically sound process of calibration first, using a selected tex savvy audience. We expect these new units to be stable a month from now. Believe it or not, in the process of documenting all this, we found a buglet in the new math dimension spacing

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
\tfa}, ] \starttext \startinterview[title={My Interview}][ author={Jane Doe}, year={2022}, month={Decembre}, bio={\input ward} ] \dorecurse{10}{\input ward \crlf} \stopinterview \stoptext On 23 Feb 2023, at 10:21, Alex Leray via ntg-context wrote: Hello, I'm trying to figure ou

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Bruce Horrocks via ntg-context
uthor={Jane Doe}, year={2022}, month={Decembre}, bio={\input ward} ] \dorecurse{10}{\input ward \crlf} \stopinterview \stoptext > On 23 Feb 2023, at 10:21, Alex Leray via ntg-context > wrote: > > Hello, > > I'm trying to figure out how to design a chapter

[NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
e } \definehead[interview][chapter] \setuphead[interview][ page=right, command=\MyChapter, % insidesection={\page}, style={\tfa}, ] \starttext \startinterview[title={My Interview}][ author={Jane Doe}, year={2022}, month={Decembre}, bio={\input ward} ] \dorecurse{10

[NTG-context] A new version of the PocketDiary module and a collection of examples for creating calenders

2023-01-20 Thread Willi Egger via ntg-context
Hi everybody, I uploaded a new version of the PocketDiary module to the ConTeXt garden. The version 2.2 is providing the calendar functionality as it is presented in PocketMods (https://pocketmod.com/). It includes day, week, month and year tables. There are two variations of the outcome. The

[NTG-context] lmtx upload

2023-01-04 Thread Hans Hagen via ntg-context
We gained some performance over the last month, mostly due to using different low level mechanisms (there are some more not yet widely used ones). The gain depends on (extreme) usage so quite likely most goes unnoticed unless one has many runs. After all, there are no fundamental changes in context, w

Re: [NTG-context] numbering questions

2022-12-31 Thread Duncan Hothersall via ntg-context
o (ab)use the section numbering for a date (e.g. for a > diary): > > - > \definestructureconversionset[default][n,n,month,n][n] > \definestructureseparatorset [default][-,-,-,-] > > \definehead[Year][chapter] > \definehead[Month][section] > \definehead[Day][subsection] &g

[NTG-context] numbering questions

2022-12-31 Thread Henning Hraban Ramm via ntg-context
to (ab)use the section numbering for a date (e.g. for a diary): - \definestructureconversionset[default][n,n,month,n][n] \definestructureseparatorset [default][-,-,-,-] \definehead[Year][chapter] \definehead[Month][section] \definehead[Day][subsection] \define[2]\TitleCmd{#1} % number only

  1   2   3   4   5   6   7   8   >