public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problem with latex
@ 2005-07-12 21:58 Nicolas Saunier
  2005-07-12 22:10 ` Amadeus Stevenson
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Saunier @ 2005-07-12 21:58 UTC (permalink / raw)
  To: cygwin

Hi,

I installed many times latex and it doesn't work. There is a problem 
with fonts, which seems to be linked with problems of rights. It says it 
cannot find pdftex.map among other files, and cannot access the various 
ls-R files in the texmf directories. I run the post-install script, 
mktexlsr and other utilities, and always have the same problem with such 
ls-R files that cannot be accessed (or created I think). I also created 
a new account, took the last setup.exe, installed only the tetex 
packages, and it couldn't work either.

I searched the web, this mailing list, and couldn't find anything. I 
have the latest cygwin setup, and installed the latest (3.0.0-3) 
versions of tetex-bin, tetex-base and tetex-extra. I don't know if I 
should add tetex and tetex-tiny; what is it for ? Anyway, when I added 
these packages, it didn't work either.
Best regards,

Nicolas

PS: here is attached a typical output when trying to compile a simple 
file with pdflatex.
---
$ pdflatex test.tex
kpathsea: Running mktexfmt pdflatex.fmt
fmtutil: running `pdfetex -ini   -jobname=pdflatex -progname=pdflatex 
-translate-file=cp227.tcx *pdflatex.ini' ...
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX)
  file:line:error style messages enabled.
  %&-line parsing enabled.
  (/usr/share/texmf/web2c/cp227.tcx)
entering extended mode
(/usr/share/texmf/tex/latex/config/pdflatex.ini
(/usr/share/texmf/tex/generic/config/pdftexconfig.tex)
(/usr/share/texmf/tex/latex/base/latex.ltx
(/usr/share/texmf/tex/latex/base/texsys.cfg)
./texsys.aux found


\@currdir set to: ./.


Assuming \openin and \input
have the same search path.


Defining UNIX/DOS style filename parser.

catcodes, registers, compatibility for TeX 2,  parameters,
LaTeX2e <2003/12/01>
hacks, control, par, spacing, files, font encodings, lengths,
====================================

Local config file fonttext.cfg used

====================================
(/usr/share/texmf/tex/generic/config/fonttext.cfg
(/usr/share/texmf/tex/latex/base/fonttext.ltx
=== Don't modify this file, use a .cfg file instead ===

(/usr/share/texmf/tex/latex/base/omlenc.def)
(/usr/share/texmf/tex/latex/base/t1enc.def)
(/usr/share/texmf/tex/latex/base/ot1enc.def)
(/usr/share/texmf/tex/latex/base/omsenc.def)
(/usr/share/texmf/tex/latex/base/t1cmr.fd)
(/usr/share/texmf/tex/latex/base/ot1cmr.fd)
(/usr/share/texmf/tex/latex/base/ot1cmss.fd)
(/usr/share/texmf/tex/latex/base/ot1cmtt.fd)))
====================================

Local config file fontmath.cfg used

====================================
(/usr/share/texmf/tex/generic/config/fontmath.cfg
(/usr/share/texmf/tex/latex/base/fontmath.ltx
=== Don't modify this file, use a .cfg file instead ===

(/usr/share/texmf/tex/latex/base/omlcmm.fd)
(/usr/share/texmf/tex/latex/base/omscmsy.fd)
(/usr/share/texmf/tex/latex/base/omxcmex.fd)
(/usr/share/texmf/tex/latex/base/ucmr.fd)))
====================================

Local config file preload.cfg used

=====================================
(/usr/share/texmf/tex/generic/config/preload.cfg
(/usr/share/texmf/tex/latex/base/preload.ltx)) page nos., x-ref, 
environments,
center, verbatim, math definitions, boxes, title, sectioning, contents,
floats, footnotes, index, bibliography, output,
===========================================
Local configuration file hyphen.cfg used
===========================================
(/usr/share/texmf/tex/generic/babel/hyphen.cfg
(/usr/share/texmf/tex/generic/hyphen/hyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/frhyph.tex
frhyph.tex - French hyphenation patterns (V2.12) <2002/12/11>)
(/usr/share/texmf/tex/generic/hyphen/dehypht.tex
German Traditional Hyphenation Patterns `dehypht' Version 3.2a <1999/03/03>
(Formerly known under the name `ghyph31' and `ghyphen'.))
(/usr/share/texmf/tex/generic/hyphen/dehyphn.tex
New German Hyphenation Patterns `dehyphn' Rev.31 <2001-05-07> (WaS))
(/usr/share/texmf/tex/generic/hyphen/inhyph.tex)
(/usr/share/texmf/tex/generic/hyphen/bahyph.tex)
(/usr/share/texmf/tex/generic/bghyph/bghyphen.tex
Bulgarian hyphenation patterns 
(/usr/share/texmf/tex/generic/bghyph/catmik.tex)
(/usr/share/texmf/tex/generic/bghyph/mik2t2.tex)
(/usr/share/texmf/tex/generic/bghyph/bghyphsi.tex))
(/usr/share/texmf/tex/generic/hyphen/cahyph.tex
Catalan Hyphenation Patterns `cahyphen' Version 1.11 <2003/07/15>)
(/usr/share/texmf/tex/generic/hyphen/hrhyph.tex)
(/usr/share/texmf/tex/generic/hyphen/czhyph.tex
(/usr/share/texmf/tex/csplain/t1code.tex Font encoding set to Cork.)
The \^, \`, \', \v, \" and \r expands to characters by Cork.
(/usr/share/texmf/tex/csplain/czhyphen.tex))
(/usr/share/texmf/tex/generic/hyphen/dkhyphen.tex
(/usr/share/texmf/tex/generic/hyphen/dkcommon.tex)
(/usr/share/texmf/tex/generic/hyphen/dkspecial.tex)
(/usr/share/texmf/tex/generic/hyphen/dkspecial.tex))
(/usr/share/texmf/tex/generic/hyphen/nehyph.tex)
(/usr/share/texmf/tex/generic/hyphen/eohyph.tex
Esperanto Hyphenation Patterns `eohyph', 1999-08-10)
(/usr/share/texmf/tex/generic/hyphen/eehyph.tex)
(/usr/share/texmf/tex/generic/hyphen/fi8hyph.tex)
(/usr/share/texmf/tex/generic/hyphen/grhyph.tex
Greek language hyphenation patterns)
(/usr/share/texmf/tex/generic/hyphen/icehyph.tex)
(/usr/share/texmf/tex/generic/hyphen/gahyph.tex
Hyphenation patterns `gahyph.tex' Version 1.0 <2004/01/22>)
(/usr/share/texmf/tex/generic/hyphen/ithyph.tex)
(/usr/share/texmf/tex/generic/hyphen/lahyph.tex
Latin Hyphenation Patterns `lahyph' Version 3.0b <2001/11/21>)
(/usr/share/texmf/tex/generic/hyphen/huhyphn.tex
Huhyphn - hungarian hyphenation patterns v20031107)
(/usr/share/texmf/tex/generic/hyphen/nohyphbx.tex
Hyphenation patterns for Norwegian)
(/usr/share/texmf/tex/generic/hyphen/plhyph.tex)
(/usr/share/texmf/tex/generic/hyphen/pt8hyph.tex
portuguese hiphenation 8 bits and -)
(/usr/share/texmf/tex/generic/hyphen/rohyphen.tex
Romanian Hyphenation Patterns: `rohyphen' 1.1 <29.10.1996>)
(/usr/share/texmf/tex/generic/ruhyphen/ruhyphen.tex
(/usr/share/texmf/tex/generic/ruhyphen/catkoi.tex)
(/usr/share/texmf/tex/generic/ruhyphen/koi2t2a.tex)
(/usr/share/texmf/tex/generic/ruhyphen/ruhyphal.tex)
(/usr/share/texmf/tex/generic/ruhyphen/cyryoal.tex)
(/usr/share/texmf/tex/generic/ruhyphen/hypht2.tex))
(/usr/share/texmf/tex/generic/hyphen/srhyphc.tex
Serbian Cyrillic Hyphenation Patterns `srhyphc.tex' v1.0a <2003-06-09>)
(/usr/share/texmf/tex/generic/hyphen/skhyph.tex
(/usr/share/texmf/tex/csplain/t1code.tex Font encoding set to Cork.)
The \^, \`, \', \v, \" and \r expands to characters by Cork.
(/usr/share/texmf/tex/csplain/skhyphen.tex))
(/usr/share/texmf/tex/generic/hyphen/sihyph23.tex
Slovene Hyphenation Patterns `sihyph23' Version 2.3 <97/15/04>)
(/usr/share/texmf/tex/generic/hyphen/eshyph.tex)
(/usr/share/texmf/tex/generic/hyphen/sehyph.tex
Swedish hyphenation patterns, Jan Michael Rynning, 1994-03-03.)
(/usr/share/texmf/tex/generic/hyphen/trhyph.tex
Turkish Hyphenation Patterns `trhyph' Version 1.0a <97/05/04>)
(/usr/share/texmf/tex/generic/ukrhyph/ukrhyph.tex
Ukrainian hyphenation patterns in t2a encoding
(/usr/share/texmf/tex/generic/ukrhyph/catlcy.tex)
(/usr/share/texmf/tex/generic/ukrhyph/lcy2t2a.tex)
(/usr/share/texmf/tex/generic/ukrhyph/ukrhypmp.tex)
(/usr/share/texmf/tex/generic/ruhyphen/hypht2.tex))
(/usr/share/texmf/tex/generic/hyphen/zerohyph.tex))
=================================
Applying patch file ltpatch.ltx
=================================
(/usr/share/texmf/tex/latex/base/ltpatch.ltx)
  ) )
Beginning to dump on file pdflatex.fmt
  (format=pdflatex 2005.7.12)
5500 strings of total length 73234
47474 memory locations dumped; current usage is 144&43215
3273 multiletter control sequences
\font\nullfont=nullfont
\font\OMX/cmex/m/n/10=cmex10
\font\tenln=line10
\font\tenlnw=linew10
\font\tencirc=lcircle10
\font\tencircw=lcirclew10
\font\OT1/cmr/m/n/5=cmr5
\font\OT1/cmr/m/n/7=cmr7
\font\OT1/cmr/m/n/10=cmr10
\font\OML/cmm/m/it/5=cmmi5
\font\OML/cmm/m/it/7=cmmi7
\font\OML/cmm/m/it/10=cmmi10
\font\OMS/cmsy/m/n/5=cmsy5
\font\OMS/cmsy/m/n/7=cmsy7
\font\OMS/cmsy/m/n/10=cmsy10
3633 words of font info for 14 preloaded fonts
580 hyphenation exceptions
Hyphenation trie of length 150552 has 3904 ops out of 35111
   138 for language 32
   12 for language 31
   127 for language 30
   76 for language 29
   71 for language 28
   248 for language 27
   62 for language 26
   119 for language 25
   68 for language 24
   7 for language 23
   194 for language 22
   756 for language 21
   117 for language 20
   26 for language 19
   35 for language 18
   229 for language 17
   147 for language 16
   6 for language 15
   31 for language 14
   113 for language 13
   145 for language 12
   265 for language 11
   60 for language 10
   63 for language 9
   19 for language 8
   21 for language 7
   12 for language 6
   5 for language 5
   21 for language 4
   235 for language 3
   207 for language 2
   88 for language 1
   181 for language 0
No pages of output.
Transcript written on pdflatex.log.
fmtutil: /home/saunier/.texmf/var/web2c/pdflatex.fmt installed.
cp: cannot stat `/dev/null.exe': No such file or directory
chmod: cannot access `/home/saunier/.texmf/var/ls-R': No such file or 
directory
mktexlsr: /home/saunier/.texmf/var/ls-R: no write permission. Skipping...
---
the log file
---



This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) 
(format=pdflatex 2005.7.12)  12 JUL 2005 10:33
entering extended mode
  file:line:error style messages enabled.
  %&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, 
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, 
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, 
norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, 
swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size11.clo
File: size11.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (./test.aux)
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <12> on input line 10.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <8> on input line 10.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <6> on input line 10.
  [1


Warning: pdflatex (file pdftex.map): cannot open font map file
] (./test.aux) )
Here is how much of TeX's memory you used:
  227 strings out of 94500
  2341 string characters out of 1176766
  48348 words of memory out of 1000000
  3471 multiletter control sequences out of 10000+50000
  7283 words of font info for 26 fonts, out of 500000 for 2000
  580 hyphenation exceptions out of 1000
  21i,6n,19p,110b,187s stack positions out of 1500i,500n,5000p,200000b,5000s
PDF statistics:
  8 PDF objects out of 300000
  0 named destinations out of 131072
  1 words of extra memory for PDF output out of 65536
  </var/cache/fonts/pk/ljfour/public/cm/cmr10.657pk> </var/cache
/fonts/pk/ljfour/public/cm/cmbx10.657pk> 
</var/cache/fonts/pk/ljfour/public/cm/
cmr12.600pk> </var/cache/fonts/pk/ljfour/public/cm/cmr17.600pk>
Output written on test.pdf (1 page, 21841 bytes).

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: Problem with latex
  2005-07-12 21:58 Problem with latex Nicolas Saunier
@ 2005-07-12 22:10 ` Amadeus Stevenson
  0 siblings, 0 replies; 6+ messages in thread
From: Amadeus Stevenson @ 2005-07-12 22:10 UTC (permalink / raw)
  To: cygwin

Hello,

On 7/12/05, Nicolas Saunier <saunier@civil.ubc.ca> wrote:
> Hi,
> 
> I installed many times latex and it doesn't work.

At the risk of being flamed:

You can install the windows MixTex binaries and not have to worry
about fonts or anything. You can access them through your cygwin
shell.

Home@paws ~
$ pdflatex --version
MiKTeX-pdfetex 2.4.1700 (1.20a-rc7.2) (MiKTeX 2.4)
Copyright (C) 1982 D. E. Knuth, (C) 1996-2002 Han The Thanh
TeX is a trademark of the American Mathematical Society.

Home@paws ~
$ which pdflatex 
/cygdrive/d/tex/texmf/miktex/bin/pdflatex

Amadeus

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: Problem with latex
@ 2005-07-13 17:23 Nicolas Saunier
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Saunier @ 2005-07-13 17:23 UTC (permalink / raw)
  To: cygwin

>   Dunno.  Take a look at
> http://www.cygwin.com/ml/cygwin/2004-03/msg00454.html; it's a bit vague, but
> it's a kind-of known problem.  I think it could be to do with installing
> cygwin as a local user and maybe then joining the machine to a domain and
> becoming a domain user....?

I found this message, and tried "chgrp -h Users" on the directories that 
belong to None, but it didn't change anything. I re-installed from 
scratch and the "touch ls-R" trick alone worked. What is intriguing is 
that I seem to be the only one to have the problem.
Best regards,

Nicolas

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* RE: problem with latex
  2005-07-13  1:45 problem " Nicolas Saunier
@ 2005-07-13  9:27 ` Dave Korn
  0 siblings, 0 replies; 6+ messages in thread
From: Dave Korn @ 2005-07-13  9:27 UTC (permalink / raw)
  To: cygwin

----Original Message----
>From: Nicolas Saunier
>Sent: 13 July 2005 02:45

> After some search and trial, I have a solution which seems to work. As I
> saw that it couldn't access or create any ls-R files, I juste created
> with touch all the files mktexlsr couldn't. I then run mktexlsr and
> could run pdflatex on my file. Any idea why I got this problem ?
> Best regards,
> 
> Nicolas


  Dunno.  Take a look at
http://www.cygwin.com/ml/cygwin/2004-03/msg00454.html; it's a bit vague, but
it's a kind-of known problem.  I think it could be to do with installing
cygwin as a local user and maybe then joining the machine to a domain and
becoming a domain user....?



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: problem with latex
@ 2005-07-13  1:45 Nicolas Saunier
  2005-07-13  9:27 ` Dave Korn
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Saunier @ 2005-07-13  1:45 UTC (permalink / raw)
  To: cygwin

After some search and trial, I have a solution which seems to work. As I 
saw that it couldn't access or create any ls-R files, I juste created 
with touch all the files mktexlsr couldn't. I then run mktexlsr and 
could run pdflatex on my file. Any idea why I got this problem ?
Best regards,

Nicolas

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: Problem with latex
@ 2005-07-12 22:42 Nicolas Saunier
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Saunier @ 2005-07-12 22:42 UTC (permalink / raw)
  To: cygwin

> At the risk of being flamed:
> 
> You can install the windows MixTex binaries and not have to worry
> about fonts or anything. You can access them through your cygwin
> shell.
> 
> Home@paws ~
> $ pdflatex --version
> MiKTeX-pdfetex 2.4.1700 (1.20a-rc7.2) (MiKTeX 2.4)
> Copyright (C) 1982 D. E. Knuth, (C) 1996-2002 Han The Thanh
> TeX is a trademark of the American Mathematical Society.
> 
> Home@paws ~
> $ which pdflatex 
> /cygdrive/d/tex/texmf/miktex/bin/pdflatex

That's my default solution now. But it's not as consistent as with 
everything under cygwin. For example I use symbolic links to keep one 
copy of the tex file I'm editing, and have all the by-products of latex 
compilation in a compilation directory. Of course, MikTex doesn't handle 
cygwin symbolic links.

What I don't understand is that it was working about 1 month ago (I 
trashed in between the cygwin archives...).

Nicolas

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2005-07-13 17:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-12 21:58 Problem with latex Nicolas Saunier
2005-07-12 22:10 ` Amadeus Stevenson
2005-07-12 22:42 Nicolas Saunier
2005-07-13  1:45 problem " Nicolas Saunier
2005-07-13  9:27 ` Dave Korn
2005-07-13 17:23 Problem " Nicolas Saunier

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 read-only IMAP folder(s) and NNTP newsgroup(s).