Re: [NTG-context] pdfetex 1.40.1 + ghosscript problem? More findings

2007-01-20 Thread Michal Kvasnicka
Good evening.

I found some more puzzling things. I write them here fore anybody who
may be interested. :-)

I tried to typeset a document using two font families: TrueType Gentium
by SIL, and Adobe OpenType Myriad. First I converted Myriad to Type1
using fontforge, then I prepared metrics for all fonts with TeXFont
using ec-lm encoding. I found this:

(1) Any ConTeXt document produced by pdfetex 1.40.1 (even this one:
\setupoutput[pdf]
\starttext
\input tufte
\stoptext
makes my GhostScript (gs Ghostscript 8.15.3 under SuSE Linux 10.1) die
with this error:
    Warning:  An error occurred while reading an XREF table.
    The file has been damaged.  This may have been caused
    by a problem while converting or transfering the file.
    Ghostscript will attempt to recover the data.
   ERROR: /undefined in /BXlevel
etc. However, if I make a ps-file out of it using AdobeReader, I can
view/print it with my GhostScript.
The newest Ghostscript (Ghostscript 8.54 (2006-05-17)) doesn't write
this error message but the rest of problems (see below) is the same.

(2) When I typeset my document only with the Gentium font, or only with
the Myriad font, or with a combination of the Gentium and LatinModern,
or the Gentium and TrueType version of Myriad (made fontforge), the
outcome is the same as (1).

(3) If I try to combine TrueType Gentium and Type1 Myriad, my
GhostScript failes to view/print it properly: strange letters appear in
the text.

I've got no idea what's wrong. By the way, my input regime is now utf8.

Do you thing this is problem of ConTeXt, or pdfetex, or GhostScript?
Whom should I tell it?

Yours
Michal Kvasnicka

P.S. I apologize to all of you who are bothered by this topic.

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex 1.40.1 + ghosscript problem? More findings

2007-01-20 Thread George N. White III
On 1/20/07, Michal Kvasnicka [EMAIL PROTECTED] wrote:
 Good evening.

 I found some more puzzling things. I write them here fore anybody who
 may be interested. :-)

 I tried to typeset a document using two font families: TrueType Gentium
 by SIL, and Adobe OpenType Myriad. First I converted Myriad to Type1
 using fontforge, then I prepared metrics for all fonts with TeXFont
 using ec-lm encoding. I found this:

 (1) Any ConTeXt document produced by pdfetex 1.40.1 (even this one:
 \setupoutput[pdf]
 \starttext
 \input tufte
 \stoptext
 makes my GhostScript (gs Ghostscript 8.15.3 under SuSE Linux 10.1) die
 with this error:
 Warning:  An error occurred while reading an XREF table.
 The file has been damaged.  This may have been caused
 by a problem while converting or transfering the file.
 Ghostscript will attempt to recover the data.
ERROR: /undefined in /BXlevel
 etc.

There was a gs bug (#688787 /undefined in /BXlevel) for this error,
but in that case the pdf file really was corrupt although the user
said it worked with Adobe Reader.

I tried your first test on Fedora Core 5 with TL2007 (test inst iso
from 20070115) which also has a gs-8.15 version, and don't get an
error.

[EMAIL PROTECTED] TL2007]$ cat cont-try.tex
\setupoutput[pdf]
\starttext
\input tufte
\stoptext
[EMAIL PROTECTED] TL2007]$ texmfstart texexec cont-try
[...]
This is pdfTeXk, Version 3.141592-1.40.1 (Web2C 7.5.6)
 \write18 enabled.
 %-line parsing enabled.
 (/mnt/hdb/opt/tex/texlive/2005/texmf/web2c/natural.tcx)
entering extended mode
(./cont-try.tex

ConTeXt  ver: 2006.08.08 21:51  fmt: 2007.1.14  int: english  mes: english
[...]

[EMAIL PROTECTED] TL2007]$ pdffonts cont-try.pdf
name type emb sub uni object ID
  --- --- --- -
ORKXYQ+LMRoman12-Regular Type 1   yes yes yes  5  0

[EMAIL PROTECTED] TL2007]$ pdfinfo cont-try.pdf
Title:  cont-try
Subject:
Keywords:
Author:
Creator:ConTeXt - 2006.08.08 21:51
Producer:   pdfTeX-1.40.1
CreationDate:   Sat Jan 20 15:29:21 2007
ModDate:20070120
Tagged: no
Pages:  1
Encrypted:  no
Page size:  595.276 x 841.89 pts (A4)
File size:  26205 bytes
Optimized:  no
PDF version:1.5

-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex 1.40.1 + ghosscript problem?

2007-01-19 Thread Hans Hagen
Hartmut Henkel wrote:
 Hi Thanh,

 On Fri, 19 Jan 2007, Martin Schr�der wrote:

   
 2007/1/18, Michal Kvasnicka [EMAIL PROTECTED]:
 
 Excuse me this off-topic, I don't know where should I ask.
   
 The pdftex mailing list would be a better place. See
 http://www.pdftex.org/README

 [...]

 
 Can anybody tell me what's wrong, and if there is a ghostscript
 version capable to view the output of pdftex 1.40.1? Without it it
 is useless for me. :-(
   
 I can view sample2e.pdf or the pdftex manual fine with gs 8.54.
 

 e. g. when i run this test file through pdftex-1.40.1

 %$Id: test4.tex,v 1.3 2006/01/06 20:24:10 hahe Exp hahe $
 \pdfcompresslevel=0
 \nopagenumbers
 \pdfmapline{qtmr 8r.enc qtmr.ttf}

 \font\qtmr qtmr at 10pt
 \pdffontexpand\qtmr 30 30 5 autoexpand
 \pdfadjustspacing=2
 \qtmr

 \input tufte
 \input tufte
 \input tufte
 \input tufte

 \bye

 then gs 8.54 tells  Warning: Encoding not present. But it looks
 ok. Could there be anything missing inside the embedded TTF font?
   
i recently also encountered problems with tounicode vectors in gs so 
there may be something messed in gs with regards to encoding related 
vectors; unfortunately it may abort, depending on the situation

Hans

-- 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pdfetex 1.40.1 + ghosscript problem?

2007-01-18 Thread Michal Kvasnicka
Good evening.

Excuse me this off-topic, I don't know where should I ask.

I've installed pdfetex 1.40.1 to be able to use hz-algorithm with
truetype fonts. Both my AdobeReader 7.x, and xpdf under SuSE Linux 10.1
view the output pdf file all right. But my gv viewer based on
ghostscript (version 8.15 (2006-04-19)) dies if I try to view the output
file with it. When I convert the pdf file to postscript using
AdobeReader, it doesn't die but view the document incorrectly (strange
letters appears where they are not supposed to be).

Can anybody tell me what's wrong, and if there is a ghostscript version
capable to view the output of pdftex 1.40.1? Without it it is useless
for me. :-(

Many thanks for your kind help.
Michal Kvasnicka

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex 1.40.1 + ghosscript problem?

2007-01-18 Thread Martin Schröder
2007/1/18, Michal Kvasnicka [EMAIL PROTECTED]:
 Excuse me this off-topic, I don't know where should I ask.

The pdftex mailing list would be a better place. See
http://www.pdftex.org/README

[...]

 Can anybody tell me what's wrong, and if there is a ghostscript version
 capable to view the output of pdftex 1.40.1? Without it it is useless
 for me. :-(

I can view sample2e.pdf or the pdftex manual fine with gs 8.54.

Best
   Martin
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex 1.40.1 + ghosscript problem?

2007-01-18 Thread Hartmut Henkel
Hi Thanh,

On Fri, 19 Jan 2007, Martin Schröder wrote:

 2007/1/18, Michal Kvasnicka [EMAIL PROTECTED]:
  Excuse me this off-topic, I don't know where should I ask.

 The pdftex mailing list would be a better place. See
 http://www.pdftex.org/README

 [...]

  Can anybody tell me what's wrong, and if there is a ghostscript
  version capable to view the output of pdftex 1.40.1? Without it it
  is useless for me. :-(

 I can view sample2e.pdf or the pdftex manual fine with gs 8.54.

e. g. when i run this test file through pdftex-1.40.1

%$Id: test4.tex,v 1.3 2006/01/06 20:24:10 hahe Exp hahe $
\pdfcompresslevel=0
\nopagenumbers
\pdfmapline{qtmr 8r.enc qtmr.ttf}

\font\qtmr qtmr at 10pt
\pdffontexpand\qtmr 30 30 5 autoexpand
\pdfadjustspacing=2
\qtmr

\input tufte
\input tufte
\input tufte
\input tufte

\bye

then gs 8.54 tells  Warning: Encoding not present. But it looks
ok. Could there be anything missing inside the embedded TTF font?

Regards, Hartmut___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] texexec.rb + pdfetex ignoring map files in $TEXMFPROJECT

2006-08-18 Thread Stuart Jansen
Using older ConTeXt minimals based on texexec.pl, I was able to
 export TEXMFPROJECT=${PWD}/texmf
in each projects directory and use fonts local to just that project. 

Switching to the latest minimal with texexec.rb, pdfetex can't find my
custom *.map files. Interestingly, it does find my custom type-*.tex
files.

What is the correct way to include fonts on a project by project basis
instead of installing them into the global ConTeXt tree?

-- 
Stuart Jansen [EMAIL PROTECTED]
Guru Labs, L.C.


signature.asc
Description: This is a digitally signed message part
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texexec.rb + pdfetex ignoring map files in $TEXMFPROJECT

2006-08-18 Thread Hans Hagen
Stuart Jansen wrote:
 Using older ConTeXt minimals based on texexec.pl, I was able to
  export TEXMFPROJECT=${PWD}/texmf
 in each projects directory and use fonts local to just that project. 

 Switching to the latest minimal with texexec.rb, pdfetex can't find my
 custom *.map files. Interestingly, it does find my custom type-*.tex
 files.
   
strange since i use minimals here; are you sure that the cnf file has;

TEXFONTMAPS.dvipdfm  = .;$TEXMF/fonts/map/{dvipdfm,dvips,}//;./fonts//
TEXFONTMAPS.dvipdfmx = .;$TEXMF/fonts/map/{dvipdfm,dvips,}//;./fonts//
TEXFONTMAPS.pdftex   = .;$TEXMF/fonts/map/{pdftex,dvips,}//;./fonts//
TEXFONTMAPS.pdfetex  = .;$TEXMF/fonts/map/{pdftex,dvips,}//;./fonts//
TEXFONTMAPS.luatex   = .;$TEXMF/fonts/map/{pdftex,dvips,}//;./fonts//
TEXFONTMAPS.xetex= .;$TEXMF/fonts/map/{xetex,pdftex,dvips,}//;./fonts//
TEXFONTMAPS.dvips= .;$TEXMF/fonts/map/{dvips,pdftex,}//;./fonts//

TEXFONTMAPS   = 
.;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}//;./fonts//

kind of emtries?

 What is the correct way to include fonts on a project by project basis
 instead of installing them into the global ConTeXt tree?
   
as you do, use project trees (makes me think if i should add a switch --project 
to texexec) 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pdfetex cannot find map files

2006-05-17 Thread Aditya Mahajan
The problem of cannot open font map file is still there. I deleted 
all existing context trees from my computer and downloaded the 
mswincontext.zip (dt. 2006-05-17) from Pragma's website. When I run a 
simple
\starttext Hello World \stoptext
file, I get
--
[1.1
Warning: pdfetex.exe (file original-empty.map): cannot open font map 
file

Warning: pdfetex.exe (file original-base.map): cannot open font map 
file

Warning: pdfetex.exe (file ec-public-lm.map): cannot open font map 
file

Warning: pdfetex.exe (file ec-base.map): cannot open font map file

Warning: pdfetex.exe (file original-ams-base.map): cannot open font 
map file

Warning: pdfetex.exe (file original-ams-euler.map): cannot open font 
map file

Warning: pdfetex.exe (file original-public-lm.map): cannot open font 
map file
]
systems : end file test1 at line 3
  )
Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 600 not found


The resulting pdf has no embedded fonts.

All these map files are located in texmf-local/fonts/map/pdftex/context/
I checked the texmf.cnf at texmf-local/web2c and it says

--
% fonts, for the moment we also support the old enc/map locations

OSFONTDIR =

TEXPSHEADERS  = 
.;$TEXMF/{fonts/{enc,map,type1,truetype},dvips,pdftex,tex}//;$TEXMF/{etex,tex,pdftex,dvips,fonts/type1}//

TEXFONTMAPS.dvipdfm  = .;$TEXMF/fonts/map/{dvipdfm,dvips,}//
TEXFONTMAPS.dvipdfmx = .;$TEXMF/fonts/map/{dvipdfm,dvips,}//
TEXFONTMAPS.pdftex   = .;$TEXMF/fonts/map/{pdftex,dvips,}//
TEXFONTMAPS.pdfetex  = .;$TEXMF/fonts/map/{pdftex,dvips,}//
TEXFONTMAPS.xetex= .;$TEXMF/fonts/map/{xetex,pdftex,dvips,}//
TEXFONTMAPS.dvips= .;$TEXMF/fonts/map/{dvips,pdftex,}//

# TEXFONTMAPS = 
.;$TEXMF/fonts/map/{$backend,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}//
TEXFONTMAPS   = 
.;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}//



Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Taco Hoekwater
Aditya Mahajan wrote:
 
 All these map files are located in texmf-local/fonts/map/pdftex/context/

Sounds good

 TEXFONTMAPS.pdftex   = .;$TEXMF/fonts/map/{pdftex,dvips,}//
 TEXFONTMAPS.pdfetex  = .;$TEXMF/fonts/map/{pdftex,dvips,}//

 TEXFONTMAPS   = 
 .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}//

All three lines look fine to me as well.

Tentative conclusion: this texmf.cnf is not used or overruled elsewhere.

Perhaps there is a prior problem (running setuptex failed)?

Cheers, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Hans Hagen
Aditya Mahajan wrote:
 The problem of cannot open font map file is still there. I deleted 
 all existing context trees from my computer and downloaded the 
 mswincontext.zip (dt. 2006-05-17) from Pragma's website. When I run a 
 simple
 \starttext Hello World \stoptext
 file, I get
 --
 [1.1
 Warning: pdfetex.exe (file original-empty.map): cannot open font map 
 file

 Warning: pdfetex.exe (file original-base.map): cannot open font map 
 file

 Warning: pdfetex.exe (file ec-public-lm.map): cannot open font map 
 file

 Warning: pdfetex.exe (file ec-base.map): cannot open font map file

 Warning: pdfetex.exe (file original-ams-base.map): cannot open font 
 map file

 Warning: pdfetex.exe (file original-ams-euler.map): cannot open font 
 map file

 Warning: pdfetex.exe (file original-public-lm.map): cannot open font 
 map file
 ]
 systems : end file test1 at line 3
   )
 Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 600 not found
 

 The resulting pdf has no embedded fonts.

 All these map files are located in texmf-local/fonts/map/pdftex/context/
 I checked the texmf.cnf at texmf-local/web2c and it says
   
here i get for

\starttext test \stoptext:

(f:\minimal\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec
.tex) 
[1.1{f:\minimal\isoimage\usr\local\context\tex\texmf-local/fonts/map/pdft
ex/context/original-empty.map}{f:\minimal\isoimage\usr\local\context\tex\texmf-
local/fonts/map/pdftex/context/original-base.map}{f:\minimal\isoimage\usr\local
\context\tex\texmf-local/fonts/map/pdftex/context/ec-public-lm.map}{f:\minimal\
isoimage\usr\local\context\tex\texmf-local/fonts/map/pdftex/context/ec-base.map
}{f:\minimal\isoimage\usr\local\context\tex\texmf-local/fonts/map/pdftex/contex
t/original-ams-base.map}{f:\minimal\isoimage\usr\local\context\tex\texmf-local/
fonts/map/pdftex/context/original-ams-euler.map}{f:\minimal\isoimage\usr\local\
context\tex\texmf-local/fonts/map/pdftex/context/original-public-lm.map}]
systems : end file test at line 3
 ){f:\minimal\isoimage\usr\local\context\tex\texmf/fonts/enc/dvips/lm/lm-ec.enc
}f:\minimal\isoimage\usr\local\context\tex\texmf/fonts/type1/public/lm/lmr12.p
fb
Output written on test.pdf (1 page, 23324 bytes).

did you run setuptex.bat beforehand?

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Aditya Mahajan
On Wed, 17 May 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:
 The problem of cannot open font map file is still there. I deleted
 all existing context trees from my computer and downloaded the
 mswincontext.zip (dt. 2006-05-17) from Pragma's website. When I run a
 simple
 \starttext Hello World \stoptext
 file, I get
 --
 [1.1
 Warning: pdfetex.exe (file original-empty.map): cannot open font map
 file

 Warning: pdfetex.exe (file original-base.map): cannot open font map
 file

 Warning: pdfetex.exe (file ec-public-lm.map): cannot open font map
 file

 Warning: pdfetex.exe (file ec-base.map): cannot open font map file

 Warning: pdfetex.exe (file original-ams-base.map): cannot open font
 map file

 Warning: pdfetex.exe (file original-ams-euler.map): cannot open font
 map file

 Warning: pdfetex.exe (file original-public-lm.map): cannot open font
 map file
 ]
 systems : end file test1 at line 3
   )
 Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 600 not found
 

 The resulting pdf has no embedded fonts.

 All these map files are located in texmf-local/fonts/map/pdftex/context/
 I checked the texmf.cnf at texmf-local/web2c and it says

 here i get for

 \starttext test \stoptext:

 (f:\minimal\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec
 .tex)
 [1.1{f:\minimal\isoimage\usr\local\context\tex\texmf-local/fonts/map/pdft
 ex/context/original-empty.map}{f:\minimal\isoimage\usr\local\context\tex\texmf-
 local/fonts/map/pdftex/context/original-base.map}{f:\minimal\isoimage\usr\local
 \context\tex\texmf-local/fonts/map/pdftex/context/ec-public-lm.map}{f:\minimal\
 isoimage\usr\local\context\tex\texmf-local/fonts/map/pdftex/context/ec-base.map
 }{f:\minimal\isoimage\usr\local\context\tex\texmf-local/fonts/map/pdftex/contex
 t/original-ams-base.map}{f:\minimal\isoimage\usr\local\context\tex\texmf-local/
 fonts/map/pdftex/context/original-ams-euler.map}{f:\minimal\isoimage\usr\local\
 context\tex\texmf-local/fonts/map/pdftex/context/original-public-lm.map}]
 systems : end file test at line 3
 ){f:\minimal\isoimage\usr\local\context\tex\texmf/fonts/enc/dvips/lm/lm-ec.enc
 }f:\minimal\isoimage\usr\local\context\tex\texmf/fonts/type1/public/lm/lmr12.p
 fb
 Output written on test.pdf (1 page, 23324 bytes).

 did you run setuptex.bat beforehand?


Yes, I did. I do not keep texmfstart in my path to prevent running 
context without sourcing setuptex.

I also tried this by running, cscite.bat and compiling the file 
through scite. I get the same error message.

Is it possible that the wrong texmf.cnf is loaded (as Taco pointed 
out). There is one at texmf/web2c also. setuptex sets TEXMFCNF to

F:\tmp\mpecho %TEXMFCNF%
E:\isoimage\usr\local\context\tex\texmf{-local,}/web2c

I changed that to
...\tex\texmf-local\web2c, but still get the same error.


Context can locate the files

F:\tmp\mptexmfstart --locate original-empty.map
E:/isoimage/usr/local/context/tex/texmf-local/fonts/map/dvipdfm/context/original
empty.map

but can not open it. I even tried a chmod 755 -R isoimage, but that 
did not help.

How can I debug why pdfetex is not able to *open* the map files?

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Aditya Mahajan
On Wed, 17 May 2006, Aditya Mahajan wrote:


 Aditya Mahajan wrote:
 The problem of cannot open font map file is still there. I deleted
 all existing context trees from my computer and downloaded the
 mswincontext.zip (dt. 2006-05-17) from Pragma's website. When I run a
 simple
 \starttext Hello World \stoptext
 file, I get
 [log snipped]
 On Wed, 17 May 2006, Hans Hagen wrote:
 here i get for

 \starttext test \stoptext:
[log snipped]
 did you run setuptex.bat beforehand?


 Yes, I did. I do not keep texmfstart in my path to prevent running
 context without sourcing setuptex.

 I also tried this by running, cscite.bat and compiling the file
 through scite. I get the same error message.

 Is it possible that the wrong texmf.cnf is loaded (as Taco pointed
 out). There is one at texmf/web2c also. setuptex sets TEXMFCNF to

 F:\tmp\mpecho %TEXMFCNF%
 E:\isoimage\usr\local\context\tex\texmf{-local,}/web2c

 I changed that to
 ...\tex\texmf-local\web2c, but still get the same error.


 Context can locate the files

 F:\tmp\mptexmfstart --locate original-empty.map
 E:/isoimage/usr/local/context/tex/texmf-local/fonts/map/dvipdfm/context/original
 empty.map

 but can not open it. I even tried a chmod 755 -R isoimage, but that
 did not help.

 How can I debug why pdfetex is not able to *open* the map files?

Well, there was something in the path that was interfering with 
context.

set PATH=E:\Ruby\bin
E:\isoimage\usr\local\context\tex\setuptex.bat E:\isoimage\usr\local\context\tex

works correctly. I do not know what was interfering, I'll look into 
everything in my path one by one see what was going wrong.

Sorry about all the noise.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Hans Hagen
Aditya Mahajan wrote:

 Yes, I did. I do not keep texmfstart in my path to prevent running 
 context without sourcing setuptex.

 I also tried this by running, cscite.bat and compiling the file 
 through scite. I get the same error message.

 Is it possible that the wrong texmf.cnf is loaded (as Taco pointed 
 out). There is one at texmf/web2c also. setuptex sets TEXMFCNF to

 F:\tmp\mpecho %TEXMFCNF%
 E:\isoimage\usr\local\context\tex\texmf{-local,}/web2c

 I changed that to
 ...\tex\texmf-local\web2c, but still get the same error.


 Context can locate the files

 F:\tmp\mptexmfstart --locate original-empty.map
 E:/isoimage/usr/local/context/tex/texmf-local/fonts/map/dvipdfm/context/original
 empty.map

 but can not open it. I even tried a chmod 755 -R isoimage, but that 
 did not help.

 How can I debug why pdfetex is not able to *open* the map files?
   
so, since you're running the mswin thing, how come that you have this chmod 
stuff 

(when you are on linux, you can best take the justtex.zip and linuxtex.zip 
files) 

Hans  

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Aditya Mahajan
On Wed, 17 May 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:

 Yes, I did. I do not keep texmfstart in my path to prevent running
 context without sourcing setuptex.

 I also tried this by running, cscite.bat and compiling the file
 through scite. I get the same error message.

 Is it possible that the wrong texmf.cnf is loaded (as Taco pointed
 out). There is one at texmf/web2c also. setuptex sets TEXMFCNF to

 F:\tmp\mpecho %TEXMFCNF%
 E:\isoimage\usr\local\context\tex\texmf{-local,}/web2c

 I changed that to
 ...\tex\texmf-local\web2c, but still get the same error.


 Context can locate the files

 F:\tmp\mptexmfstart --locate original-empty.map
 E:/isoimage/usr/local/context/tex/texmf-local/fonts/map/dvipdfm/context/original
 empty.map

 but can not open it. I even tried a chmod 755 -R isoimage, but that
 did not help.

 How can I debug why pdfetex is not able to *open* the map files?

 so, since you're running the mswin thing, how come that you have this chmod 
 stuff

Well, I use cygwin to get all the typical unixy tools. But, it seems 
that context (and ruby) do not like cygwin. I need to do some more 
testing to see exactly what was interfering, but removing cygwin from 
the path seems to do the trick.

 (when you are on linux, you can best take the justtex.zip and linuxtex.zip 
 files)

Usually I get along well with cygwin. This is the first time that 
cygwin has bitten me back.

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Hans Hagen
Aditya Mahajan wrote:
 Usually I get along well with cygwin. This is the first time that 
 cygwin has bitten me back.
   
i cannot test that because i don't want cygwin on my windows machine (i use gnu 
bin tools compiled for windows when i need something unix) - whenevr i need 
something that comes with cygwin, i just take the dll + the prog (say rsync) 
and put that in its own path 

Can it be that cygwin's profile has something tex in it? leftovers from a tetex 
installation? 

Hans 


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Aditya Mahajan
On Wed, 17 May 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:
 Usually I get along well with cygwin. This is the first time that
 cygwin has bitten me back.

 i cannot test that because i don't want cygwin on my windows machine (i use 
 gnu bin tools compiled for windows when i need something unix) - whenevr i 
 need something that comes with cygwin, i just take the dll + the prog (say 
 rsync) and put that in its own path

 Can it be that cygwin's profile has something tex in it? leftovers from a 
 tetex installation?

cygwin has texinfo and I can not remove it because of dependencies. If 
I remove cygwin from the path (and use native windows' ruby) context 
works fine. I still have the old problem with metapost and windows' 
ruby. texexec --mptex does not work correctly. However, when I wrap 
the metapost examples in a \startstop MPpage in a tex file, they work 
fine.

So, I have a working system though something is still wrong with the 
rubies. Cygwin ruby processes metapost files correctly, but not tex 
file. Windows ruby processes tex file correctly but not metapost. I 
will stick to the windows ruby, and use metapost from inside a tex 
file.

I think that I need to do a fresh install of windows. But that will 
have to wait. At present context is working :)

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pdfetex warnings and lmr

2005-09-19 Thread Otared KAVIAN
Hi all,

I just upgraded to the latest ConTeXT
(ConTeXt  ver: 2005.09.14  fmt: 2005.9.19  int: english  mes: english)
and now I cannot typeset anything...
For instance the following minimal example results in an empty PDF:

\starttext
This is a test.
\stoptext

The log file says among other things:

Warning: pdfetex (file lm-ec.enc): cannot open encoding file for reading
/usr/local/teTeX/share/texmf.tetex/fonts/type1/public/lm/lmr12.pfb
Warning: pdfetex (file /usr/local/teTeX/share/texmf.tetex/fonts/type1/public/lm
/lmr12.pfb): character 46 is mapped to .notdef

and a few other warnings about characters 49 and so on.

Since I have been away from the follow up of the changes occured for a
while, can anyone give a clue?

Thanks in advance: OK
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex warnings and lmr

2005-09-19 Thread Taco Hoekwater



Otared KAVIAN wrote:

Hi all,

I just upgraded to the latest ConTeXT
(ConTeXt  ver: 2005.09.14  fmt: 2005.9.19  int: english  mes: english)


I assume you also need the latest cont-lmt.zip for that, but I
admit I am only guessing. I do not have the 'latest/beta' installed,
myself.


The log file says among other things:

Warning: pdfetex (file lm-ec.enc): cannot open encoding file for reading


This is the source of all the other warnings.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex warnings and lmr

2005-09-19 Thread Hans Hagen

Taco Hoekwater wrote:




Otared KAVIAN wrote:


Hi all,

I just upgraded to the latest ConTeXT
(ConTeXt  ver: 2005.09.14  fmt: 2005.9.19  int: english  mes: english)



I assume you also need the latest cont-lmt.zip for that, but I
admit I am only guessing. I do not have the 'latest/beta' installed,
myself.


The log file says among other things:

Warning: pdfetex (file lm-ec.enc): cannot open encoding file for reading



This is the source of all the other warnings.


here was a change in name of the enc files ... and there is no way to convince distributers to be that downward compatible -) 


(maybe i should ship the old files)

Hans 



-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex warnings and lmr

2005-09-19 Thread Hans Hagen

Otared KAVIAN wrote:


Hi all,

I just upgraded to the latest ConTeXT
(ConTeXt  ver: 2005.09.14  fmt: 2005.9.19  int: english  mes: english)
and now I cannot typeset anything...
For instance the following minimal example results in an empty PDF:

\starttext
This is a test.
\stoptext

The log file says among other things:

Warning: pdfetex (file lm-ec.enc): cannot open encoding file for reading
/usr/local/teTeX/share/texmf.tetex/fonts/type1/public/lm/lmr12.pfb
Warning: pdfetex (file /usr/local/teTeX/share/texmf.tetex/fonts/type1/public/lm
/lmr12.pfb): character 46 is mapped to .notdef

and a few other warnings about characters 49 and so on.

Since I have been away from the follow up of the changes occured for a
while, can anyone give a clue?
 


as others already suggested: also update the latin modern fonts

Hans 


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex warnings and lmr

2005-09-19 Thread Otared Kavian

Hi Hans,

Thanks, as suggested by Taco and you, I downloaded cont-lmt.zip and  
now everything works as expected.
Somehow I missed the change which occured this summer: sorry for  
having disturbed you.


Best regards: OK

On 19 sept. 2005, at 18:00, Hans Hagen wrote:


as others already suggested: also update the latin modern fonts

Hans

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pdfetex manuals

2005-08-19 Thread luigi.scarso

I have compiled pdfetex 1.30 manuals ; they are at
http://www.logosrl.it

*)pdftex-a.pdf: A4
*)pdftex-l.pdf: letter
*)pdftex-s.pdf: screen
To compile, I have to patch pdftex-t.tex adding
\loadmapfile [context-base]
after
\usetypescript [adobekb] [\defaultencoding]

*)samplepdf.zip: samplepdf dir with samplepdf.tex compiled
Typing error: SoundfFile.wav ==SoundFile.wav

*)pdfetex-web.pdf: eTex -The Program with pdf extension
$ weave pdfetex.web
replace first line
\input webmac
with
\input pdfwebmac
$ pdfetex pdfetex.tex


luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex manuals

2005-08-19 Thread luigi.scarso

luigi.scarso wrote:


I have compiled pdfetex 1.30 manuals ; they are at
http://www.logosrl.it


http://www.logosrl.it/context

Sorry


*)pdftex-a.pdf: A4
*)pdftex-l.pdf: letter
*)pdftex-s.pdf: screen
To compile, I have to patch pdftex-t.tex adding
\loadmapfile [context-base]
after
\usetypescript [adobekb] [\defaultencoding]

*)samplepdf.zip: samplepdf dir with samplepdf.tex compiled
Typing error: SoundfFile.wav ==SoundFile.wav

*)pdfetex-web.pdf: eTex -The Program with pdf extension
$ weave pdfetex.web
replace first line
\input webmac
with
\input pdfwebmac
$ pdfetex pdfetex.tex


luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex manuals

2005-08-19 Thread Vit Zyka

luigi.scarso wrote:

luigi.scarso wrote:


I have compiled pdfetex 1.30 manuals ; they are at
http://www.logosrl.it


http://www.logosrl.it/context


Back to module.pdf: It is very instructive to have all module 
documentation together, fresh, and very nice designed! So thank you both 
Luigi and Hans for this efford!


vit



Sorry


*)pdftex-a.pdf: A4
*)pdftex-l.pdf: letter
*)pdftex-s.pdf: screen
To compile, I have to patch pdftex-t.tex adding
\loadmapfile [context-base]
after
\usetypescript [adobekb] [\defaultencoding]

*)samplepdf.zip: samplepdf dir with samplepdf.tex compiled
Typing error: SoundfFile.wav ==SoundFile.wav

*)pdfetex-web.pdf: eTex -The Program with pdf extension
$ weave pdfetex.web
replace first line
\input webmac
with
\input pdfwebmac
$ pdfetex pdfetex.tex


luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



--
===
Ing. Vít Zýka, Ph.D. TYPOkvítek

database publishing  databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite

tel.: (+420) 777 198 189 www: http://typokvitek.com
===

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: supp-vis and pdfetex

2005-04-03 Thread Patrick Gundlach
Hello again,

for those who don't know supp-vis but know what glue and penalties
are: 

try \showmakeup and you get an idea where penalties, glue etc. are
inserted. This is a very cool debugging tool, because it (amazingly)
does not interfere (as far as I can see) with the actual layout.

Patrick
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] supp-vis and pdfetex

2005-04-01 Thread Patrick Gundlach
Hello,

this is slightly off-topic:

when using supp-vis in a plain-tex document, it runs ok with normal
TeX, but not with pdfetex:

\input supp-vis
Hello \TeX!
\bye

--
Running `PDFTeX' on `test' with ``pdftex  \nonstopmode\input test.tex''
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 \write18 enabled.
entering extended mode

(./test.tex (/opt/tetex/3.0/texmf/tex/context/base/supp-vis.tex
(/opt/tetex/3.0/texmf/tex/context/base/supp-mis.tex
loading : Context Support Macros / Miscellaneous (2004.10.26)
)
loading : Context Support Macros / Visualization
! Missing { inserted.
to be read again 
   \def 
l.424 \unexpanded\def
 \ruledhbox
Runaway text?
\def \ruledhbox {\normalhbox \bgroup \dowithnextbox {\makeruledbox \nextbox \ET

[]
--

Any way around this?

Patrick
-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] supp-vis and pdfetex

2005-04-01 Thread Hans Hagen
Patrick Gundlach wrote:
this is slightly off-topic:
when using supp-vis in a plain-tex document, it runs ok with normal
TeX, but not with pdfetex:
% begin of supp-vis.tex
\ifx\contextversion\undefined
  \let \normalunexpanded \unexpanded
  \let \unexpanded   \protected
\fi
\ifx\unexpanded\undefined
   \let\unexpanded\relax
\fi
\input supp-vis
% end of supp-vis.tex
\ifx\contextversion\undefined
  \let \unexpanded \normalunexpanded
\fi
Hello \TeX!
\bye
can you test this?
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: supp-vis and pdfetex

2005-04-01 Thread Patrick Gundlach
Hello Hans,

 can you test this?

Looks fine with several different visualizations. Thanks.

Patrick
-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unexpected changes with pdfeTeX 1.20 (?)

2005-03-03 Thread Albrecht Kauffmann
Hi Steffen, hi all,

I've got the same problem too with TOC (and other lists). Additionally
are tables unintentionally indented when they contain local footnotes.
Could this be connected with the indentation of TOC etc.?

Greetings
Albrecht

On Tue, 1 Mar 2005, Steffen Wolfrum wrote:

 Hi,

 while looking closer at the result of typesetting an older (Nov.
 2004) document with todays pdfeTeX and context stuff I noticed that
 the layout of my TOC changed:

 Normally I write all setups in a SetupEnvironment file that is loaded
 at the beginning of a project structure.
 Like this:

 \startproject WLTHR_1
 \environment SetupEnvironment_WLTHR
 \startfrontmatter
 \component Kapitel/Titelei
 \component Kapitel/Vorwort
 \completecontent
 \stopfrontmatter
 \startbodymatter
 \component Kapitel/Kap_1
 \component Kapitel/Kap_2
 \component Kapitel/Kap_3
 \component Kapitel/Kap_4
 \component Kapitel/Kap_5
 \stopbodymatter
 \startbackmatter
 \component Kapitel/Katalog
 \component Kapitel/Literatur
 \stopbackmatter
 \stopproject

 But as in SetupEnvironment also \setupindenting is set, now the TOC
 gets this indenting too!
 Once (2004, before pdfeTeX 1.20 ?) this didn't affect the generated
 \completecontent - only the real \component files.

 Is this change known? Are there more differences like this, so one
 knows what to look for when typesetting older documents with new TeX
 (ConTeXt?) files?

 Steffen



 A minimal test looks like this:

 \starttext
 \showframe
 \showgrid
 \definecombinedlist[content]
 [chapter,section][level=section]
 \setupindenting[30pt]% 
 \completecontent% ---
 %\setupindenting[30pt]% 
 \chapter{Kapitel}
 text
 \section{Unterkapitel}
 text
 \section{Unterkapitel}
 text
 \stoptext
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unexpected changes with pdfeTeX 1.20 (?)

2005-03-03 Thread Hans Hagen
Albrecht Kauffmann wrote:
Hi Steffen, hi all,
I've got the same problem too with TOC (and other lists). Additionally
are tables unintentionally indented when they contain local footnotes.
Could this be connected with the indentation of TOC etc.?
probably, you can test that with the patch i posted (or take the beta)
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Unexpected changes with pdfeTeX 1.20 (?)

2005-03-01 Thread Steffen Wolfrum
Hi,
while looking closer at the result of typesetting an older (Nov. 
2004) document with todays pdfeTeX and context stuff I noticed that 
the layout of my TOC changed:

Normally I write all setups in a SetupEnvironment file that is loaded 
at the beginning of a project structure.
Like this:

\startproject WLTHR_1
\environment SetupEnvironment_WLTHR
\startfrontmatter
\component Kapitel/Titelei
\component Kapitel/Vorwort
\completecontent
\stopfrontmatter
\startbodymatter
\component Kapitel/Kap_1
\component Kapitel/Kap_2
\component Kapitel/Kap_3
\component Kapitel/Kap_4
\component Kapitel/Kap_5
\stopbodymatter
\startbackmatter
\component Kapitel/Katalog
\component Kapitel/Literatur
\stopbackmatter
\stopproject
But as in SetupEnvironment also \setupindenting is set, now the TOC 
gets this indenting too!
Once (2004, before pdfeTeX 1.20 ?) this didn't affect the generated 
\completecontent - only the real \component files.

Is this change known? Are there more differences like this, so one 
knows what to look for when typesetting older documents with new TeX 
(ConTeXt?) files?

Steffen

A minimal test looks like this:
\starttext
\showframe
\showgrid
\definecombinedlist[content]
[chapter,section][level=section]
\setupindenting[30pt]% 
\completecontent% ---
%\setupindenting[30pt]% 
\chapter{Kapitel}
text
\section{Unterkapitel}
text
\section{Unterkapitel}
text
\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unexpected changes with pdfeTeX 1.20 (?)

2005-03-01 Thread h h extern
Steffen Wolfrum wrote:
Hi,
while looking closer at the result of typesetting an older (Nov. 2004) 
document with todays pdfeTeX and context stuff I noticed that the layout 
of my TOC changed:

Normally I write all setups in a SetupEnvironment file that is loaded at 
the beginning of a project structure.
Like this:

\startproject WLTHR_1
\environment SetupEnvironment_WLTHR
\startfrontmatter
\component Kapitel/Titelei
\component Kapitel/Vorwort
\completecontent
\stopfrontmatter
\startbodymatter
\component Kapitel/Kap_1
\component Kapitel/Kap_2
\component Kapitel/Kap_3
\component Kapitel/Kap_4
\component Kapitel/Kap_5
\stopbodymatter
\startbackmatter
\component Kapitel/Katalog
\component Kapitel/Literatur
\stopbackmatter
\stopproject
But as in SetupEnvironment also \setupindenting is set, now the TOC gets 
this indenting too!
Once (2004, before pdfeTeX 1.20 ?) this didn't affect the generated 
\completecontent - only the real \component files.

Is this change known? Are there more differences like this, so one knows 
what to look for when typesetting older documents with new TeX 
(ConTeXt?) files?

Steffen

A minimal test looks like this:
\starttext
\showframe
\showgrid
\definecombinedlist[content]
[chapter,section][level=section]
\setupindenting[30pt]% 
\completecontent% ---
%\setupindenting[30pt]% 
\chapter{Kapitel}
text
\section{Unterkapitel}
text
\section{Unterkapitel}
text
\stoptext
fix (\dontleavehmode - \noindent) in core-sec.tex; you can put the patch in 
cont-new.tex if you have a recent version

\def\dodofixdlistelementABC#1#2#3#4#5#6% weeden
  {\endgraf
   \leftskip\listparameter\c!margin% na de \endgraf !
   \listparameter\c!before
   \!!widthc\listparameter\c!distance
   \doifelse{\listparameter\c!width}\v!fit
 {\!!widtha\zeropoint}
 {\doifelsenothing{#3}
{\doifelse{\listparameter\c!aligntitle}\v!yes
   {\!!widtha\zeropoint
\!!widthc\zeropoint}
   {\!!widtha\listparameter\c!width}}
{\!!widtha\listparameter\c!width}}%
   \getvalue{\??li\c!alternative\listparameter\c!alternative}%
   \endgraf
   \def\makelistelement##1##2%
 {\doifelse{\listparameter\c!interaction}{##1}
{\setbox0\hbox{\showcontrastlocation\??ia{#6}{##2}}%
 \linklisttoelement{#2}{#5}{#6}{\box0}}%{\copy0}}%
{\hbox{##2}}}%
   \doif{\listparameter\c!interaction}\v!text % not supported
 {\setlistparameter\currentlist\c!interaction\v!all}%
 % \dontleavehmode % new, else no margin, but wrong
   \noindent
   \makelistelement\v!all
 {\setlocalhsize \hsize\localhsize \hbox to \hsize
{\forgetall
 \dostartlistattributes\c!style\c!color\empty
 \!!widthb\hsize
 \setbox2\hbox \ifdim\!!widtha\zeropoint to \!!widtha \fi
   {\makelistelement\v!sectionnumber
  {\donestedlistattributes\c!numberstyle\c!numbercolor
 {\listparameter\c!numbercommand{\currentlistsymbol}}%
\hfill}}%
 \setbox4\hbox
   {\doif{\listparameter\c!pagenumber}\v!yes
  {\doifsomething{#5}% \listwidth is new ; temp hack
 {\hbox \ifdim\listwidth\zeropoint to \listwidth\fi
{\hfill
 \makelistelement\v!pagenumber
   {\donestedlistattributes\c!pagestyle\c!pagecolor
  {\listparameter\c!pagecommand
 {\pageprefix\??li\currentlist[#5]%
  \translatednumber[#5]}}}%
 \vbox
   {\hsize\!!widthb
\setupalign[\listparameter\c!align]%
\ifdim\!!widtha\hsize
  \hangindent\wd2
  \dimen2=\!!widthc % \listparameter\c!distance
  \advance\hangindent \dimen2
  \hangafter\plusone
  \doif{\listparameter\c!hang}\v!no{\hangafter\zerocount}%
  \ifdim\wd4=\zeropoint % \ifvoid4
% we kunnen gewoon afbreken aan het eind
  \else
\ifdim\listskip\zeropoint\relax
  \rightskip\listskip\!!plus10em\relax
  \parfillskip-\rightskip
\fi
  \fi
\else
  \dimen2\zeropoint
\fi
\parindent\zeropoint\relax
\leavevmode
\box2\relax
\hskip\dimen2
\bgroup
\donestedlistattributes\c!textstyle\c!textcolor
  {\let\\=\newlineinlist
   \dontconvertfont
  %\listparameter\c!textcommand{#4}}%
   \limitatedlistentry{#4}}%
  %\carryoverpar % new otherwise wrong linespacing
\egroup
\ifdim\wd4=\zeropoint\relax % \ifvoid4
  % \ifdim\!!widtha\hsize \hfill\strut \fi % spoils align
\else
  \nobreak\listfill
  \box4\relax
  \relax
\fi}%
 \hss
 \dostoplistattributes}}% new

Re: [NTG-context] pdfeTeX crashes

2005-01-30 Thread h h extern
Mojca Miklavec wrote:
The problem was most probably caused by PNG images, exported from MS 
PowerPoint slides, an example is on 
http://pub.mojca.org/mailinglists/context/alpha.png.
I forwarded your mail to the pdftex dev list
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pdfeTeX crashes

2005-01-29 Thread Mojca Miklavec
I have MikTeX still installed and I downloaded 
context/install/mswincontext.zip (6.12.04) as well (I compile ConTeXt 
sources with F7 within scite).

The latter started to behave strange just in the middle of the black. 
I have a document with 30 sites and about 3MB (some high resolution 
images) which worked just fine until some point. After 10 minutes 
pdfeTeX started crashing (and asking if the problem should be reported 
to Microsoft).

If I compile the same document under MikTeX, it works just fine (except 
that I can't use \setupbodyfont[phv,ss,14.4pt] command). If I compile 
the document in some other directory (with no images) it works as well.

Even more strange: after removing font definitions (both 
\setupbodyfont[phv,ss,14.4pt] and
\usetypescript[adobekb][texnansi]
\usetypescript[times][texnansi]
\setupbodyfont[times,ss]
cause problems) I get some strange error reports (see below), which I 
have to skip with some unusual combinations of Ctrl-C and quit, but the 
file compiles without a crash.

The problem was most probably caused by PNG images, exported from MS 
PowerPoint slides, an example is on 
http://pub.mojca.org/mailinglists/context/alpha.png.

They look just fine in any viewer, but as soon as I remove them, 
everything works perfect again.

It looks like a very strange bug. Any ideas?
Mojca
*
Error report:
 ./img/eij-d1qksa2-ms.jpg
 ./img/pathway.png
 ./img/betacontacts.png
libpng warning: Ignoring bad row filter type
... (n times)
ibpng warning: Ignoring bad row filter type
libpng warning: Ignoring bad row fil
Error: pdfetex.exe: libpng: internal error
 == Fatal error occurred, the output PDF file is not finished!
ter type
libpng warning: Ignoring bad row filter type
... (n times)
ibpng warning: Ignoring bad row filter type
ibpng warning: Ignoring bad row filter type
libpng error: incorrect data check
This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2c 7.5.3)
 \write18 enabled.
 (c:\PROGRA~1\context\tex\texmf-local/web2c/natural.tcx)
**Please type the name of your input file.
**
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


SOLVED -- Re: [NTG-context] pdfetex can't find map files

2004-12-10 Thread Matt Gushee
Matt Gushee wrote:
  Warning: pdfetex (file original-public-vnr.map): \
cannot open font map file
The files exist and are world-readable, so the above must mean that 
pdfetex just can't find them.
Thomas Esser has explained that pdfetex uses $TEXPSHEADERS (or maybe 
$PSHEADERS) as the search path for map files. So I added

  $TEXMF/fonts/map//
to TEXPSHEADERS in my texmf.cnf, and now everything works fine.
It seems a little strange that pdf(e)tex doesn't use TEXFONTMAPS. Maybe 
it will in the future? Perhaps Hans can comment on that.

Thanks to all.
--
Matt Gushee
Englewood, CO, USA
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: pdfetex can't find map files

2004-12-08 Thread Matt Gushee
Patrick Gundlach wrote:
make sure you got your cont-sys. updated.
If by that you mean simply installing the latest version, I'm pretty 
sure I did--since I ripped out all the context/ directories under 
/usr/share/texmf (which is where I had always installed ConTeXt before) 
and installed the latest package under /usr/local/share/texmf.

But I'll double-check it. Do you happen to know the date of the correct 
version?

Also have a look at
http://news.gmane.org/gmane.comp.tex.tetex.general (the tetex mailing
list archive). I had font problems, too, although different ones.
Do you mean your exchange with Thomas Esser near the top of the list?
Anyway, thanks.
--
Matt Gushee
Englewood, CO, USA
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: pdfetex can't find map files

2004-12-08 Thread Patrick Gundlach
Hello Matt,


 make sure you got your cont-sys. updated.

 If by that you mean simply installing the latest version, I'm pretty
 sure I did--since I ripped out all the context/ directories under
 /usr/share/texmf (which is where I had always installed ConTeXt
 before) and installed the latest package under
 /usr/local/share/texmf.

The cont-sys.tex is not installed by default. You have to copy
cont-sys.ori or cont-sys.rme to cont-sys.tex.

 But I'll double-check it. Do you happen to know the date of the
 correct version?

well, I use the one from tetex:

/opt/tetex/20041128/texmf/tex/context/user/cont-sys.rme except for:

\usetypescript[adobekb] [\defaultencoding]
\setupoutput[pdftex]
\pdfoptionpdfminorversion=4

in my cont-sys.tex.

 Also have a look at
 http://news.gmane.org/gmane.comp.tex.tetex.general (the tetex mailing
 list archive). I had font problems, too, although different ones.

 Do you mean your exchange with Thomas Esser near the top of the list?

Right. I think it was named something like tetex issues.

Patrick
-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pdfetex can't find map files

2004-12-07 Thread Matt Gushee
Aargh!
Font problems again: after not using ConTeXt for a while, I installed 
the December 6 package today, generated formats, copied cont-sys.rme and 
texexec.rme, and so on. Since I recently upgraded my teTeX installation, 
I also edited pdftex.cfg, adding a bunch of

  map +foo
lines--though I guess that's not strictly necessary, since I have
  \autoloadmapfilestrue
in cont-sys.tex.
All my fonts and typescripts are in the same places they were before, 
and it seems they are being found; however, pdfetex seems to be unable 
to use regular TeX fonts (e.g. Computer Modern) because it can't find 
the map files installed by ConTeXt. There are a number error messages 
that look like this (representing all the ConTeXt map files, I think):

  Warning: pdfetex (file original-public-vnr.map): \
cannot open font map file
The files exist and are world-readable, so the above must mean that 
pdfetex just can't find them.

Now, I did one important thing differently from before: I installed 
ConTeXt under $TEXMFLOCAL, which on my system is /usr/local/share/texmf. 
So the map files in question are in

  /usr/local/share/texmf/fonts/map/pdftex/context/
And I *think* my texmf.cnf is set up correctly:
  TEXMFLOCAL = /usr/local/share/texmf
  TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
  TEXFONTMAPS = .;$TEXMF/fontname;$TEXMF/fonts/map//
% also TEXFONTMAPS.pdftex and TEXFONTMAPS.pdfetex w/ same values
  TEXINPUTS.pdftex   = .;$TEXMF/{pdftex,tex}/{plain,generic,context,}//
  TEXINPUTS.pdfetex   = \
.;$TEXMF/{pdfetex,pdftex,etex,tex}/{plain,generic,context,}//
  TEXINPUTS.context = \
.;$TEXMF/{pdftex,etex,tex}/{context,plain,generic,}//
... and so on.
So, anyone have an idea what I might have missed?
--
Matt Gushee
Englewood, CO, USA
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Update to Pdfetex 1.20a

2004-10-12 Thread Lutz Haseloff
Hans Hagen schrieb:
Lutz Haseloff wrote:
Hi Hans, Hi all,
\loadmapfile[gbk]
\usemodule[chinese]
\usemodule[chi-simplified]
\starttext
\section{test}
\stoptext
Is this a bug in pdfetex?

welcome to the non downward compatible changes in tex and friends
  you may try: texmfstart textools --fixtexmftrees
no errors found
to move your map and enc files to the new locations
if things still fail ... then we have a problem in pdftex's font 
inclusion

I'm afraid so:
where pdfetex 1.20a breaks completely and texexec.pl reports:
-
systems: end file china at line 6
)c:\tex\texmf-local/fonts/truetype/chinese/htsong.ttf
  return code : 65280
 run time : 3 seconds
   total run time : 3 seconds
-
version 1.11 prepares nice chinese pdf and texexec.pl reports
-
systems: end file china at line 6
){c:\tex\texmf-local/fonts/enc/chinese/GBK-bd.enc}c:\tex\texmf-local/fonts/tr
uetype/chinese/htsong.ttf{c:\tex\texmf-local/fonts/enc/chinese/GBK-d2.enc}c:\
tex\texmf-local/fonts/truetype/chinese/htsong.ttf{c:\tex\texmf-local/fonts/enc
/chinese/GBK-b5.enc}c:\tex\texmf-local/fonts/truetype/chinese/htsong.ttfc:\t
ex\texmf/fonts/type1/bluesky/cm/cmr12.pfb
Output written on china.pdf (1 page, 11424 bytes).
Transcript written on china.log.
  return code : 0
 run time : 1 seconds
-
Hans

Greetings Lutz
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Update to Pdfetex 1.20a

2004-10-11 Thread Hans Hagen
Lutz Haseloff wrote:
Hi Hans, Hi all,
i tried to update pdfetex to 1.20a.
I used the standalone version by Fabrice Popineau from:
http://public.www.planetmirror.com/pub/ctan/systems/win32/fptex/standalone/
If pdfetex tries to insert a ttf-font i get an error-message:
Windows complains:
...
systems: end file test at line 6
 )c:\tex\texmf-local/fonts/truetype/chinese/htsong.ttf
   return code : 65280
  run time : 2 seconds
total run time : 2 seconds
I run the latest stuff from pragma (binaries, context)
under Win XP. The fonts are from ctex.org.
My input file is:
\loadmapfile[gbk]
\usemodule[chinese]
\usemodule[chi-simplified]
\starttext
\section{test}
\stoptext
Is this a bug in pdfetex?
welcome to the non downward compatible changes in tex and friends
  you may try: texmfstart textools --fixtexmftrees
to move your map and enc files to the new locations
if things still fail ... then we have a problem in pdftex's font inclusion
Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] installation: -jobname pdfetex option

2003-10-23 Thread Ed L Cashin
Ed L Cashin [EMAIL PROTECTED] writes:

...
 Texexec still just shows a usage message.  I bet I have to change
 something in texexec.ini, but I couldn't find it last time I looked.
 I'll look again.  

 Now by doing pdfetex \cont-en test.tex I'm able to see the example
 that made me want to upgrade.  

It turned out that when I copied the new perl files to the bin
directory, there were some old symlinks there, and texutil was
overwriting texexec.

That was hard to figure out!  ... but only because I wasn't reading
the usage message carefully.  It did say texutil.  :)

-- 
--Ed L Cashin|   PGP public key:
  [EMAIL PROTECTED]|   http://noserose.net/e/pgp/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] installation: -jobname pdfetex option (was Re: [NTG-context] columns and alignment at the bottom)

2003-10-19 Thread Hans Hagen
At 16:26 17/10/2003, you wrote:

I looked around a bit in the archives, but I'm not sure which zip that
is, so I decided to go ahead and upgrade my whole tetex to 2.0.2.  I
went to pragma-ade and followed the links to find pdftex 14h.
  http://www.pragma-ade.com/context/linuxtex.zip

to give you some bin only test bed i also put there:

  http://www.pragma-ade.com/context/linux.zip

Hans

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context