latex/texlive port: broken latex?

Thomas Ruedas trg818 at gmail.com
Mon Nov 30 07:12:38 PST 2015


Am 30.11.15 um 15:10 schrieb Russell Jones:
> What if you comment out \usepackage{mydefs} and add
> \begin{document}
> test
> \end{document}
> as the rest of the document?
>
> That works for me on Ubuntu 14.04 LTS with XeLaTeX and pdflatex from
> MacTeX on 10.10.
That has no effect for me, but I find that the line
\usepackage[T1]{fontenc}
causes the problem. Looking again at the screen output, I notice this in 
a failed compilation:
(/opt/local/share/texmf-texlive/tex/latex/base/inputenc.sty
(/opt/local/share/texmf-texlive/tex/latex/base/utf8.def
(/opt/local/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/opt/local/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/opt/local/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/opt/local/share/texmf-texlive/tex/latex/base/fontenc.sty
(/opt/local/share/texmf-texlive/tex/latex/base/t1enc.def)
kpathsea: Running mktextfm ecrm1200
/opt/local/share/texmf-texlive/web2c/mktexnam: Could not map source 
abbreviation  for ecrm1200.
[... errors begin ... ]

whereas in a successful compilation I have:
(/opt/local/share/texmf-texlive/tex/latex/base/inputenc.sty
(/opt/local/share/texmf-texlive/tex/latex/base/utf8.def
(/opt/local/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/opt/local/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/opt/local/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
[...]
(/opt/local/share/texmf-texlive/tex/latex/base/ts1enc.def
(/opt/local/share/texmf-texlive/tex/latex/base/ts1enc.dfu)))
[...]
(/opt/local/share/texmf-texlive/tex/latex/base/ts1cmr.fd)

so it seems that there is a conflict between t1enc.dfu and t1enc.def. 
This has never been a problem with this or any other document in my old 
latex installation, which was from 2014. Has something in the handling 
of font definitions changed so that this is normal now, or is really 
something broken?

Thomas
>
> I can't readily test it with the MacPorts package as we use MacTeX with
> MacPorts by prepending /Library/TeX/texbin/ to the binpath in
> /opt/local/etc/macports/macports.conf That used to be in the FAQ on
> macports.org IIRC (well, it was /usr/local/texlive/2015/texbin or
> similar as it was pre-10.11), but seems to have been removed.
> /usr/texbin is linked to /Library/TeX/texbin/
>
> Russell
>
> On 30/11/15 13:18, Thomas Ruedas wrote:
>> Hi again,
>> I am just trying a newly installed texlive installation (latex-extra,
>> Macports 2.3.4), but it seems that something is broken. When I try to
>> compile a rather straightforward document with the following header
>> section:
>> \documentclass[12pt]{article}
>> \usepackage[utf8]{inputenc}
>> \usepackage[T1]{fontenc}
>> \usepackage[pdftex]{geometry}
>> \usepackage[english]{babel}
>> %\usepackage[ngermanb]{babel}
>> \usepackage{natbib}
>> \usepackage{latexsym,amsmath,amsfonts,amssymb,textcomp,calc,units,longtable,booktabs,url}
>>
>> \geometry{paper=a4paper,top=1.5cm,bottom=2cm,hdivide={2cm,*,2cm}}
>> \usepackage{mydefs}
>> \pagestyle{empty}
>>
>> the errors shown below appear. I have verified that mktexnam is present:
>> /opt/local/share/texmf-texlive/web2c/mktexnam $Id: mktexnam 34656
>> 2014-07-18 23:38:50Z karl $
>> kpathsea version 6.2.1
>>
>> Any ideas what is wrong?
>> Thomas
>>
>> (/opt/local/share/texmf-texlive/tex/latex/base/t1enc.def)
>> kpathsea: Running mktextfm ecrm1200
>> /opt/local/share/texmf-texlive/web2c/mktexnam: Could not map source
>> abbreviation  for ecrm1200.
>> /opt/local/share/texmf-texlive/web2c/mktexnam: Need to update ?
>> mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
>> nonstopmode; input ecrm1200
>> This is METAFONT, Version 2.7182818 (TeX Live 2015/MacPorts 2015_7)
>> (preloaded base=mf)
>>
>>
>> kpathsea: Running mktexmf ecrm1200
>> ! I can't find file `ecrm1200'.
>> <*> ...ljfour; mag:=1; nonstopmode; input ecrm1200
>>
>> Please type another input file name
>> ! Emergency stop.
>> <*> ...ljfour; mag:=1; nonstopmode; input ecrm1200
>>
>> Transcript written on mfput.log.
>> grep: ecrm1200.log: No such file or directory
>> mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
>> input ecrm1200' failed to make ecrm1200.tfm.
>> kpathsea: Appending font creation commands to missfont.log.
>>
>> ! Font T1/cmr/m/n/12=ecrm1200 at 12.0pt not loadable: Metric (TFM)
>> file not fou
>> nd.
>> <to be read again>
>>                    relax
>> l.105 \fontencoding\encodingdefault\selectfont
>>
>> ? x
>> No pages of output.
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/macports-users
>
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
>



More information about the macports-users mailing list