[NTG-context] Re: Issue with Custom Conversion Code in Latest Version of ConTeXt

2024-10-12 Thread Jorge Manuel
To achieve a norepeat in a specific itemize block, I need to introduce the  norepeat at a higher level. This affects all the children of that itemize. See the example below, please. In the multiple-choice block, I want to avoid repetition, but afterward, I want to restore the default behavior. \

[NTG-context] Re: Issue with Custom Conversion Code in Latest Version of ConTeXt

2024-10-12 Thread Jorge Manuel
I applied a trick: I created a phantom itemize. \define[1]\BoxedNumber{\inframed[width=3ex]{\convertnumber{n}{#1}}} \defineconversion [BoxedNumber] [\BoxedNumber] \starttext \startitemize[BoxedNumber,fit,repeat][stopper=,distance=\spaceamount]    \item xxx    \startitemize[BoxedNumber,fit, repe

[NTG-context] Re: Issue with Custom Conversion Code in Latest Version of ConTeXt

2024-10-12 Thread Wolfgang Schuster
Jorge Manuel schrieb am 12.10.2024 um 13:24: I applied a trick: I created a phantom itemize. \define[1]\BoxedNumber{\inframed[width=3ex]{\convertnumber{n}{#1}}} \defineconversion [BoxedNumber] [\BoxedNumber] \starttext \startitemize[BoxedNumber,fit,repeat][stopper=,distance=\spaceamount]    

[NTG-context] Re: Artifact in flow cell connection

2024-10-12 Thread wangzhongtian
I am trying to implement bibliography management in GB/T 7714-2015 (Chinese bibliography style standard), of Author-Year format. The bib list should be sorted by language, author, year, and then the title of the book. The sorting algorithm should use PinYin of Chinese characters to compare the orde

[NTG-context] Adjusting Font Based Math Parameters

2024-10-12 Thread juliusross
Hi, For testing I would like to be able to adjust the font-based math parameters within ConTeXt MKIV. I have been trying this \startformula \Umathfractiondenomdown\displaystyle=1em \displaystyle \frac{a}{b} \stopformula but the second command does not seem to have any effect on the output at

[NTG-context] Re: equation to right margin

2024-10-12 Thread Alan Bowen
Hi, Mikael— In answer to your question: I am one of two editors of *Aestimatio: Sources and Studies in the History of Science*, where the science in question is premodern. As it turns out, our publications tend to the history of mathematics and astronomy (Babylonian, Egyptian, Greco-Roman, Arabic)

[NTG-context] Re: creating a printed book

2024-10-12 Thread angel . of . north
I think that there is a bug in your docx2ctx.py. It works for files which do not have embedded pngs in them. But for files which do: Traceback (most recent call last): File "/home/dmr104/Downloads/context-tools/docx2ctx/docx2ctx.py", line 872, in process_doc(Path(doc), copy.copy(args))

[NTG-context] Re: Adjusting Font Based Math Parameters

2024-10-12 Thread Mikael Sundqvist
Hi, I think \frac is resetting, or rather, that it sets to what one has set up, so: \setupmathfractions [distance=bottom, bottomdistance=\exheight] \startformula \frac{a}{b} \stopformula I hope it is what you look for. /Mikael PS You can find a bit on how fractions and other stuff are

[NTG-context] Re: Adjusting Font Based Math Parameters

2024-10-12 Thread Hans Hagen via ntg-context
On 10/12/2024 7:27 PM, Julius Ross wrote: Sorry that is not really what I want.  I am looking to adjust (in context) all of the primitives \Umathfractiondenomdown, \Umathfractionnumup etc described on p138 of the LuaMetaTeX reference manual. Ideally it would be nice to be able to do this once

[NTG-context] Re: Adjusting Font Based Math Parameters

2024-10-12 Thread Julius Ross
Sorry that is not really what I want. I am looking to adjust (in context) all of the primitives \Umathfractiondenomdown, \Umathfractionnumup etc described on p138 of the LuaMetaTeX reference manual. Ideally it would be nice to be able to do this once from the start. The reason is simply it would

[NTG-context] Re: creating a printed book

2024-10-12 Thread Hans Hagen via ntg-context
On 10/11/2024 10:16 PM, Hraban Ramm wrote: Am 11.10.24 um 18:19 schrieb David Roderick: I have created 22 MSword files mainly text with embedded PNG diagrams.  I am seeking to have these converted to Context and to redo the (simple) diagrams.  I was thinking of using MetaPost.  I am seeking to

[NTG-context] Re: Issue with Custom Conversion Code in Latest Version of ConTeXt

2024-10-12 Thread Jorge Manuel
Good morning to all, Thank you for the code to insert numbers into boxes. However, I can't prevent the multiple-choice questions from repeating labels like 1.1.A). It looks very bad. How can I control this behavior? Thank you. %%% sample code \define[1]\BoxedNumber{\inframed[width=3ex]{\convert

[NTG-context] Re: Issue with Custom Conversion Code in Latest Version of ConTeXt

2024-10-12 Thread Wolfgang Schuster
Jorge Manuel schrieb am 12.10.2024 um 11:40: Good morning to all, Thank you for the code to insert numbers into boxes. However, I can't prevent the multiple-choice questions from repeating labels like 1.1.A). It looks very bad. How can I control this behavior? Thank you. %%% sample code \def