Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Hans Hagen

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
-
___
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] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Thomas A. Schmitz


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.


Thomas
___
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] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Hans Hagen

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
-
___
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] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Thomas A. Schmitz

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
___
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] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-20 Thread juh
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




signature.asc
Description: PGP signature
___
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] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-20 Thread Hans Hagen

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
-
___
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] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread juh
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


\startmode[bleed-1mm]
\definemeasure
	[bleed]
	[1mm]
\stopmode

\startmode[bleed-2mm]
\definemeasure
	[bleed]
	[2mm]
\stopmode

\startmode[bleed-3mm]
\definemeasure
	[bleed]
	[3mm]
\stopmode\startenvironment env-colors

%% Hostsharing corporate colors
%% Für RGB-Medien wie zum Beispiel Präsentationen
%% definieren wir RGB-Farben.
%% Wenn context ohne mode=fogra39 und ohne mode=isocoated aufgerufen wird,
%% werden diese RGB-Farben benutzt.
\startnotmode[fogra39,isocoated,pso_uncoated]
\definecolor  [hs-logoblau]   [r=0.000, g=0.314, b=0.580]
\definecolor  [hs-dunkelblau] [r=0.258, g=0.474, b=0.737]
\definecolor  [hs-hellblau]   [r=0.600, g=0.737, b=0.858]
\definecolor  [hs-orange] [r=0.866, g=0.286, b=0.003]
\setupcolors[cmyk=no,rgb=yes]
\stopnotmode

%% Für Druckwerke definieren wir CMYK-Farben
%% wählen das gewünschte PDF-Format und 
%% das Farbprofil der Druckerei
%% Druck-PDFs müssen mit der Option --mode=isocoated oder
%% --mode=fogra39 erzeugt werden.

%% ISO Coated v2 300%
%% Die CMYK-Werte wurden mit Hilfe von transicc aus
%% dem lcms-Paket bestimmt
%% Der Aufruf lautet:
%% transicc -i srgb_v4_icc_preference.icc -o ISOcoated_v2_300_eci.icc
%% Die letzte Stelle wird gerundet.
%% Auskommentiert folgen die Werte von transicc.

\startmode[isocoated]
\doiffileelse{ISOcoated_v2_300_eci.icc}{}{\farbprofilnichtgefunden}
\definecolor  [hs-logoblau]   [c=1.000, m=0.643, y=0.066, k=0.314]
%% C=99.9985 M=64.2680 Y=6.6178 K=31.4366
\definecolor  [hs-dunkelblau] [c=0.881, m=0.549, y=0.015, k=0.004]
%% C=88.1529 M=54.9889 Y=1.5198 K=0.4532
\definecolor  [hs-hellblau]   [c=0.479, m=0.211, y=0.049, k=0.003]
%% C=47.8904 M=21.0712 Y=4.9241 K=0.3861
\definecolor  [hs-orange] [c=0.021, m=0.790, y=1.000, k=0.100]
%% C=2.1241 M=79.0951 Y=100. K=10.0877
\definecolor   [hs-grau]   [c=0.000,m=0.000,y=0.000,k=0.700]

\setupcolors[cmyk=yes,rgb=no,]

%% Bitte hier PDF-Format und Farbprofil auswählen, 
%% Falls unbekannt, bitte bei der jeweiligen Druckerei
%% nachfragen.

\setupbackend[
   %format=PDF/X-1a:2001,
   %format=PDF/X-1a:2003,
   %format=PDF/X-3:2002,
   format=PDF/X-3:2003,
   %format=PDF/X-4,
   %format=PDF/X-4p,
   intent={ISO Coated v2 300\letterpercent\space (ECI)},
   ]
\stopmode

%% FOGRA 39 Coated
%% Bestimmung der CMYK-Werte mit transicc
%% transicc -i srgb_v4_icc_preference.icc -o CoatedFOGRA39.icc
%% Rundung wie oben
\startmode[fogra39]
\doiffileelse{CoatedFOGRA39.icc}{}{\farbprofilnichtgefunden}
\definecolor  [hs-logoblau]   [c=1.000, m=0.735, y=0.279, k=0.160]
%% C=100. M=73.4707 Y=27.9103 K=16.0891
\definecolor  [hs-dunkelblau] [c=0.844, m=0.544, y=0.070, k=0.000]
%% C=84.3748 M=54.4472 Y=7.0237 K=0.0824 
\definecolor  [hs-hellblau]   [c=0.468, m=0.220, y=0.086, k=0.002]
%% C=46.8208 M=21.9745 Y=8.5573 K=0.1816
\definecolor  [hs-orange] [c=0.127, m=0.832, y=1.000, k=0.042]
%% C=12.7245 M=83.1647 Y=100. K=4.1581
\definecolor   [hs-grau]   [c=0.000,m=0.000,y=0.000,k=0.700]

\setupcolors[cmyk=yes,rgb=no,]

%% Bitte hier PDF-Format und Farbprofil auswählen, 
%% Falls unbekannt, bitte bei der jeweiligen Druckerei
%% nachfragen.
\setupbackend[
   %format=PDF/X-1a:2001,
   %format=PDF/X-1a:2003,
   %format=PDF/X-3:2002,
   format=PDF/X-3:2003,
   %format=PDF/X-4,
   %format=PDF/X-4p,
   %intent={ISO Coated v2 300\letterpercent\space (ECI)},
   intent={Coated FOGRA39 (ISO 12647-2:2004)},
   ]

\stopmode

%% PSO Uncoated ISO12647
%% Die CMYK-Werte wurden mit Hilfe von transicc aus
%% dem lcms-Paket bestimmt
%% Der Aufruf lautet:
%% transicc -i srgb_v4_icc_preference.icc -o PSO_Uncoated_ISO12647_eci.icc
%% Die letzte Stelle wird gerundet.
%% Auskommentiert folgen die Werte von transicc.

\startmode[pso_uncoated]
\doiffileelse{PSO_Uncoated_ISO12647_eci.icc}{}{\farbprofilnichtgefunden}
\definecolor  [hs-logoblau]   [c=0.995, m=0.587, y=0.058, k=0.266]
%% C=99.5209 M=58.7106 Y=5.8198 K=26.6453
\definecolor  [hs-dunkelblau] [c=0.873, m=0.503, y=0.013, k=0.012]
%% C=87.3442 M=50.2876 Y=1.2558 K=1.2497
\definecolor  [hs-hellblau]   [c=0.409, m=0.150, y=0.016, k=0.016]
%% C=40.9125 M=15.0347 Y=1.6480 K=1.6358
\definecolor  [hs-orange] [c=0.025, m=0.740, y=0.950, k=0.025]
%% C=2.5330 M=73.9895 Y=94.6715 K=2.5391
\definecolor   [hs-grau]   [c=0.000,m=0.000,y=0.000,k=0.700]

\setupcolors[cmyk=yes,rgb=no,]

%% Bitte hier PDF-Format und Farbprofil auswählen, 
%% Falls unbekannt, bitte bei der jeweiligen Druckerei
%% nachfragen.
\setupbackend[
   %format=PDF/X-1a:2001,
   %format=PDF/X-1a:2003,
   %format=PDF/X-3:2002,
   format=PDF/X-3:2003,
   %format=PDF/X-4,
   

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread 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

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
-
___
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] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread Hans Hagen

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