[NTG-context] \setupmathematics oddity
The following \setupmathematics[autopunctuation={all,semicolon}] %\setupmathematics[autopunctuation={all, semicolon}] %\setupmathematics[autopunctuation={all,semicolon,colon}] \starttext \startformula 0,0;2,0,35,17,40,41\textdegree{} \cdot 365;15 \cdot 40 = 2,9;23,14\textdegree{}. \stopformula \stoptext works as it should (no space after the “;” or the “,”). With the second and third versions of \setupmathematics there is an unwanted space after each punctuation mark. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] synctex problem
At the top of a single source file, I have the lines: % !TEX root = prd_Aestimatio-0301.tex % the root file % !TEX TS-program = ConTeXt2021 % !TEX useAlternatePath % !TEX useConTeXtSyncParser \setupsynctex[state=start, method=max] Syncing works well enough—though I can see no difference between method =min and method=max, both highlight only a few words and not the entire text to be synced, but perhaps my expectations are out of line. When I have these lines at the top of a component file and typeset the product file, I get a rootfile.synctex file, but syncing itself goes awry. Nothing happens when I sync from the PDf file to the component file, and when I sync from the component file to the product PDF, I get the correct page but no highlighting. I am using TeXShop ver. 5.03— sync method: Both Pdf Sync and Search Alternative Path: /Users/bowen1/Applications/LuaMetaTeX/tex/texmf-osx-arm64/bin and also the latest ConteXt (ver. 2022.10.15 10:37 LMTX) under macOS 12.6 (Apple M1 Pro chip) Note: the product file has only one component file for now. I suspect that I am missing something but am not sure where to look or what to do now. Any guidance will be much appreciated. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] numbering sections/subsections
Thanks, again, Hraban. This is very helpful. Best, Alan On Mon, Jul 11, 2022 at 5:53 AM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > Am 10.07.22 um 22:25 schrieb Alan Bowen via ntg-context: > > Thank you, Hraban, for the solution and the link! > > You’re welcome! > > > > > \definestructureconversionset[mySet][A,n,A,n][n] % starts at part! > > \setuphead[section,subsection][sectionconversionset=mySet] > > \setuphead[subsection][sectionsegments=section:subsection, > stopper={.}] > > > > % found in https://wiki.contextgarden.net/Titles > > <https://wiki.contextgarden.net/Titles> > > Afterwards I recognized, if you use "default" instead of a custom name, > you don’t need the setting in \setuphead. > > Hraban > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] numbering sections/subsections
Thank you, Hraban, for the solution and the link! All best, Alan On Sat, Jul 9, 2022 at 6:59 PM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > Am 10.07.22 um 00:35 schrieb Alan Bowen via ntg-context: > > I’m trying to get my sections numbered with capital letters and my > > subsections with Arabic numbers. So far, no joy. What am I missing? > > > > Alan > > > > Mwe: with ConText ver: 2022.01.21 20:13 LMTX fmt: 2022.2.1. (The > > problem persists when I run ConTeXt online) > > > > \setuphead[section][conversion=A] > > > \setuphead[subsection][conversion=n, sectionsegements=section:subsection, > stopper={.}] > > \definestructureconversionset[mySet][A,n,A,n][n] % starts at part! > \setuphead[section,subsection][sectionconversionset=mySet] > \setuphead[subsection][sectionsegments=section:subsection, stopper={.}] > > % found in https://wiki.contextgarden.net/Titles > > > \starttext > > > > \startsection[title=New section] > > \input knuth > > \startsubsection[title=New subsection] > > \input ward > > \stopsubsection > > \stopsection > > > > \stoptext > > Hraban > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] numbering sections/subsections
I’m trying to get my sections numbered with capital letters and my subsections with Arabic numbers. So far, no joy. What am I missing? Alan Mwe: with ConText ver: 2022.01.21 20:13 LMTX fmt: 2022.2.1. (The problem persists when I run ConTeXt online) \setuphead[section][conversion=A] \setuphead[subsection][conversion=n, sectionsegements=section:subsection, stopper={.}] \starttext \startsection[title=New section] \input knuth \startsubsection[title=New subsection] \input ward \stopsubsection \stopsection \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___