lmtx error: You can't use 'integer 340' in internal vertical mode
Hi,
I can't yet provide a mwe as the project is quite complex and includes color
profiles and bleed.
I can process it with context.
When I process it using lmtx but without colorprofiles and bleed, it works.
When I process it using lmtx with colorprofiles and bleed, it get this error:
tex error > tex error on line 1 in file ./prod-poster-motiv-souveraenitaet.tex: You can't use 'integer 340' in internal vertical mode
<macro> \page_shipouts_arrange ...setbox \shipoutscratchbox \hpack {\getobject \??arrangedpage {\the \realpageno }}\fi \pusharrangedpage \shipoutscratchbox
\deadcycles \zerocount \endgroup
<macro> \page_boxes_shipout ...tbox \shipoutscratchbox \hpack {#1}\page_shipouts_handle {\finalizeshipoutbox \shipoutscratchbox \box \shipoutscratchbox }
\fi \setnextrealpageno \the \everyaftershipout \ifcase \c_page_boxes_flush_n \else \page_boxes_flush_after \fi
<macro> \page_otr_construct_and_shipout #1#2#3->\forgetall \page_boxes_shipout {\page_boxes_constructed_page #1#2}
\page_otr_flush_pending_content \page_otr_check_for_pending_inserts \inpagebodytrue \pagebodymode \plusone \page_otr_command_flush_saved_floats \page_otr_command_set_vsize \str
<macro> \currentcolorname \page_otr_command_side_float_output
\ifconditional \c_page_sides_short \global \setfalse \c_page_sides_short \else \global \d_page_sides_vsize \d_page_sides_vsize_reset \global \c_page_sides_n_of_lines \zerocount \fi
<macro> \currentcolorname \ifcsname \??otrtriggers \the \outputpenalty \endcsname \lastnamedcs \else \page_otr_command_routine
\fi
<output> {\inotrtrue \the \everybeforeoutput \page_otr_triggered_output_routine
\relax \the \everyafteroutput }
...
On 2/19/2021 10:21 AM, juh wrote:
Hi,
I can't yet provide a mwe as the project is quite complex and includes color profiles and bleed.
I can process it with context.
When I process it using lmtx but without colorprofiles and bleed, it works.
When I process it using lmtx with colorprofiles and bleed, it get this error:
tex error > tex error on line 1 in file ./prod-poster-motiv-souveraenitaet.tex: You can't use 'integer 340' in internal vertical mode The question is: what happens in that file with modes?
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen:
The question is: what happens in that file with modes?
Nothing too fancy. I attached the files with mode definitions -- -- Autoren-Homepage: ......... http://literatur.hasecke.com Satiren & Essays: ......... http://www.sudelbuch.de Privater Blog: ............ http://www.hasecke.eu Netzliteratur-Projekt: .... http://www.generationenprojekt.de
On 2/19/2021 11:46 AM, juh wrote:
Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen:
The question is: what happens in that file with modes?
Nothing too fancy. I attached the files with mode definitions works here so you need to make a mwe
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Am Fri, Feb 19, 2021 at 01:17:15PM +0100 schrieb Hans Hagen:
On 2/19/2021 11:46 AM, juh wrote:
Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen:
The question is: what happens in that file with modes?
Nothing too fancy. I attached the files with mode definitions works here so you need to make a mwe
Maybe it was the option --arrange. When I unset it, lmtx compiles without problems and the result seems to be ok. I believe that I needed the options earlier because I position three pages on a a4 paper to get a folded flyer. The option seems to be obsolete now. Ciao! Jan Ulrich Hasecke -- -- Autoren-Homepage: ......... http://literatur.hasecke.com Satiren & Essays: ......... http://www.sudelbuch.de Privater Blog: ............ http://www.hasecke.eu Netzliteratur-Projekt: .... http://www.generationenprojekt.de
On 2/20/2021 4:42 PM, juh wrote:
Am Fri, Feb 19, 2021 at 01:17:15PM +0100 schrieb Hans Hagen:
On 2/19/2021 11:46 AM, juh wrote:
Am Fri, Feb 19, 2021 at 10:47:36AM +0100 schrieb Hans Hagen:
The question is: what happens in that file with modes?
Nothing too fancy. I attached the files with mode definitions works here so you need to make a mwe
Maybe it was the option --arrange. When I unset it, lmtx compiles without problems and the result seems to be ok.
I believe that I needed the options earlier because I position three pages on a a4 paper to get a folded flyer. The option seems to be obsolete now. hm, but it still makes sense to know if something fails .. keep en eye on it
this integer message just means that some number reference ends up in the list while \the or something similar needs to be used; it's normally a signal of something wrong in a macro; in luamatatex we use cheap integers for modes, think of \integerdef\foo123 and then \foo is not supposed to show up on its own (unless you use \the\foo and then you see 123) but is to be used in a context where a number is expected ... so, it's not something 'dramatic' happening here and at least we get some signal now, when for instance we use a traditional cheap integer, like \chardef\foo123 we can use that as a number (\ifnum\foo ...) but when we put that one someplacem like test \foo test tex will not complain but just typeset that number. Now, because these states normally are 0, 1 or 2, you actually would get a reference to a character but these are never in normal fonts so what you get then is some 'invisible' glyph node depending on the place you can get an empty page, an empty line, messed up spacing, or just nothing if it in the text stream so if this is some old issue you'd see some side effect too (but no error message) maybe that gives a clue (like a message about a font not having a character on the console or in the log) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 20.02.21 17:12, Hans Hagen wrote:
hm, but it still makes sense to know if something fails .. keep en eye on it
I just stumbled upon the same error. Arranging is broken in lmtx. MWE: \setuppapersize[A6][A4] \setuparranging[2*4] \starttext \dorecurse{8}{Test: \recurselevel \page} \stoptext Works in mkiv. With lmtx, I get tex error > tex error on line 7 in file ./test.tex: You can't use 'integer 340' in internal vertical mode All best Thomas
On 2/23/2021 11:55 AM, Thomas A. Schmitz wrote:
On 20.02.21 17:12, Hans Hagen wrote:
hm, but it still makes sense to know if something fails .. keep en eye on it
I just stumbled upon the same error. Arranging is broken in lmtx. MWE:
\setuppapersize[A6][A4]
\setuparranging[2*4]
\starttext
\dorecurse{8}{Test: \recurselevel \page}
\stoptext
Works in mkiv. With lmtx, I get
tex error > tex error on line 7 in file ./test.tex: You can't use 'integer 340' in internal vertical mode I have no clue because it just works here. I uploaded a new version (no real changed in that area) so who knows ...
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 2/23/2021 6:23 PM, Thomas A. Schmitz wrote:
On 2/23/21 6:14 PM, Hans Hagen wrote:
I have no clue because it just works here. I uploaded a new version (no real changed in that area) so who knows ...
Are you sure? You have to compile with the --arrange switch. I just tested with 2021.02.23 17:47, still same error.
hm, the run option wasn't part of the mwe -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
juh
-
Thomas A. Schmitz