ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] An error which is not in .log file
@ 2023-08-15 14:50 Xavier B.
  2023-08-15 15:08 ` [NTG-context] " Hans Hagen
  0 siblings, 1 reply; 16+ messages in thread
From: Xavier B. @ 2023-08-15 14:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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: <none>
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 (τεχ)
mkiv lua stats  > runtime: 20.941 seconds, 297 processed pages, 297 shipped pages, 14.183 pages/second
mtx-context     | fatal error: return code: 1


but this not appear in .log file.

What can I do for seeing what happens?

Thanks in advance,
Xavier

PS: I could share my sourcecode with public git repo if you prefer.
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-15 14:50 [NTG-context] An error which is not in .log file Xavier B.
@ 2023-08-15 15:08 ` Hans Hagen
  2023-08-15 15:35   ` Xavier B.
  2023-08-15 17:46   ` Xavier B.
  0 siblings, 2 replies; 16+ messages in thread
From: Hans Hagen @ 2023-08-15 15:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 8/15/2023 4:50 PM, Xavier B. wrote:
> 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

so check what starts at line 276 and see what should match

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-15 15:08 ` [NTG-context] " Hans Hagen
@ 2023-08-15 15:35   ` Xavier B.
  2023-08-15 19:18     ` Pablo Rodriguez
  2023-08-15 17:46   ` Xavier B.
  1 sibling, 1 reply; 16+ messages in thread
From: Xavier B. @ 2023-08-15 15:35 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-15 15:08 ` [NTG-context] " Hans Hagen
  2023-08-15 15:35   ` Xavier B.
@ 2023-08-15 17:46   ` Xavier B.
  2023-08-15 17:54     ` Mikael Sundqvist
  2023-08-15 19:13     ` Wolfgang Schuster
  1 sibling, 2 replies; 16+ messages in thread
From: Xavier B. @ 2023-08-15 17:46 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-15 17:46   ` Xavier B.
@ 2023-08-15 17:54     ` Mikael Sundqvist
  2023-08-15 19:13     ` Wolfgang Schuster
  1 sibling, 0 replies; 16+ messages in thread
From: Mikael Sundqvist @ 2023-08-15 17:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 5736 bytes --]

Hi,

I suggest to comment out/add \stoptext until the error go,and that way
narrow it down. The usual way...

/Mikael

Den tis 15 aug. 2023 19:50Xavier B. <somenxavier@posteo.net> skrev:

> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 7004 bytes --]

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-15 17:46   ` Xavier B.
  2023-08-15 17:54     ` Mikael Sundqvist
@ 2023-08-15 19:13     ` Wolfgang Schuster
  2023-08-15 19:36       ` Xavier B.
  1 sibling, 1 reply; 16+ messages in thread
From: Wolfgang Schuster @ 2023-08-15 19:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Xavier B.

The error message is about line 276 in one of your included files but we 
need the content of the faulty file.
To get the faulty file comment your input line until the error 
disappears, ensure to delete the tuc file (context --purge) because 
sometimes index/register entries are the problem.

There is also something wrong with the structure of your document when 
need \page[yes] after each file.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-15 15:35   ` Xavier B.
@ 2023-08-15 19:18     ` Pablo Rodriguez
  0 siblings, 0 replies; 16+ messages in thread
From: Pablo Rodriguez @ 2023-08-15 19:18 UTC (permalink / raw)
  To: ntg-context

On 8/15/23 17:35, Xavier B. wrote:
> I have the document split in several files.

Hi Xavier,

as someone already mentioned it, the way to check would be:

  mtxrun --scripts check your-document.tex

But this doesn‘t parse \input, so you need to create a loop.

In Unix, it would read something like:

  for i in *.conTeXt; do mtxrun --scripts check $i; done

Windows might require something similar to (inspired by
https://ss64.com/nt/for.html):

  for %%I (*.context) do mtxrun --scripts check %%I

It might report the cause this way.

When ConTeXt quits unexpectedly ("mtx-context | fatal error: return
code: 1" is a error message from the console), it might be a started
command not closed, such as in:

  \starttext
    \startitemize
      \item a
  \stoptext

Just in case it might help,

Pablo
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-15 19:13     ` Wolfgang Schuster
@ 2023-08-15 19:36       ` Xavier B.
  2023-08-15 19:44         ` Wolfgang Schuster
  0 siblings, 1 reply; 16+ messages in thread
From: Xavier B. @ 2023-08-15 19:36 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On Tue, 15 Aug 2023 21:13:54 +0200
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-15 19:36       ` Xavier B.
@ 2023-08-15 19:44         ` Wolfgang Schuster
  2023-08-15 22:12           ` Xavier B.
  0 siblings, 1 reply; 16+ messages in thread
From: Wolfgang Schuster @ 2023-08-15 19:44 UTC (permalink / raw)
  To: Xavier B.; +Cc: mailing list for ConTeXt users

Xavier B. schrieb am 15.08.2023 um 21:36:
> On Tue, 15 Aug 2023 21:13:54 +0200
> Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 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

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-15 19:44         ` Wolfgang Schuster
@ 2023-08-15 22:12           ` Xavier B.
  2023-08-16  4:27             ` Wolfgang Schuster
  0 siblings, 1 reply; 16+ messages in thread
From: Xavier B. @ 2023-08-15 22:12 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 2755 bytes --]

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)

<line 3.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]).

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 <wolfgang.schuster.lists@gmail.com> ha escrit:

> Xavier B. schrieb am 15.08.2023 um 21:36:
> > On Tue, 15 Aug 2023 21:13:54 +0200
> > Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 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
> 

[-- Attachment #2: dev.log --]
[-- Type: text/plain, Size: 15038 bytes --]

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             > 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 'pgfmathfunctions.basic.code.tex'
close source    > level 5, order 23, name 'pgfmathfunctions.basic.code.tex'
open source     > level 5, order 24, name 'pgfmathfunctions.trigonometric.code.tex'
close source    > level 5, order 24, name 'pgfmathfunctions.trigonometric.code.tex'
open source     > level 5, order 25, name 'pgfmathfunctions.random.code.tex'
close source    > level 5, order 25, name 'pgfmathfunctions.random.code.tex'
open source     > level 5, order 26, name 'pgfmathfunctions.comparison.code.tex'
close source    > level 5, order 26, name 'pgfmathfunctions.comparison.code.tex'
open source     > level 5, order 27, name 'pgfmathfunctions.base.code.tex'
close source    > level 5, order 27, name 'pgfmathfunctions.base.code.tex'
open source     > level 5, order 28, name 'pgfmathfunctions.round.code.tex'
close source    > level 5, order 28, name 'pgfmathfunctions.round.code.tex'
open source     > level 5, order 29, name 'pgfmathfunctions.misc.code.tex'
close source    > level 5, order 29, name 'pgfmathfunctions.misc.code.tex'
open source     > level 5, order 30, name 'pgfmathfunctions.integerarithmetics.code.tex'
close source    > level 5, order 30, name 'pgfmathfunctions.integerarithmetics.code.tex'
open source     > level 5, order 31, name 'pgfmathcalc.code.tex'
close source    > level 5, order 31, name 'pgfmathcalc.code.tex'
open source     > level 5, order 32, name 'pgfmathfloat.code.tex'
close source    > level 5, order 32, name 'pgfmathfloat.code.tex'
close source    > level 4, order 32, name 'pgfmath.code.tex'
open source     > level 4, order 33, name 'pgfint.code.tex'
close source    > level 4, order 33, name 'pgfint.code.tex'
open source     > level 4, order 34, name 'pgfcorepoints.code.tex'
close source    > level 4, order 34, name 'pgfcorepoints.code.tex'
open source     > level 4, order 35, name 'pgfcorepathconstruct.code.tex'
close source    > level 4, order 35, name 'pgfcorepathconstruct.code.tex'
open source     > level 4, order 36, name 'pgfcorepathusage.code.tex'
close source    > level 4, order 36, name 'pgfcorepathusage.code.tex'
open source     > level 4, order 37, name 'pgfcorescopes.code.tex'
close source    > level 4, order 37, name 'pgfcorescopes.code.tex'
open source     > level 4, order 38, name 'pgfcoregraphicstate.code.tex'
close source    > level 4, order 38, name 'pgfcoregraphicstate.code.tex'
open source     > level 4, order 39, name 'pgfcoretransformations.code.tex'
close source    > level 4, order 39, name 'pgfcoretransformations.code.tex'
open source     > level 4, order 40, name 'pgfcorequick.code.tex'
close source    > level 4, order 40, name 'pgfcorequick.code.tex'
open source     > level 4, order 41, name 'pgfcoreobjects.code.tex'
close source    > level 4, order 41, name 'pgfcoreobjects.code.tex'
open source     > level 4, order 42, name 'pgfcorepathprocessing.code.tex'
close source    > level 4, order 42, name 'pgfcorepathprocessing.code.tex'
open source     > level 4, order 43, name 'pgfcorearrows.code.tex'
close source    > level 4, order 43, name 'pgfcorearrows.code.tex'
open source     > level 4, order 44, name 'pgfcoreshade.code.tex'
close source    > level 4, order 44, name 'pgfcoreshade.code.tex'
open source     > level 4, order 45, name 'pgfcoreimage.code.tex'
close source    > level 4, order 45, name 'pgfcoreimage.code.tex'
open source     > level 4, order 46, name 'pgfcoreexternal.code.tex'
close source    > level 4, order 46, name 'pgfcoreexternal.code.tex'
open source     > level 4, order 47, name 'pgfcorelayers.code.tex'
close source    > level 4, order 47, name 'pgfcorelayers.code.tex'
open source     > level 4, order 48, name 'pgfcoretransparency.code.tex'
close source    > level 4, order 48, name 'pgfcoretransparency.code.tex'
open source     > level 4, order 49, name 'pgfcorepatterns.code.tex'
close source    > level 4, order 49, name 'pgfcorepatterns.code.tex'
open source     > level 4, order 50, name 'pgfcorerdf.code.tex'
close source    > level 4, order 50, name 'pgfcorerdf.code.tex'
close source    > level 3, order 50, name 'pgfcore.code.tex'
open source     > level 3, order 51, name 'pgffor.code.tex'
close source    > level 3, order 51, name 'pgffor.code.tex'
open source     > level 3, order 52, name 'pgfmoduleplot.code.tex'
close source    > level 3, order 52, name 'pgfmoduleplot.code.tex'
open source     > level 3, order 53, name 'tikz.code.tex'
open source     > level 4, order 54, name 'pgflibraryplothandlers.code.tex'
close source    > level 4, order 54, name 'pgflibraryplothandlers.code.tex'
open source     > level 4, order 55, name 'pgfmodulematrix.code.tex'
open source     > level 5, order 56, name 'pgfmoduleshapes.code.tex'
close source    > level 5, order 56, name 'pgfmoduleshapes.code.tex'
close source    > level 4, order 56, name 'pgfmodulematrix.code.tex'
open source     > level 4, order 57, name 'tikzlibrarytopaths.code.tex'
close source    > level 4, order 57, name 'tikzlibrarytopaths.code.tex'
close source    > level 3, order 57, name 'tikz.code.tex'
open source     > level 3, order 58, name 'pgfmoduleplot.code.tex'
close source    > level 3, order 58, name 'pgfmoduleplot.code.tex'
open source     > level 3, order 59, name 'pgfmoduledecorations.code.tex'
close source    > level 3, order 59, name 'pgfmoduledecorations.code.tex'
close source    > level 2, order 59, name '/home/xan/bin/context-current/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl'
open source     > level 2, order 60, name 'tikzlibrarydecorations.markings.code.tex'
open source     > level 3, order 61, name 'tikzlibrarydecorations.code.tex'
close source    > level 3, order 61, name 'tikzlibrarydecorations.code.tex'
open source     > level 3, order 62, name 'pgflibrarydecorations.markings.code.tex'
close source    > level 3, order 62, name 'pgflibrarydecorations.markings.code.tex'
close source    > level 2, order 62, name 'tikzlibrarydecorations.markings.code.tex'
open source     > level 2, order 63, name 'tikzlibrarytrees.code.tex'
close source    > level 2, order 63, name 'tikzlibrarytrees.code.tex'
open source     > level 2, order 64, name 'tikzlibrarycalc.code.tex'
close source    > level 2, order 64, name 'tikzlibrarycalc.code.tex'
open source     > level 2, order 65, name 'tikzlibraryintersections.code.tex'
open source     > level 3, order 66, name 'pgflibraryintersections.code.tex'
open source     > level 4, order 67, name 'pgflibraryfpu.code.tex'
close source    > level 4, order 67, name 'pgflibraryfpu.code.tex'
close source    > level 3, order 67, name 'pgflibraryintersections.code.tex'
close source    > level 2, order 67, name 'tikzlibraryintersections.code.tex'
open source     > level 2, order 68, name 'tikzlibrarythrough.code.tex'
close source    > level 2, order 68, name 'tikzlibrarythrough.code.tex'
open source     > level 2, order 69, name 'tikzlibrarybackgrounds.code.tex'
close source    > level 2, order 69, name 'tikzlibrarybackgrounds.code.tex'
open source     > level 2, order 70, name 'tikzlibraryarrows.code.tex'
open source     > level 3, order 71, name 'pgflibraryarrows.code.tex'
close source    > level 3, order 71, name 'pgflibraryarrows.code.tex'
close source    > level 2, order 71, name 'tikzlibraryarrows.code.tex'
open source     > level 2, order 72, name 'tikzlibraryshapes.geometric.code.tex'
open source     > level 3, order 73, name 'pgflibraryshapes.geometric.code.tex'
close source    > level 3, order 73, name 'pgflibraryshapes.geometric.code.tex'
close source    > level 2, order 73, name 'tikzlibraryshapes.geometric.code.tex'
open source     > level 2, order 74, name 'tikzlibraryfadings.code.tex'
open source     > level 3, order 75, name 'pgflibraryfadings.code.tex'
fonts           > beware: no fonts are loaded yet, using 'lm mono' in box
close source    > level 3, order 75, name 'pgflibraryfadings.code.tex'
close source    > level 2, order 75, name 'tikzlibraryfadings.code.tex'
open source     > level 2, order 76, name 'tikzlibrarydecorations.pathreplacing.code.tex'
open source     > level 3, order 77, name 'pgflibrarydecorations.pathreplacing.code.tex'
close source    > level 3, order 77, name 'pgflibrarydecorations.pathreplacing.code.tex'
close source    > level 2, order 77, name 'tikzlibrarydecorations.pathreplacing.code.tex'
open source     > level 2, order 78, name 'tikzlibraryshadings.code.tex'
open source     > level 3, order 79, name 'pgflibraryshadings.code.tex'
close source    > level 3, order 79, name 'pgflibraryshadings.code.tex'
close source    > level 2, order 79, name 'tikzlibraryshadings.code.tex'
open source     > level 2, order 80, name 'tikzlibrarypatterns.code.tex'
open source     > level 3, order 81, name 'pgflibrarypatterns.code.tex'
close source    > level 3, order 81, name 'pgflibrarypatterns.code.tex'
close source    > level 2, order 81, name 'tikzlibrarypatterns.code.tex'
open source     > level 2, order 82, name 'tikzlibraryfit.code.tex'
close source    > level 2, order 82, name 'tikzlibraryfit.code.tex'
open source     > level 2, order 83, name 'tikzlibrarypositioning.code.tex'
close source    > level 2, order 83, name 'tikzlibrarypositioning.code.tex'
open source     > level 2, order 84, name 'tikzlibraryshapes.symbols.code.tex'
open source     > level 3, order 85, name 'pgflibraryshapes.symbols.code.tex'
close source    > level 3, order 85, name 'pgflibraryshapes.symbols.code.tex'
close source    > level 2, order 85, name 'tikzlibraryshapes.symbols.code.tex'
open source     > level 2, order 86, name 'tikzlibrarychains.code.tex'
close source    > level 2, order 86, name 'tikzlibrarychains.code.tex'
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)

<line 3.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]).

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.

[-- Attachment #3: dev.tex --]
[-- Type: application/x-tex, Size: 10762 bytes --]

[-- Attachment #4: Type: text/plain, Size: 495 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-15 22:12           ` Xavier B.
@ 2023-08-16  4:27             ` Wolfgang Schuster
  2023-08-16  7:15               ` Xavier B.
  2023-08-16 10:31               ` Aditya Mahajan
  0 siblings, 2 replies; 16+ messages in thread
From: Wolfgang Schuster @ 2023-08-16  4:27 UTC (permalink / raw)
  To: Xavier B.; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-16  4:27             ` Wolfgang Schuster
@ 2023-08-16  7:15               ` Xavier B.
  2023-08-16 15:02                 ` Wolfgang Schuster
  2023-08-16 10:31               ` Aditya Mahajan
  1 sibling, 1 reply; 16+ messages in thread
From: Xavier B. @ 2023-08-16  7:15 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

Mmmm.... thanks.
How can I pass so [scale=0.9] to starttikzpicture?

On Wed, 16 Aug 2023 06:27:34 +0200
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-16  4:27             ` Wolfgang Schuster
  2023-08-16  7:15               ` Xavier B.
@ 2023-08-16 10:31               ` Aditya Mahajan
  1 sibling, 0 replies; 16+ messages in thread
From: Aditya Mahajan @ 2023-08-16 10:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

On Wed, 16 Aug 2023, Wolfgang Schuster wrote:

> 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.

Looking at m-tikz.mkxl, \starttikzpicture should allow optional arguments. The following works correctly for me with ver 2023.07.18:

\usemodule[tikz]
\usetikzlibrary[patterns]
\starttext
	\starttikzpicture[scale=0.75]
	% recipient
	\draw (0,0) -- (0,10) -- (2,10) -- (2,0) -- cycle;

	% aigua
	\filldraw[pattern=north east lines, pattern color=orange] (0,0) -- (0,4) -- (2,4) -- (2,0) -- cycle;
	\draw (1,2) node[fill=white] {aigua};

	% oli
	\filldraw[pattern=dots, pattern color=blue] (0,4) -- (0,6.5) -- (2,6.5) -- (2,4) -- cycle;
	\draw (1,5.25) node[fill=white] {oli};

	% ròtuls
	\draw (2,2) node[anchor=west] {$2/5$};
	\draw (2,5.25) node[anchor=west] {$1/4$};
	\stoptikzpicture
\stoptext

Aditya

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-16  7:15               ` Xavier B.
@ 2023-08-16 15:02                 ` Wolfgang Schuster
  2023-08-16 17:52                   ` Xavier B.
  2023-08-19  9:28                   ` Xavier B.
  0 siblings, 2 replies; 16+ messages in thread
From: Wolfgang Schuster @ 2023-08-16 15:02 UTC (permalink / raw)
  To: Xavier B.; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-16 15:02                 ` Wolfgang Schuster
@ 2023-08-16 17:52                   ` Xavier B.
  2023-08-19  9:28                   ` Xavier B.
  1 sibling, 0 replies; 16+ messages in thread
From: Xavier B. @ 2023-08-16 17:52 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On Wed, 16 Aug 2023 17:02:53 +0200
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [NTG-context] Re: An error which is not in .log file
  2023-08-16 15:02                 ` Wolfgang Schuster
  2023-08-16 17:52                   ` Xavier B.
@ 2023-08-19  9:28                   ` Xavier B.
  1 sibling, 0 replies; 16+ messages in thread
From: Xavier B. @ 2023-08-19  9:28 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

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 <wolfgang.schuster.lists@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-08-19  9:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-15 14:50 [NTG-context] An error which is not in .log file Xavier B.
2023-08-15 15:08 ` [NTG-context] " Hans Hagen
2023-08-15 15:35   ` Xavier B.
2023-08-15 19:18     ` Pablo Rodriguez
2023-08-15 17:46   ` Xavier B.
2023-08-15 17:54     ` Mikael Sundqvist
2023-08-15 19:13     ` Wolfgang Schuster
2023-08-15 19:36       ` Xavier B.
2023-08-15 19:44         ` Wolfgang Schuster
2023-08-15 22:12           ` Xavier B.
2023-08-16  4:27             ` Wolfgang Schuster
2023-08-16  7:15               ` Xavier B.
2023-08-16 15:02                 ` Wolfgang Schuster
2023-08-16 17:52                   ` Xavier B.
2023-08-19  9:28                   ` Xavier B.
2023-08-16 10:31               ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).