[NTG-context] How to stop ConTeXt from thinking period is at the end of a sentence?
I noticed that some code is being rendered wrong, most especially apparent in a column environment where sometimes the text can get stretched a bit more to fit the column width nicer. If a sentence says "They appeared between c. 1200 BCE and c. 1500 CE." it appears ConTeXt thinks that the period in "c." marks the end of a sentence. As such, when setting the text, sometimes it will give a large space between "c." and "1200 BCE". How do I correctly tell ConTeXt that that period doesn't mark the end of a sentence, so shouldn't be given extra space afterwards? --Joel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/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] outlinetext broken?
Hi, list \startMPpage draw outlinetext.d("\mathematics{\sqrt{2}-1}")(withcolor black withpen currentpen) scaled 1; \stopMPpage fails (radicals are not drawn at all). As for context --version, mtx-context | ConTeXt Process Management 1.06 mtx-context | mtx-context | main context file: /usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2024.04.01 08:59 mtx-context | main context file: /usr/local/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2024.04.01 08:59 Maybe it's only me, but I tried with several fonts and the outcome is similar. Best regards, Jairo ema.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/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: Switch number and enumeration text
Jethro Djan schrieb am 04.05.2024 um 04:57: Dear List, I would like to get something like: 1.1 Theorem instead of Theorem 1.1. Seems simple enough but can't figure out how to switch the number and the text. I have the following MWE: \defineenumeration[theorem][ prefix=chapter, text=Theorem, style=italic, headstyle=bold, headcommand=\groupedcommand{}{.}, ] \defineenumeration [theorem] [..., text=, stopper=., numbercommand=\groupedcommand{}{ Theorem}, ...] or \defineenumeration [theorem] [..., text=, stopper=., right={ Theorem}, ...] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/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: Switch number and enumeration text
Am 04.05.24 um 04:57 schrieb Jethro Djan: Dear List, I would like to get something like: 1.1 Theorem instead of Theorem 1.1. Seems simple enough but can't figure out how to switch the number and the text. I have the following MWE: \defineenumeration[theorem][ prefix=chapter, text=Theorem, style=italic, headstyle=bold, headcommand=\groupedcommand{}{.}, ] \starttext Did you try: text=, stopper={ Theorem}, ? There are so many parameters in https://wiki.contextgarden.net/Command/setupenumeration and https://wiki.contextgarden.net/Command/setupcounter … Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/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 ___