[NTG-context] Why can I no longer place \input inside table after update?
After I ran an update on ConTeXt, my code gets an error: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|] \HL \NC {\bf Term} \NC {\bf Definition} \NC\NR \HL \input test2.tex \HL \stoptabulate \stoptext File test2.tex contains "\NC {\bf Term} \NC {\bf Definition} \NC\NR". I also tried defining a macro earlier in the document... \define[2]\tablewordis{% \NC \NC \NC\NR \NC #1 \NC #2 \NC\NR } ...then placing that in test2.tex, e.g.: \tablewordis{my word}{my definition} I get the error: " The file ended when scanning an argument." Before the update, this code worked fine. How can I \input a file while inside a table environment, as above? Thanks, --Joel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font too small with a macro
Hi, I see... Thanx, also for the reference to \definemathcommand! Best, Günter Mikael Sundqvist via ntg-context @ 2022-04-23 17:12 +02: Hi, be careful with spacing. Try \protected\def\Exp{\normal exp} \startformula \exp x = \Exp x. \stopformula If you need more math functions, you can try (here for arsinh): \definemathcommand[arsinh][nolop]{\mfunction{arsinh}} Best, Mikael On Sat, Apr 23, 2022 at 5:03 PM Günter Kolousek via ntg-context wrote: Hi, if I replace your definition of exp by \protected\def\exp{\normal exp} it works well (at least on my installation of lmtx), but I'm just a beginner in using context... Best, Günter Mikael Sundqvist via ntg-context @ 2022-04-23 15:27 +02: > On Sat, Apr 23, 2022 at 12:11 PM Fabrice Couvreur via > ntg-context > wrote: >> >> Hello, >> If I compile with context the expected result is correct but >> with lmtx the font under the square root is smaller. >> Thank you >> Fabrice >> >> \protected\def\exp{\text{\normal exp}} >> >> \starttext >> \startformula >>\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). >> \stopformula >> \stoptext > > Hi, > > without your redefinition of \exp it looks fine (exp is > already > defined). Does that solve your problem, or are you doing > something > else, and this exp was just an example? > > Best, Mikael > ___ > If your question is of interest to others as well, please add > an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / > http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font too small with a macro
Hi, be careful with spacing. Try \protected\def\Exp{\normal exp} \startformula \exp x = \Exp x. \stopformula If you need more math functions, you can try (here for arsinh): \definemathcommand[arsinh][nolop]{\mfunction{arsinh}} Best, Mikael On Sat, Apr 23, 2022 at 5:03 PM Günter Kolousek via ntg-context wrote: > > > Hi, > > if I replace your definition of exp by > > \protected\def\exp{\normal exp} > > it works well (at least on my installation of lmtx), but > I'm just a beginner in using context... > > Best, > Günter > > > Mikael Sundqvist via ntg-context @ 2022-04-23 15:27 +02: > > > On Sat, Apr 23, 2022 at 12:11 PM Fabrice Couvreur via > > ntg-context > > wrote: > >> > >> Hello, > >> If I compile with context the expected result is correct but > >> with lmtx the font under the square root is smaller. > >> Thank you > >> Fabrice > >> > >> \protected\def\exp{\text{\normal exp}} > >> > >> \starttext > >> \startformula > >>\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). > >> \stopformula > >> \stoptext > > > > Hi, > > > > without your redefinition of \exp it looks fine (exp is already > > defined). Does that solve your problem, or are you doing > > something > > else, and this exp was just an example? > > > > Best, Mikael > > ___ > > If your question is of interest to others as well, please add an > > entry to the Wiki! > > > > maillist : ntg-context@ntg.nl / > > http://www.ntg.nl/mailman/listinfo/ntg-context > > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > wiki : http://contextgarden.net > > ___ > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font too small with a macro
Hi, if I replace your definition of exp by \protected\def\exp{\normal exp} it works well (at least on my installation of lmtx), but I'm just a beginner in using context... Best, Günter Mikael Sundqvist via ntg-context @ 2022-04-23 15:27 +02: On Sat, Apr 23, 2022 at 12:11 PM Fabrice Couvreur via ntg-context wrote: Hello, If I compile with context the expected result is correct but with lmtx the font under the square root is smaller. Thank you Fabrice \protected\def\exp{\text{\normal exp}} \starttext \startformula \sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). \stopformula \stoptext Hi, without your redefinition of \exp it looks fine (exp is already defined). Does that solve your problem, or are you doing something else, and this exp was just an example? Best, Mikael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font too small with a macro
Hi, I didn't know that \exp was already defined. Thanks Fabrice Le sam. 23 avr. 2022 à 15:28, Mikael Sundqvist via ntg-context < ntg-context@ntg.nl> a écrit : > On Sat, Apr 23, 2022 at 12:11 PM Fabrice Couvreur via ntg-context > wrote: > > > > Hello, > > If I compile with context the expected result is correct but with lmtx > the font under the square root is smaller. > > Thank you > > Fabrice > > > > \protected\def\exp{\text{\normal exp}} > > > > \starttext > > \startformula > >\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). > > \stopformula > > \stoptext > > Hi, > > without your redefinition of \exp it looks fine (exp is already > defined). Does that solve your problem, or are you doing something > else, and this exp was just an example? > > Best, Mikael > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font too small with a macro
On Sat, Apr 23, 2022 at 12:11 PM Fabrice Couvreur via ntg-context wrote: > > Hello, > If I compile with context the expected result is correct but with lmtx the > font under the square root is smaller. > Thank you > Fabrice > > \protected\def\exp{\text{\normal exp}} > > \starttext > \startformula >\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). > \stopformula > \stoptext Hi, without your redefinition of \exp it looks fine (exp is already defined). Does that solve your problem, or are you doing something else, and this exp was just an example? Best, Mikael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] new upload
On 4/21/22 8:24 PM Alexandre Christe via ntg-context wrote: > While the typesetting issue in Metafun disappeared, another popped up in > the bibliography. > > For an entry with \usebtxdefinitions[apa], it is printing ": [author: > Robert L. Boylestad] [date-added: 2022-04-15 14:43:59 +0200] > [date-modified: 2022-04-15 14:45:15 +0200] [edition: 13e] [publisher: > Pearson] [title: Introductory Circuit Analysis] [year: 2016]" in the > resulting pdf. > > I should add that it seems independent from the btx format. Hi Hans, I too can confirm that this seems to be a bug with the latest upload [current version: 2022.04.20 19:18]. This was last working with the 2022.04.15 version. In the logs I get: publications> start used btx commands publications> default textquotesingle 1 unknown publications> stop used btx commands [Meanwhile, I am using the publ-ini file from the previous upload as a temporary fix] Thanks, Sreeram ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Font too small with a macro
Hello, If I compile with context the expected result is correct but with lmtx the font under the square root is smaller. Thank you Fabrice \protected\def\exp{\text{\normal exp}} \starttext \startformula \sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). \stopformula \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___