[NTG-context] Re: kpfonts
Thanks a lot In the wiki there is no mention to that, isn't there? Xavier On Sat, 20 Apr 2024 14:08:21 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 20.04.2024 um 13:51: > > Hi, > > > > Just a courious: is there kpfonts available for context? > > I love kpfonts. > > \setupbodyfont[kpfonts] > > \starttext > \samplefile{lorem} > \stoptext > > 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] kpfonts
Hi, Just a courious: is there kpfonts available for context? I love kpfonts. Thanks in advance, Xavier ___ 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] stackrel in context?
Hi, I want to write: $0,00\stackrel{\smallfrown}{4}$ like latex [https://tex.stackexchange.com/questions/39225/differences-between-stackrel-and-stackbin] but context LMTX does not recognize stackrel What can I do? Thanks in advance, Xavier PS: Please CCme ___ 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] Re: An strange error with section and page
Thanks. It works. On Sun, 27 Aug 2023 21:24:54 +0200 Wolfgang Schuster ha escrit: > Am So., 27. Aug. 2023 um 19:54 Uhr schrieb Xavier B. >: > > > What is the state of this problem? > > Is it some deadline here? > > > > I need to have a "production" document in mid september to show to my > > students. > > Can you please make a "push" in this topic. > > > > > Just update your installation, the problem is already fixed. > > Wolfgang ___ 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] Re: An strange error with section and page
What is the state of this problem? Is it some deadline here? I need to have a "production" document in mid september to show to my students. Can you please make a "push" in this topic. Thanks in advance, Xavier On Wed, 23 Aug 2023 22:04:36 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 23.08.2023 um 15:02: > > Wolfgang, > > > > I detect something extrange: when I use \startexercici \stopexercici (see > > [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-entorn-minimal.conTeXt]) > > in some cases there is an *undesired* indent (see attachment image). I saw > > the source > > [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-aritmetica-problemes-nombres-fraccions.conTeXt] > > which is the first time it happens. > > > > I don't see anything weird. > > > > Can you please help me? > > I found the problem but I have to discuss it with Hans. > > Wolfgang ___ 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] Re: An strange error with section and page
Oh Awesome. I'm looking forward to the solution. Thanks a lot, Xavier On Wed, 23 Aug 2023 22:04:36 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 23.08.2023 um 15:02: > > Wolfgang, > > > > I detect something extrange: when I use \startexercici \stopexercici (see > > [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-entorn-minimal.conTeXt]) > > in some cases there is an *undesired* indent (see attachment image). I saw > > the source > > [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-aritmetica-problemes-nombres-fraccions.conTeXt] > > which is the first time it happens. > > > > I don't see anything weird. > > > > Can you please help me? > > I found the problem but I have to discuss it with Hans. > > Wolfgang ___ 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] Re: An strange error with section and page
On Tue, 22 Aug 2023 20:06:52 +0200 Wolfgang Schuster ha escrit: > While the solution here is to convert all subject headings to subsubject > (be sure to also take care > of even lower section) a quick way to fix the page break is to disable > the page-value for subject, > look at the commented line in the example how this can be done. > > begin example > \setuphead[section][page=yes] > %\setuphead[subject][page=no] > Thank you VERY much. You solved my problem Xavier ___ 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] An strange error with section and page
Hi, I have a long document [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-exercicis.conTeXt.pdf] which I migrated from MKIV to LMTX version of ConTeXt. As Wolfgang recommened. I migrated old syntax to new one and replace \page[yes] before each section to \setupheads[section][style={\bf \ssc}, alternative=margin, page=yes] but now after each section there is a new page. Why? I don't know. Can someone help me to see what happens? The source code is here [https://repo.or.cz/apunts-espa-matematiques.git] Thanks in advance, Xavier PS: Please CCme ___ 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] Re: An error which is not in .log file
Thanks to all to help me through migration from MKIV to LMTX version. Now my document compiles perfectly. Xavier On Wed, 16 Aug 2023 17:02:53 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 16.08.2023 um 09:15: > > Mmmm thanks. > > How can I pass so [scale=0.9] to starttikzpicture? > > It's a bug and should be fixed in the next context release. > > Wolfgang > ___ 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] Re: startitemize[a, text] space in LMTX
OK. Thanks but it's about luatex [https://tracker.luatex.org/changelog_page.php]. Does we use luametatex? On Wed, 16 Aug 2023 21:07:47 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 16.08.2023 um 20:38: > > Thanks. > > Anyway do ypu have public triaging bugs system for LMTX and ConTeXt? > > There is https://tracker.luatex.org/my_view_page.php but the normal way > is to report bugs on the mailing list. > > Wolfgang > ___ 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] Re: startitemize[a, text] space in LMTX
Thanks. Anyway do ypu have public triaging bugs system for LMTX and ConTeXt? On Wed, 16 Aug 2023 19:58:28 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 16.08.2023 um 15:20: > > Hi, > > > > Is it possible that in LMTX there is almost no space between "(a)" and item? > > > > \startitemize[a, text] \item This is an item \stopitemize > > Fixed in today's context update. > > Wolfgang ___ 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] Re: An error which is not in .log file
On Wed, 16 Aug 2023 17:02:53 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 16.08.2023 um 09:15: > > Mmmm thanks. > > How can I pass so [scale=0.9] to starttikzpicture? > > It's a bug and should be fixed in the next context release. > > Wolfgang > Do you have bug reporting system? ___ 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] startitemize[a, text] space in LMTX
Hi, Is it possible that in LMTX there is almost no space between "(a)" and item? \startitemize[a, text] \item This is an item \stopitemize Thanks in advance, Xavier ___ 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] Re: An error which is not in .log file
Mmmm thanks. How can I pass so [scale=0.9] to starttikzpicture? On Wed, 16 Aug 2023 06:27:34 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 16.08.2023 um 00:12: > > Thanks. > > > > After some work on it, following your advice, I reduce the compilation > > problem to several "wrong" files. > > One was trivialy fixed because I did not close one environment, but other > > don't. Please help: > > 1. You need \starttext and \stoptext at the begin and end of your > example file. > > 2. You forgot to close the following environment: > \startexercici[reference=exercici:problemes-de-fraccions-13, > title={tasca per fer junts}] > > 3. \starttikzpicure doesn't allow arguments which results in font error > messages (char ... missing). This is an error in the ConTeXt version of > the \starttikzpicture command and should be fixed. > > Wolfgang > ___ 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] Re: An error which is not in .log file
Thanks. After some work on it, following your advice, I reduce the compilation problem to several "wrong" files. One was trivialy fixed because I did not close one environment, but other don't. Please help: The error is here and I attach file. modules > 'pgfmath' is not found structure > sectioning > section @ level 3 : 0.0.1 -> Problemes de fraccions structure > sectioning > subject @ level 3 : 0.0.1 -> Preguntes tex error > tex error on line 25 in file ./dev.tex: \textfont0 is undefined in ordinal, font id 0, character 63) \startexercici[reference=exercici:problemes-de-fraccions-1, title={oli}] Calculeu quina part del dipòsit queda buida, sabent que l'aigua ocupa $2/5$ del recipient i l'oli, $1/4$ (vegeu figura~\in[fig:oli-aigua-diposit]). 15 \usetikzlibrary[trees] 16 \usetikzlibrary[calc, intersections, through, backgrounds, arrows, shapes.geometric, fadings, decorations.pathreplacing, shadings, shapes.geometric, patterns, fit, positioning, shapes.symbols, chains] 17 \usemodule[pgfmath] 18 %\usemodule[filter] 19 20 21 \startsection[title={Problemes de fraccions}, reference={seccio:problemes-de-fraccions}] 22 23 \subject{Preguntes} 24 25 >> \startexercici[reference=exercici:problemes-de-fraccions-1, title={oli}] Calculeu quina part del dipòsit queda buida, sabent que l'aigua ocupa $2/5$ del recipient i l'oli, $1/4$ (vegeu figura~\in[fig:oli-aigua-diposit]). 26 27 \startplacefigure[reference=fig:oli-aigua-diposit, location=force, title={Dipòsit omplit amb aigua i oli}] 28 \bTABLE[frame=off,align={middle,lohi},width=fit] 29 \bTR 30 \bTD 31 \starttikzpicture[scale=0.75] 32 % recipient 33 \draw (0,0) -- (0,10) -- (2,10) -- (2,0) -- cycle; 34 35 % aigua Somewhere in the math formula just ended, you used the stated character from an undefined font family. For example, plain TeX doesn't allow \it or \sl in subscripts. Proceed, and I'll try to forget that I needed that character. mtx-context | fatal error: return code: 1 Thanks in advance, On Tue, 15 Aug 2023 21:44:53 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 15.08.2023 um 21:36: > > On Tue, 15 Aug 2023 21:13:54 +0200 > > Wolfgang Schuster ha escrit: > > > >> There is also something wrong with the structure of your document when > >> need \page[yes] after each file. > > Why is it trouble? > > When you start each subfile with \section or \subject you can use > \setuphead to force a pagebreak at the start of each new section and not > with a \page command in the document. > > Wolfgang > system > system > ConTeXt ver: 2023.08.15 18:48 LMTX fmt: 2023.8.15 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/home/xan/bin/context-current/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name '/home/xan/bin/context-current/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './dev', input './dev.tex', result './dev' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './dev.tex' modules > 'tikz' is loaded open source > level 2, order 3, name '/home/xan/bin/context-current/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' open source > level 3, order 4, name 'pgfutil-common.tex' close source> level 3, order 4, name 'pgfutil-common.tex' open source > level 3, order 5, name 'pgfutil-context.def' close source> level 3, order 5, name 'pgfutil-context.def' open source > level 3, order 6, name 'pgfrcs.code.tex' open source > level 4, order 7, name 'pgf.revision.tex' close source> level 4, order 7, name 'pgf.revision.tex' close source> level 3, order 7, name 'pgfrcs.code.tex' open source > level 3, order 8, name 'pgfsys.code.tex' open source > level 4, order 9, name 'pgfkeys.code.tex' open source > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex' close source> level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex' close source> level 4, order 10, name 'pgfkeys.code.tex' cld > stack > cld > stack > use : slot = context.functions.register(f) cld > stack > and : context.functions.unregister(slot) cld > sta
[NTG-context] Re: An error which is not in .log file
On Tue, 15 Aug 2023 21:13:54 +0200 Wolfgang Schuster ha escrit: > > There is also something wrong with the structure of your document when > need \page[yes] after each file. Why is it trouble? ___ 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] Re: An error which is not in .log file
I don't have line 276. This is what I have (169 lines): % Fitxer ConTeXt MIV % carregam les opcions d'entorn \environment ng-entorn-minimal.conTeXt \environment ng-entorn-taules.conTeXt \environment ng-entorn-teoria.conTeXt \environment ng-entorn-colors.conTeXt % bibliografia \usebtxdataset[default][ng-bibliografia.bib] \setupbtx[dataset=default] \usebtxdefinitions[aps] % el text \starttext \startfrontmatter \input ng-pre-portada.conTeXt \input ng-pre-llicencia.conTeXt \input ng-pre-informacio-document.conTeXt \completecontent \stopfrontmatter \startbodymatter \startpart[title=Aritmètica] \input ng-aritmetica-nombres-naturals-operacions.conTeXt \page[yes] \input ng-aritmetica-divisibilitat.conTeXt \page[yes] \input ng-aritmetica-sencers-operacions.conTeXt \page[yes] \input ng-aritmetica-fraccions-operacions.conTeXt \page[yes] \input ng-aritmetica-fraccions-simplificacio-i-etc.conTeXt \page[yes] \input ng-aritmetica-percentatges.conTeXt \page[yes] \input ng-aritmetica-problemes-nombres-sencers.conTeXt \page[yes] \input ng-aritmetica-problemes-nombres-fraccions.conTeXt \page[yes] \input ng-aritmetica-arrodoniment-i-truncament.conTeXt \page[yes] \input ng-aritmetica-representacio-sobre-la-recta-numerica.conTeXt \page[yes] \input ng-aritmetica-sequencies.conTeXt \page[yes] \input ng-aritmetica-potencies-exponent-sencer-calcul.conTeXt \page[yes] \input ng-aritmetica-propietats-de-les-potencies.conTeXt \page[yes] \input ng-aritmetica-notacio-cientifica-calcul.conTeXt \page[yes] \input ng-aritmetica-notacio-cientifica-problemes.conTeXt \stoppart \startpart[title=Relacions entre variables] \input ng-relacions-variables-proporcionalitat-directa.conTeXt \page[yes] \input ng-relacions-variables-percentatges-problemes.conTeXt \page[yes] \input ng-relacions-variables-repartiments-proporcionals.conTeXt \page[yes] \input ng-relacions-variables-proporcionalitat-inversa.conTeXt \page[yes] \input ng-relacions-variables-conversio-unitats.conTeXt \page[yes] \input ng-relacions-variables-funcio-lineal-problemes.conTeXt \page[yes] \input ng-relacions-variables-funcio-afi-problemes.conTeXt \page[yes] \input ng-relacions-variables-funcio-quadratica-problemes.conTeXt \page[yes] \input ng-relacions-variables-funcio-exponencial-problemes.conTeXt \stoppart \startpart[title=Àlgebra] \input ng-algebra-equacions-primer-grau.conTeXt \page[yes] \input ng-algebra-equacions-segon-grau.conTeXt \page[yes] \input ng-algebra-equacions-segon-grau-problemes-geometrics.conTeXt \page[yes] \input ng-algebra-sistemes-de-equacions-lineals-2-per-2.conTeXt \page[yes] \input ng-algebra-sistemes-de-equacions-lineals-2-per-2-problemes-comparativa.conTeXt \stoppart \startpart[title=Geometria] \input ng-geometria-teorema-de-Pitagores.conTeXt \page[yes] \input ng-geometria-teorema-de-Pitagores-problemes.conTeXt \page[yes] \input ng-proporcionalitat-geometrica-escala-grafica.conTeXt \page[yes] \input ng-proporcionalitat-geometrica-escala-numerica.conTeXt \page[yes] \input ng-proporcionalitat-geometrica-figures-semblants.conTeXt \page[yes] \input ng-proporcionalitat-geometrica-homotecies.conTeXt \page[yes] \input ng-proporcionalitat-geometrica-teorema-de-tales.conTeXt \stoppart \startpart[title=Estadística] \input ng-estadistica-tipus-de-variables.conTeXt \page[yes] \input ng-estadistica.conTeXt \page[yes] \input ng-estadistica-parametres-dispersio.conTeXt \page[yes] \input ng-estadistica-grafics-i-diagrames.conTeXt \stoppart \startpart[title=Probabilitat] \input ng-probabilitat-experiments-simples.conTeXt \page[yes] \input ng-probabilitat-experiments-compostos.conTeXt \page[yes] \input ng-probabilitat-probabilitat-condicionada.conTeXt \page[yes] \input ng-probabilitat-algebra-de-successos.conTeXt \stoppart \stopbodymatter \startappendices \startpart[title=Apunts teòrics] \input ng-teoria-proporcionalitat-numerica.conTeXt \page[yes] \input ng-teoria-equacions-de-segon-grau.conTeXt \page[yes] \input ng-teoria-funcio-quadratica.conTeXt \page[yes] \input ng-teoria-teorema-de-Pitagores.conTeXt \page[yes] \input ng-teoria-apendix-figures-usuals-arees-volums.conTeXt \page[yes] \input ng-teoria-proporcionalitat-geometrica.conTeXt \page[yes] \input ng-teoria-estadistica.conTeXt \page[yes] \input ng-teoria-probabilitat.conTeXt \stoppart \stopappendices \startbackmatter \input ng-pre-continguts-aliens.conTeXt \page[yes] % Bibliografia \startchapter[title=Referències] \placelistofpublications \stopchapter %% Índex alfabètic \completeindex \stopbackmatter \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 _
[NTG-context] Re: An error which is not in .log file
I have the document split in several files. I don't know what is the line 296. ___ 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] An error which is not in .log file
After trying to compile a long file with LMTX (previously with MKIV all compiles perfectly), I get an error structures > bookmark: Referències structure > sectioning > chapter @ level 2 : 0.1 -> Referències publications> list > collecting entries using method 'global' and sort order 'default' pages > flushing realpage 296, userpage 294, subpage 296 structures > bookmark: Índex alfabètic structure > sectioning > chapter @ level 2 : 0.2 -> \headtext {index} pages > flushing realpage 297, userpage 295, subpage 297 structures > end of sectionblock 'backpart' close source> level 1, order 147, name './ng-exercicis.conTeXt' (\end occurred inside a group at level 8) 8:0: semisimple group entered at line 276: \begingroup 7:0: semisimple group entered at line 5: \begingroup 6:0: semisimple group entered at line 5: \begingroup 5:0: semisimple group entered at line 114: \begingroup 4:0: semisimple group entered at line 114: \begingroup 3:0: semisimple group entered at line 5: \begingroup 2:0: semisimple group entered at line 5: \begingroup 1:0: semisimple group entered at line 27: \begingroup 0:0: bottomlevel mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path: /home/xan/bin/context-current/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats > resource resolver: loadtime 0.004 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 240 found files, scanned paths: mkiv lua stats > stored bytecode data: 512 modules (0.181 sec), 105 tables (0.010 sec), 617 chunks (0.191 sec) mkiv lua stats > traced context: maxstack: 1715, freed: 2, unreachable: 1713 mkiv lua stats > cleaned up reserved nodes: 85 nodes, 11 lists of 671 mkiv lua stats > node memory usage: 291 attribute, 62 dir, 91 glue, 3281 gluespec, 1 glyph, 1 hlist, 1 kern, 2 math, 645 mathspec, 4 penalty, 18 rule, 2 temp, 66305 whatsit mkiv lua stats > node list callback tasks: 16 unique task lists, 18 instances (re)created, 119367 calls mkiv lua stats > h-node processing time: 0.653 seconds including kernel mkiv lua stats > attribute processing time: 0.119 seconds front- and backend mkiv lua stats > driver time: 0.693 seconds mkiv lua stats > used backend: pdf mkiv lua stats > jobdata time: 0.054 seconds saving, 0.000 seconds loading mkiv lua stats > callbacks: file: 69204, saved: 309548, direct: 957, function: 244605, value: 7598, message: 0, bytecode: 617, late 0, total: 632529 (0 per page) mkiv lua stats > randomizer: initialized with value 0.45060333164985 mkiv lua stats > v-node processing time: 0.259 seconds mkiv lua stats > loaded tex modules: 4 requested, 1 found (*-tikz), 3 missing (*-pgfmat *-pgfmath *-pgfrcs) mkiv lua stats > loaded patterns: ca::65 en::1, load time: 0.000 mkiv lua stats > interactive elements: 74 references, 950 destinations mkiv lua stats > loaded fonts: 13 files: latinmodern-math.otf, lmmono10-regular.otf, lmroman10-bold.otf, lmroman10-italic.otf, lmroman10-regular.otf, lmromancaps10-regular.otf, lmromanslant10-regular.otf, lmsans10-bold.otf, lmsans10-boldoblique.otf, lmsans10-regular.otf, texgyreschola-bold.otf, texgyreschola-math.otf, texgyreschola-regular.otf mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 68 instances, 51 shared in backend, 8 common vectors, 43 common hashes, load time 1.181 seconds mkiv lua stats > body font sizes: defined: 10pt 11pt 12pt 14.4pt 17.3pt 20.7pt 4pt 5pt 6pt 7pt 8pt 9pt, undefined: 11.2pt 12.8pt 14pt 16.8pt 16pt 19.2pt 24pt 30pt 36pt mkiv lua stats > metapost: 0.000 seconds, loading: 0.033, execution: 0.000, n: 3, average: 0.011, instances: 1, luacalls: 14196 (file: 13784, text: 0, script: 393, log: 19), memory: 3.881 M mkiv lua stats > math tweaking time: 0.474 seconds, 84 math goodie tables mkiv lua stats > math processing time: 0.292 seconds mkiv lua stats > graphics processing time: 1.768 seconds including tex, 268 processed images, 57 unique asked, 27 bad names mkiv lua stats > publications load time: 0.005 seconds, 2963 bytes, 11 definitions, 0 shortcuts mkiv lua stats > pdf annotations: 74 links (74 unique), 0 special mkiv lua stats > font embedding time: 0.018 seconds, 13 fonts mkiv lua stats > result saved in file: ng-exercicis.pdf, compresslevel 1, objectcompresslevel 3 mkiv lua stats > positions: 311 collected, 0 deltas, 307 shared partials, 133 partial entries mkiv lua stats > cross referencing: 713 identified, 269 unknown mkiv lua stats > used platform: linux-64, type: unix, binary subtree: texmf-linux-64 mkiv lua stats > used engine: luametatex version: 2.10.10, functionality level: 20230803, format id: 697, compiler: gcc mkiv lua stats > tex properties: 806417 hash slots used of 2097152, 70025 control sequences, approximate memory usage: 82 MB mkiv lua stats > lua properties: engine: lua 5.4, used memory: 213 MB, ctx: 198 MB, max: 306 MB, symbol mask: utf
[NTG-context] Re: Very strange error:
Now > > - \startexercici[]{} --> > \startexercici[reference=...,title=...] > with LMTX this \startitemize \sym{\in[REFERENCE]} \stopitemize does not work. Some change here too? Thanks, ___ 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] Re: Very strange error:
Thanks, Wolfgang, for pointing this replacements. I will try to change that but it's a lot of work. Appreciate Xavier On Mon, 14 Aug 2023 19:07:09 +0200 Wolfgang Schuster ha escrit: > > > > You're correct, \head is the cause of the error and it's better to > replace it with > > \starthead {...} > ... > \stophead > > but there are more things which can be changed to use modern syntax (in > many cases part of ConTeXt since nearly a decade). > > > A few examples: > > - \startexercici[]{} --> > \startexercici[reference=...,title=...] > > - \placetable[][]{}{...} --> > \startplacetable[reference=...,location=...,title=...] ... \stopplacetable > > - Llimones \hfill 6 --> Llimones \filler[symbol] 6 > > - \bigskip --> \blank[big] > > > Wolfgang > ___ 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] Re: Very strange error:
On Mon, 14 Aug 2023 17:49:48 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 14.08.2023 um 17:41: > > After I run context (LMTX version) to my document (attached) I get this > > error: > > > > tex error > tex error on line 540 in file ./dev.tex: The file ended > > when scanning an argument. > > > > I don't know how to start... > > Can anyone help me? > > > > Thanks, > > Xavier > > > > PS: I receive this error after upgrading to MKIV to LMTX. Before with MKIV > > I get no errors. > > Can you show the text (and commands) which appears on line 540 (plus a > few lines before/after line 540) of your document. > > Wolfgang > I attach the dev.log and dev-error.log. Is it enough? Xavier system > system > ConTeXt ver: 2023.08.10 02:59 LMTX fmt: 2023.8.14 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/home/xan/bin/context-current/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name '/home/xan/bin/context-current/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './dev', input './dev.tex', result './dev' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './dev.tex' modules > 'pgfrcs' is not found modules > 'pgfmat' is not found modules > 'tikz' is loaded open source > level 2, order 3, name '/home/xan/bin/context-current/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' open source > level 3, order 4, name 'pgfutil-common.tex' close source> level 3, order 4, name 'pgfutil-common.tex' open source > level 3, order 5, name 'pgfutil-context.def' close source> level 3, order 5, name 'pgfutil-context.def' open source > level 3, order 6, name 'pgfrcs.code.tex' open source > level 4, order 7, name 'pgf.revision.tex' close source> level 4, order 7, name 'pgf.revision.tex' close source> level 3, order 7, name 'pgfrcs.code.tex' open source > level 3, order 8, name 'pgfsys.code.tex' open source > level 4, order 9, name 'pgfkeys.code.tex' open source > level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex' close source> level 5, order 10, name 'pgfkeyslibraryfiltered.code.tex' close source> level 4, order 10, name 'pgfkeys.code.tex' cld > stack > cld > stack > use : slot = context.functions.register(f) cld > stack > and : context.functions.unregister(slot) cld > stack > open source > level 4, order 11, name 'pgf.cfg' close source> level 4, order 11, name 'pgf.cfg' Driver file for pgf: pgfsys-luatex.def open source > level 4, order 12, name 'pgfsys-luatex.def' open source > level 5, order 13, name 'pgfsys-common-pdf.def' close source> level 5, order 13, name 'pgfsys-common-pdf.def' close source> level 4, order 13, name 'pgfsys-luatex.def' open source > level 4, order 14, name 'dev.pgf' close source> level 4, order 14, name 'dev.pgf' close source> level 3, order 14, name 'pgfsys.code.tex' open source > level 3, order 15, name 'pgfkeys.code.tex' close source> level 3, order 15, name 'pgfkeys.code.tex' open source > level 3, order 16, name 'pgfsyssoftpath.code.tex' close source> level 3, order 16, name 'pgfsyssoftpath.code.tex' open source > level 3, order 17, name 'pgfsysprotocol.code.tex' close source> level 3, order 17, name 'pgfsysprotocol.code.tex' open source > level 3, order 18, name 'pgfcore.code.tex' open source > level 4, order 19, name 'pgfmath.code.tex' open source > level 5, order 20, name 'pgfmathutil.code.tex' close source> level 5, order 20, name 'pgfmathutil.code.tex' open source > level 5, order 21, name 'pgfmathparser.code.tex' close source> level 5, order 21, name 'pgfmathparser.code.tex' open source > level 5, order 22, name 'pgfmathfunctions.code.tex' close source> level 5, order 22, name 'pgfmathfunctions.code.tex' open source > level 5, order 23, name '
[NTG-context] Re: Very strange error:
Thanks, Rik, for the comment. You're right. Note that I've never been aware of such requirement because always in MKIV I use \head without \par. @all, please comment it out this behaviour in somewhere. The weak point of context is documentation: wiki is too bit not updated and reference manual are outdated. As a simple user, it could cause nightmares, overall in transition to one major version to another. Thanks another time, Xavier On Mon, 14 Aug 2023 12:42:59 -0400 Rik Kabel ha escrit: > > On 8/14/2023 11:41 AM, Xavier B. wrote: > > After I run context (LMTX version) to my document (attached) I get this > > error: > > > > tex error > tex error on line 540 in file ./dev.tex: The file ended > > when scanning an argument. > > > > I don't know how to start... > > Can anyone help me? > > > > Thanks, > > Xavier > > > > PS: I receive this error after upgrading to MKIV to LMTX. Before with MKIV > > I get no errors. > > > I suspect that LMTX is a bit more strict about parsing. You have omitted > the required \par for each \head. > > -- > Rik ___ 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] Very strange error:
After I run context (LMTX version) to my document (attached) I get this error: tex error > tex error on line 540 in file ./dev.tex: The file ended when scanning an argument. I don't know how to start... Can anyone help me? Thanks, Xavier PS: I receive this error after upgrading to MKIV to LMTX. Before with MKIV I get no errors. dev.tex Description: TeX document return { ["errortype"]=6, ["filename"]="./dev.tex", ["lastcontext"]="\n200 persones en total \\par \\startitemize [a, packed] \\item 2 de 5 persones estan a $A$ \\item a cada 4 persones de $A$ li corresponen 3 persones de $B$ \\item 20\\% són de $C$ \\item 2/8 són de $D$ \\stopitemize \\par \\head 420 persones en total \\par \\startitemize [a, packed] \\item $3/4$ de persones estan a $A$ \\item hi ha una correspondència: 3 de $A$ $\\leftrightarrow $ 2 de $B$ \\item 40\\% és de $C$ \\item de 5 persones, 4 són de $D$ \\stopitemize \\par \\head 245 persones \\par \\startitemize [a, packed] \\item $1/5$ de persones són de $A$ \\item $20\\%$ de persones són de $B$ \\item per cada 7 persones de $A$, n'hi ha 4 de $C$ \\item per cada 49 persones, n'hi ha 1 de $D$ \\stopitemize \\par \\head 1800 persones \\par \\startitemize [a, packed] \\item Un $30\\%$ és de $A$ \\item 30 de cada 50 són de $B$ \\item cada 5 persones de $B$ li corresponen 2 persones de $C$ \\item $D$ té un 150\\% que les persones de $C$ \\stopitemize \\par \\stopitemize \\par En tots els casos, digueu quantes persones hi hauria en el subgrup més nombrós si en total hi hagués 1000 persones. \\stopexercici \\par \\startexercici [exercici:proporcionalitat-directa-8]{relacionar diagrames} Relacioneu en cada cas els diagrames amb la proporció indicada \\par \\startitemize [A] \\par \\head Proporcions \\par \\startitemize [a, packed, columns] \\item 2 de 5 \\item 20\\% \\item $3/5$ \\item 5 a 10 \\stopitemize \\par \\head Diagrames \\par \\startitemize [a, packed, columns] \\item \\starttikzpicture \\draw (0,0) -- (5,0); \\foreach \\x in {0, 1, 2,..., 5} { \\draw (\\x , -0.2) -- (\\x , 0.2); \\draw (\\x ,-0.2) node[anchor=north] {\\x }; } \\draw [color=blue!50, line width=2pt] (0,0) -- (1,0); \\stoptikzpicture \\par \\item \\starttikzpicture \\draw (0,0) -- (5,0); \\foreach \\x in {0, 1, 2,..., 5} { \\draw (\\x , -0.2) -- (\\x , 0.2); \\draw (\\x ,-0.2) node[anchor=north] {\\x }; } \\draw [color=red!50, line width=2pt] (0,0) -- (2,0); \\stoptikzpicture \\par \\item \\starttikzpicture \\draw (0,0) -- (5,0); \\foreach \\x in {0, 1, 2,..., 5} { \\draw (\\x , -0.2) -- (\\x , 0.2); \\draw (\\x ,-0.2) node[anchor=north] {\\x }; } \\draw [color=green!50, line width=2pt] (0,0) -- (3,0); \\stoptikzpicture \\par \\item \\starttikzpicture \\draw (0,0) -- (5,0); \\foreach \\x in {0, 1, 2,..., 5} { \\draw (\\x , -0.2) -- (\\x , 0.2); \\draw (\\x ,-0.2) node[anchor=north] {\\x }; } \\draw [color=orange!50, line width=2pt] (0,0) -- (1.6,0); \\stoptikzpicture \\par \\stopitemize \\par \\stopitemize \\par Per a cada proporció, dibuixeu nous diagrames que tengui longitud 100. \\stopexercici \\par \\par \\startexercici [exercici:proporcionalitat-directa-9]{representar a diagrames}Usant el diagrama $5 \\times 10$ següent (vegeu la figura~\\in [figura:diagrama-punts-5x10]) representeu la informació donada en cada cas. \\par \\placefigure [force] [figura:diagrama-punts-5x10] {Diagrama de punts $5 \\times 10$} { \\bTABLE [frame=off,align={middle,lohi},width=fit, offset=2mm] \\bTR \\bTD \\starttikzpicture \\foreach \\x in {0,...,9} \\foreach \\y in {0,...,4} { \\draw [fill=gray!50] (\\x ,\\y ) circle (0.25); } \\par \\stoptikzpicture \\eTD \\eTR \\eTABLE } \\par \\startitemize [a, columns, packed, four] \\item 40\\% \\item 4 de 5 \\item $3/4$ \\item 4 a 1 \\item 22\\% \\item $1/8$ \\item 5 a 3 \\item 3 de 8 \\stopitemize \\par Si aquestes informacions corresponguessin a mostres de peixos ferits a la mar, calculeu quants peixos malalts hi hauria en una mostra de 3000 peixos en total. \\stopexercici \\par \\startexercici [exercici:proporcionalitat-directa-antic-1]{sou} Na Marta fa feina per hores. Si fent 25 hores de feina, na Marta cobra 625 euros, quant cobrarà fent 40 hores? Quantes hores hauria de fer na Marta per cobrar exactament 2300 euros? \\stopexercici \\par \\par \\startexercici [exercici:proporcionalitat-directa-antic-2]{astronautes} Aquest és la bità cola d'un projecte espacial: \\startitemize [4] \\item S'enlairen 5 astronautes, amb 200 kg de menjar a una estació espacial \\item Al cap de 3 dies, hi ha un relleu: se'n van 2 i en vénen 3 \\item La tripulació resultant es queda durant 5 dies més \\item Tots els astronautes tornen. L'estació espacial queda buida \\stopitemize \\par Els bastarà el menjar que s'enduen al principi si sabem que quatre astronautes mengen en promig 20 kg per dia? \\stopexercici \\par \\startexercici [exercici:proporcionalitat-directa-antic-3]{consum de benzina} El meu cotxe consumei
[NTG-context] split align in formulas
I have this text and the end of the paragraph: Definitivament és el mètode més senzill. L'atribució més antiga que conec d'aquest mètode és de James Tanton \cite{canvi-variable-equacio-segon-grau, james-tanton-web}. \placeformula[eq:james-tanton-canvi-de-variables] \startformula \startalign \NC ax^2 + bx + c = 0 \NC \NR \NC ax^2 + bx = -c \NC \quad \text{transposem } c\NR \NC x^2 + \frac{b}{a} x = - \frac{c}{a} \NC \quad \text{dividim per }a\NR \NC x \left( x + \frac{b}{a} \right) = - \frac{c}{a} \NC \quad \text{factoritzam} \NR \NC (k-D)(k+D) = - \frac{c}{a} \NC \quad \text{canvi de variable} \NR \NC k^2 - D^2 = - \frac{c}{a} \NC \quad \text{suma per diferència} \NR \NC k = \pm\sqrt{ D^2 - \frac{c}{a}} \NC \quad \text{resolem l'equació} \NR \NC x = k - D = \NC \pm \sqrt{ D^2 - \frac{c}{a}} - D\quad \text{desfeim el canvi} \NR \stopalign \stopformula on $D = (\frac{b}{2a})$ i $x = k-D$. and then the formula goes to next page. Is there any way to split align environment? In wiki I could not find nothing. Thanks in advance, ___ 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] Re: Why overbar is so big
Yes. It works without lualibs-os Thanks ___ 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] Re: Why overbar is so big
It does not work: \directlua{ 34require "lualibs-os" 35 >> tex.sprint(math.floor(os.resultof("git log --pretty=oneline | wc -l")+1))} What do you run directlua in LMTX? ___ 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] Re: units module for LMTX?
Thanks, Wolfgang. You are referring to this [https://wiki.contextgarden.net/Command/_unit] ___ 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] units module for LMTX?
I see there is no units module available anymore [1][2]: mtxrun --script install-modules --list [xan@coronari apunts-espa]$ mtxrun --script install-modules --list mtx-install-modules | loading entries from file '/home/xan/bin/context-current/tex/texmf-context/tex/context/modules/third/mtx-install-imp-tikz.lua' mtx-install-modules | loading entries from file '/home/xan/bin/context-current/tex/texmf-context/tex/context/modules/third/mtx-install-imp-modules.lua' mtx-install-modules | mtx-install-modules | account : https://modules.contextgarden.net/dl : t-account.zip mtx-install-modules | algorithmic : https://modules.contextgarden.net/dl : t-algorithmic.zip mtx-install-modules | animation : https://modules.contextgarden.net/dl : t-animation.zip mtx-install-modules | annotation : https://modules.contextgarden.net/dl : t-annotation.zip mtx-install-modules | bibmod-doc : https://modules.contextgarden.net/dl : bibmod-doc.zip mtx-install-modules | bnf : https://modules.contextgarden.net/dl : t-bnf.zip mtx-install-modules | chromato: https://modules.contextgarden.net/dl : t-chromato.zip mtx-install-modules | collating : https://modules.contextgarden.net/dl : Environment-for-collating-marks.zip mtx-install-modules | crossref: https://modules.contextgarden.net/dl : t-crossref.zip mtx-install-modules | cyrillicnumbers : https://modules.contextgarden.net/dl : t-cyrillicnumbers.zip mtx-install-modules | degrade : https://modules.contextgarden.net/dl : t-degrade.zip mtx-install-modules | enigma : https://modules.contextgarden.net/dl : enigma.zip mtx-install-modules | fancybreak : https://modules.contextgarden.net/dl : t-fancybreak.zip mtx-install-modules | filter : https://modules.contextgarden.net/dl : t-filter.zip mtx-install-modules | french : https://modules.contextgarden.net/dl : t-french.zip mtx-install-modules | fullpage: https://modules.contextgarden.net/dl : t-fullpage.zip mtx-install-modules | gantt : https://modules.contextgarden.net/dl : t-gantt.zip mtx-install-modules | gfsdidot: https://modules.contextgarden.net/dl : gfsdidot.zip mtx-install-modules | gm : https://modules.contextgarden.net/dl : t-gm.zip mtx-install-modules | gnuplot : https://modules.contextgarden.net/dl : t-gnuplot.zip mtx-install-modules | greek : https://modules.contextgarden.net/dl : t-greek.zip mtx-install-modules | grph-downsample : https://modules.contextgarden.net/dl : grph-downsample.lua.zip mtx-install-modules | gs : https://modules.contextgarden.net/dl : t-gs.zip mtx-install-modules | high: https://modules.contextgarden.net/dl : high.zip mtx-install-modules | inifile : https://modules.contextgarden.net/dl : t-inifile.zip mtx-install-modules | karnaugh: https://modules.contextgarden.net/dl : karnaugh.zip mtx-install-modules | layout : https://modules.contextgarden.net/dl : t-layout.zip mtx-install-modules | letter : https://modules.contextgarden.net/dl : t-letter.zip mtx-install-modules | letterspace : https://modules.contextgarden.net/dl : t-letterspace.mkiv.zip mtx-install-modules | lettrine: https://modules.contextgarden.net/dl : t-lettrine.zip mtx-install-modules | lua-widow-control : https://modules.contextgarden.net/dl : lua-widow-control.zip mtx-install-modules | mathsets: https://modules.contextgarden.net/dl : t-mathsets.zip mtx-install-modules | pocketdiary : https://modules.contextgarden.net/dl : PocketDiary-V2.zip Environment-for-collating-marks.zip Collection-of-calendars-based-on-PocketDiary-module.zip mtx-install-modules | pret-c.lua : https://modules.contextgarden.net/dl : pret-c.lua.zip mtx-install-modules | rst : https://modules.contextgarden.net/dl : t-rst.zip mtx-install-modules | rsteps : https://modules.contextgarden.net/dl : t-rsteps.zip mtx-install-modules | simplebib : https://modules.contextgarden.net/dl : t-simplebib.zip mtx-install-modules | simplefonts : https://modules.contextgarden.net/dl : t-simplefonts.zip mtx-install-modules | simpleslides: https://modules.contextgarden.net/dl : t-simpleslides.zip mtx-install-modules | stormfontsupport: https://modules.contextgarden.net/dl : stormfontsupport.zip mtx-install-modules | taspresent : https://modules.contextgarden.net/dl : t-taspresent.zip mtx-install-modules | tikz: https://mirrors.ctan.org/install : graphics/pgf/base/pgf.tds.zip graphics/pgf/contrib/pgfplots.tds.zip graphics/pgf/contrib/circuitikz.tds.zip mtx-install-modules | title : https://modules.contextgarden.net/dl : t-title.zip mtx-install-modules | transliterator
[NTG-context] Re: Why overbar is so big
Running LMTX I have an error: lualibs-os not found: lua error > lua error on line 35 in file ng-pre-informacio-document.conTeXt: token call, execute: ...nt/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: module 'lualibs-os' not found: no field package.preload['lualibs-os'] no file '/usr/local/share/lua/5.4/lualibs-os.lua' no file '/usr/local/share/lua/5.4/lualibs-os/init.lua' no file '/usr/local/lib/lua/5.4/lualibs-os.lua' no file '/usr/local/lib/lua/5.4/lualibs-os/init.lua' no file './lualibs-os.lua' no file './lualibs-os/init.lua' stack traceback: [C]: in upvalue 'requiem' ...nt/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: in function <...nt/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:165> (...tail calls...) [ctxlua]:1: in main chunk 25 \subsubject{Versió} 26 27 Contínuament canvio aquest document, afegint, modificant o eliminant algunes parts seves. En aquest sentit, és una obra permanentment 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[weekday,{ },day,{ },month,{ },year] a les \currenttime, usant programari lliure (\goto{\Context}[url(http://wiki.contextgarden.net)] versió \contextversionnumber, \goto{\texenginename}[url(http://www.luatex.org)] versió \texengineversion\space i \goto{PGF/Ti{\em k}Z}[url(http://sourceforge.net/projects/pgf/)]) sota un entorn \goto{GNU/Linux}[url(https://www.linuxfoundation.org)] (\goto{Artix Linux}[url(https://artixlinux.org)]). La revisió d'aquest document és la número \goto{\directlua{ 34require "lualibs-os" 35 >> tex.sprint(math.floor(os.resultof("git log --pretty=oneline | wc -l")+1))}}[url(https://repo.or.cz/apunts-espa-matematiques.git/shortlog/HEAD)]. El conjunt de les versions s'administra amb \goto{git}[url(http://git-scm.com/)]. Teniu el codi font del document en aquest repositori: \goto{https://repo.or.cz/apunts-espa-matematiques.git}[url(https://repo.or.cz/apunts-espa-matematiques.git)]. 36 Can you give me the solution here? Thanks, ___ 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] Re: Why overbar is so big
So, Finally is it a bug in MKIV? It seems you fix some kind of bug in your messages. Is it true? > The output with Luametatex is correct but Luatex creates a raised bar > (and different linebreaking). > > \showglyphs > > \startTEXpage[offset=1ex] > \ruledhbox{$\overline{OA} = \overbar {OA} = 4.2$} > \par > \ruledhbox{$\underline {OA} = \underbar {OA} = 4.2$} > \par > \ruledhbox{$\widetilde {OA} = \widebar {OA} = 4.2$} > \par > \ruledhbox{$\overbracket {OA} = \underbracket {OA} = 4.2$} > \stopTEXpage > > I'll add a 'force fix in spite of extensible being present' in mkiv. In > lmtx we always fix also because we drop in nicer shapes (watch the round > tips in lm and fancy tips in antykwa) and concluded that fonts will > remain as they are. > > Hans As you suggested, I will give a try to LMTX but be aware most user still use MKIV until most distros upgrade the texlive version of context to LMTX. Regards, Xavier ___ 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] Re: Why overbar is so big
The font is the default: \setupbodyfont [modern, 12pt] % modern o cmr, 11pt I use Linux (arch derivative). Xavier On Fri, 11 Aug 2023 21:38:00 +0200 "Xavier B." ha escrit: > If you run > > \starttext > > Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod > tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, > quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo > consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse > cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non > proident, sunt in culpa qui officia deserunt mollit anim id est laborum. > $\overbar{OA} = 4,2$ > \stoptext > > Then the overbar has the bar in a very long altitude. > Can you please, see the output attached. > > Thanks in advance, > Xavier > > PS: I use context version:mtx-context | ConTeXt Process Management 1.04 > mtx-context | > mtx-context | main context file: > /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv > mtx-context | current version: 2023.03.10 12:15 > mtx-context | main context file: > /usr/share/texmf-dist/tex/context/base/mkxl/context.mkxl > mtx-context | current version: 2023.03.10 12:15 ___ 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] Why overbar is so big
If you run \starttext Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. $\overbar{OA} = 4,2$ \stoptext Then the overbar has the bar in a very long altitude. Can you please, see the output attached. Thanks in advance, Xavier PS: I use context version:mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2023.03.10 12:15 mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2023.03.10 12:15 c.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://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] Re: Triaging tikz error: Cannot parse this coordinate
First of all, thanks, Hans for the answer. I just do want others do [1] and it seems to work. What's my error here? Xavier [1] https://tex.stackexchange.com/a/7557 On Tue, 8 Aug 2023 19:43:01 +0200 Hans Hagen ha escrit: > On 8/8/2023 6:13 PM, Xavier B. wrote: > > After some time, I could write a minimal example with tikz with strange > > error: Cannot parse this coordinate. > > > > Can someone help me to find the bug? > > > > I attach the file and the log. > > > > Help very appreciate > > I run > \starttikzpicture > \foreach \p in {(6,2)} > { > \tracingall > \startscope[shift={\p}] > \draw[color=green!60, thick] (0,0) -- (1,1); > \stopscope > } >\stoptikzpicture > > looks like some parsing issue, are you sure that you can assign \p to > shift this way? > > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - > ___ 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] Triaging tikz error: Cannot parse this coordinate
After some time, I could write a minimal example with tikz with strange error: Cannot parse this coordinate. Can someone help me to find the bug? I attach the file and the log. Help very appreciate I run $ context --version mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2023.03.10 12:15 mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2023.03.10 12:15 via texlive (arch) Thanks, Xavier open source > level 1, order 1, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv' system > system > ConTeXt ver: 2023.03.10 12:15 MKIV fmt: 2023.6.6 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > beware: some patches loaded from cont-new.mkiv close source> level 2, order 2, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'dev', input './dev', result 'dev' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 2, order 3, name '/home/xan/zync/docencia/candoc8/apunts-espa/dev.tex' modules > 'pgfrcs' is loaded open source > level 3, order 4, name '/usr/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfrcs.tex' loading > ConTeXt User Module / pgfrcs open source > level 4, order 5, name '/usr/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfmod.tex' loading > ConTeXt User Module / pgfmodules close source> level 4, order 5, name '/usr/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfmod.tex' open source > level 4, order 6, name '/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex' close source> level 4, order 6, name '/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex' open source > level 4, order 7, name '/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-context.def' close source> level 4, order 7, name '/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-context.def' open source > level 4, order 8, name '/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex' open source > level 5, order 9, name '/usr/share/texmf-dist/tex/generic/pgf/pgf.revision.tex' close source> level 5, order 9, name '/usr/share/texmf-dist/tex/generic/pgf/pgf.revision.tex' close source> level 4, order 9, name '/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex' close source> level 3, order 9, name '/usr/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfrcs.tex' modules > 'pgfmat' is loaded open source > level 3, order 10, name '/usr/share/texmf-dist/tex/context/third/pgf/math/t-pgfmat.tex' loading > ConTeXt User Module / pgfmath open source > level 4, order 11, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex' open source > level 5, order 12, name '/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex' open source > level 6, order 13, name '/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeyslibraryfiltered.code.tex' close source> level 6, order 13, name '/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeyslibraryfiltered.code.tex' close source> level 5, order 13, name '/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex' open source > level 5, order 14, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex' close source> level 5, order 14, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex' open source > level 5, order 15, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex' close source> level 5, order 15, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex' open source > level 5, order 16, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex' close source> level 5, order 16, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex' open source > level 5, order 17, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex' close source> level 5, order 17, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex' open source > level 5, order 18, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex' close source> level 5, order 18, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex' open source > level 5, order 19, name '/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex' close source> level 5, order 19, name '/usr/share/texmf-dist/tex/generic
Re: [NTG-context] tikz error upgrading to texlive version (artix)
Max, when I use context minimals, I get: modules > 'pgfrcs' is not found modules > 'pgfmat' is not found modules > 'tikz' is loaded open source > level 3, order 4, name '/home/xan/bin/context-minimal/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' runtime error : input file 'pgfutil-common.tex' is not found, quitting mtx-context | fatal error: return code: 1 make: *** [Makefile:10: ng-exercicis.conTeXt.pdf] Error 1 [xan@coronari apunts-espa]$ but when I run texlive, no errors shown: $ pacman -Qs texlive local/texlive-bin 2023.66539-1 TeX Live binaries local/texlive-core 2023.66587-1 (texlive-most) TeX Live core distribution local/texlive-pictures 2023.66549-1 (texlive-most) TeX Live - Packages for drawings graphics local/texlive-science 2023.66461-1 (texlive-most) TeX Live - Typesetting for mathematics, natural and computer sciences Any hints? ___ 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] tikz error upgrading to texlive version (artix)
> > I reported that tikz is not working a few months ago, but after a few back > > and forth with Hans, could not get it to work. At that time, it appeared > > that I was the only have having issues, so I thought that I was making a > > mistake in how I was installing the package. > > > > I have reverted to using mkiv for my course notes, because I heavily use > > pgfplots and that is not working in LMTX. (I was also using some nice new > > features of metafun, and have had to resort to compiling them externally > > using LMTX via the filter module and compiling the main doc with MkIV). > afaik tikz should work ok, so can you make a test file? > > Hans Perhaps this is a good test. It's a complete example: \setupcolors[state=start] \definecolor[darkgreen][g=.5] \usemodule[tikz] \starttext \starttikzpicture[ scale=3,line cap=round axes/.style=, important line/.style={very thick}, information text/.style={rounded corners,fill=red!10,inner sep=1ex} ] \draw[help lines,step=0.5cm] (-1.4,-1.4) grid (1.4,1.4); \draw (0,0) circle (1cm); \draw[->] (-1.5,0) -- (1.5,0) node[right] {$x$} coordinate(x axis); \draw[->] (0,-1.5) -- (0,1.5) node[above] {$y$} coordinate(y axis); \foreach \x/\xtext in {-1, -.5/-\frac{1}{2}, 1} \draw[xshift=\x cm] (0pt,1pt) -- (0pt,-1pt) node[below,fill=white] {$\xtext$}; \foreach \y/\ytext in {-1, -.5/-\frac{1}{2}, .5/\frac{1}{2}, 1} \draw[yshift=\y cm] (1pt,0pt) -- (-1pt,0pt) node[left,fill=white] {$\ytext$}; \filldraw[fill=green!20,draw=green!50!black] (0,0) -- (3mm,0pt) arc(0:30:3mm); \draw (15:2mm) node[green!50!black] {$\alpha$}; \draw[important line,red] (30:1cm) -- node[left=1pt,fill=white] {$\sin \alpha$} (30:1cm |- x axis); \draw[important line,blue] (30:1cm |- x axis) -- node[below=2pt,fill=white] {$\cos \alpha$} (0,0); \draw[important line,orange!80!black] (1,0) -- node[right=1pt,fill=white] { $\displaystyle \tan \alpha \black = \frac{{\red \sin \alpha}}{\blue \cos \alpha}$} (intersection of 0,0--30:1cm and 1,0--1,1) coordinate (t); \draw (0,0) -- (t); \draw[xshift=1.85cm] node[right,text width=6cm,information text] { The {\darkgreen angle $\alpha$} is $30^\circ$ in the example ($\pi/6$ in radians). The {\red sine of $\alpha$}, which is the height of the red line, is \startformula {\red \sin \alpha} = 1/2. \stopformula By the Theorem of Pythagoras ... }; \stoptikzpicture \stoptext Taking from tikz manual [https://wiki.contextgarden.net/TikZ] Xavier ___ 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] tikz error upgrading to texlive version (artix)
Thanks, Max, for finding the problem. It is related to two more bugs: https://github.com/pgf-tikz/pgf/issues/990 and https://github.com/pgf-tikz/pgf/issues/958 Perhaps Hans or other people could help tikz staff to do the pending and definitive solution. It's annoying to have to put workarrounds in production documents. There is just a glad mkiv user ;-) Thanks another way, Xavier On Thu, 30 Mar 2023 14:57:06 -0600 Max Chernoff ha escrit: > Hi Xavier, > > During the texlive package, I get this error: > > > I simply run context to this file: > > > > \usemodule[tikz] > > > > \starttext > > {\bf a} \tikz (0,0) -- (1,0); > > \stoptext > > > So, the problem is not the package or the distro, it's something more > > basic which causes the error. > > Someone else reported this issue to the TikZ GitHub: > >https://github.com/pgf-tikz/pgf/issues/1248 > > so it's definitely not just you. There's also a suggested (temporary) > solution there. For a more permanent solution, someone will need to patch > the m-tikz.mkXX files distributed with ConTeXt. > > -- Max ___ 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] tikz error upgrading to texlive version (artix)
If I run the minimal context distro [https://wiki.contextgarden.net/Installation], I get this: $ context a.tex resolvers | formats | executing runner 'run luametatex format': /home/xan/bin/context-minimal/tex/texmf-linux-64/bin/luametatex --jobname="./a.tex" --fmt=/home/xan/bin/context-minimal/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/xan/bin/context-minimal/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./a.tex" --c:input="./a.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/xan/bin/context-minimal/tex/texmf-linux-64/bin" job > passes > version mismatch: 1.32 <> 1.33 system > system > ConTeXt ver: 2023.03.20 17:07 LMTX fmt: 2023.3.30 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/home/xan/bin/context-minimal/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name '/home/xan/bin/context-minimal/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './a', input './a.tex', result './a' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './a.tex' modules > 'tikz' is loaded open source > level 2, order 3, name '/home/xan/bin/context-minimal/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' runtime error : input file 'pgfutil-common.tex' is not found, quitting mtx-context | fatal error: return code: 1 So, the problem is not the package or the distro, it's something more basic which causes the error. Thanks in advance, On Thu, 30 Mar 2023 20:52:51 +0200 "Xavier B." ha escrit: > Hi, > > I use artix linux (a fork of arch with systemd alternative init systems). > During the texlive package, I get this error: > > return { > > ["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex", > ["lastcontext"]="\n \n \\inaccessible \n \n > \"\n\\pgfmath@catcodes ->\\catcode `\\==12 \\catcode `\\,=12 \\catcode > `\\|=12 \\catcode `\\&=12 \\let \"\n > \\pgfmath@char@quote \n\\pgfmathparse > ->\\begingroup \\pgfmath@catcodes \n > \\pgfmath@quickparsefalse \\ifpgfmathfloat \\let \\pgfmath@parse@next > =\\pgfmathfloatparsenumber \\else \\let \\pgfmath@parse@next =\\pgfmathparse@ > \\fi \\pgfmath@parse@next \n \\pgfmathparse \n > {1cm}\\ifpgfmathmathunitsdeclared \\pgf@x \\pgfmathresult mu\\relax \\else > \\pgf@x \\pgfmathresult pt\\relax \\fi \n\\pgfmath@next #1#2->#2\n > \n...\nl.926 \\pgfsetxvec{\\pgfpoint{1cm}{0cm}}\n > ", > ["lastluaerror"]="?", > ["lasttexerror"]="! Missing control sequence inserted", > ["linenumber"]=926, > ["offset"]=10, > } > > I simply run context to this file: > > \usemodule[tikz] > > \starttext > {\bf a} \tikz (0,0) -- (1,0); > \stoptext > > My version of context is: > > [xan@coronari ~]$ context --version > mtx-context | ConTeXt Process Management 1.04 > mtx-context | > mtx-context | main context file: > /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv > mtx-context | current version: 2023.03.10 12:15 > mtx-context | main context file: > /usr/share/texmf-dist/tex/context/base/mkxl/context.mkxl > mtx-context | current version: 2023.03.10 12:15 > > My packages are: > > $ pacman -Qs texlive > local/texlive-bibtexextra 2023.66579-1 (texlive-most) > TeX Live - Additional BibTeX styles and bibliography databases > local/texlive-bin 2023.66539-1 > TeX Live binaries > local/texlive-core 2023.66587-1 (texlive-most) > TeX Live core distribution > local/texlive-pictures 2023.66549-1 (texlive-most) > TeX Live - Packages for drawings graphics > local/texlive-publishers 2023.66550-1 (texlive-most) > TeX Live - LaTeX classes and packages for specific publishers > local/texlive-science 2023.66461-1 (texlive-most) > TeX Live - Typesetting for mathematics, natural and computer sciences > > > > I also posted the message in Artix mailing list
[NTG-context] tikz error upgrading to texlive version (artix)
Hi, I use artix linux (a fork of arch with systemd alternative init systems). During the texlive package, I get this error: return { ["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex", ["lastcontext"]="\n \n \\inaccessible \n \n \"\n\\pgfmath@catcodes ->\\catcode `\\==12 \\catcode `\\,=12 \\catcode `\\|=12 \\catcode `\\&=12 \\let \"\n \\pgfmath@char@quote \n\\pgfmathparse ->\\begingroup \\pgfmath@catcodes \n \\pgfmath@quickparsefalse \\ifpgfmathfloat \\let \\pgfmath@parse@next =\\pgfmathfloatparsenumber \\else \\let \\pgfmath@parse@next =\\pgfmathparse@ \\fi \\pgfmath@parse@next \n \\pgfmathparse \n {1cm}\\ifpgfmathmathunitsdeclared \\pgf@x \\pgfmathresult mu\\relax \\else \\pgf@x \\pgfmathresult pt\\relax \\fi \n\\pgfmath@next #1#2->#2\n \n...\nl.926 \\pgfsetxvec{\\pgfpoint{1cm}{0cm}}\n ", ["lastluaerror"]="?", ["lasttexerror"]="! Missing control sequence inserted", ["linenumber"]=926, ["offset"]=10, } I simply run context to this file: \usemodule[tikz] \starttext {\bf a} \tikz (0,0) -- (1,0); \stoptext My version of context is: [xan@coronari ~]$ context --version mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2023.03.10 12:15 mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2023.03.10 12:15 My packages are: $ pacman -Qs texlive local/texlive-bibtexextra 2023.66579-1 (texlive-most) TeX Live - Additional BibTeX styles and bibliography databases local/texlive-bin 2023.66539-1 TeX Live binaries local/texlive-core 2023.66587-1 (texlive-most) TeX Live core distribution local/texlive-pictures 2023.66549-1 (texlive-most) TeX Live - Packages for drawings graphics local/texlive-publishers 2023.66550-1 (texlive-most) TeX Live - LaTeX classes and packages for specific publishers local/texlive-science 2023.66461-1 (texlive-most) TeX Live - Typesetting for mathematics, natural and computer sciences I also posted the message in Artix mailing list [https://lists.artixlinux.org/archives/artix-general/2023-March/000977.html] Thanks in advance, Xavier PS: In arch there are many AUR packages for installing minimal latest version: https://aur.archlinux.org/packages/context-minimals-git https://aur.archlinux.org/packages/context https://aur.archlinux.org/packages/context-modules Which one do you recomend to? ___ 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] Problems with itemize with several columns
It seems that putting \column before itemize of 'c', forces 'c' together with this content. Repeating this step produces what I want: \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i divisió} Opereu: \startitemize[a, columns, three] \item \startformula 3 \cdot \frac{5}{3} \stopformula \item \startformula \frac{3}{4} \cdot \frac{2}{5} \stopformula \column \item \startformula \frac{1}{3} \cdot \frac{3}{4} \div \frac{1}{5} \stopformula \item \startformula 5 \div \frac{7}{10} \cdot 7 \div \frac{2}{5} \stopformula \column \item \startformula \frac{1}{2} \cdot \frac{1}{2} \stopformula \item \startformula \frac{3}{2} \div \frac{2}{3} \div \frac{5}{4} \stopformula \column \item \startformula \frac{2}{3} \colon \frac{2}{5} \stopformula \item \startformula \frac{3}{4} \colon \frac{1}{2} \cdot 6 \stopformula \item \startformula \frac{2}{3} \colon \frac{3}{4} \cdot \frac{1}{2} \stopformula \stopitemize \stopexercici @fv leung said I have to replace frac for dfrac, but it mess up the following content in my book. Thanks all, On Thu, 24 Feb 2022 23:04:43 + Bruce Horrocks ha escrit: > > > > On 24 Feb 2022, at 22:10, Xavier B. via ntg-context > > wrote: > > > > Even if I change > > \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i > > divisió} Opereu: > > \startitemize[a, columns, three] > > > > > > for > > > > \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i > > divisió} Opereu: > > \startitemize[a, columns] > > > > > > the 'c' jumps. > > > > Isn't ConTeXt capable of handle that? > > Please see the attached PDF. > > The green line shows how much space is needed to fully print item (b). Item > (c) will need the same amount of space, shown by the red line. However, this > would take you into the footer area (shown by the blue arrows), so item (c) > is split: the item label fits into the space at the bottom of the column and > so is printed there; the fraction doesn't fit and so is moved to the next > column. > > The solution to your problem would be some way of forcing the item body to > stay with the label. I don't know what that command is - hopefully someone > here does know. > > — > Bruce Horrocks > Hampshire, UK ___ 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] Problems with itemize with several columns
Thanks, Bruce, for clarifying this. But can we put 'c' character in the second column. So 'c' and its math content were together. The annoying thing is that the letter is in one column and its content in another. Thanks, On Thu, 24 Feb 2022 23:04:43 + Bruce Horrocks ha escrit: > > > > On 24 Feb 2022, at 22:10, Xavier B. via ntg-context > > wrote: > > > > Even if I change > > \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i > > divisió} Opereu: > > \startitemize[a, columns, three] > > > > > > for > > > > \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i > > divisió} Opereu: > > \startitemize[a, columns] > > > > > > the 'c' jumps. > > > > Isn't ConTeXt capable of handle that? > > Please see the attached PDF. > > The green line shows how much space is needed to fully print item (b). Item > (c) will need the same amount of space, shown by the red line. However, this > would take you into the footer area (shown by the blue arrows), so item (c) > is split: the item label fits into the space at the bottom of the column and > so is printed there; the fraction doesn't fit and so is moved to the next > column. > > The solution to your problem would be some way of forcing the item body to > stay with the label. I don't know what that command is - hopefully someone > here does know. > > — > Bruce Horrocks > Hampshire, UK ___ 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] Problems with itemize with several columns
Even if I change \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i divisió} Opereu: \startitemize[a, columns, three] for \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i divisió} Opereu: \startitemize[a, columns] the 'c' jumps. Isn't ConTeXt capable of handle that? ___ 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] Problems with itemize with several columns
On Wed, 23 Feb 2022 17:52:08 + Bruce Horrocks ha escrit: > > > > On 23 Feb 2022, at 11:28, Xavier B. via ntg-context > > wrote: > > > > In my previous post > > [https://mailman.ntg.nl/pipermail/ntg-context/2022/105138.html], I don't > > know the reason, but the attached code des not display very well in mailing > > list. I put it here: > > > > \defineenumeration > > [exercici] > > [alternative=serried, before={\blank[medium]\testpage[1]}, > > text={Exercici}, stopper={.\space}, width=fit, headstyle=\ss, > > distance=0.25em, width=fit, headcolor=exercici_color, title=yes, > > titlestyle=\ss, titledistance=0em, left={\bgroup\bf}, right={\egroup}, > > after={\blank[big]}, prefix=yes, prefixsegments=section, way=section] > [snip] > > Removing "alternative=serried" gives a more grid like layout and (possibly > coincidentally) the problem of the 'c' and 'h' labels being orphaned at the > bottom of the page goes away. > > However the Exercici 1.3 heading is now too close to the end of the previous > set. Perhaps changing your "before=" setting might improve things. > > This is on version 2022.01.10 08:36 > — > Bruce Horrocks > Hampshire, UK > Thanks, Bruce, but removing alternative=serried is not an option. I don't understand that 'e' fits the space and 'c' doesn't. @Luis: joinedup does not produce changes In conclusion, I have the same problem ;-) ___ 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] Problems with itemize with several columns
In my previous post [https://mailman.ntg.nl/pipermail/ntg-context/2022/105138.html], I don't know the reason, but the attached code des not display very well in mailing list. I put it here: \defineenumeration [exercici] [alternative=serried, before={\blank[medium]\testpage[1]}, text={Exercici}, stopper={.\space}, width=fit, headstyle=\ss, distance=0.25em, width=fit, headcolor=exercici_color, title=yes, titlestyle=\ss, titledistance=0em, left={\bgroup\bf}, right={\egroup}, after={\blank[big]}, prefix=yes, prefixsegments=section, way=section] \starttext \section{Operacions amb fraccions} \subject{Preguntes} \startexercici[exercici:operacions-amb-fraccions-1]{suma i resta} Opereu: \startitemize[a, columns, three] \item \startformula \frac{2}{7} + \frac{6}{7} - \frac{1}{7} \stopformula \item \startformula \frac{5}{8} + \frac{9}{8} \stopformula \item \startformula \frac{1}{4} + 5 - \frac{1}{4} \stopformula \item \startformula \frac{3}{5} - \frac{2}{5} + \frac{11}{5} \stopformula \item \startformula \frac{2}{3} + \frac{1}{4} \stopformula \item \startformula 5 + \frac{4}{5} \stopformula \item \startformula \frac{2}{3} + \frac{5}{8} - \frac{1}{9} \stopformula \item \startformula 10 - \frac{1}{6} + \frac{6}{8} \stopformula \item \startformula \frac{3}{10} + \frac{7}{12} \stopformula \stopitemize \stopexercici \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i divisió} Opereu: \startitemize[a, columns, three] \item \startformula 3 \cdot \frac{5}{3} \stopformula \item \startformula \frac{3}{4} \cdot \frac{2}{5} \stopformula \item \startformula \frac{1}{3} \cdot \frac{3}{4} \div \frac{1}{5} \stopformula %\column \item \startformula 5 \div \frac{7}{10} \cdot 7 \div \frac{2}{5} \stopformula \item \startformula \frac{1}{2} \cdot \frac{1}{2} \stopformula \item \startformula \frac{3}{2} \div \frac{2}{3} \div \frac{5}{4} \stopformula %\column \item \startformula \frac{2}{3} \colon \frac{2}{5} \stopformula \item \startformula \frac{3}{4} \colon \frac{1}{2} \cdot 6 \stopformula \item \startformula \frac{2}{3} \colon \frac{3}{4} \cdot \frac{1}{2} \stopformula \stopitemize \stopexercici \startexercici[exercici:operacions-amb-fraccions-3]{operacions combinades} \startitemize[a, columns, three] \item \startformula \frac{3}{4} + \frac{2}{5} \cdot \frac{1}{2} \stopformula \item \startformula \frac{2}{5} \div \frac{3}{5} - \frac{1}{4} \stopformula \item \startformula \left( 2 + \frac{3}{5} \right) \div \frac{4}{3} \stopformula \item \startformula \frac{2}{3} - \frac{5}{6}\cdot 8 \stopformula \item \startformula 4 + \frac{3}{5} - \left(2 - \frac{1}{2}\right) \stopformula \item \startformula 4 \cdot \left(\frac{5}{6} - \frac{1}{4} + \frac{4}{9}\right) \stopformula \item \startformula \frac{5}{6} - \left(\frac{1}{5} + \frac{1}{3}\right) \stopformula \item \startformula \frac{5}{6} \div \left( \frac{2}{5} - \frac{1}{10}\right) \stopformula \item \startformula 4 \cdot \frac{2}{3} \cdot \left(\frac{2}{4} \div \frac{8}{10}\right) \stopformula \item \startformula \frac{3}{4} + \frac{1}{2} \cdot \frac{4}{10} \stopformula \item \startformula \frac{10}{12} - \left(\frac{1}{10} + \frac{3}{8}\right) \stopformula \item \startformula \left(\frac{1}{2} + 2\right) \cdot \left(2 - \frac{1}{4}\right) \stopformula \item \startformula \left(\frac{3}{4} + \frac{1}{4}\right) \div \left(\frac{5}{6} - \frac{1}{3}\right) \stopformula \item \startformula 5 + 10 - \frac{1}{10} + 25 \stopformula \item \startformula \frac{1}{3} + \frac{1}{2} - \frac{2}{5} \stopformula \item \startformula \left(\frac{1}{2} + \frac{2}{10}\right) \cdot \frac{2}{6} \stopformula \item \startformula 5 + \frac{1}{3} \cdot \frac{5}{3} \stopformula \item \startformula \left( 5 + \frac{1}{3} \right) \cdot \frac{5}{3} \stopformula \stopitemize \stopexercici \stoptext I re-attach the resulting pdf Thanks, On Wed, 23 Feb 2022 09:59:58 +0100 "Xavier B." ha escrit: > Hi, > > I try to solve this, but I could not. Can you please help me. > I make a math problem sheet. In "Exercici 1.2", I put a itemize with three > columns, but the 'c' exercise jumps to second column. I want that a, b, c > remains in the first column, d, e, f in the second and g, h, i in the third. > > I tried \column command but it's worse. > > I attached the source and generated pdf. > > My version of context is: > context --version > mtx-context | ConTeXt Process Management 1.04 > mtx-context | > mtx-context | main context file: > /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv > mtx-context | current version: 2021.03.05 19:11 > mtx-context | main context file: > /usr/share/texmf-dist/tex/context/base/mkxl/context.mkxl > mtx-context | current version: 2021.03.05 19:11 > > > Thanks in advance, > > Xavier > > PS: Please CCme > a.pdf Description: Adobe PDF document __
[NTG-context] Problems with itemize with several columns
Hi, I try to solve this, but I could not. Can you please help me. I make a math problem sheet. In "Exercici 1.2", I put a itemize with three columns, but the 'c' exercise jumps to second column. I want that a, b, c remains in the first column, d, e, f in the second and g, h, i in the third. I tried \column command but it's worse. I attached the source and generated pdf. My version of context is: context --version mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2021.03.05 19:11 mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2021.03.05 19:11 Thanks in advance, Xavier PS: Please CCme a.context Description: Binary data a.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 / 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] R module
Hi, Just a ConTeXt user needs a R module documentation. Is there some MyWay or something else with a little bit of documentation about R module in ConTeXt MKIV? Another thing: R module seems unmaintained because \usemodule[r] gives me modules > 'r' is not found Yes, I know that filter module exists and it could emulate R module but I just want to know officially the state of R module Thanks a lot, Xavier ___ 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] \definetextbackground does not fill tables within
On Tue, 14 Aug 2018 09:49:05 +0200 Hans Hagen ha escrit: > On 8/13/2018 11:37 PM, dxpubl...@posteo.net wrote: > > Hi, > > > > I have simple document which I define my \definetextbackground: > > \startteoria and \stopteoria (see below). When I use it and put table > > within, the table does not get filled with color. Any solution? > \setupfloats[table][freeregion=no] > Thanks a lot, Hans. It works. Does it have any collateral effects? ___ 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 ___