* What to do when ConTeXt not revealing the error details? [not found] <1318153140.1033974.1667180794806.ref@mail.yahoo.com> @ 2022-10-31 1:46 ` Joel via ntg-context 2022-10-31 1:55 ` Gavin via ntg-context 0 siblings, 1 reply; 4+ messages in thread From: Joel via ntg-context @ 2022-10-31 1:46 UTC (permalink / raw) To: Mailing List for ConTeXt Users; +Cc: Joel [-- Attachment #1.1: Type: text/plain, Size: 764 bytes --] I have a very large document that, when compiled, produces a PDF, but reports the error "mtx-context | fatal error: return code: 1". The PDF can open, but after about 100 pages in, the content starts appearing all in the wrong place. Usually when I compile, it says there is an error, and I just scroll up until I find the details. I've scrolled through the output, and *.log file, but cannot see anything that looks like an error. It could be that just because the document is so long (about 1200 pages), I can't find the error among the huge logs, but I looked through them all carefully. How can I isolate the error when ConTeXt isn't showing it? Is there some setting for showing only errors, or revealing more details about an error? --Joel [-- Attachment #1.2: Type: text/html, Size: 1412 bytes --] [-- Attachment #2: Type: text/plain, Size: 496 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] 4+ messages in thread
* Re: What to do when ConTeXt not revealing the error details? 2022-10-31 1:46 ` What to do when ConTeXt not revealing the error details? Joel via ntg-context @ 2022-10-31 1:55 ` Gavin via ntg-context 2022-10-31 3:24 ` Joel via ntg-context 0 siblings, 1 reply; 4+ messages in thread From: Gavin via ntg-context @ 2022-10-31 1:55 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Gavin Hi Joel, I get this error frequently when I forget to stop an environment, for example a \startsection with no \stopsection or a \startplacefigure with no \stopplacefigure. This freqeuntly doesn’t cause an error because the engine is happily packing my entire book into a margin figure. See if there something you should have stopped near the place where things go bad? Good luck! Gavin > On Oct 30, 2022, at 7:46 PM, Joel via ntg-context <ntg-context@ntg.nl> wrote: > > I have a very large document that, when compiled, produces a PDF, but reports the error "mtx-context | fatal error: return code: 1". > > The PDF can open, but after about 100 pages in, the content starts appearing all in the wrong place. > > Usually when I compile, it says there is an error, and I just scroll up until I find the details. I've scrolled through the output, and *.log file, but cannot see anything that looks like an error. > > It could be that just because the document is so long (about 1200 pages), I can't find the error among the huge logs, but I looked through them all carefully. > > How can I isolate the error when ConTeXt isn't showing it? Is there some setting for showing only errors, or revealing more details about an error? > > --Joel > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What to do when ConTeXt not revealing the error details? 2022-10-31 1:55 ` Gavin via ntg-context @ 2022-10-31 3:24 ` Joel via ntg-context 2022-10-31 3:43 ` Aditya Mahajan via ntg-context 0 siblings, 1 reply; 4+ messages in thread From: Joel via ntg-context @ 2022-10-31 3:24 UTC (permalink / raw) To: mailing list for ConTeXt users, Gavin; +Cc: Joel [-- Attachment #1.1: Type: text/plain, Size: 2002 bytes --] I found what it was, a % in the text preventing a \stopitemize to close a list. Thanks! --Joel On Sunday, October 30, 2022 at 07:56:44 PM MDT, Gavin <gavinpublic@comcast.net> wrote: Hi Joel, I get this error frequently when I forget to stop an environment, for example a \startsection with no \stopsection or a \startplacefigure with no \stopplacefigure. This freqeuntly doesn’t cause an error because the engine is happily packing my entire book into a margin figure. See if there something you should have stopped near the place where things go bad? Good luck! Gavin > On Oct 30, 2022, at 7:46 PM, Joel via ntg-context <ntg-context@ntg.nl> wrote: > > I have a very large document that, when compiled, produces a PDF, but reports the error "mtx-context | fatal error: return code: 1". > > The PDF can open, but after about 100 pages in, the content starts appearing all in the wrong place. > > Usually when I compile, it says there is an error, and I just scroll up until I find the details. I've scrolled through the output, and *.log file, but cannot see anything that looks like an error. > > It could be that just because the document is so long (about 1200 pages), I can't find the error among the huge logs, but I looked through them all carefully. > > How can I isolate the error when ConTeXt isn't showing it? Is there some setting for showing only errors, or revealing more details about an error? > > --Joel > ___________________________________________________________________________________ > 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: 4043 bytes --] [-- Attachment #2: Type: text/plain, Size: 496 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] 4+ messages in thread
* Re: What to do when ConTeXt not revealing the error details? 2022-10-31 3:24 ` Joel via ntg-context @ 2022-10-31 3:43 ` Aditya Mahajan via ntg-context 0 siblings, 0 replies; 4+ messages in thread From: Aditya Mahajan via ntg-context @ 2022-10-31 3:43 UTC (permalink / raw) To: Joel via ntg-context; +Cc: Aditya Mahajan On Mon, 31 Oct 2022, Joel via ntg-context wrote: > I found what it was, a % in the text preventing a \stopitemize to close a list. Thanks! --Joel mtxrun concheck filename is very useful in such situations. Aditya ___________________________________________________________________________________ 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] 4+ messages in thread
end of thread, other threads:[~2022-10-31 3:43 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1318153140.1033974.1667180794806.ref@mail.yahoo.com> 2022-10-31 1:46 ` What to do when ConTeXt not revealing the error details? Joel via ntg-context 2022-10-31 1:55 ` Gavin via ntg-context 2022-10-31 3:24 ` Joel via ntg-context 2022-10-31 3:43 ` Aditya Mahajan via ntg-context
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).